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

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        margin: 0;
        overflow-x: hidden;
    }

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

    /* ===== Custom Scrollbar ===== */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0f172a;
    }
    ::-webkit-scrollbar-thumb {
        background: #1e293b;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #0d9488;
    }

    /* ===== Navbar ===== */
    #navbar {
        background: transparent;
        transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    }

    #navbar.scrolled {
        background: rgba(8, 14, 26, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: #14b8a6;
        transition: width 0.3s ease;
    }

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

    /* ===== Mobile Menu ===== */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

    .mobile-link {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
    }

    #mobile-menu.open .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }

    #mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
    #mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
    #mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
    #mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
    #mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

    /* ===== Scroll Animations ===== */
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .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; }

    /* ===== Hero Parallax Image ===== */
    #hero .absolute.inset-0 img {
        will-change: transform;
    }

    /* ===== Menu Card Hover ===== */
    .group:hover img {
        filter: brightness(1.05);
    }

    /* ===== Button Focus ===== */
    button:focus-visible,
    a:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
        outline: 2px solid #14b8a6;
        outline-offset: 2px;
    }

    /* ===== Selection ===== */
    ::selection {
        background: rgba(13, 148, 136, 0.3);
        color: #f0fdfa;
    }

    /* ===== Mobile responsiveness tweaks ===== */
    @media (max-width: 640px) {
        html {
            scroll-padding-top: 70px;
        }
    }
