﻿/*******************************
  LEGACY / EXISTING COMPONENTS
*******************************/
.portfolio-item {
    margin-bottom: 25px;
    height: 235px;
}

/*** CONTACT US FLOATING BUTTON ***/
a:link, a:visited {
    text-decoration: none;
}

a:hover, a:active {
    text-decoration: underline;
}

.carousel-inner > .item > img {
    margin: 0;
}
/* full-bleed hero */

.space {
    margin-top: 1.5%;
}

.justify {
    text-align: justify;
    text-justify: inter-word;
}

.nopadding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.btnContactUs {
    z-index: 100000;
    position: fixed;
    width: 60px !important;
    height: 60px !important;
    display: block;
    border-radius: 30px;
    background: #F44336;
    right: 0;
    bottom: 0;
    margin: 16px;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 2.8em;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.23);
    transition: .3s;
}

.animate {
    transition: .5s;
}

.btnContactUs:hover {
    transform: rotate(360deg);
}

.btnContactUs:active {
    transform: scale(1.1);
}

/*************** Properties Grid ****************/
.item {
    background: #fff;
    border-radius: 3px;
    margin-bottom: 30px;
}

    .item .item-header {
        padding: 22px 20px;
    }

        .item .item-header h3 {
            float: left;
            color: #727272;
            text-transform: uppercase;
            margin: 0;
        }

        .item .item-header span {
            font-size: 12px;
            text-transform: uppercase;
            color: #727272;
            display: inline-block;
        }

            .item .item-header span i {
                margin-right: 10px;
            }

        .item .item-header .favorite {
            float: right;
        }

            .item .item-header .favorite:hover {
                color: #f44336;
            }

    .item figure {
        position: relative;
        overflow: hidden;
    }

        .item figure img {
            width: 90%;
            height: 178px;
            margin: 0 auto;
            transition: transform .5s ease-in;
        }

        .item figure:hover img {
            transform: scale(1.1);
        }

        .item figure .label {
            position: absolute;
            top: 20px;
            right: 20px;
        }

        .item figure .overlay {
            opacity: 0;
            background: rgba(255,255,255,.5);
            width: 100%;
            height: 100%;
            text-align: center;
            line-height: 178px;
            position: absolute;
            inset: 0;
            transition: all .5s;
        }

            .item figure .overlay .btn-detail {
                background: #ffeb3b;
                color: #212121;
            }

        .item figure:hover .overlay {
            opacity: 1;
        }

.label {
    font-size: 10px;
    color: #fff;
    border-radius: 2px;
    padding: 8px 10px;
    text-transform: uppercase;
}

    .label.rent {
        background: #4caf50;
    }

    .label.sale {
        background: #2196f3;
    }

    .label.hot {
        background: #d32f2f;
    }

.item .item-detail {
    padding: 20px;
    overflow: hidden;
}

    .item .item-detail span {
        font-size: 12px;
        color: #727272;
        text-transform: uppercase;
        padding-left: 20px;
        margin-right: 20px;
    }

        .item .item-detail span i {
            margin-right: 10px;
        }

    .item .item-detail .left {
        float: left;
    }

    .item .item-detail .right {
        float: right;
        text-align: right;
    }

    .item .item-detail .place {
        margin-bottom: 10px;
        padding: 0;
    }

    .item .item-detail .bath {
        background: url(Images/Icons/icon-bath.png) no-repeat left;
    }

    .item .item-detail .bed {
        background: url(Images/Icons/icon-bed.png) no-repeat left;
    }

    .item .item-detail .garage {
        background: url(Images/Icons/icon-garage.png) no-repeat left;
    }

    .item .item-detail .gym {
        background: url(Images/Icons/icon-gym.png) no-repeat left;
    }

    .item .item-detail .area {
        background: url(Images/Icons/icon-area.png) no-repeat left;
    }

    .item .item-detail .price {
        font: 700 14px 'Ubuntu', Arial, Helvetica, sans-serif;
        color: #212121;
        text-align: right;
        float: right;
        margin-right: 5px !important;
    }

/*************** Modals ***************/
.modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

