    #loader-overlay {
     position: fixed;
     z-index: 9999;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     width: 100%;
     height: 100%;
        background: rgba(255, 255, 255, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.5s;
    }

    #loader-overlay.fade-out {
        opacity: 0;
        pointer-events: none;
    }

    .loader-spinner {
        text-align: center;
    } /* Hero section with background elements */
    .hero {
        position: relative;
        text-align: center;
        padding: clamp(80px, 10vh, 120px) clamp(16px, 6vw, 40px);
        background-color: #e6fae6;
        overflow: visible;
        min-height: clamp(560px, 85vh, 820px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        isolation: isolate;
    }

    .hero::before,
    .hero::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background-color: rgba(144, 238, 144, 0.4);
        filter: blur(50px);
        z-index: 1;
        pointer-events: none;
    }

    .hero-bg-carousel {
        z-index: 0;
        overflow: hidden;
        inset: 0;
        pointer-events: none;
    }

    .hero-bg-carousel .carousel-inner,
    .hero-bg-carousel .carousel-item {
        height: 100%;
        min-height: 100%;
    }

    .hero-bg-carousel .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-bg-overlay {
        background: linear-gradient(180deg, rgba(6, 16, 10, 0.55), rgba(6, 16, 10, 0.35));
        z-index: 2;
        pointer-events: none;
    }

    .hero-content {
        top: 60px !important;
        position: relative;
        z-index: 3;
        width: min(1120px, 100%);
        margin: 0 auto;
        padding-inline: clamp(0.5rem, 3vw, 1.5rem);
    }

    .hero::before {
        width: 200px;
        height: 200px;
        top: 10%;
        left: 5%;
    }

    .hero::after {
        width: 250px;
        height: 250px;
        bottom: 15%;
        right: 8%;
    }

    .hero h1 {
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 30px;
        z-index: 1;
        font-size: clamp(2rem, 3vw, 3.2rem);
    }

    .hero-search-card {
        width: 100%;
        max-width: 960px;
        background: rgba(255, 255, 255, 0);
        border-radius: 36px;
        padding: clamp(1.25rem, 3vw, 2.25rem);
        box-shadow: 0 40px 80px rgba(8, 44, 73, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        margin: 0 auto;
        position: relative;
    }

    .hero-search-mode {
        width: 100%;
        max-width: 720px;
        margin: auto;
        display: flex;
        gap: 0.5rem;
        justify-content: space-between;
        background: rgba(15, 45, 39, 0.05);
        padding: 0.45rem;
        border-radius: 999px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .hero-search-mode::-webkit-scrollbar {
        display: none;
    }

    .hero-search-mode button {
        border: none;
        background: transparent;
        color: #ffffff;
        font-weight: 600;
        padding: 0.65rem;
        border-radius: 999px;
        transition: all 0.2s ease;
        flex: 1 1 0;
        min-width: 0;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }

    .hero-search-mode button:hover {
        color: #198754;
    }

    .hero-search-mode button.active {
        background: linear-gradient(135deg, #198754, #1ba976);
        color: #fff;
        box-shadow: 0 14px 28px rgba(25, 135, 84, 0.35);
    }

    .hero-search-form {
        margin-top: 1.75rem;
        /* layout handled via Bootstrap d-flex / flex utilities */
        gap: 0;
        border-radius: 26px;
        border: 1px solid #dbe4f0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.04);
        overflow: visible;
        position: relative;
        justify-content: space-between;
        width: 100%;
    }

    .hero-search-form > * {
        border-right: 1px solid #e8edf5;
    }

    .hero-search-form > *:last-child {
        border-right: none;
    }

    .hero-search-form .search-field {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 1rem 1.2rem;
        background: transparent;
        flex: 1 1 280px;
        min-width: 220px;
    }

    .hero-search-form .search-field i {
        font-size: 1.25rem;
        color: #198754;
    }

    .hero-search-form input {
        border: none;
        outline: none;
        background: transparent;
        font-size: 1rem;
        font-weight: 500;
        color: #0f2d27;
        width: 100%;
    }

    .hero-search-form input::placeholder {
        color: #94a2b6;
    }

    .filter-dropdown {
        position: relative;
        flex: 0 0 220px;
        min-width: 200px;
    }

    .filter-btn {
        border: none;
        background: transparent;
        font-weight: 600;
        color: #0f2d27;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 1.2rem;
        justify-content: space-around;
        transition: color 0.2s ease;
        width: 100%;
    }

    .filter-btn:hover {
        color: #198754;
    }

    .filter-btn.open {
        color: #198754;
    }

    .filter-btn .bi {
        transition: transform 0.2s ease;
    }

    .filter-btn.open .bi {
        transform: rotate(180deg);
    }

    .filter-label {
        font-weight: 600;
        color: inherit;
    }

    .dropdown-panel {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: max(260px, 100%);
        max-width: 420px;
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 18px 35px rgba(15, 45, 39, 0.18);
        border: 1px solid #e5ecf4;
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        z-index: 40;
        backdrop-filter: blur(8px);
    }

    .dropdown-panel.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-heading {
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #6b7484;
        margin-bottom: 0.75rem;
    }

    .dropdown-list {
        max-height: 260px;
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .dropdown-list::-webkit-scrollbar {
        width: 6px;
    }

    .dropdown-list::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }

    .dropdown-option {
        width: 100%;
        text-align: left;
        padding: 0.65rem 0.5rem;
        border: none;
        background: transparent;
        font-weight: 500;
        color: #1c1f23;
        border-radius: 10px;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .dropdown-option:hover {
        background: #f2f6ff;
    }

    .dropdown-option.selected {
        background: #e7f3ec;
        color: #198754;
        font-weight: 600;
    }

    .beds-baths-panel {
        width: max(320px, 100%);
    }

    .dropdown-section + .dropdown-section {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #eef2f7;
    }

    .chip-group {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .chip-button {
        border: 1px solid #d6dde9;
        background: #fff;
        border-radius: 999px;
        padding: 0.3rem 0.85rem;
        font-weight: 600;
        color: #4c5564;
        transition: all 0.2s ease;
    }

    .chip-button:hover {
        border-color: #198754;
        color: #198754;
    }

    .chip-button.selected {
        background: #198754;
        border-color: #198754;
        color: #fff;
        box-shadow: 0 10px 20px rgba(25, 135, 84, 0.25);
    }

    .search-submit {
        border: none;
        background: linear-gradient(135deg, #198754, #23c17e);
        color: #fff;
        font-weight: 600;
        letter-spacing: 0.03em;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        min-height: 100%;
        flex: 0 0 170px;
        width: auto;
        min-width: 150px;
    }

    .search-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 20px 36px rgba(25, 135, 84, 0.3);
    }

    .hero-search-meta {
        margin-top: 1.4rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
        color: #ffffff;
        font-weight: 500;
    }

    .hero-search-meta i {
        color: #198754;
        margin-right: 0.35rem;
    }

    @media (max-width: 991.98px) {
        .hero {
            padding: 110px 20px 90px;
            min-height: auto;
            overflow: hidden;
        }
        .hero-search-form {
            flex-direction: column;
        }
        .hero-search-form > * {
            border-right: none;
            border-bottom: 1px solid #e8edf5;
        }
        .hero-search-form > *:last-child {
            border-bottom: none;
        }
        .hero-search-form .filter-dropdown,
        .hero-search-form .search-field,
        .hero-search-form .search-submit {
            flex: 1 1 100%;
            min-width: 0;
        }

        .hero-content {
            padding-inline: 0;
        }

        .hero-search-card {
            padding: 1.75rem 1.5rem;
            border-radius: 28px;
            width: 80%;
        }

        .hero-search-mode {
            width: 100%;
        }

        .hero-search-form {
            flex-wrap: wrap;
            gap: 0.75rem;
            border-radius: 24px;
            padding: 1rem;
        }

        .hero-search-form > * {
            border-right: none;
            border-bottom: none;
            width: 100%;
        }

        .hero-search-form .search-field,
        .hero-search-form .filter-btn {
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.98);
        }
        
        .hero-search-form {
            background: rgba(255, 255, 255, 0);

        }

        .hero-search-form .search-field,
        .hero-search-form .filter-btn,
        .search-submit {
            padding: 0.85rem 1rem;
            border-radius: 26px !important;
        }

        .filter-dropdown {
            height: auto;
            width: 100% !important;
        }

        .search-submit {
            border-radius: 16px;
            min-height: 56px;
            width: 100%;
        }

        .dropdown-panel {
            width: 100%;
            min-width: 0;
            max-width: none;
        }

        .beds-baths-panel {
            width: 100%;
        }


    }

    @media (max-width: 767.98px) {
        .hero {
            padding: 90px 18px 70px;
        }

        .hero-search-form {
            flex-direction: column;
        }

        .filter-btn,
        .search-submit,
        .hero-search-form .search-field {
            justify-content: space-between;
            padding: 0.95rem 1rem;
        }

        .hero-search-mode {
            padding: 0.35rem;
            gap: 0.35rem;
        }

        .hero-search-mode button {
            font-size: 0.85rem;
            padding: 0.55rem 0.6rem;
        }
    }

    @media (max-width: 640px) {
        .hero-search-mode {
            justify-content: flex-start;
            gap: 0.4rem;
            padding: 0.35rem 0.4rem;
            scroll-snap-type: x proximity;
        }

        .hero-search-mode button {
            flex: 0 0 auto;
            padding: 0.55rem 0.85rem;
            scroll-snap-align: start;
        }

        .hero-search-card {
            border-radius: 28px;
        }
    }

    @media (max-width: 575.98px) {
        .hero {
            padding: 80px 16px 60px;
        }

        .hero::before,
        .hero::after {
            display: none;
        }

        .hero-search-card {
            padding: 1.5rem 1.2rem;
            border-radius: 24px;
        }

        .hero-search-form {
            padding: 0.75rem;
        }

        .hero-search-form .search-field,
        .hero-search-form .filter-btn,
        .search-submit {
            padding: 0.85rem 0.95rem;
        }

        .hero-search-meta {
            flex-direction: column;
            text-align: center;
        }
    }

    .btn-get-started {
        background-color: #198754;
        color: white;
        border-radius: 8px;
        padding: 0.5rem 1.5rem;
        font-weight: 600;
        transition: background-color 0.2s ease-in-out;
    }

    .btn-get-started:hover {
        background-color: #146c43;
        color: white;
    }

    .navbar-nav .nav-link {
        color: #333 !important;
        /* Darker links for contrast */
        font-weight: 500;
        padding: 0.5rem 1rem;
        transition: color 0.2s ease-in-out;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #198754 !important;
        /* Green on hover/active */
    }

    /* Loader */
    #loader-overlay {
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.5s;
    }

    #loader-overlay.fade-out {
        opacity: 0;
        pointer-events: none;
    }

    /* Mega Menu Styles */
    .nav-item.has-megamenu {
        position: relative;
    }

    .mega-menu {
        display: none;
        position: absolute;
        top: 60%;
        left: 50%;
        width: min(980px, calc(100vw - 32px));
        margin-top: 15px;
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        padding: 2rem;
    }

    /* Dropdown on hover for desktop */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* remove the gap so it doesn't close */
    }
}

    .nav-item.has-megamenu:hover>.mega-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .mega-menu .left-column {
        background-color: #f1f1f1;
        padding: 2rem;
        border-radius: 15px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .mega-menu .left-column .nav-link {
        color: #0056b3;
        font-weight: 600;
        margin-bottom: 1rem;
        text-transform: uppercase;
        font-size: 0.9rem;
        padding: 0;
        transition: color 0.2s ease-in-out;
    }

    .mega-menu .left-column .nav-link:hover,
    .mega-menu .left-column .nav-link.active {
        color: #003d82;
    }

    .mega-menu .contact-info {
        margin-top: auto;
        color: #6c757d;
    }

    .mega-menu .contact-info .phone-number {
        font-weight: 600;
        color: #343a40;
    }

    .mega-menu .center-column h6 {
        color: #6c757d;
        font-weight: 500;
        margin-bottom: 1.5rem;
    }

    .mega-menu .center-column .property-link {
        display: block;
        color: #212529;
        font-weight: 500;
        margin-bottom: 0.8rem;
        text-decoration: none;
        transition: color 0.2s ease-in-out;
    }

    .mega-menu .center-column .property-link:hover {
        color: #0056b3;
    }

    .mega-menu .email-info {
        margin-top: 2rem;
        font-size: 1rem;
        color: #6c757d;
        font-weight: 500;
    }

    .mega-menu .insights-card {
        background-color: #e0f2e9;
        border-radius: 20px;
        border: none;
        padding: 1.5rem;
        height: 100%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    }

    .mega-menu .insights-card .introducing-text {
        color: #1e8755;
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mega-menu .insights-card .insights-title {
        font-weight: 700;
        color: #212529;
    }

    .mega-menu .insights-list {
        list-style: none;
        padding-left: 0;
        margin-top: 1.2rem;
    }

    .mega-menu .insights-list li {
        display: flex;
        align-items: center;
        margin-bottom: 0.8rem;
        color: #343a40;
        font-weight: 500;
    }

    .mega-menu .insights-list .check-icon {
        color: #1e8755;
        font-size: 1.2rem;
        margin-right: 0.75rem;
    }

    .mega-menu .card-icon-wrapper {
        width: 45px;
        height: 45px;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    /* --- Featured Property Section --- */
    .property-card {
        border: none;
        border-radius: 15px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .property-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    }

    .property-card .card-img-top {
        border-radius: 15px 15px 0 0;
        height: 200px;
        object-fit: cover;
    }

    .property-card .new-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background-color: rgba(25, 135, 84, 0.9) !important;
        color: white;
        font-weight: 500;
    }

    .property-card .heart-icon {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        font-size: 1.1rem;
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .property-card .heart-icon:hover {
        color: #dc3545;
    }

    .property-card .card-title {
        font-weight: 600;
        font-size: 1.1rem;
    }

    .property-card .card-price {
        font-weight: 700;
        color: #198754;
        font-size: 1.25rem;
    }

    .property-card .card-specs {
        color: #6c757d;
    }

    /* --- Discover Deals Section --- */
    .discover-deals-section {
        background-color: #fff;
    }

    /* --- Why Choose Us Section --- */
    .why-choose-us-section {
        background-color: #f8f9fa;
    }

    .choice-card {
        background-color: #fff;
        padding: 2rem;
        border-radius: 15px;
        border: 1px solid #e9ecef;
        height: 100%;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .choice-card:hover {
        border-color: #198754;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    }

    .choice-card .choice-number {
        font-size: 1.2rem;
        font-weight: 700;
        color: #198754;
    }

    .choice-card .choice-title {
        font-weight: 600;
        font-size: 1.1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .choice-card .choice-text {
        color: #6c757d;
    }

    /* --- Commercial Properties Section --- */
    .commercial-card {
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        padding: 4rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 400px;
        background-size: cover;
        background-position: center;
        color: white;
    }

    .commercial-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
        z-index: 1;
    }

    .commercial-card>* {
        position: relative;
        z-index: 2;
    }

    /* --- Footer --- */
    .site-footer {
        background-color: #212529;
        font-size: 0.9rem;
    }

    .site-footer h5 {
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        color: #fff;
    }

    .site-footer a {
        color: #adb5bd;
        text-decoration: none;
        transition: color 0.25s ease;
    }

    .site-footer .list-unstyled a,
    .footer-bottom a {
        position: relative;
        cursor: pointer;
    }

    .site-footer .list-unstyled a::after,
    .footer-bottom a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -0.15rem;
        width: 0;
        height: 2px;
        background-color: #198754;
        transition: width 0.25s ease;
    }

    .site-footer .list-unstyled a:hover,
    .footer-bottom a:hover {
        color: #198754;
    }

    .site-footer .list-unstyled a:hover::after,
    .footer-bottom a:hover::after {
        width: 100%;
    }

    .site-footer .list-unstyled li {
        margin-bottom: 0.4rem;
    }

    .site-footer .footer-brand {
        max-width: 180px;
        width: 100%;
        min-width: 120px;
        height: auto;
    }

    .site-footer .footer-logo-link {
        display: inline-block;
        transition: transform 0.25s ease;
    }

    .site-footer .footer-logo-link:hover {
        transform: scale(1.06);
    }

    @media (max-width: 576px) {
        .site-footer .footer-brand {
            max-width: 170px;
            width: 65%;
            margin: 0 auto 1rem;
            display: block;
        }
    }

    /* Footer layout helpers */
    .site-footer .footer-col {
        text-align: left;
        padding: 0.25rem 0.5rem;
        min-width: 0;
    }

    .site-footer .footer-section-title {
        margin-bottom: 0.55rem;
    }

    .site-footer .footer-col ul.list-unstyled {
        margin-bottom: 0;
    }

    .site-footer .footer-list {
        word-break: break-word;
    }

    .site-footer .footer-logo {
        padding-left: 0.25rem;
    }

    .site-footer .social-icons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: flex-start;
    }

    .site-footer .social-icons a {
        --social-hover: #198754;
        display: inline-flex;
        width: 52px;
        height: 52px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        font-size: 1.75rem;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }

    .site-footer .social-icons a:hover {
        background: var(--social-hover);
        color: #fff;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    }

    .site-footer .social-icons a[href*="instagram"] {
        --social-hover: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    }

    .site-footer .social-icons a[href*="facebook"] {
        --social-hover: #1877f2;
    }

    .site-footer .social-icons a[href*="youtube"] {
        --social-hover: #ff0000;
    }

    .site-footer .social-icons a[href*="linkedin"] {
        --social-hover: #0a66c2;
    }

    .footer-bottom {
        border-top: 1px solid #343a40;
    }

    /* Tablet-specific footer tweaks (≥768px and <1200px) */
    @media (min-width: 768px) and (max-width: 1199.98px) {
        .site-footer {
            font-size: 0.9rem;
        }

        .site-footer .footer-col {
            margin-bottom: 1.25rem;
        }
    }

    /* Mobile footer layout (≤767px) */
    @media (max-width: 767.98px) {
        .site-footer {
            text-align: center;
        }

        .site-footer .footer-col {
            text-align: center;
        }

        .site-footer .footer-section-title {
            text-align: center;
        }

        .site-footer .list-unstyled li {
            margin-bottom: 0.75rem;
        }

        .site-footer .list-unstyled a {
            display: inline-block;
            padding: 0.25rem 0.15rem;
        }
    }

    /* --- Shared Section Utilities --- */
    .section-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-weight: 700;
        color: #1f2b3d;
    }

    .section-subtitle {
        color: #6c757d;
        margin-bottom: 0;
    }

    /* --- Trending Categories --- */
    .category-card {
        background: #fff;
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
        border: 1px solid #f1f1f1;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .category-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    }

    .icon-circle {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: rgba(25, 135, 84, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #198754;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    /* --- Featured Projects --- */
    .project-card {
        background: #fff;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
        border: 1px solid #f3f3f3;
        height: 100%;
    }

    .project-thumb {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

    .project-info {
        padding: 1.25rem;
    }

    .project-city {
        font-size: 0.85rem;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        color: #6c757d;
    }

    /* --- Popular Localities --- */
    .locality-card {
        border: 1px solid #e9ecef;
        border-radius: 14px;
        padding: 1.25rem;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    }

    /* --- City Stats --- */
    .city-stat-card {
        background: #fff;
        border-radius: 18px;
        padding: 1.5rem;
        border: 1px solid #f0f0f0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        height: 100%;
    }

    /* --- Property Videos --- */
    .video-card {
        border-radius: 16px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .video-thumb {
        position: relative;
        padding-top: 60%;
        background-size: cover;
        background-position: center;
    }

    .play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 58px;
        height: 58px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.9);
        color: #198754;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .video-info {
        padding: 1.25rem;
    }

    /* --- Builders --- */
    .builder-card {
        background: #fff;
        border-radius: 14px;
        padding: 1.25rem;
        text-align: center;
        border: 1px solid #eef1f4;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
        height: 100%;
    }

    .builder-card img {
        height: 60px;
        object-fit: contain;
        margin-bottom: 0.5rem;
    }

    /* --- Testimonials --- */
    .testimonials-section {
        background: #f8fdf9;
    }

    .testimonial-card {
        max-width: 720px;
        background: #fff;
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    }

    .testimonial-text {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #334155;
        margin-bottom: 1.5rem;
    }

    /* --- News Cards --- */
    .news-card {
        background: #fff;
        border-radius: 16px;
        padding: 1.5rem;
        border: 1px solid #f0f0f0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
        height: 100%;
    }

    /* --- CTA Strip --- */
    .cta-card {
        border-radius: 18px;
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        color: #fff;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
        flex-wrap: wrap;
    }

    .gradient-green {
        background: linear-gradient(135deg, #34d399, #059669);
    }

    .gradient-blue {
        background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    }

    /* --- Premium Ads --- */
    .premium-card {
        border-radius: 16px;
        border: 1px solid #ffe9b3;
        background: #fff9eb;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
        height: 100%;
    }

    /* --- Recommended --- */
    .recommended-card {
        border-radius: 14px;
        border: 1px solid #eaeaea;
        padding: 1rem;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
        height: 100%;
    }

    /* --- FAQ --- */
    .faq-section .accordion-item {
        border: none;
        border-radius: 12px;
        margin-bottom: 1rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }

    .faq-section .accordion-button {
        border-radius: 12px !important;
        font-weight: 600;
    }

    .faq-section .accordion-button:focus {
        box-shadow: none;
        border-color: #198754;
    }

    /* --- Responsive tweaks --- */
    @media (max-width: 767px) {
        .cta-card {
            flex-direction: column;
            align-items: flex-start;
        }

        .project-thumb {
            height: 180px;
        }
    }

/* Video ad overlay card */
.video-ad-card {
    position: fixed;
    right: clamp(16px, 2vw, 32px);
    bottom: clamp(16px, 2vw, 32px);
    width: clamp(260px, 20vw, 320px);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 26px;
    padding: 1rem;
    box-shadow: 0 25px 55px rgba(5, 20, 10, 0.35);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.video-ad-card.visible {
    transform: translateX(0);
    opacity: 1;
}

.video-ad-card.closing {
    transform: translateX(120%);
    opacity: 0;
}

.video-ad-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.video-ad-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.video-ad-card video {
    border-radius: 18px;
    width: 100%;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.2);
}

.video-ad-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #198754;
    font-weight: 600;
}

.video-ad-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0b2c1e;
    margin: 0;
}

.video-ad-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #4f5a4b;
}

.video-ad-unmute {
    border: none;
    background: transparent;
    color: #198754;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 768px) {
    .video-ad-card {
        transform: translate(60%, 0);
    }
    .video-ad-card.visible {
        transform: translate(0);
    }
}