    /* Custom styles for Wilkins Henderson Realtor */

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

    /* Selection color */
    ::selection {
        background-color: rgba(201, 162, 39, 0.3);
        color: #fff;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0a0f1e;
    }
    ::-webkit-scrollbar-thumb {
        background: #C9A227;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #D4AF37;
    }

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

    /* Only animate when JS adds the class (progressive enhancement) */
    @media (prefers-reduced-motion: no-preference) {
        .scroll-reveal.animated {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Gold gradient text effect */
    .gold-gradient {
        background: linear-gradient(135deg, #C9A227 0%, #F0D68A 50%, #C9A227 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Subtle shimmer animation for decorative elements */
    @keyframes shimmer {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }

    .shimmer {
        animation: shimmer 3s ease-in-out infinite;
    }

    /* Navbar glass effect */
    #navbar.scrolled {
        background: rgba(10, 15, 30, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    }

    /* Card hover glow */
    .service-card:hover {
        box-shadow: 0 0 40px rgba(201, 162, 39, 0.08);
    }

    /* Mobile menu transitions */
    #mobileMenu.open {
        opacity: 1;
        pointer-events: all;
    }

    /* Counter animation */
    @keyframes countUp {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Button ripple effect */
    .btn-gold {
        position: relative;
        overflow: hidden;
    }
    .btn-gold::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }
    .btn-gold:active::after {
        width: 200px;
        height: 200px;
    }

    /* Input autofill styling */
    input:-webkit-autofill,
    textarea:-webkit-autofill,
    select:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #0d1527 inset !important;
        -webkit-text-fill-color: #fff !important;
    }

    /* Floating animation for hero cards */
    @media (prefers-reduced-motion: no-preference) {
        .float-slow {
            animation: float 6s ease-in-out infinite;
        }
        .float-medium {
            animation: float 4s ease-in-out infinite;
        }
        .float-fast {
            animation: float 3s ease-in-out infinite;
        }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }
