/* Extracted from Head */


/* Extracted from Mega Menu */

:root {
    /* Core Brand Palette */
    --midnight-navy: #050816;
    --deep-space-blue: #071324;
    --electric-magenta: #FF1F6A;
    --quantum-blue: #1B6CFF;
    --neon-teal: #00E5FF;
    --solar-amber: #FFB400;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Neutrals / UI */
    --snow-white: #F7F9FC;
    --soft-grey: #E0E4F2;
    --slate-text: #252A3B;
    --cloud-text: #C7D0E5;

    --radius-lg: 18px;
    --radius-xl: 32px;
    --shadow-soft: 0 26px 60px rgba(5, 8, 22, 0.75);
    --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.25);
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    background: var(--snow-white);
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Standard Top Navigation (Sticky, Full Width) */
.site-header,
.main_header,
#header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    background: #ffffff !important;
    position: sticky !important;
    /* Forces sticky positioning */
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    /* Made visible */
    border: none !important;
    z-index: 1000 !important;
    overflow: visible !important;
}

/* Disable Scrolled Animation/Fixed State */
.site-header.scrolled,
.main_header.scrolled,
#header.scrolled {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    animation: none !important;
    margin: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

/* Header Content Alignment - Full Width */
.header_desktop,
.main_header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    /* REMOVED var(--max-width) constraint */
    margin: 0 !important;
}

/* Adjust Nav Layout */
nav,
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.45), transparent 55%),
        conic-gradient(from 200deg, var(--electric-magenta), var(--neon-teal), var(--quantum-blue), var(--electric-magenta));
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.brand-text-main {
    font-weight: 650;
    letter-spacing: 0.03em;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--slate-text);
}

.brand-text-sub {
    font-size: 0.75rem;
    color: #6b7390;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7390;
}

.nav-links a {
    position: relative;
    padding-bottom: 0.1rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-magenta), var(--neon-teal));
    transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 12px 24px;
    border-radius: 50px;
    background: #0073e6;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 115, 230, 0.3);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 115, 230, 0.5);
}

.nav-cta span.icon {
    font-size: 0.85rem;
}

/* ========================================
           🎯 HERO SECTION - FULLY RESPONSIVE (Ported from index.html)
           ======================================== */

:root {
    /* Desktop (default) */
    --hero-height: 500px;
    --hero-bg-size: cover;
    --hero-bg-position: center center;
    --hero-text-width: 600px;
    --hero-text-align-h: center;
    --hero-text-align-v: flex-start;
    --hero-text-padding: 20px 50px;
    --hero-heading-size: 3rem;
    --hero-subheading-size: 2.5rem;
    --hero-text-size: 1.3rem;
    --hero-gap: 12px;
    --hero-button-padding: 14px 32px;

    /* Tablet (≤1024px) */
    --hero-height-tablet: 450px;
    --hero-bg-size-tablet: cover;
    --hero-text-width-tablet: 520px;
    --hero-text-padding-tablet: 30px 40px;
    --hero-heading-size-tablet: 2.5rem;
    --hero-subheading-size-tablet: 2rem;
    --hero-text-size-tablet: 1rem;
    --hero-gap-tablet: 18px;
    --hero-button-padding-tablet: 12px 28px;

    /* Mobile (≤768px) */
    --hero-height-mobile: 600px;
    --hero-bg-size-mobile: cover;
    --hero-text-width-mobile: 100%;
    --hero-text-align-v-mobile: center;
    --hero-text-padding-mobile: 30px 25px;
    --hero-heading-size-mobile: 2rem;
    --hero-subheading-size-mobile: 1.75rem;
    --hero-text-size-mobile: 0.95rem;
    --hero-gap-mobile: 16px;
    --hero-button-padding-mobile: 12px 24px;

    /* Small Mobile (≤480px) */
    --hero-height-small: 550px;
    --hero-text-padding-small: 20px 20px;
    --hero-heading-size-small: 1.75rem;
    --hero-subheading-size-small: 1.5rem;
    --hero-text-size-small: 0.9rem;
    --hero-gap-small: 14px;
    --hero-button-padding-small: 10px 20px;
}

/* Hero Section - Main Container */
.hero-container-styled {
    background: radial-gradient(circle at 0% 0%, rgba(255, 31, 106, 0.35), transparent 55%), radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.27), transparent 60%), var(--midnight-navy) !important;
    min-height: 600px !important;
    height: auto !important;
    width: 90% !important;
    max-width: 1400px !important;
    margin: -3rem auto 50px auto !important;
    padding: 50px 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    position: relative !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
}

/* Inner Container - Flex row layout */
.hero-inner-styled {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 50px !important;
    position: relative !important;
    box-sizing: border-box !important;
    align-items: center !important;
}