/*******************************
  HERO: Full-bleed Ken Burns
*******************************/
#hero, #hero .carousel, #hero .carousel-inner, #hero .carousel-item {
    height: 100vh;
}

    #hero .hero-img,
    #hero .carousel-item > img,
    #hero .carousel-inner > .item > img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        object-position: center;
        will-change: transform;
        animation: kbZoom 14s ease-in-out infinite alternate;
    }

    #hero .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35) 40%, rgba(0,0,0,.65));
        z-index: 2;
        pointer-events: none;
    }

    #hero .carousel-control-prev,
    #hero .carousel-control-next,
    #hero .carousel-indicators {
        z-index: 3;
    }

    #hero .carousel.carousel-fade .carousel-item {
        opacity: 0;
        transition: opacity .8s ease-in-out;
    }

        #hero .carousel.carousel-fade .carousel-item.active,
        #hero .carousel.carousel-fade .carousel-item-next.carousel-item-start,
        #hero .carousel.carousel-fade .carousel-item-prev.carousel-item-end {
            opacity: 1;
            transform: none;
        }

/* Ken Burns keyframes */
@keyframes kbZoom {
    0% {
        transform: scale(1) translate(0,0);
    }

    50% {
        transform: scale(1.10) translate(-2%, -2%);
    }

    100% {
        transform: scale(1.12) translate( 2%, 2%);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    #hero .hero-img,
    #hero .carousel-item > img,
    #hero .carousel-inner > .item > img {
        animation: none;
    }
}

/* Hero overlay text + buttons */
.hero-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    max-width: 90%;
    padding: 2rem;
    text-shadow: 0 4px 10px rgba(0,0,0,.6);
}

    .hero-overlay-text .btn {
        border-radius: 50px;
        padding: .6rem 1.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .5px;
        margin: 0;
    }

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

    .hero-buttons .btn {
        border: 2px solid #fff;
        color: #fff;
        background: transparent;
        transition: all .3s ease;
    }

        .hero-buttons .btn:hover, .hero-buttons .btn:focus {
            background: #fff;
            color: #000;
            border-color: #fff;
        }

@media (max-width: 768px) {
    .hero-overlay-text h1 {
        font-size: 1.8rem;
    }

    .hero-overlay-text p {
        font-size: 1rem;
    }

    .hero-overlay-text .btn, .hero-buttons .btn {
        width: 140px;
        font-size: .9rem;
    }
}

/*******************************
  PAGE BACKGROUND + EDGES
*******************************/
html, body, .body-content {
    background: #f8f9fa !important;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.gradient-bar {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14,165,233,.45), transparent);
}

/*******************************
  LOGO + NAV CONTAINER TWEAKS
*******************************/
.logo {
    max-height: 50px;
    max-width: 180px;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: all .25s ease-in-out;
}

@media (max-width: 992px) {
    .logo {
        max-width: 150px;
        max-height: 45px;
    }
}

@media (max-width: 576px) {
    .logo {
        max-width: 130px;
        max-height: 40px;
    }
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 40px;
    }
}

/*******************************
  RESPONSIVE NAV TYPOGRAPHY - spacing etc.
*******************************/

/*  Desktop */
.navbar-nav .nav-link, .navbar-brand {
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
}

/*  Tablet */
@media (max-width: 992px) {
    .navbar-nav .nav-link, .navbar-brand {
        font-size: 1.50rem;
    }
}

/*  phone */
@media (max-width: 576px) {
    .navbar-nav .nav-link, .navbar-brand {
        font-size: 1.5rem;
    }
}

/*******************************
  TOP BAR + NAVBAR STACKING
*******************************/

/* JS will set these */
:root {
    --topbar-h: 0px;
    --nav-h: 64px;
}

