/* =========================================
       CSS Variables (Google Material 3 Engineering Palette)
    ========================================= */
    :root {
        --primary-blue: #0b57d0;
        --primary-blue-light: #4285f4;
        --accent-blue: #d3e3fd;
        --bg-white: #ffffff;
        --bg-light: #f8fafd;
        --text-black: #1f1f1f;
        --text-muted: #444746;
        --border-color: #c7c7c7;
        --accent-green: #7ddc1f;
        --dark-blue: #0a1128;
        --primary-blue-dark: #0742a0;
        --geo-bg: #eef2f6;
        --font-heading: 'Poppins', sans-serif;
        --font-body: 'Poppins', sans-serif;
        --font-mono: 'Roboto Mono', monospace;
        --transition-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
        --transition-normal: 0.3s cubic-bezier(0.2, 0, 0, 1);
        --transition-slow: 0.5s cubic-bezier(0.2, 0, 0, 1);
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
        --shadow-md: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
        --shadow-lg: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
        --shadow-hover: 0 2px 3px 0 rgba(0, 0, 0, 0.3), 0 6px 10px 4px rgba(0, 0, 0, 0.15);
        --radius-sm: 4px;
        --radius-md: 8px;
        --radius-lg: 12px;
        --radius-pill: 4px;
    }

    /* Reset */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: var(--font-body);
        background-color: var(--bg-white);
        color: var(--text-black);
        line-height: 1.6;
        overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-heading);
        font-weight: 600;
        line-height: 1.2;
        color: var(--primary-blue);
    }

    a {
        text-decoration: none;
        color: inherit;
        transition: color var(--transition-fast);
    }

    ul {
        list-style: none;
    }

    img {
        max-width: 100%;
        display: block;
    }

    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    /* Header & Navigation */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: rgba(13, 27, 42, 0.95);
        backdrop-filter: blur(8px);
        transition: all var(--transition-normal);
        padding: 0.8rem 0;
    }

    .header.scrolled {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 0.4rem 0;
        box-shadow: var(--shadow-sm);
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 70px;
    }

    .logo img {
        height: 60px;
        width: auto;
        object-fit: contain;
    }

    .nav-links {
        display: flex;
        gap: 2rem;
        align-items: center;
        list-style: none;
    }

    .nav-links a {
        color: white;
        font-weight: 500;
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.2s;
    }

    .header.scrolled .nav-links a {
        color: var(--text-black);
    }

    /* Dropdown desktop */
    .dropdown {
        position: relative;
    }

    .dropdown i {
        font-size: 0.7rem;
        margin-left: 4px;
        transition: transform 0.2s;
    }

    .dropdown:hover i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: -1rem;
        background: white;
        min-width: 260px;
        border-radius: 8px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s;
        list-style: none;
        z-index: 1100;
    }

    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu a {
        color: var(--text-black) !important;
        padding: 0.75rem 1.5rem;
        display: block;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        transform: translateX(10px);
    }

    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary {
        background: var(--primary-blue);
        border: none;
        color: white;
        padding: 8px 20px;
        border-radius: var(--radius-pill);
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: 0.2s;
        cursor: pointer;
    }

    .mobile-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 1.6rem;
        cursor: pointer;
        color: white;
    }

    .header.scrolled .mobile-toggle {
        color: var(--primary-blue);
    }

    /* ========== MOBILE MENU STYLES ========== */
    @media (max-width: 1024px) {
        .mobile-toggle {
            display: block;
        }

        .nav-links {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100vh;
            background: white;
            flex-direction: column;
            align-items: flex-start;
            padding: 5rem 2rem 2rem;
            gap: 1rem;
            transition: right 0.3s ease;
            box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
            z-index: 1100;
            overflow-y: auto;
        }

        .nav-links.active {
            right: 0;
        }

        .nav-links a {
            color: var(--text-black) !important;
            font-size: 1rem;
            width: 100%;
            padding: 0.6rem 0;
            border-bottom: 1px solid #eee;
        }

        /* Reset dropdown for mobile */
        .dropdown .dropdown-menu,
        .dropdown-submenu .dropdown-menu {
            position: static;
            opacity: 1;
            visibility: visible;
            transform: none;
            box-shadow: none;
            padding-left: 20px;
            display: none;
            background: transparent;
            width: 100%;
        }

        .dropdown.open > .dropdown-menu,
        .dropdown-submenu.open > .dropdown-menu {
            display: block;
        }

        .dropdown i, .dropdown-submenu i {
            transform: rotate(0deg);
        }

        .dropdown.open > a i, .dropdown-submenu.open > a i {
            transform: rotate(180deg);
        }
    }

    /* ========== HERO & REST OF PAGE STYLES (preserved) ========== */
    .hero {
        position: relative;
        background-color: #0d1b2a;
        overflow: hidden;
        margin-top: 90px;
    }
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?w=1600&q=80");
        background-size: cover;
        background-position: center 30%;
        opacity: 0.25;
        z-index: 0;
        pointer-events: none;
    }
    .hero .container {
        position: relative;
        z-index: 1;
    }
    .hero-grid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        padding: 48px 0 32px;
    }
  @media (max-width: 550px) {
    .hero-content h1 {
        font-size: 1.8rem;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .hero-content p {
        font-size: 0.95rem;
        overflow-wrap: break-word;
    }
    .hero-badge {
        font-size: 0.75rem;
    }
    .hero-stats .stat-item span {
        font-size: 1.4rem;
    }
}
    .hero-content {
        flex: 1.2;
        min-width: 280px;
    }
    .hero-content p {
        color: #f0f4f9;
    }
    .hero-badge {
        background: var(--accent-blue);
        color: var(--primary-blue-dark);
        font-weight: 600;
        font-size: 0.85rem;
        padding: 6px 14px;
        border-radius: 30px;
        display: inline-block;
        margin-bottom: 20px;
    }
    .hero-stats {
        display: flex;
        gap: 32px;
        margin-top: 32px;
        flex-wrap: wrap;
    }
    .stat-item span {
        font-weight: 800;
        font-size: 1.8rem;
        color: var(--primary-blue-light);
    }
    .stat-item {
        color: #eef2f6;
    }
    .hero-img {
        flex: 0.9;
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(2px);
        border-radius: 32px;
        padding: 24px;
        text-align: center;
        box-shadow: var(--shadow-sm);
    }
    .hero-img i {
        font-size: 4rem;
        color: var(--primary-blue);
        margin: 0 0.2rem;
    }

    .who-we-are-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        align-items: center;
        padding: 4rem 0;
    }
    .who-text { flex: 1.2; }
    .who-image {
        flex: 0.9;
        border-radius: 32px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .who-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    .image-caption {
        background: rgba(11,87,208,0.9);
        color: white;
        padding: 12px;
        text-align: center;
        font-weight: 500;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
        gap: 32px;
        margin-top: 20px;
    }
    .service-card {
        background: white;
        border-radius: var(--radius-lg);
        padding: 28px 24px;
        transition: 0.3s;
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: var(--shadow-sm);
    }
    .service-icon {
        background: var(--accent-blue);
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        margin-bottom: 22px;
    }
    .service-icon i { font-size: 28px; color: var(--primary-blue); }
    .service-card h3 { font-size: 1.55rem; margin-bottom: 12px; }
    .explore-link {
        font-weight: 600;
        color: var(--primary-blue);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .methodology-steps {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        margin: 48px 0 20px;
    }
    .step {
        flex: 1;
        background: white;
        padding: 24px 20px;
        border-radius: var(--radius-lg);
        text-align: center;
        box-shadow: var(--shadow-sm);
    }
    .step-number {
        background: var(--accent-blue);
        width: 52px;
        height: 52px;
        margin: 0 auto 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 60px;
        font-weight: 800;
        font-size: 1.5rem;
        color: var(--primary-blue);
    }

    .why-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-top: 20px;
    }
    .feature-item {
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }
    .feature-icon {
        background: var(--accent-blue);
        min-width: 52px;
        height: 52px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .feature-icon i { font-size: 26px; color: var(--primary-blue); }
    .feature-text h4 { font-size: 1.35rem; margin-bottom: 8px; }

    .case-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 32px;
        margin-top: 24px;
    }
    .case-card {
        background: white;
        border-radius: var(--radius-lg);
        padding: 28px;
        border-left: 5px solid var(--primary-blue);
        box-shadow: var(--shadow-sm);
    }

    .enquiry-form-section {
        background: white;
        border-radius: var(--radius-lg);
        padding: 48px 40px;
        margin: 40px 0;
        box-shadow: var(--shadow-md);
        scroll-margin-top: 100px;
    }
    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .form-group.full-width { grid-column: span 2; }
    .form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--dark-blue); }
    .form-group input, .form-group select, .form-group textarea {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        font-family: inherit;
    }
    .submit-btn {
        background: var(--primary-blue);
        color: white;
        border: none;
        padding: 14px 32px;
        border-radius: var(--radius-pill);
        font-weight: 600;
        cursor: pointer;
    }

    .faq-list { margin-top: 32px; }
    .faq-item {
        background: white;
        border: 1px solid rgba(0,0,0,0.05);
        border-radius: var(--radius-md);
        margin-bottom: 16px;
        overflow: hidden;
    }
    .faq-question {
        padding: 20px 28px;
        font-weight: 600;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: white;
    }
    .faq-question i { color: var(--primary-blue); transition: transform 0.2s; }
    .faq-answer {
        max-height: 0;
        padding: 0 28px;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.2s;
        color: var(--text-muted);
    }
    .faq-item.active .faq-answer {
        max-height: 260px;
        padding: 0 28px 24px 28px;
    }
    .faq-item.active .faq-question i { transform: rotate(180deg); }

    .cta-section {
        background: linear-gradient(125deg, var(--dark-blue) 0%, #0f2c3f 100%);
        border-radius: var(--radius-lg);
        padding: 56px 48px;
        text-align: center;
        color: white;
        margin: 40px 0 64px;
    }

    .footer {
        background: var(--dark-blue);
        color: #eef2f6;
        padding: 56px 0 32px;
        margin-top: 32px;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 4px;
        margin-bottom: 48px;
    }

   /* ===== ENHANCED FOOTER STYLES ===== */

/* Better spacing between grid columns */
.footer-grid {
    gap: 2rem;                 /* replaces 4px for breathing room */
    margin-bottom: 3rem;
}

/* Improved brand text line-height */
.footer-brand p {
    color: #ccddee;
    line-height: 1.5;
    margin-top: 1rem;
}

/* Style headings inside footer */
.footer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.2px;
    position: relative;
}

