    /* Custom styles for Arizona Language Center */

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Selection color */
    ::selection {
        background-color: #a9213d;
        color: white;
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #8c1d36;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    }

    /* Mobile menu animations */
    #mobileMenu.open {
        opacity: 1;
        visibility: visible;
    }

    /* Menu button animation */
    .menu-line:nth-child(1) {
        transform-origin: center;
    }

    .menu-line:nth-child(2) {
        transform-origin: center;
    }

    .menu-line:nth-child(3) {
        transform-origin: center;
    }

    body.menu-open .menu-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.menu-open .menu-line:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .menu-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
        width: 1.5rem;
    }

    /* Mobile link animations */
    .mobile-link {
        opacity: 0;
        transform: translateY(20px);
        transition: all 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; }

    /* Scroll reveal animations */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

        .reveal.revealed {
            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; }
    }

    /* Focus visible for accessibility */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #a9213d;
        outline-offset: 2px;
    }

    /* Print styles */
    @media print {
        #navbar,
        #mobileMenu,
        .reveal {
            display: none !important;
        }
    }