/* Top bar: transparent over hero, solid after scroll/non-hero */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    background: transparent; /* start transparent */
    border: 0 !important;
    box-shadow: none !important;
    transition: background-color .25s ease;
}

    .top-bar.topbar-solid {
        background: #0f172a;
    }
    /* solid state */
    .top-bar a {
        color: #fff;
        text-decoration: none;
        transition: color .25s ease;
    }

        .top-bar a:hover {
            color: #0dcaf0;
        }

    .top-bar i {
        font-size: 1.1rem;
        vertical-align: middle;
    }

    .top-bar .bi-whatsapp {
        color: #25d366 !important;
    }

        .top-bar .bi-whatsapp:hover {
            color: #1ebe5d !important;
        }

    /* ===== Consistent left/right layout for top bar ===== */
    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    /* Left side: WhatsApp + phone + email */
    .top-bar .contact-info {
        justify-content: flex-start;
        margin-right: auto;
    }

    /* Right side: login + register (and social icons if shown) */
    .top-bar .top-actions {
        justify-content: flex-end;
        margin-left: auto;
    }

    /* Tweak icon sizing and spacing */
    .top-bar i {
        font-size: 1.2rem;
        margin-right: 0.3rem;
    }

    .top-bar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }



/* Navbar sits beneath the top bar */
.navbar.fixed-top {
    top: var(--topbar-h);
    z-index: 1050;
    border: 0 !important;
    box-shadow: none !important;
}

/* Transparent nav over hero; solid after scroll (class toggled in JS) */
.nav-hero {
    background: transparent !important;
    border-bottom: 1px solid transparent;
    transition: background-color .25s ease;
    z-index: 1050;
}

    .nav-hero .nav-link, .nav-hero .navbar-brand {
        color: rgba(255,255,255,.95) !important;
    }

    .nav-hero.nav-solid {
        background: #f8f9fa !important;
    }

        .nav-hero.nav-solid .nav-link, .nav-hero.nav-solid .navbar-brand {
            color: #0f172a !important;
        }

    .nav-hero .navbar-brand img {
        filter: drop-shadow(0 1px 4px rgba(0,0,0,.4));
    }

/* PAGE PADDING:
   - Non-hero pages: room for BOTH bars
   - Hero pages: hero sits under both (no padding) */
body {
    padding-top: calc(var(--topbar-h) + var(--nav-h));
}

    body.has-hero {
        padding-top: 0;
    }

        body.has-hero #hero {
            margin-top: 0 !important;
        }

/* Last-resort guard: kill any stray borders/shadows that cause “white stripes” */
.top-bar, .navbar {
    border: 0 !important;
    box-shadow: none !important;
}

.footer-social i {
    font-size: 1.90rem;
}

.footer-social a {
    
    opacity: .85;
    transition: opacity .2s;
}

    .footer-social a:hover {
        opacity: 1;
    }

.condo-listing-img {
    width: 100%;
    aspect-ratio: 4 / 3; /* pick 16/9 or 4/3 — tweak as you like */
    object-fit: cover; /* crop to fill the box */
    display: block;
}

/* uniform card image for condo details listings */
.condo-listing-img {
    width: 100%;
    aspect-ratio: 4 / 3; /* pick 16/9 or 4/3 — tweak as you like */
    object-fit: cover; /* crop to fill the box */
    display: block;
}

/* --- Carousel uniform image sizing --- */

/* Height proportional to viewport; change 33vh to adjust */
#buildingSwiper {
    width: 100%;
    height: 33vh;
    max-height: 500px; /* optional safety cap for huge monitors */
    overflow: hidden;
    border-radius: 8px;
}

    /* Each slide fully fills the container */
    #buildingSwiper .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Each image fits perfectly, preserving shape */
    #buildingSwiper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* like background-size: cover */
        border-radius: 8px;
    }
/* --- End Carousel uniform image sizing --- */

/* Search results image box */
.search-card-photo-wrapper {
    /* fixed aspect ratio (4:3), change if you prefer 16/9 etc */
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 0.375rem; /* match Bootstrap .rounded-start */
    border-bottom-left-radius: 0.375rem;
}

/* Keep image column same width (col-md-3), but make height uniform */
.search-card-photo {
    width: 100%;
    height: 200px; /* adjust this if you want taller or shorter cards */
    object-fit: cover; /* ensures consistent cropping */
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    display: block;
}

.search-thumb {
    width: 100%;
    height: 180px; /* nice compact height */
    object-fit: cover;
}



/* End Search results image box */

.search-result-card.is-highlighted {
    border: 2px solid #0d6efd; /* bootstrap primary */
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* Desktop: list and map share viewport height */
@media (min-width: 992px) {

    /* Left list pane scrolls */
    #resultsPane {
        max-height: calc(100vh - 140px); /* adjust 140px for your header + filters height */
        overflow-y: auto;
        padding-right: 8px;
    }

    /* Right map pane stays fixed relative to viewport */
    .map-sticky-wrapper {
        position: sticky;
        top: 80px; /* adjust this to sit below navbar + search form */
        height: calc(100vh - 100px); /* adjust 100px similarly */
        display: flex;
        flex-direction: column;
    }

    /* Map fills the sticky wrapper */
    #resultsMap.map-full-height {
        flex: 1 1 auto;
        width: 100%;
        border-radius: 6px;
        background: #f1f1f1;
        overflow: hidden;
    }
}

/* Mobile / tablet: keep old behavior (non-sticky, smaller map) */
@media (max-width: 991.98px) {
    #resultsMap.map-full-height {
        width: 100%;
        height: 360px; /* same idea as your previous 400px, tweak as you like */
        border-radius: 6px;
        background: #f1f1f1;
        overflow: hidden;
    }
}

/* Card highlight class you already use */
.search-result-card.is-highlighted {
    border: 2px solid #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* Google Maps marker price label */
.gm-style .price-label {
    background: #ffffff;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transform: translateY(-4px);
    white-space: nowrap;
}


/* Main search layout should roughly fill the viewport */
.search-layout {
    height: calc(100vh - 180px);
}

.search-left {
    max-width: 35%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
}

#cards-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 4px;
}

.search-right {
    flex: 1 1 auto;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* Make the inner row of each property card have a minimum height */
.property-card .row.g-0 {
    min-height: 120px; /* tweak this number if you want taller/shorter cards */
}

/* Make the photo fill the entire left column */
.property-card .col-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* crop to fill while preserving aspect ratio */
    border-radius: .25rem 0 0 .25rem; /* keep the rounded left corners */
    display: block;
}

/**************************************
    SEARCH PAGE LAYOUT (NEW)
**************************************/

/* Desktop default: side-by-side */
.search-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1rem;
    height: calc(100vh - 180px); /* already in your file, reinforce */
}

.search-left {
    flex: 0 0 360px; /* fixed width panel */
    max-width: 360px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

#cards-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

.search-right {
    flex: 1 1 auto;
    min-width: 0; /* required so flexbox shrinks correctly */
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

/* ───────────────────────────────
   MOBILE / TABLET 
   Stack vertically: LIST → MAP
   ─────────────────────────────── */
@media (max-width: 768px) {

    .search-layout {
        flex-direction: column;
        height: auto; /* allow full scrolling */
    }

    .search-left {
        max-width: 100%;
        min-width: 100%;
    }

    #cards-scroll {
        max-height: none;
        overflow-y: visible;
    }

    .search-right {
        flex: 0 0 auto;
        width: 100%;
        height: 350px; /* good mobile map height */
        margin-top: 0.5rem;
    }

    #map {
        width: 100%;
        height: 100%;
    }
}

/* Make card images always fill the left side */
.property-card .col-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: .25rem 0 0 .25rem;
}

/**************************************
    SEARCH PAGE – MOBILE BEHAVIOR
**************************************/
@media (max-width: 768px) {

    /* Stack vertically on mobile */
    #search-layout {
        flex-direction: column;
        height: auto;
    }

    .search-left {
        max-width: 100%;
        min-width: 0;
    }

    /* Sticky search form (below navbar) */
    #search-form {
        position: sticky;
        top: 0;
        z-index: 20;
        background: #f8f9fa;
    }

    #cards-scroll {
        padding-top: .25rem;
    }

    /* ===== LIST MODE (default) ===== */
    .mobile-map-list .search-left {
        display: block; /* show filters + cards */
    }

    .mobile-map-list .search-right {
        display: none; /* hide map */
    }

    /* ===== MAP MODE ===== */
    .mobile-map-map .search-left {
        display: none; /* hide entire left column (so no frame shows) */
    }

    .mobile-map-map .search-right {
        display: block;
        width: 100%;
        /* Fill almost full viewport height under navbar & toggle */
        height: calc(100vh - 180px); /* tweak 180 if needed for your header height */
        margin-top: 0.25rem;
    }

    .mobile-map-map #map {
        width: 100%;
        height: 100%;
    }
}


