/* Kaizora.ai - Global Styles (New File - Forced Alignment) */

:root {
    /* Brand Colors */
    --color-primary: #025BBC;
    --color-secondary: #034388;
    --color-navy: #061635;
    --color-deep-navy: #01091A;
    --color-white: #FFFFFF;
    --color-light-gray: #F4F5F7;
    --color-text-body: #4A5568;
    --color-border: rgba(6, 22, 53, 0.1);

    /* Spacing */
    --container-width: 1440px;
    /* Increased slightly from 1280px */
    --header-height: 90px;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Typography */
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-white);
    /* Fully White */
    color: var(--color-navy);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-align: left;
    /* Global Left Align */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

/* Typography */
/* Typography - Image 4 Style */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-navy);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: left;
}

h1 {
    font-size: 2.5rem;
    /* Balanced size */
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* ... (skipping unchanged) ... */

/* Feature Cards (Inverted Interactive Style - 3 Column Grid) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns for 6 items */
    gap: 1.5rem;
    margin-top: var(--space-lg);
}

p {
    font-size: 1rem;
    color: #555;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    text-align: left;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section {
    padding: var(--space-xl) 0;
}

.section-dark {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--color-white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-navy);
    color: var(--color-white);
    border: 1px solid var(--color-navy);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-navy);
    background: var(--color-white);
}

/* Navigation */
.navbar {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 22, 53, 0.06);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-navy);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-secondary);
}

.nav-links .btn {
    display: none;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-navy);
    cursor: pointer;
}

/* Hidden on desktop, used only in mobile drawer */
.nav-drawer-header { display: none; }
.nav-icon { display: none; }
.nav-close-btn { display: none; }
.nav-backdrop { display: none; }

/* ------------------------
   HOME PAGE LAYOUT - FIXED
   ------------------------ */

.hero-section {
    padding-top: 160px;
    /* Proper gap below navbar */
    padding-bottom: 100px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Was 'center' — this was pushing everything to the middle! */
    text-align: left !important;
    align-items: flex-start !important;
    /* STRICT LEFT ALIGNMENT */
}

/* Explicitly target container inside hero if needed, but flex-start above handles it */
/* Hero Grid Layout */
.hero-section .container.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-headline {
    width: 100% !important;
    margin-bottom: 2rem;
}

/* Hero Headline - Forced 3 Lines - UPDATED */
.hero-headline h1 {
    font-size: 4.5rem;
    /* Reduced from 5.5rem to fit */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left !important;
    max-width: 100%;
    /* Remove restrictive ch width that caused 4 lines */
    white-space: pre-line;
    /* Respect HTML line breaks if possible, or just let it flow */
}

/* Reordered spacing */
.hero-sub {
    margin-top: 0;
    margin-bottom: 2.5rem;
}

.hero-sub p {
    max-width: 90%;
    font-size: 1.1rem;
    color: var(--color-navy);
}

.hero-buttons {
    display: flex;
    justify-content: flex-start !important;
    gap: 1rem;
}

/* Data Core Hero Visual - Bigger & Higher */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    /* Taller area */
    width: 100%;
    perspective: 1000px;
    margin-top: -50px;
    /* Raise it higher */
}

/* Hero Section - Overridden by hero-image4.css */
/* Kept empty to ensure no conflict */


/* Floating Shards / Leaves */
.floating-shards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
}

.shard {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.shard-1 {
    width: 40px;
    height: 60px;
    top: 20%;
    right: 10%;
    border-radius: 100% 0 100% 0;
    /* Leaf shape */
    animation: floatShard 7s ease-in-out infinite;
}

.shard-2 {
    width: 30px;
    height: 30px;
    bottom: 30%;
    left: 15%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 255, 255, 0.2), transparent);
    animation: floatShard 9s ease-in-out infinite reverse;
}

.shard-3 {
    width: 25px;
    height: 40px;
    top: 10%;
    left: 40%;
    border-radius: 0 100% 0 100%;
    opacity: 0.6;
    animation: floatShard 6s ease-in-out infinite 1s;
}

.shard-4 {
    width: 15px;
    height: 15px;
    top: 60%;
    right: 25%;
    border-radius: 50%;
    background: #025bbc;
    box-shadow: 0 0 10px #025bbc;
    animation: floatOrb 4s ease-in-out infinite;
}

/* Animations */
@keyframes flutterLeft {

    0%,
    100% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(25deg);
    }
}