/* Optional: subtle accent line under each heading */
.footer h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #2c9b8e;      /* accent color – matches your brand */
    margin-top: 8px;
    border-radius: 2px;
}

/* Lists styling – consistent vertical rhythm */
.footer-links ul, .footer-spec ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;             /* even spacing between links */
}

/* Link styles with smooth hover */
.footer-links a, .footer-spec a {
    color: #ccddee;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover, .footer-spec a:hover {
    color: white;
    transform: translateX(5px);
}

/* Contact items – better alignment & spacing */
.footer-contact p {
    color: #ccddee;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.footer-contact i {
    width: 24px;
    margin-top: 2px;
    color: #2c9b8e;           /* accent color for icons */
}

/* Address line wrapping fix */
.footer-contact p:last-of-type {
    margin-bottom: 0;
}

/* Responsive spacing for smaller screens */
@media (max-width: 850px) {
    .footer-grid {
        gap: 2rem;
        text-align: left;       /* keep left alignment on mobile */
    }
    .footer h4::after {
        width: 30px;
    }
    .footer-links ul, .footer-spec ul {
        gap: 0.6rem;
    }
    .footer-contact p {
        gap: 10px;
    }
}

/* Optional: copyright area slight padding improvement */
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem;
}

    @media (max-width: 850px) {
        .container { padding: 0 20px; }
        h1 { font-size: 2.2rem; }
        h2 { font-size: 1.8rem; }
        .hero-grid { flex-direction: column; text-align: center; }
        .hero-stats { justify-content: center; }
        .hero-img { width: 100%; }
        .why-grid { grid-template-columns: 1fr; }
        .methodology-steps { flex-direction: column; }
        .form-grid { grid-template-columns: 1fr; }
        .form-group.full-width { grid-column: span 1; }
        .enquiry-form-section { padding: 32px 24px; }
        .who-we-are-wrapper { flex-direction: column; }
    }
    