    /* Custom styles for The Monarch Team website */

    /* Smooth scroll offset for fixed navbar */
    section[id] {
        scroll-margin-top: 80px;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f1f5f9;
    }
    ::-webkit-scrollbar-thumb {
        background: #0f766e;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #0d9488;
    }

    /* Selection color */
    ::selection {
        background-color: #ccfbf1;
        color: #134e4a;
    }

    /* Focus styles */
    *:focus-visible {
        outline: 2px solid #14b8a6;
        outline-offset: 2px;
    }

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

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

    /* Hero image subtle animation */
    @media (prefers-reduced-motion: no-preference) {
        .hero-image-float {
            animation: float 6s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
    }

    /* Card hover effects */
    .service-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(15, 118, 110, 0.15);
    }

    /* Neighborhood card zoom */
    .neighborhood-card img {
        transition: transform 0.6s ease;
    }
    .neighborhood-card:hover img {
        transform: scale(1.05);
    }

    /* Testimonial card hover */
    .testimonial-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .testimonial-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }

    /* Mobile menu transition */
    #mobile-menu {
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    #mobile-menu.hidden {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }
    #mobile-menu:not(.hidden) {
        max-height: 400px;
        opacity: 1;
    }

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

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

    /* Print styles */
    @media print {
        nav, #contact-form, #form-success {
            display: none !important;
        }
        body {
            color: #000;
            background: #fff;
        }
    }