@keyframes flutterRight {

    0%,
    100% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(-25deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes floatShard {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(15px, -20px) rotate(10deg);
    }
}

@keyframes floatHero {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Global Data Line */
.global-data-line {
    position: fixed;
    top: 0;
    left: 6%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(2, 91, 188, 0.2) 10%,
            rgba(2, 91, 188, 0.2) 90%,
            transparent 100%);
    z-index: -1;
    pointer-events: none;
}

/* Responsive Shift */
@media (max-width: 900px) {
    .hero-section .container.hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-visual {
        height: 300px;
        margin-top: 2rem;
        order: 1;
    }
}

/* Mission / Intro */
.mission-section {
    padding: 80px 0 60px;
    background-color: #fff;
}

.mission-text {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
    max-width: 900px;
    text-align: left;
    margin-left: 0;
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.mission-text span {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

/* Stats Row - cards left, button right */
.stats-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 3.5rem;
}

/* Stats Grid */
.stats-grid {
    display: flex;
    gap: 1rem;
}

.stat-card {
    background: var(--color-navy);
    color: var(--color-white);
    width: 215px;
    min-height: 160px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0.3rem;
    color: #fff;
}

.stat-number sup {
    font-size: 1.2rem;
    font-weight: 300;
    vertical-align: super;
    line-height: 0;
    position: relative;
    top: -0.5em;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.4;
    max-width: 160px;
}

/* Consult Now Button */
.btn-consult {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-navy);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-consult:hover {
    background: var(--color-secondary);
}

.btn-consult span {
    font-size: 1.2rem;
    text-decoration: none;
}

/* Services Section (Dark + Tech Visuals) */
.services-section {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


/* Mission Background Tech */
.mission-section {
    position: relative;
    overflow: hidden;
}

.mission-bg-tech {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.mission-bg-tech svg {
    width: 500px;
    height: 500px;
    animation: rotateRing 60s linear infinite;
}

/* Feature Background Visual */
.feature-bg-visual {
    position: absolute;
    top: -50px;
    left: -50px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

/* Floating Vector Elements */
.tech-visuals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-vector {
    position: absolute;
    opacity: 0.6;
}

.vector-1 {
    top: 10%;
    right: 5%;
    animation: floatOrb 8s ease-in-out infinite;
}

.vector-2 {
    bottom: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    animation: rotateRing 40s linear infinite;
    opacity: 0.4;
}

.services-list {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

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

.services-section h2 {
    color: var(--color-white);
    text-align: left;
    position: relative;
    z-index: 2;
}

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

.service-row:hover {
    background: rgba(255, 255, 255, 0.05);
    /* Subtle highlight */
    padding-left: 1.5rem;
    /* Slight shift to right */
    border-bottom-color: var(--color-primary);
}

.service-row h3 {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
}

.service-row:hover h3 {
    color: var(--color-primary);
    transform: translateX(10px);
}

/* Removed numbers span style as requested */

.service-arrow {
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.service-row.active .service-arrow {
    transform: rotate(90deg);
    color: var(--color-white);
}

.service-details {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease;
    padding-left: 0;
    color: #FFFFFF !important;
    /* Pure White - High Visibility */
    font-size: 1.25rem;
    /* Larger Text */
    line-height: 1.8;
    opacity: 1;
    font-weight: 400;
    /* Standard weight, barely bolder */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    /* Subtle shadow for text pop */
}

.service-row.active .service-details {
    max-height: 300px;
    margin-top: 1.5rem;
}

.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
}

.read-more-link:hover {
    border-bottom-color: var(--color-primary);
}

/* Feature Cards (Inverted Interactive Style - Big 2x2 Grid) */
/* Feature Cards (Inverted Interactive Style - Big 3x2 Grid) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Fixed to 3 Columns */
    gap: 2rem;
    margin-top: var(--space-lg);
}

.feature-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.07);
    z-index: 1;
}

.feature-card:hover {
    background: var(--color-deep-navy);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

/* Shake Animation */
@keyframes iconShake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes iconFloatShake {
    0% {
        transform: rotate(0deg) scale(1.1) translate(10px, 10px);
    }

    25% {
        transform: rotate(5deg) scale(1.1) translate(15px, 5px);
    }

    50% {
        transform: rotate(0deg) scale(1.1) translate(10px, 10px);
    }

    75% {
        transform: rotate(-5deg) scale(1.1) translate(5px, 15px);
    }

    100% {
        transform: rotate(0deg) scale(1.1) translate(10px, 10px);
    }
}

.card-bg-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 18rem;
    /* Even bigger */
    color: rgba(6, 22, 53, 0.03);
    transform: rotate(-15deg);
    pointer-events: none;
    transition: all 0.6s ease;
    z-index: 1;
}

.feature-card:hover .card-bg-icon {
    color: rgba(255, 255, 255, 0.05);
    animation: iconFloatShake 2s ease-in-out infinite;
}

.card-top-icon {
    position: absolute;
    top: 3rem;
    right: 3rem;
    font-size: 3rem;
    color: var(--color-navy);
    z-index: 2;
    transition: color 0.4s ease;
}

.feature-card:hover .card-top-icon {
    color: var(--color-white);
    animation: iconShake 0.5s ease-in-out 1;
}

.feature-card h3 {
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--color-navy);
    position: relative;
    z-index: 3;
    text-transform: none;
    transition: color 0.4s ease;
}

.feature-card:hover h3 {
    color: var(--color-white);
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: #555;
    position: relative;
    z-index: 3;
    transition: color 0.4s ease;
}

.feature-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* Service Details Update (Popped White) */
.service-details {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease;
    padding-left: 0;
    color: #FFFFFF !important;
    /* Pure White */
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .feature-card {
        min-height: 350px;
    }
}

/* Footer */
.footer {
    background-color: var(--color-deep-navy);
    color: var(--color-white);
    padding: 5rem 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer h4 {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer a {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--color-white);
}

.footer a:hover {
    color: var(--color-primary);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 3rem;
    }

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

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

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

    .hero-sub {
        justify-content: flex-start;
        text-align: left;
    }

    .hero-sub p {
        text-align: left;
    }
}

@media (max-width: 768px) {
    /* --- Backdrop overlay --- */
    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(1, 9, 26, 0.55);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        cursor: pointer;
    }

    .nav-backdrop.active {
        display: block;
    }

    /* --- Sidebar drawer --- */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 78%;
        max-width: 300px;
        display: flex !important;
        flex-direction: column;
        background: #ffffff;
        padding: 0;
        gap: 0;
        z-index: 1001;
        transform: translateX(105%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        border-radius: 20px 0 0 20px;
        box-shadow: -8px 0 40px rgba(6, 22, 53, 0.18);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* Drawer header */
    .nav-drawer-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1.75rem 1.25rem 1.25rem;
        border-bottom: 1px solid rgba(6, 22, 53, 0.08);
        margin-bottom: 0.5rem;
    }

    .nav-drawer-header img {
        height: 26px;
    }

    .nav-drawer-header .drawer-brand {
        color: var(--color-navy);
        font-size: 1.05rem;
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    /* X close button */
    .nav-close-btn {
        margin-left: auto;
        background: var(--color-light-gray);
        border: none;
        color: var(--color-navy);
        font-size: 0.7rem;
        cursor: pointer;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s, transform 0.2s;
        flex-shrink: 0;
    }

    .nav-close-btn:hover {
        background: rgba(6, 22, 53, 0.12);
        transform: scale(1.1);
    }

    /* Nav links in drawer */
    .nav-links a:not(.btn) {
        display: flex;
        align-items: center;
        gap: 0.875rem;
        padding: 0.875rem 1.25rem;
        margin: 0 0.75rem;
        border-radius: 10px;
        color: var(--color-text-body);
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
        transition: background 0.2s, color 0.2s;
    }

    .nav-links a:not(.btn):hover,
    .nav-links a:not(.btn).active {
        background: rgba(2, 91, 188, 0.08);
        color: var(--color-primary);
    }

    /* Nav icons (Font Awesome) */
    .nav-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.25rem;
        font-size: 0.95rem;
        color: var(--color-text-body);
        flex-shrink: 0;
        transition: color 0.2s;
    }

    .nav-links a:not(.btn):hover .nav-icon,
    .nav-links a:not(.btn).active .nav-icon {
        color: var(--color-primary);
    }

    /* CTA button — pinned to bottom of drawer */
    .nav-links .btn {
        display: flex;
        margin: auto 1.25rem 2.5rem;
        width: calc(100% - 2.5rem);
        justify-content: center;
        color: #fff !important;
    }

    .mobile-toggle {
        display: block;
    }

    /* --- Typography --- */
    h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .mission-text {
        font-size: 1.5rem;
        line-height: 1.35;
    }

    /* --- Sections --- */
    .section {
        padding: 5rem 0;
    }

    /* --- Stats --- */
    .stats-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        margin-top: 2rem;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 0.75rem;
    }

    .stat-card {
        width: 100%;
    }

    /* --- Feature cards --- */
    .feature-card {
        padding: 2rem;
        min-height: 280px;
    }

    .feature-card h3 {
        font-size: 1.4rem;
    }

    /* --- Spacing --- */
    .features-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    h2 {
        font-size: 1.9rem;
        margin-bottom: 1.25rem;
    }

    .mission-text {
        font-size: 1.2rem;
    }

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

    .feature-card {
        padding: 1.5rem;
    }
}

/* ---- Shared Scroll Reveal Animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }