    /* ========================================
       Rutgers Dental Clinic - Custom Styles
       ======================================== */

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

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

    /* Scroll reveal base - content always visible by default */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    /* Scroll reveal animated state - only applied via JS */
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    /* For reduced motion preference */
    @media (prefers-reduced-motion: reduce) {
        .scroll-reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
        html {
            scroll-behavior: auto;
        }
        .animate-bounce {
            animation: none;
        }
        .animate-pulse {
            animation: none;
        }
    }

    /* Mobile menu animation */
    #mobile-menu-btn.active .menu-line:first-child {
        transform: rotate(45deg) translate(0.35rem, 0.35rem);
    }
    #mobile-menu-btn.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    #mobile-menu-btn.active .menu-line:nth-child(3) {
        width: 1.5rem;
        transform: rotate(-45deg) translate(0.35rem, -0.35rem);
    }

    /* Geometric pattern overlay for hero */
    #hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 25% 25%, rgba(255, 107, 74, 0.03) 0%, transparent 50%),
                          radial-gradient(circle at 75% 75%, rgba(55, 65, 81, 0.03) 0%, transparent 50%);
        pointer-events: none;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #1F2937;
    }
    ::-webkit-scrollbar-thumb {
        background: #FF6B4A;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #E85A3A;
    }

    /* Image hover effect */
    img {
        transition: transform 0.3s ease;
    }

    /* Focus styles for accessibility */
    a:focus-visible,
    button:focus-visible {
        outline: 2px solid #FF6B4A;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Navbar scroll state */
    .navbar-scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Responsive adjustments */
    @media (max-width: 640px) {
        .font-display {
            font-size: clamp(1.75rem, 8vw, 2.5rem);
        }
    }

    @media (min-width: 641px) and (max-width: 1024px) {
        #hero img {
            height: 400px;
        }
    }

    @media (min-width: 1025px) {
        #hero img {
            height: 500px;
        }
    }