/* Hero Content Wrapper */
.hero-content {
    display: flex !important;
    gap: 40px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

/* Left Content */
.hero-left {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    color: #ffffff !important;
    align-items: flex-start !important;
}

/* Badge */
.hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border-radius: 50px !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    width: fit-content !important;
}

/* Main Heading */
.hero-left h1 {
    font-size: 56px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-align: left !important;
}

/* Subheading */
.hero-subheading {
    font-family: var(--font-heading) !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    background: linear-gradient(90deg, #FFFFFF 0%, #A5F3FC 50%, #FFFFFF 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: shine 4s linear infinite !important;
    margin: 0 !important;
    text-align: left !important;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Description */
.hero-description {
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 !important;
    text-align: left !important;
}

/* Button Group */
.hero-buttons {
    display: flex !important;
    gap: 18px !important;
    align-items: center !important;
    margin-top: 12px !important;
}

.btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px 32px !important;
    background: linear-gradient(135deg, #ff1f6a 0%, #ffb400 100%) !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.5) !important;
}

.btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px 32px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.btn-secondary:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Right Content - Metrics Card */
.hero-right {
    flex: 0 1 45% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
}

.metrics-card {
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 31, 106, 0.35), transparent 55%) padding-box,
        radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.27), transparent 60%) padding-box,
        linear-gradient(#020c1b, #020c1b) padding-box,
        linear-gradient(135deg, #38d6ff, #6a65ff, #b5179e) border-box !important;
    border: 3px solid transparent !important;
    box-shadow: none !important;
    backdrop-filter: blur(25px) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    color: #ffffff !important;
    width: 100% !important;
}

.card-badge {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #5DBDB8 !important;
}

.card-badge span {
    padding: 6px 14px !important;
    background: rgba(93, 189, 184, 0.25) !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.metrics-card h3 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.3 !important;
}

.metrics-card>p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 0 28px 0 !important;
}

/* Metrics Grid */
.metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
}

.metric {
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 20px !important;
    border-radius: 14px !important;
}

.metric-label {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 10px !important;
    font-weight: 500 !important;
}

.metric-value {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.metric-value.negative {
    color: #FFB84D !important;
}

.metric-value.positive {
    color: #4ADE80 !important;
}

.metric-detail {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

/* Stats Section */
.hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 50px !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.stat {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: flex-start !important;
}

.stat-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

.stat-value {
    font-size: 17px !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    font-weight: 400 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column !important;
        gap: 50px !important;
    }

    .hero-left {
        order: 1 !important;
        width: 100% !important;
    }

    .hero-right {
        order: 2 !important;
        width: 100% !important;
    }

    .hero-left h1 {
        font-size: 44px !important;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hero-container-styled {
        padding: 45px 35px !important;
    }

    .hero-left h1 {
        font-size: 36px !important;
    }

    .hero-subheading {
        font-size: 19px !important;
    }

    .hero-description {
        font-size: 16px !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center !important;
    }

    .hero-stats {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .metrics-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Sections */

section {
    padding: 3.2rem 0;
}

.section-header {
    margin-bottom: 1.8rem;
    max-width: 40rem;
}

.section-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 650;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--cloud-text);
}

.section-dark {
    background: transparent;
    /* let page background show on sides */
}

/* Dark band only in the centre for dark sections */
.section-dark .container {
    background: radial-gradient(circle at top, rgba(0, 229, 255, 0.06), transparent 65%),
        var(--deep-space-blue);
    border-radius: 28px;
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
    box-shadow: 0 22px 55px rgba(5, 8, 22, 0.78);
    border: 1px solid rgba(224, 228, 242, 0.18);
}

.section-light {
    background: transparent;
    /* keep outer white; cards handle contrast */
    color: var(--slate-text);
}

.section-light .section-subtitle {
    color: #606680;
}

/* Quick Entry Points */

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.card {
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.3rem;
    background: rgba(5, 8, 22, 0.9);
    border: 1px solid rgba(224, 228, 242, 0.18);
    box-shadow: var(--shadow-subtle);
}

.card-light {
    background: #ffffff;
    border-color: var(--soft-grey);
    box-shadow: 0 10px 26px rgba(11, 21, 40, 0.08);
    border-radius: var(--radius-lg);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.card-body {
    font-size: 0.88rem;
    color: var(--cloud-text);
    margin-bottom: 0.7rem;
}

.section-light .card-body {
    color: #616884;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--quantum-blue);
}

.card-link.dark {
    color: #9bb4ff;
}

.card-link span.icon {
    font-size: 0.9rem;
}

/* Two-column generic layout */

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.6fr);
    gap: 2rem;
    align-items: flex-start;
}

/* Bullet lists */

.bullets {
    margin-top: 0.85rem;
    font-size: 0.9rem;
}

.bullets ul {
    list-style: none;
    padding-left: 0;
}

.bullets li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.35rem;
}

.bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--electric-magenta), var(--neon-teal));
}

.section-light .bullets li::before {
    box-shadow: 0 0 8px rgba(27, 108, 255, 0.8);
}

/* Domains grid */

.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.domain-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cloud-text);
    margin-bottom: 0.3rem;
}

.domains-grid .card-body {
    font-size: 0.85rem;
}

/* Stats */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.stat-item {
    border-radius: var(--radius-lg);
    padding: 1rem 1rem 0.9rem;
    background: rgba(7, 19, 36, 0.95);
    border: 1px solid rgba(224, 228, 242, 0.18);
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 650;
    margin-bottom: 0.15rem;
    color: var(--solar-amber);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--cloud-text);
}

/* Clients & Insights */

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(224, 228, 242, 0.26);
    font-size: 0.8rem;
    background: rgba(5, 8, 22, 0.8);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.insight-meta {
    font-size: 0.78rem;
    color: var(--cloud-text);
    margin-bottom: 0.45rem;
}

/* Contact */

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-form {
    border-radius: var(--radius-xl);
    background: #ffffff;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 18px 40px rgba(11, 21, 40, 0.18);
    color: var(--slate-text);
    border: 1px solid var(--soft-grey);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
}

.form-field label {
    font-weight: 500;
}

.form-field span.hint {
    font-size: 0.75rem;
    color: #7a8199;
}

.form-field input,
.form-field textarea {
    border-radius: 10px;
    border: 1px solid var(--soft-grey);
    padding: 0.55rem 0.65rem;
    font-size: 0.82rem;
    font-family: inherit;
    outline: none;
    background: #fdfdff;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.6rem;
}

.btn-submit {
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--electric-magenta), var(--solar-amber));
    color: #050816;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 0 26px rgba(255, 31, 106, 0.5);
}

.contact-meta {
    font-size: 0.88rem;
    color: var(--cloud-text);
}

.contact-meta p+p {
    margin-top: 0.6rem;
}

.contact-meta strong {
    color: #ffffff;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(224, 228, 242, 0.8);
    padding: 1.4rem 0 1.8rem;
    font-size: 0.78rem;
    color: #7a8199;
    background: var(--snow-white);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
}

/* Responsive */

