    /* ===== Base & Typography ===== */
    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    ::selection {
        background-color: rgba(91, 184, 148, 0.2);
        color: #0f2770;
    }

    /* ===== Scroll Reveal Animations ===== */
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal-up {
            opacity: 0;
            transform: translateY(30px);
        }
        .reveal-left {
            opacity: 0;
            transform: translateX(-30px);
        }
        .reveal-right {
            opacity: 0;
            transform: translateX(30px);
        }

        .reveal-up.revealed,
        .reveal-left.revealed,
        .reveal-right.revealed {
            opacity: 1;
            transform: translateY(0) translateX(0);
        }
    }

    /* ===== Stat Card Float Animation ===== */
    @media (prefers-reduced-motion: no-preference) {
        .stat-card {
            animation: float 6s ease-in-out infinite;
        }
        .stat-card:nth-child(1) { animation-delay: 0s; }
        .stat-card:nth-child(2) { animation-delay: -1s; }
        .stat-card:nth-child(3) { animation-delay: -2s; }
        .stat-card:nth-child(4) { animation-delay: -3s; }
        .stat-card:nth-child(5) { animation-delay: -4s; }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    /* ===== Mobile Menu Transitions ===== */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: auto;
    }
    #mobile-menu.open .relative {
        animation: slideDown 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    #menu-icon-close.hidden {
        opacity: 0;
        transform: scale(0.75);
    }
    #menu-icon-open.hidden {
        opacity: 0;
        transform: scale(0.75);
    }

    /* ===== Custom Scrollbar ===== */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f0f3fb;
    }
    ::-webkit-scrollbar-thumb {
        background: #b3c2eb;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #8da4e1;
    }

    /* ===== Focus Styles ===== */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #5bb894;
        outline-offset: 2px;
    }

    /* ===== Print Styles ===== */
    @media print {
        header, footer, #back-to-top, #mobile-menu { display: none; }
        section { page-break-inside: avoid; }
        body { background: white; }
    }