/* Desktop: two columns of results */
@media (min-width: 992px) {
    #cards-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

        #cards-container .property-card {
            width: 100%;
            margin-bottom: 0; /* gap handles spacing */
        }
}

/* Mobile: back to single column stack */
@media (max-width: 991.98px) {
    #cards-container {
        display: block;
    }
}


/* Overlay base (mobile only) */
@media (max-width: 768px) {
    .mobile-filters-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.4);
        display: none;
        align-items: flex-end; /* slide up from bottom */
        justify-content: center;
        z-index: 2000;
    }

    .mobile-filters-panel {
        background: #fff;
        width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        padding: 1rem 1rem 0.75rem;
        display: flex;
        flex-direction: column;
    }

    .mobile-filters-header {
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: .5rem;
        margin-bottom: .5rem;
    }

    .mobile-filters-body {
        flex: 1 1 auto;
        overflow-y: auto;
        padding-bottom: .75rem;
    }

    .mobile-filters-footer {
        padding-top: .5rem;
        border-top: 1px solid #e5e5e5;
    }
}

/* Make the list wider than the map on desktop */
@media (min-width: 600px) {
    .search-layout {
        align-items: stretch;
    }

    /* Left = listings, Right = map */
    .search-left {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .search-right {
        flex: 0 0 65%;
        max-width: 65%;
    }

    /* Two nice wide columns of cards */
    #cards-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    /* Make the scroll area fill the viewport minus toolbar/header */
    #cards-scroll {
        height: calc(100vh - 190px);
    }
}

/* On tablet / small screens keep one column so it doesn’t feel cramped */
@media (max-width: 991.98px) {
    #cards-container {
        display: block;
    }
}

#q-wrapper {
    display: none !important;
}




/* Condo page polish */
.condo-hero-title {
    line-height: 1.1;
}

.condo-subtle {
    color: rgba(0,0,0,.65);
}

.kpi-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
}

.kpi-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.kpi-label {
    font-size: .95rem;
    font-weight: 600;
}

.kpi-meta {
    font-size: .85rem;
    color: rgba(0,0,0,.6);
}

.fact-pill {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.06);
    font-size: .9rem;
}

.card-neo {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
}

.img-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.listing-price {
    font-weight: 800;
    font-size: 1.1rem;
}

.listing-address {
    color: rgba(0,0,0,.65);
    font-size: .9rem;
}

.listing-metrics {
    font-size: .9rem;
    color: rgba(0,0,0,.75);
}

.badge-on-image {
    position: absolute;
    top: .75rem;
    left: .75rem;
    border-radius: 999px;
    padding: .35rem .6rem;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: .8rem;
}

.img-overlay-gradient {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0));
    color: #fff;
}

.text-very-muted {
    color: #9aa0a6; /* lighter than text-muted, still readable */
    font-size: 0.75rem;
}


.more-toggle {
    font-size: 0.85rem;
    text-decoration: none;
}

    .more-toggle:hover {
        text-decoration: underline;
    }

.neighborhood-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.neighborhood-desc-wrap {
    position: relative;
}

.neighborhood-desc-preview {
    position: relative;
    line-height: 1.5;
    max-height: 4.5em; /* about 3 lines */
    overflow: hidden;
    margin-bottom: 0.15rem;
}

    .neighborhood-desc-preview::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1.8em;
        background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%);
        pointer-events: none;
    }

.more-toggle {
    font-size: 0.85rem;
    text-decoration: none;
    vertical-align: baseline;
}

    .more-toggle:hover {
        text-decoration: underline;
    }

.neighborhood-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .neighborhood-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.08) !important;
    }

.logo-wrap {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 10px;
    background: linear-gradient( to bottom, rgba(255,255,255,0.20), rgba(255,255,255,0.5) );
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

    .hero-cta-buttons .btn {
        width: 100%;
    }

html {
    scroll-behavior: smooth;
}

#contact {
    scroll-margin-top: 170px;
}