@media (max-width: 960px) {

    .hero-inner,
    .two-column,
    .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 2.6rem;
    }

    .hero-right {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .domains-grid,
    .insights-grid,
    .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .section-dark .container {
        padding-top: 1.9rem;
        padding-bottom: 1.9rem;
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
    }

    .hero-meta {
        flex-direction: column;
    }

    .stats-grid,
    .domains-grid,
    .insights-grid,
    .quick-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    section {
        padding: 2.4rem 0;
    }

    .contact-form {
        padding: 1.3rem 1.1rem;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ========================================
           IMPORTED HEADER STYLES FROM index.html
           ======================================== */
:root {
    --delivery-models-left-padding: -1rem;
    --delivery-models-bottom-padding: 15px;
}

.delivery-models-header {
    margin-left: var(--delivery-models-left-padding) !important;
    padding-bottom: var(--delivery-models-bottom-padding) !important;
    display: block !important;
    color: #080866 !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

.skip-link {
    display: none !important;
}

/* Override base layout for sticky header compatibility */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    overflow-y: auto !important;
}

#header,
.main_header {
    width: 95% !important;
    max-width: 1400px !important;
    margin: 20px auto !important;
    padding: 8px 30px !important;
    height: auto !important;
    min-height: 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    position: relative !important;
    z-index: 1000 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    border-radius: 60px !important;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease !important;
    /* smooth transition */
    border: none !important;
    overflow: visible !important;
}

/* When scrolled - fixed at top */
#header.scrolled,
.main_header.scrolled {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    /* Animation from previous simplified header */
    animation: smoothSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

.header_desktop {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: visible !important;
    flex-wrap: nowrap !important;
}

.logo_wrap {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.header_right {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    column-gap: 15px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    outline: none !important;
    min-width: 350px !important;
    flex-wrap: nowrap !important;
}

.header_right .btn {
    background: #0073e6 !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(0, 115, 230, 0.3) !important;
    transition: all 0.2s ease !important;
    border: none !important;
    text-decoration: none !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
}

.header_right .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 115, 230, 0.5) !important;
}

.header_right form {
    position: relative;
    display: flex;
    align-items: center;
    width: 200px !important;
    outline: none !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.header_right form,
.header_right input,
.header_right button {
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.header_right input[type="text"] {
    background: #f0f4f8 !important;
    border: 2px solid transparent !important;
    border-radius: 50px !important;
    padding: 8px 40px 8px 15px !important;
    font-size: 13px !important;
    color: #0d1b3e !important;
    width: 180px !important;
    max-width: 180px !important;
    min-width: 180px !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
    height: 38px !important;
}

.header_right input[type="text"]:focus,
.header_right input[type="text"]:focus-visible {
    background: #ffffff !important;
    border-color: #38d6ff !important;
    box-shadow: 0 0 0 3px rgba(56, 214, 255, 0.15) !important;
    outline: none !important;
    width: 180px !important;
    max-width: 180px !important;
}

.header_right button {
    background: none !important;
    border: none !important;
    position: absolute !important;
    right: 12px !important;
    color: #6a65ff !important;
    cursor: pointer !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    outline: none !important;
}

.header_right button i {
    font-size: 16px !important;
    font-weight: bold !important;
}

.logo_wrap img {
    width: 96px !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    display: block !important;
}

.main_nav {
    display: flex !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    list-style: none !important;
}

.main_nav>li {
    margin: 0 !important;
    padding: 0 !important;
}

.main_nav>li>a,
.main_nav>li>span {
    padding: 10px 18px !important;
    margin: 0 !important;
    display: block !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #020c1b !important;
    letter-spacing: -0.01em !important;
    transition: color 0.2s ease !important;
}

.sub-menu,
.sub_wrap {
    gap: 0 !important;
}

.sub-menu li {
    margin: 0 !important;
}

.sub-menu li a {
    padding: 8px 15px !important;
}

.main_nav li.menu-item:hover>a,
.main_nav li.menu-item.current-menu-item>a,
.main_nav li.menu-item.current_page_item>a,
.main_nav li.menu-item:active>a,
.main_nav li.menu-item:focus-within>a,
.main_nav li.menu-item.active>a,
.main_nav li.menu-item.open>a {
    background-color: #FFFAE3 !important;
}

.header_mobile .main_nav li.menu-item:hover>a,
.header_mobile .main_nav li.menu-item.current-menu-item>a {
    background-color: #FFFAE3 !important;
}

.sub_wrap,
.sub-menu,
ul.sub-menu,
ul.children,
.mega_nav_content {
    background-color: #FFFAE3 !important;
}

#menu-item-platforms .sub-menu1 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 60px !important;
    width: 100% !important;
    padding-top: 20px !important;
}

#menu-item-platforms .sub-menu1>li {
    width: auto !important;
    min-width: 200px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#menu-item-platforms .sub-menu1>li>a {
    font-family: "Proxima Nova", Sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #080866 !important;
    margin-bottom: 15px !important;
    display: block !important;
    text-decoration: none !important;
    cursor: default !important;
}

#menu-item-platforms .sub-menu1>li>ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#menu-item-platforms .sub-menu1>li>ul>li {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

#menu-item-platforms .sub-menu1>li>ul>li>a {
    font-family: "Proxima Nova", Sans-serif !important;
    font-size: 16px !important;
    color: #333333 !important;
    display: block !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

#menu-item-platforms .sub-menu1>li>ul>li>a:hover {
    color: #4343FF !important;
}

#menu-item-platforms {
    position: static !important;
}

#menu-item-platforms>.sub_wrap {
    width: 90vw !important;
    max-width: 100vw !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 100% !important;
    display: none !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    pointer-events: auto !important;
}

/* ========================================
           QUALITY CULTURE SECTION (Redesigned)
           ======================================== */
.quality-culture-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 100%);
}

.quality-split-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* TOP CARD - Dark Full Width */
.quality-left-card {
    background: radial-gradient(circle at 0% 0%, rgba(255, 31, 106, 0.35), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.27), transparent 60%),
        var(--midnight-navy);
    border-radius: 28px;
    padding: 30px 40px;
    color: white;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quality-left-card h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    color: white;
    max-width: 900px;
}

.quality-left-card .subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    max-width: 650px;
}

/* Stats Grid */
.quality-stats {
    display: grid;
    gap: 32px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-bar {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--electric-magenta), var(--solar-amber));
    border-radius: 20px;
    position: relative;
}

