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

    body {
        overflow-x: hidden;
    }

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

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

    /* Nav link underline animation */
    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #d4a843, #e4b83f);
        transition: width 0.3s ease;
    }

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

    /* Mobile menu animations */
    #mobileMenu.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;
    }

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

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

    /* Hamburger animation */
    #menuBtn.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menuBtn.active .menu-line:nth-child(2) {
        opacity: 0;
    }

    #menuBtn.active .menu-line:nth-child(3) {
        width: 24px;
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Header scrolled state */
    #header.scrolled {
        background: rgba(254, 253, 248, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
    }

    /* Hero parallax feel */
    #hero {
        position: relative;
    }

    #hero img {
        will-change: transform;
    }

    /* Select styling */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239fb3c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 40px;
    }

    /* Input autofill styling */
    input:-webkit-autofill,
    textarea:-webkit-autofill,
    select:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px white inset !important;
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #9fb3c8;
    }

    /* Selection color */
    ::selection {
        background: rgba(212, 168, 67, 0.2);
        color: #1e3a5f;
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .scroll-reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
        * {
            transition-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
        }
    }
