    /* Custom styles and overrides */
    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    /* Navbar scroll state */
    .nav-logo-text {
        transition: color 0.3s ease;
    }

    #navbar.scrolled {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
    }

    #navbar.scrolled .nav-logo-text {
        color: #102a43;
    }

    #navbar.scrolled a:not(.bg-navy-900):not(.bg-gold-500) {
        color: #243b53;
    }

    #navbar.scrolled a:not(.bg-navy-900):not(.bg-gold-500):hover {
        color: #c8a44e;
    }

    #navbar.scrolled .mobile-link {
        color: #243b53;
    }

    /* Scroll reveal animations */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    }

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

        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Stagger children */
    .grid > .scroll-reveal:nth-child(1) { transition-delay: 0ms; }
    .grid > .scroll-reveal:nth-child(2) { transition-delay: 80ms; }
    .grid > .scroll-reveal:nth-child(3) { transition-delay: 160ms; }
    .grid > .scroll-reveal:nth-child(4) { transition-delay: 240ms; }
    .grid > .scroll-reveal:nth-child(5) { transition-delay: 320ms; }
    .grid > .scroll-reveal:nth-child(6) { transition-delay: 400ms; }

    /* Hero pattern animation */
    @keyframes drift {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(10px, -10px); }
    }

    #hero .absolute.opacity-10 {
        animation: drift 20s ease-in-out infinite;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #f0f4f8;
    }

    ::-webkit-scrollbar-thumb {
        background: #627d98;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #334e68;
    }

    /* Focus styles */
    a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
        outline: 2px solid #c8a44e;
        outline-offset: 2px;
    }