.stat-label {
    min-width: 140px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-value {
    min-width: 60px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-align: right;
}

/* BOTTOM CARD - White with Principles */
.quality-right-card {
    background: white;
    border-radius: 32px;
    padding: 60px 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.quality-right-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--midnight-navy);
    margin-bottom: 50px;
    text-align: center;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.principle-card {
    background: var(--midnight-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.principle-card:hover {
    border-color: var(--quantum-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    /* Removed background gradient to prevent blink */
}

.principle-icon {
    width: 56px;
    height: 56px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #ffffff;
    /* Explicit pure white */
    font-size: 28px;
}

.principle-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    text-align: center;
}

.principle-card p {
    font-size: 0.95rem;
    color: rgb(255, 255, 255);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Case Studies Section Below */
.case-studies-row {
    max-width: 1300px;
    margin: 80px auto 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    height: 450px;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background-size: cover;
    background-position: center;
    background-color: #1a202c;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-6px);
}

.case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.case-content {
    position: relative;
    z-index: 2;
}

.case-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.case-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.case-link {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 968px) {
    .quality-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quality-left-card {
        position: relative;
        top: 0;
        padding: 40px;
    }

    .quality-right-card {
        padding: 40px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .case-studies-row {
        grid-template-columns: 1fr;
    }
}


/* Responsive */
@media (max-width: 900px) {
    .story-top {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .story-image {
        flex: none;
        width: 100%;
        justify-content: center;
        margin-bottom: 30px;
    }

    .story-circle-img {
        width: 280px;
        height: 280px;
    }

    .story-bottom {
        grid-template-columns: 1fr;
    }

    .story-card {
        height: 350px;
    }
}

/* ========================================
           DOMAINS SECTION STYLES (V4 - Dark Surround)
           ======================================== */
.domains-section {
    padding: 80px 20px !important;
    background: #fff !important;
    /* Reset to white/transparent */
    font-family: var(--font-body) !important;
    color: #333;
}

.domains-container-v4 {
    max-width: 1250px;
    margin: 0 auto;
    /* Exact match from Hero Section */
    background: radial-gradient(circle at 0% 0%, rgba(255, 31, 106, 0.35), transparent 55%), radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.27), transparent 60%), #060918 !important;
    /* using hex for midnight-navy safety */
    border-radius: 40px;
    /* Rounded corners for container */
    padding: 80px;
    /* Inner spacing */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    color: #fff;
    /* Ensure text remains light inside */
    position: relative;
    overflow: hidden;
}

/* Main Container Wrapper */
.domains-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Vertical gap between Rows */
}

/* Top & Bottom Row Containers */
/* Top & Bottom Row Containers */
.d-row-top,
.d-row-bottom {
    display: flex;
    gap: 60px;
    /* Horizontal gap between Left & Right Columns */
    align-items: stretch;
    /* Stretch to fill height so explicit heights work */
}

/* Left Column (Shared Width) */
/* Left Column (Shared Width) */
.d-col-left {
    flex: 0 0 320px;
    /* Fixed Width */
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Reduced gap to move content up */
    min-height: 100%;
    /* Ensure it takes full height */
}

.domains-title-v4 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    margin-top: -10px;
    /* Pull title slightly up towards image */
}

.btn-discover {
    display: inline-block;
    background: linear-gradient(90deg, #ff1f6a, #ff9d00);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    width: fit-content;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 31, 106, 0.3);
    margin-top: auto;
    /* Push to bottom */
    align-self: center;
    /* Center horizontally */
}

.btn-discover:hover {
    transform: translateY(-2px);
}

/* Right Column (Shared Grid) */
/* Right Column (Shared Grid) */
/* Right Column (Shared Grid) */
/* Right Column (Shared Grid) */
.d-col-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns to align last 3 items horizontal */
    gap: 60px 40px;
    /* Row Gap: 60px, Column Gap: 40px */
    padding-top: 60px;
    /* Align with left sidebar content */
    align-content: start;
}

/* Remove padding for bottom row right column to align with left */
.d-row-bottom .d-col-right {
    padding-top: 0;
}

/* Image Container inside Left Column */
/* Image Container inside Left Column */
.domains-img-frame {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
    padding-bottom: 0;
    /* Removed padding to pull title up max */
}

.domains-img-frame img {
    width: 220px;
    /* Reduced size further */
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
}

.domains-title-v4 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.domains-subtitle-v4 {
    font-size: 1rem;
    color: #b0b8d0;
    line-height: 1.6;
    margin: 0;
}

.btn-discover {
    display: inline-block;
    background: linear-gradient(90deg, #ff1f6a, #ff9d00);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    width: fit-content;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 31, 106, 0.3);
}

.btn-discover:hover {
    transform: translateY(-2px);
}





/* Right List Grid */
.domains-list-right {
    flex: 1;
    /* Standardize flex */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    /* Increased gap from 40px to 60px */
    margin-top: 0;
    padding-top: 25px;
    /* Push down to align with image middle/aesthetic preference */
}

/* Bottom Row Structure - Mirrors Top Row */
.domains-bottom-row-v4 {
    display: flex;
    gap: 60px;
    /* Matches top row gap */
    margin-top: 30px;
    /* Increased top margin for separation */
}

.domains-bottom-left {
    flex: 0 0 320px;
    /* Matches Sidebar width exactly */
}

.domains-bottom-right {
    flex: 1;
    /* Matches Right List flex */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Matches Right List grid */
    gap: 30px;
    /* Increased gap to match top grid */
    padding-top: 25px;
    /* Match top right alignment */
}

/* Card Styles */
.domain-card-dark {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    /* REMOVED padding */
    background: transparent !important;
    /* REMOVED background */
    border: none !important;
    /* REMOVED border */
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    height: auto;
}

.domain-card-dark:hover {
    background: transparent;
    border-color: transparent;
    transform: translateY(-3px);
    opacity: 0.8;
}

.domain-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Tighter gap */
}

.d-title {
    font-size: 1.0rem;
    /* Slightly smaller */
    font-weight: 800;
    /* Extra Bold */
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.d-desc {
    font-size: 0.85rem;
    color: #b0b8d0;
    line-height: 1.5;
}

.d-link {
    font-size: 0.8rem;
    color: #fff !important;
    /* BOLD WHITE */
    font-weight: 800;
    /* Extra Bold */
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.d-arrow {
    transition: transform 0.3s;
}

.domain-card-dark:hover .d-arrow {
    transform: translateX(4px);
}

/* Removed old .d-icon styles as they are replaced by .d-link */

/* Responsive */
@media (max-width: 1024px) {
    .domains-top-row-v4 {
        flex-direction: column;
        text-align: center;
    }

    .domains-list-right {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on tablet */
    }

    .domains-img-frame img {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .domains-list-right {
        grid-template-columns: 1fr;
    }

    .domains-bottom-row-v4 {
        grid-template-columns: 1fr;
    }
}

/* Helpers for Mega Menus */
/* ========================================
           MEGA MENU STYLES
           ======================================== */

.site-header {
    position: relative;
    /* Context for mega menu */
}

.menu-item-has-children {
    position: static;
    /* Allows sub_wrap to span full header width */
}

.sub_wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1300px;
    /* Slightly wider */
    margin: 0 auto;
    /* Cream Background as per design */
    background: #FFFDF5 !important;
    border: none;
    padding: 50px 60px;
    /* Increased Padding */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
    z-index: 1100;
}

/* Force Transparent Backgrounds on Inner Elements */
.sub-menu1,
.sub-menu1 ul,
.sub-menu1 li,
.sub_wrap ul,
.sub_wrap div {
    background: transparent !important;
    box-shadow: none !important;
}

/* Click Interaction (Handled by JS via .open class) */
.menu-item-has-children.open>.sub_wrap {
    display: block;
    animation: megaSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Arrow Icon Styling (Pure CSS Chevron) */
.icon-small-arow-down {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-bottom: 3px;
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* Rotate (V becomes ^) */
.menu-item-has-children.open>.mega_nav>a .icon-small-arow-down,
.menu-item-has-children.open>a .icon-small-arow-down {
    transform: rotate(225deg) translate(-2px, -2px);
}

@keyframes megaSlideDown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default Vertical List for most menus (Insights, etc) */
.sub-menu1 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* GRID Layout specifically for 'Capabilities' Mega Menu */


.mega-menu-heading {
    display: block;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
}

.mega-menu-heading a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #080866;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.mega-menu-heading a:hover {
    color: #ff1f6a;
}

.mega-menu-heading i {
    font-size: 0.9em;
}

/* Hidden Mobile Header */
.nav_header {
    display: none;
}

/* CAPABILITIES COLUMN HEADERS (Services, Platforms, etc.) */
#menu-item-132 .sub-menu1>li.menu-item-has-children>a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    /* Larger font */
    font-weight: 800;
    /* Extra Bold */
    color: #000000;
    /* Pitch Black */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 25px;
    /* More space below header */
    border-bottom: 3px solid #ff1f6a;
    /* Thicker, explicit pink/red underline */
    padding-bottom: 8px;
    width: auto;
    pointer-events: auto;
}

/* General Sub-Headers (General, Packaged Solutions, Tools) */
.sub-menu1 strong,
.delivery-models-header {
    color: #000000 !important;
    /* Black */
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    display: block;
    margin-bottom: 12px !important;
}

/* Nested Links Styles */
.sub-menu1 ul.grand-child {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Space between links */
}

.sub-menu1 ul.grand-child li a {
    font-size: 0.9rem;
    color: #333333;
    /* Dark Grey for text */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
    line-height: 1.4;
}

.sub-menu1 ul.grand-child li a:hover {
    color: #ff1f6a;
    /* Pink Hover */
    transform: translateX(3px);
    font-weight: 600;
}

/* Direct Links (e.g. Insights, Solution if not nested) */
.sub-menu1>li:not(.menu-item-has-children)>a {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0a1025;
    display: flex;
    align-items: center;
    padding: 6px 0;
    transition: color 0.2s;
}

.sub-menu1>li:not(.menu-item-has-children)>a:hover {
    color: var(--electric-magenta);
}


/* ========================================
           AI @ IGS SECTION STYLES
           ======================================== */
.ai-section {
    padding: 80px 20px !important;
    background: #fff;
    font-family: var(--font-body);
}

.ai-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #EEF2FF;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* ========================================
           AI @ IGS SECTION STYLES (Interactive Redesign)
           ======================================== */
.ai-section {
    padding: 80px 20px;
    background: #fff;
    font-family: var(--font-body);
}

.ai-container {
    max-width: 1200px;
    margin: 0 auto;
    /* Hero-style gradient background */
    background: radial-gradient(circle at 0% 0%, rgba(255, 31, 106, 0.35), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.27), transparent 60%),
        var(--midnight-navy);
    border-radius: 40px;
    padding: 80px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-header {
    margin-bottom: 60px;
}

.ai-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    /* White text for dark theme */
    line-height: 1.2;
    max-width: 700px;
}

/* Interactive Layout */
.ai-interactive-row {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

/* Left Tabs */
.ai-tabs {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

.ai-tab {
    padding: 25px 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.ai-tab:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-tab span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    /* Dim white */
    transition: color 0.3s;
}

.ai-tab svg {
    width: 24px;
    height: 24px;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
    fill: none;
    transition: all 0.3s;
}

.ai-tab:hover span {
    color: var(--quantum-blue);
}

.ai-tab:hover svg {
    stroke: var(--quantum-blue);
    transform: translateX(5px);
}

.ai-tab.active span {
    color: #ffffff;
    font-weight: 800;
}

.ai-tab.active svg {
    stroke: #ffffff;
    transform: translateX(5px);
}

/* Right Content Area */
.ai-content-area {
    flex: 1;
    position: relative;
}

.ai-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ai-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.ai-pane-image {
    width: 100%;
    height: 280px;
    /* Reduced from 400px */
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
}

.ai-pane-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Icon Overlay */
.ai-floating-icon {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--quantum-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(27, 108, 255, 0.4);
}

.ai-pane-text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
}

.ai-pane-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .ai-interactive-row {
        flex-direction: column;
        gap: 30px;
    }

    .ai-tabs {
        width: 100%;
        flex: none;
    }

    .ai-header h2 {
        font-size: 2rem;
    }

    .ai-pane-image {
        height: 300px;
    }
}

/* FORCE HEADER FLAT - OVERRIDE ALL */
header,
.site-header,
.main_header,
#header,
.header_desktop {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    position: relative !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.header_desktop {
    padding: 8px 40px !important;
    /* Restore inner padding */
}

/* =========================================
           📱 MOBILE RESPONSIVENESS
           ========================================= */

/* TOGGLE (Hamburger) - Hidden on Desktop */
.toggle {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 2000;
}

.toggle::before,
.toggle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #050816;
    transition: all 0.3s ease;
}

.toggle::before {
    top: 0;
}

.toggle::after {
    bottom: 0;
}

/* Middle bar */
.toggle span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: #050816;
    transition: all 0.3s ease;
}

/* Active State for Toggle */
.toggle.active::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.toggle.active::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.toggle.active span {
    opacity: 0;
}


@media (max-width: 991px) {

    /* header adjustments */
    .header_desktop {
        padding: 15px 20px !important;
    }

    .logo_wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .toggle {
        display: block;
        /* Show hamburger */
    }

    /* Hide Desktop Nav by default */
    .header_desktop nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1000;
    }

    /* Modify JS to set display: flex/block when active */
    /* We will rely on the inline style toggle from existing JS or update JS */

    .main_nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .main_nav>li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .main_nav>li>a {
        padding: 15px 0 !important;
        font-size: 1.1rem !important;
    }

    .header_right {
        display: none !important;
        /* Hide Search/CTA on mobile header for space */
    }

    /* HERO Responsive */
    .hero-container-styled {
        flex-direction: column !important;
        height: auto !important;
        padding: 40px 20px !important;
        margin-top: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    .hero-left {
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-left h1 {
        font-size: 2.5rem !important;
        text-align: center !important;
    }

    .hero-subheading {
        font-size: 1.5rem !important;
        text-align: center !important;
    }

    .hero-description {
        text-align: center !important;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-right {
        width: 100% !important;
        margin-top: 40px;
    }

    .metrics-grid {
        grid-template-columns: 1fr !important;
    }

    /* Quality Culture Responsive */
    .quality-split-container {
        padding: 0 20px;
    }

    .quality-left-card h2 {
        font-size: 1.8rem;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Responsive */
    .footer-main-layout {
        gap: 40px;
    }

    .footer-link-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* "Start where it matters" (E2E) Section Responsive */
    .e2e-container {
        flex-direction: column !important;
        padding: 40px 20px !important;
        height: auto !important;
        min-height: auto !important;
    }

    .e2e-content {
        max-width: 100% !important;
        margin-bottom: 40px;
        text-align: center;
    }

    .e2e-content h2 {
        font-size: 2rem !important;
    }

    .e2e-services-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        margin-left: 0 !important;
    }

    /* FORCE HOVER STATE ON MOBILE for E2E Cards */
    .e2e-service-item {
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .e2e-service-item .service-icon,
    .e2e-service-item h4 {
        display: none !important;
    }

    .e2e-service-item p {
        display: block !important;
        color: #000000 !important;
        font-size: 0.95rem;
        margin: 0;
    }

    /* "Quality is our responsibility" (Domains) Section Responsive */
    .domains-container-v4 {
        padding: 40px 20px !important;
    }

    .domains-top-row-v4,
    .domains-bottom-row-v4 {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .d-col-left,
    .domains-bottom-left {
        flex: none !important;
        width: 100% !important;
        text-align: center !important;
        align-items: center !important;
    }

    .domains-img-frame {
        justify-content: center !important;
    }

    .d-col-right,
    .domains-bottom-right {
        grid-template-columns: 1fr !important;
        padding-top: 0 !important;
        gap: 30px !important;
    }

    .domain-card-dark {
        text-align: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .domain-info {
        align-items: center !important;
        width: 100% !important;
    }

    .d-title,
    .d-desc,
    .d-link {
        text-align: center !important;
        color: #ffffff !important;
        width: 100%;
        display: block !important;
    }

    .d-link {
        justify-content: center !important;
        display: flex !important;
    }

    /* FORCE VISIBILITY for Domain Cards on Mobile/Tablet */
    @media (max-width: 1025px) {

        .d-title,
        .d-desc,
        .d-link,
        .d-link span {
            display: block !important;
            opacity: 1 !important;
            visibility: visible !important;
            height: auto !important;
            color: #ffffff !important;
            text-align: center !important;
            width: 100% !important;
        }

        .d-link {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
        }

        .domain-info {
            display: flex !important;
            flex-direction: column !important;
            gap: 15px !important;
            padding-bottom: 30px !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
            width: 100% !important;
        }

        .d-link {
            margin-top: 10px !important;
            justify-content: center !important;
            width: 100% !important;
        }

        /* FIX: Target the correct container class found in HTML */
        .d-row-main {
            flex-direction: column !important;
            gap: 40px !important;
        }

        .d-col-right {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            /* 2 Columns */
            gap: 20px !important;
            width: 100% !important;
            padding-top: 0 !important;
        }

        .domain-card-dark {
            background: rgba(255, 255, 255, 0.03) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            border-radius: 16px !important;
            padding: 20px 15px !important;
            height: 100% !important;
            display: flex !important;
            flex-direction: column !important;
        }

        .domain-info {
            border-bottom: none !important;
            padding-bottom: 0 !important;
            height: 100% !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            gap: 12px !important;
        }

        /* Smaller text for 2-column layout */
        .d-title {
            font-size: 0.85rem !important;
            margin-bottom: 8px !important;
            min-height: 40px;
            /* Force minimum height for alignment */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .d-desc {
            font-size: 0.75rem !important;
            line-height: 1.4 !important;
            margin-bottom: auto !important;
            /* Push link to bottom */
        }

        .d-link {
            margin-top: 15px !important;
            font-size: 0.7rem !important;
            background: rgba(255, 255, 255, 0.05);
            padding: 8px 12px;
            border-radius: 8px;
            width: 100% !important;
        }
    }
}

/* Fix for Capabilities Mega Menu Alignment (Landing Page) */
/* ==========================================================================
   MOBILE RESPONSIVENESS (ADDED BY AGENT)
   ========================================================================== */
@media (max-width: 991px) {

    /* HEADER */
    .header_desktop {
        padding: 15px 20px !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }

    .logo_wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
    }

    .logo_wrap img.custom-logo {
        height: 32px !important;
        width: auto !important;
    }

    /* Toggle Button */
    .toggle {
        display: block !important;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
        background: transparent;
    }

    .toggle::before,
    .toggle::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: #050816;
        transition: 0.3s;
    }

    .toggle::before {
        top: 0;
    }

    .toggle::after {
        bottom: 0;
    }

    .toggle span {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background: #050816;
        transform: translateY(-50%);
        transition: 0.3s;
        display: block;
    }

    .toggle.active span {
        opacity: 0;
    }

    .toggle.active::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .toggle.active::after {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    /* Hide Desktop Nav and Right Section */
    .header_desktop nav {
        display: none;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }

    .header_right {
        display: none !important;
    }

    /* Mobile Menu Items */
    .main_nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        margin: 0 !important;
    }

    .main_nav>li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main_nav>li>a,
    .main_nav>li>span {
        padding: 15px 0 !important;
        font-size: 16px !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Mega Menu Dropdowns on Mobile */
    .sub_wrap {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        padding: 10px 15px !important;
        background: #f9f9f9 !important;
        border-radius: 8px !important;
        display: none;
        max-height: none !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        margin-bottom: 10px;
    }

    .menu-item-has-children.open>.sub_wrap {
        display: block !important;
    }

    .sub-menu1,
    #menu-item-132 .sub-menu1 {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .sub-menu1>li {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .menu-item-has-children.open>span>a .icon-small-arow-down {
        transform: rotate(180deg);
    }
}