    /* ===== Custom Styles for Haywood County EMS ===== */

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

    /* Selection color */
    ::selection {
        background-color: #1a4d2e;
        color: #fafaf7;
    }

    /* ===== Navbar ===== */
    #navbar {
        transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    }

    #navbar.scrolled {
        background-color: rgba(250, 250, 247, 0.97);
        box-shadow: 0 1px 20px rgba(26, 77, 46, 0.08);
        backdrop-filter: blur(12px);
    }

    #navbar.scrolled .font-serif,
    #navbar.scrolled a:not(.bg-forest-700):not(.bg-white) {
        color: #1a4d2e;
    }

    /* ===== Hero ===== */
    #hero {
        position: relative;
    }

    #hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(to top, #fafaf7, transparent);
        pointer-events: none;
    }

    /* ===== Service Cards ===== */
    .service-card {
        position: relative;
        overflow: hidden;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #1a4d2e, #3d7a3d);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    /* ===== Scroll Reveal (progressive enhancement) ===== */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(32px);
            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; }
    }

    /* ===== Mobile Menu ===== */
    #mobileMenu {
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

    /* ===== Button hover effects ===== */
    a.bg-forest-700:hover {
        transform: translateY(-1px);
    }

    /* ===== Form transitions ===== */
    input, select, textarea {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    /* ===== Counter animation ===== */
    .stat-number {
        display: inline-block;
    }

    /* ===== Print styles ===== */
    @media print {
        #navbar, #hero::after, .reveal {
            display: none !important;
        }
        body {
            color: #000;
            background: #fff;
        }
    }

    /* ===== Wide screens ===== */
    @media (min-width: 1920px) {
        .max-w-7xl {
            max-width: 80rem;
        }
    }
