:root {
    --brand-navy: #062b4f;
    --brand-navy-dark: #031d35;
    --brand-blue: #0a3d68;
    --brand-orange: #f37021;
    --brand-orange-hover: #e0601b;
    --brand-grey: #6f7880;
    --brand-slate: #2f3a43;
    --bg-light: #f5f7f9;
    --bg-soft: #eef2f5;
    --white: #ffffff;
    --text-main: #17212b;
    --text-muted: #5f6b76;
    --border: #d9e0e6;
    --shadow: 0 18px 45px rgba(3, 29, 53, 0.12);
    --shadow-sm: 0 4px 12px rgba(3, 29, 53, 0.08);
    --radius: 16px;
    --radius-sm: 8px;
    --font-main: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: anywhere;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--brand-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.2rem, 8vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 6vw, 2rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 4vw, 1.5rem); font-weight: 600; }

p { margin-bottom: 1rem; }

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--brand-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

.btn-secondary {
    background-color: var(--brand-navy);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--brand-navy-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--brand-navy);
    color: var(--brand-navy);
}

.btn-outline:hover {
    background: var(--brand-navy);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--brand-navy);
}

/* Header & Nav */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo .site-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--brand-navy);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--brand-slate);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--brand-orange);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--brand-navy);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
    color: var(--white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(243, 112, 33, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 10vw, 3.5rem);
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1.1rem, 4vw, 1.25rem);
    max-width: 700px;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero .btns {
    display: flex;
    gap: 15px;
}

.trust-badges {
    display: flex;
    gap: 15px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: var(--white);
    transition: var(--transition);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--brand-orange);
}

/* Section Header for internal pages */
.page-header {
    background: var(--bg-soft);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    margin-bottom: 0;
}

.page-header-text {
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Sections */
section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--brand-orange);
}

.section-centred {
    text-align: center;
}

/* Grid & Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.feature-panel {
    background: var(--bg-soft);
    padding: 40px;
    border-radius: var(--radius);
}

.feature-panel h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.focus-list {
    background: transparent;
    padding: 0;
    list-style: none;
}

.focus-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.focus-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 800;
}

.focus-list-light {
    list-style: none;
    padding: 0;
}

.focus-list-light li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--white);
}

.focus-list-light li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 800;
}

.why-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.why-card h3 {
    color: var(--brand-orange);
    margin-bottom: 1rem;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-step {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.process-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-orange);
    margin-bottom: 1rem;
}

/* CTA */
.cta-button {
    margin-top: 20px;
}

.full-width {
    width: 100%;
}

.mt-40 {
    margin-top: 40px;
}

/* Utility */
.fit-content {
    height: fit-content;
}

.info-box-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.info-box-lead {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
    color: var(--white);
}

.info-box-sub {
    font-size: 0.8rem;
    opacity: 0.7;
    color: var(--white);
}

.privacy-inner {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-footer {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.contact-link-orange {
    color: var(--brand-orange);
    font-weight: 700;
}

.company-info-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.message-textarea {
    height: 150px;
}

.card h3 {
    margin-bottom: 1.2rem;
}

.card p {
    color: var(--text-muted);
    flex-grow: 1;
}

.btn-text {
    color: var(--brand-orange);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.btn-text:hover {
    gap: 10px;
}

/* Services Page Specific */
.services-nav {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 90px;
    z-index: 900;
}

.services-nav ul {
    display: flex;
    justify-content: center;
    gap: 15px 30px;
    flex-wrap: wrap;
}

.services-nav a {
    padding: 5px 15px;
    border-radius: 20px;
    background: var(--bg-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.services-nav a:hover {
    background: var(--brand-navy);
    color: var(--white);
}

.service-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.service-section:last-child {
    border-bottom: none;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.service-meta {
    background: var(--bg-soft);
    padding: 30px;
    border-radius: var(--radius);
}

.service-meta h4 {
    margin-bottom: 1rem;
    color: var(--brand-slate);
}

.service-meta ul {
    margin-bottom: 2rem;
}

.service-meta li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-meta li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 800;
}

.output-box {
    border-left: 4px solid var(--brand-orange);
    padding-left: 20px;
    margin-top: 20px;
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-box {
    background: var(--brand-navy);
    color: var(--white);
    padding: 50px;
    border-radius: var(--radius);
}

.contact-info-box h2, .contact-info-box h3 {
    color: var(--white);
}

.contact-method {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.1);
}

.form-control.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
}

.hp {
    display: none !important;
}

/* Alerts */
.alert {
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    font-weight: 600;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background: var(--brand-navy-dark);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer a {
    color: rgba(255,255,255,0.7);
}

footer a:hover {
    color: var(--brand-orange);
}

footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

.orange-line {
    width: 40px;
    height: 3px;
    background: var(--brand-orange);
    margin-bottom: 20px;
}

.service-section {
    scroll-margin-top: 100px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .logo .site-logo {
        height: 45px;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
        align-items: center;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .hero { 
        padding: 80px 0; 
        text-align: center;
    }
    
    .hero .btns {
        flex-direction: column;
        align-items: center;
    }

    .hero .btns .btn {
        width: 100%;
        max-width: 300px;
    }

    .trust-badges {
        justify-content: center;
        margin-top: 40px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-box, .contact-form-container {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col .orange-line {
        margin: 0 auto 20px;
    }

    .footer-col ul {
        display: inline-block;
        text-align: left;
    }

    .services-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .badge {
        padding: 6px 15px;
        font-size: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

/* Accessibility */
:focus-visible {
    outline: 3px solid var(--brand-orange);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}