    /* Custom styles for Eveleth Eye Care */

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

    /* Selection color */
    ::selection {
        background-color: rgba(51, 214, 163, 0.3);
        color: #0e1a2d;
    }

    /* Service card hover effect */
    .service-card {
        transform: translateY(0);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(30, 58, 95, 0.3);
    }

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

    /* Hero image gradient overlay */
    #hero img {
        transition: transform 8s ease;
    }

    #hero:hover img {
        transform: scale(1.03);
    }

    /* Mobile menu animation */
    #mobile-menu {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #7896c0;
    }

    /* Scroll reveal animations (progressive enhancement) */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .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; }
        .reveal-delay-4 { transition-delay: 0.4s; }
        .reveal-delay-5 { transition-delay: 0.5s; }
        .reveal-delay-6 { transition-delay: 0.6s; }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
        }
        html {
            scroll-behavior: auto;
        }
    }

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

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

    /* Tablet adjustments */
    @media (max-width: 768px) {
        #hero {
            min-height: auto;
            padding-top: 8rem;
            padding-bottom: 4rem;
        }

        #hero .lg\:col-span-5 {
            min-h: 300px;
        }
    }

    /* Print styles */
    @media print {
        nav, #mobile-menu-btn, .service-card, form, .animate-bounce {
            display: none !important;
        }
        body {
            color: #000;
            background: #fff;
        }
        .bg-midnight-500, .bg-midnight-900 {
            background: #fff !important;
            color: #000 !important;
        }
    }
