/**
 * Custom styles: header, home index, about page
 * Brand palette (reference mock): header/footer blues with gradients, sub-nav #e7e8ed,
 * page cream #fffeee, green accent bar (#00953a–#005e20), Soft Gold (hover/stats), Red (alerts only)
 */

/* ========== Brand color variables (loaded after theme.min.css) ========== */
:root {
    --qp-primary: #003455 !important;
    --qp-primary-rgb: 0, 52, 85 !important;
    --qp-primary-deep: #00478a !important;
    --qp-header-gradient: linear-gradient(180deg, #003455 0%, #00478a 100%) !important;
    --qp-footer-gradient: linear-gradient(180deg, #002f4c 0%, #01478a 100%) !important;
    --qp-nav-bg: #e7e8ed !important;
    --qp-page-bg: #fffeee !important;
    --qp-cta: #00953a !important;
    --qp-cta-rgb: 0, 149, 58 !important;
    --qp-cta-deep: #005e20 !important;
    --qp-cta-gradient: linear-gradient(180deg, #00953a 0%, #005e20 100%) !important;
    --qp-gold: #D4AF37 !important;
    --qp-gold-rgb: 212, 175, 55 !important;
    --qp-bg-section: #e7e8ed !important;
    --qp-text: #1F2933 !important;
    --qp-danger: #C0392B !important;
    --qp-danger-rgb: 192, 57, 43 !important;
    --color-primary-l: rgba(var(--qp-primary-rgb), 0.08) !important;
}

/* ========== Animations: scroll-triggered, hover, page load ========== */
.animate-on-load {
    animation: fadeInUp 0.6s ease-out both;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-on-load-delay-1 { animation-delay: 0.1s; }
.animate-on-load-delay-2 { animation-delay: 0.2s; }
.animate-on-load-delay-3 { animation-delay: 0.3s; }
.animate-on-load-delay-4 { animation-delay: 0.4s; }

/* Hover: cards */
.card-hover,
.card.card-hover,
.icon-box.card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover,
.card.card-hover:hover,
.icon-box.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

/* Hover: blog / property grid images */
.card-img-hover {
    overflow: hidden;
}
.card-img-hover img {
    transition: transform 0.4s ease;
}
.card-img-hover:hover img {
    transform: scale(1.06);
}

/* Hover: buttons */
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn:active {
    transform: translateY(0);
}
/* Primary button hover – Soft Gold */
.theme-btn-1.btn:hover,
.btn-primary:not(.theme-cta):hover {
    background: var(--qp-gold) !important;
    border-color: var(--qp-gold) !important;
}

/* Icon boxes (property types) – Fresh Green, gold on hover */
.icon-box .icon-lg {
    transition: transform 0.3s ease, background-color 0.2s ease;
    background: var(--qp-cta) !important;
    color: #fff !important;
}
.icon-box:hover .icon-lg {
    transform: scale(1.08);
    background: var(--qp-gold) !important;
}

/* Hover: nav links – smooth transition */
.nav-link {
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* ========== Header (two-tier) ========== */
.header-two-tier {
    z-index: 1020;
}
.header-top-bar {
    background: var(--qp-header-gradient) !important;
    background-color: #003455 !important;
}
[data-bs-theme="dark"] .header-top-bar {
    background: linear-gradient(180deg, #001f33 0%, #003055 100%) !important;
    background-color: #001f33 !important;
}
/* Main navbar – light background, dark menu text for readability */
.header-two-tier .navbar,
.header-two-tier header.navbar {
    background: var(--qp-nav-bg) !important;
    background-color: var(--qp-nav-bg) !important;
    border-bottom: 1px solid rgba(0, 52, 85, 0.1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.header-two-tier .navbar .nav-link,
.header-two-tier .navbar .text-dark,
.header-two-tier .navbar .navbar-brand,
.header-two-tier .navbar .btn-link.text-dark,
.header-two-tier .navbar .btn.text-dark,
.header-two-tier .navbar .btn:not(.btn-primary) {
    color: #1F2933 !important;
    color: var(--qp-text) !important;
    font-weight: 500;
}
.header-two-tier .navbar .nav-link:hover,
.header-two-tier .navbar .nav-link:focus,
.header-two-tier .navbar .nav-link.active,
.header-two-tier .navbar .btn-link.text-dark:hover {
    color: var(--qp-primary) !important;
}
.header-two-tier .navbar .navbar-toggler {
    border-color: rgba(31, 41, 51, 0.2);
    color: var(--qp-text);
}
.header-two-tier .navbar .navbar-toggler-icon {
    filter: none;
}
.header-two-tier .navbar .dropdown-menu {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.header-two-tier .navbar .dropdown-item {
    color: var(--qp-text) !important;
}
.header-two-tier .navbar .dropdown-item:hover {
    background: var(--qp-bg-section);
    color: var(--qp-primary) !important;
}
.header-two-tier .navbar .small.text-muted {
    color: #64748b !important;
}
/* Logo on light navbar: show dark version */
.header-two-tier .navbar .logo-dark {
    display: inline-block !important;
}
.header-two-tier .navbar .logo-light {
    display: none !important;
}
/* Icons in top bar – Soft Gold for visibility on Deep Blue */
.header-top-bar i {
    color: var(--qp-gold) !important;
}
.header-top-link:hover {
    color: #fff !important;
    opacity: 1;
}
.header-top-social:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}
/* Remove underlines from header top bar (contact + social) */
.header-top-bar a,
.header-top-bar a:hover,
.header-top-social {
    text-decoration: none !important;
}
/* Remove underlines from main nav links */
.header-two-tier .nav-link,
.header-two-tier .nav-link:hover,
.header-two-tier .nav-link:focus,
.header-two-tier .nav-link.active {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
/* Remove underline from scroll-to-top button */
.btn-scroll-top,
.btn-scroll-top:hover,
.btn-scroll-top .btn-scroll-top-icon {
    text-decoration: none !important;
}
.btn-scroll-top .btn-scroll-top-icon::after {
    display: none !important;
}

/* ========== Home index ========== */
/* Hero: full-bleed background slider + overlay copy */
.banner-dream-house {
    position: relative;
    /* Let the slider fill the block; avoid a cream band between hero and overlapped search */
    background-color: transparent;
    padding-bottom: 0.001px;
}
/* Hero fill: viewport height + extra bottom so gradient/slides sit behind overlapped search (tabs + card) */
.banner-hero-slider-wrap {
    /* Responsive hero height for all devices */
    --banner-hero-fill: clamp(500px, 70vh, 650px);
    position: relative;
    min-height: var(--banner-hero-fill);
    overflow: hidden;
}
@media (max-width: 767px) {
    .banner-hero-slider-wrap {
        --banner-hero-fill: clamp(480px, 65vh, 550px);
    }
}
@media (max-width: 575px) {
    .banner-hero-slider-wrap {
        --banner-hero-fill: clamp(450px, 60vh, 520px);
    }
}
@media (max-width: 400px) {
    .banner-hero-slider-wrap {
        --banner-hero-fill: clamp(420px, 58vh, 480px);
    }
}
.banner-hero-bg-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}
/* Tiny Slider gallery defaults to min-height:1px; empty bg-only slides collapse without this */
.banner-hero-bg-carousel.tns-carousel-wrapper .tns-outer,
.banner-hero-bg-carousel.tns-carousel-wrapper .tns-ovh,
.banner-hero-bg-carousel.tns-carousel-wrapper .tns-inner,
.banner-hero-bg-carousel.tns-carousel-wrapper .tns-slider,
.banner-hero-bg-carousel.tns-carousel-wrapper .tns-gallery {
    min-height: var(--banner-hero-fill) !important;
}
.banner-hero-bg-carousel.tns-carousel-wrapper .tns-carousel-inner {
    min-height: var(--banner-hero-fill);
}
.banner-hero-bg-carousel.tns-carousel-wrapper .tns-item,
.banner-hero-bg-carousel.tns-carousel-wrapper .tns-item > .banner-hero-slide {
    min-height: var(--banner-hero-fill) !important;
}
.banner-hero-slide {
    width: 100%;
    min-height: var(--banner-hero-fill);
    background-color: var(--qp-page-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.banner-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(0, 52, 85, 0.9) 0%,
        rgba(0, 52, 85, 0.55) 42%,
        rgba(0, 52, 85, 0.2) 100%
    );
}
/* Modern overlay for new banner style */
.banner-hero-overlay-modern {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0, 30, 60, 0.92) 0%,
        rgba(0, 40, 70, 0.88) 20%,
        rgba(0, 50, 80, 0.65) 40%,
        rgba(0, 50, 80, 0.25) 60%,
        transparent 100%
    );
}
.banner-hero-content {
    z-index: 2;
    padding-top: clamp(2rem, 5vh, 3rem) !important;
    padding-bottom: clamp(2rem, 5vh, 3rem) !important;
    display: flex;
    align-items: flex-end;
    min-height: var(--banner-hero-fill);
}
.banner-hero-content .row {
    width: 100%;
    padding-bottom: clamp(2rem, 4vh, 3rem);
}
@media (max-width: 991px) {
    .banner-hero-content {
        align-items: center;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .banner-hero-content .row {
        padding-bottom: 1.5rem;
    }
}
@media (max-width: 575px) {
    .banner-hero-content {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
        align-items: flex-end;
    }
    .banner-hero-content .row {
        padding-bottom: 1rem;
    }
    .banner-hero-content .col-12 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
.banner-hero-title {
    font-size: clamp(1.7rem, 0.8rem + 2.35vw, 2.65rem);
    line-height: 1.12;
    margin-bottom: 0.6rem !important;
}
/* Modern banner title - larger and bolder */
.banner-hero-title-modern {
    font-size: clamp(1.75rem, 4vw, 3.75rem);
    line-height: 1.2;
    color: #fff !important;
    margin-bottom: clamp(0.75rem, 2vh, 1.25rem) !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    word-wrap: break-word;
}
.banner-hero-title-modern br {
    display: block;
    content: "";
    margin-top: 0.15em;
}
@media (max-width: 991px) {
    .banner-hero-title-modern {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}
@media (max-width: 575px) {
    .banner-hero-title-modern {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 6.75rem !important;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    }
}
.banner-hero-cta-wrap {
    margin-top: 1.2rem;
}
@media (min-width: 992px) {
    .banner-hero-cta-wrap {
        margin-top: 1.5rem;
    }
}
@media (max-width: 575px) {
    .banner-hero-cta-wrap {
        margin-top: 0.75rem;
    }
}
/* Gold CTA: reads clearly on dark blue vignette (avoids matching primary blue) */
.btn.banner-hero-cta {
    background: var(--qp-gold) !important;
    border: 2px solid var(--qp-gold) !important;
    color: var(--qp-primary) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    padding: 0.5rem 1.25rem !important;
    font-size: 0.9375rem;
}
.btn.banner-hero-cta:hover,
.btn.banner-hero-cta:focus-visible {
    background: #e8c84a !important;
    border-color: #e8c84a !important;
    color: var(--qp-primary) !important;
}
.btn.banner-hero-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
/* Modern CTA Button */
.btn.banner-hero-cta-modern {
    background: #FDB913 !important;
    border: none !important;
    color: #1a1a1a !important;
    box-shadow: 0 3px 15px rgba(253, 185, 19, 0.35);
    padding: clamp(0.55rem, 1.5vw, 0.65rem) clamp(1.25rem, 3vw, 1.75rem) !important;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    border-radius: 3px !important;
    display: inline-block;
}
.btn.banner-hero-cta-modern:hover,
.btn.banner-hero-cta-modern:focus-visible {
    background: #FFB700 !important;
    color: #1a1a1a !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(253, 185, 19, 0.45);
}
@media (max-width: 575px) {
    .btn.banner-hero-cta-modern {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.875rem;
        font-weight: 700;
        box-shadow: 0 4px 16px rgba(253, 185, 19, 0.4);
        border-radius: 4px !important;
    }
}
.banner-hero-content p.text-white {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.9375rem;
    line-height: 1.55;
}
/* Modern subtitle box */
.banner-hero-subtitle-box {
    background: rgba(0, 40, 70, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    padding: 0.9rem 1.1rem;
    margin-bottom: clamp(1rem, 3vh, 2rem);
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.banner-hero-subtitle-box p {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.5;
    margin-bottom: 0.35rem;
}
.banner-hero-subtitle-box p.fw-medium {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 400 !important;
}
@media (max-width: 575px) {
    .banner-hero-subtitle-box {
        padding: 0.65rem 0.85rem;
        margin-bottom: 0.85rem;
        border-left-width: 3px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    .banner-hero-subtitle-box p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        line-height: 1.45;
    }
    .banner-hero-subtitle-box p.fw-medium {
        font-size: 0.8rem;
    }
}

/* Home: testimonials */
.clients-feedback-section .testimonial-card {
    display: flex;
    flex-direction: column;
}
.clients-feedback-section .testimonial-text {
    font-size: 1.075rem;
    line-height: 1.7;
    flex: 1 1 auto; /* keeps author block aligned at bottom across cards */
}
.clients-feedback-section .testimonial-meta {
    margin-top: auto;
}
@media (min-width: 992px) {
    .clients-feedback-section .testimonial-text {
        font-size: 1.125rem;
    }
}

/* Home hero property search: sticky under .header-two-tier (must sit in main, not inside short hero section) */
.banner-search-block.banner-search-sticky {
    position: -webkit-sticky;
    position: sticky;
    z-index: 1020;
    /* Mobile: main navbar only (top bar hidden) */
    top: calc(4.65rem + env(safe-area-inset-top, 0px));
    background-color: var(--qp-page-bg);
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 52, 85, 0.08); */
}
/* Pull search up so it sits on the hero (transparent strip — only the white card is opaque) */
.banner-search-block.banner-search-sticky.banner-search-hero-overlap {
    /* Match shorter hero: pull search up slightly less than before */
    margin-top: clamp(-16rem, -26vh, -10.5rem);
    padding-top: 0.25rem;
    padding-bottom: 1.75rem;
    background: transparent !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}
/* After the hero, restore a solid bar once sticky (scroll) so content doesn’t show through */
.banner-search-block.banner-search-sticky.banner-search-hero-overlap.is-stuck {
    background-color: rgba(255, 254, 238, 0.97) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 52, 85, 0.08);
    box-shadow: 0 8px 24px rgba(0, 52, 85, 0.06);
}
/* Buy/Rent on dark hero: clearer track + inactive tab */
.banner-search-hero-overlap:not(.is-stuck) .banner-search-tabs {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}
.banner-search-hero-overlap:not(.is-stuck) .banner-search-tab {
    color: rgba(255, 255, 255, 0.82);
}
.banner-search-hero-overlap:not(.is-stuck) .banner-search-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}
.banner-search-hero-overlap:not(.is-stuck) .banner-search-tab.active {
    color: #fff;
}

/* Buy / Rent: segmented control above search card */
.banner-search-block .banner-search-tabs {
    display: inline-flex;
    align-items: stretch;
    padding: 5px;
    margin-bottom: 0.85rem;
    background: rgba(0, 52, 85, 0.07);
    border-radius: 14px;
    gap: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.banner-search-block .banner-search-tab {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    margin: 0;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    padding: 0.55rem 1.4rem;
    border-radius: 10px;
    color: #64748b;
    background: transparent;
    box-shadow: none;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.banner-search-block .banner-search-tab:hover {
    color: var(--qp-primary);
    background: rgba(255, 255, 255, 0.75);
}
.banner-search-block .banner-search-tab.active {
    color: #fff;
    background: linear-gradient(180deg, #003455 0%, #00478a 100%);
    box-shadow: 0 2px 10px rgba(0, 52, 85, 0.28);
}
.banner-search-block .banner-search-tab.active:hover {
    color: #fff;
    background: linear-gradient(180deg, #00406a 0%, #005099 100%);
}
.banner-search-block .banner-search-tab:focus-visible {
    outline: 2px solid var(--qp-cta);
    outline-offset: 2px;
}
.banner-search-block .home-search-card {
    border: 1px solid rgba(229, 231, 235, 0.95) !important;
    box-shadow: 0 10px 32px rgba(0, 52, 85, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    position: relative;
    z-index: 3;
}
.banner-search-block.banner-search-hero-overlap .container.position-relative {
    z-index: 2;
}
@media (min-width: 768px) {
    .banner-search-block.banner-search-sticky {
        /* md+: top contact bar + navbar */
        top: calc(7.25rem + env(safe-area-inset-top, 0px));
    }
}
@media (min-width: 992px) {
    .banner-search-block.banner-search-sticky {
        top: calc(7.65rem + env(safe-area-inset-top, 0px));
    }
}

/* Hero slider prev/next (Tiny Slider controlsContainer) */
.banner-hero-slider-wrap .banner-hero-carousel-controls {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(0.75rem, 2vw, 1.5rem);
    pointer-events: none;
}
.banner-hero-slider-wrap .banner-hero-carousel-controls button {
    pointer-events: auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 30, 60, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.banner-hero-slider-wrap .banner-hero-carousel-controls button:hover {
    background: rgba(0, 30, 60, 0.75);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.banner-hero-slider-wrap .banner-hero-carousel-controls button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}
.banner-hero-slider-wrap .banner-hero-carousel-controls button[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}
.banner-hero-slider-wrap .banner-hero-carousel-controls button i {
    font-size: 0.9rem;
}
@media (max-width: 575.98px) {
    .banner-hero-slider-wrap .banner-hero-carousel-controls {
        padding: 0 0.5rem;
    }
    .banner-hero-slider-wrap .banner-hero-carousel-controls button {
        width: 2.25rem;
        height: 2.25rem;
        border-width: 1.5px;
        background: rgba(0, 30, 60, 0.65);
    }
    .banner-hero-slider-wrap .banner-hero-carousel-controls button i {
        font-size: 0.75rem;
    }
    .banner-hero-slider-wrap .banner-hero-carousel-controls button:hover {
        transform: scale(1.02);
    }
}

.pt-120 {
    padding-top: 120px;
}
.pb-90 {
    padding-bottom: 90px;
}
.pb-70 {
    padding-bottom: 70px;
}
@media (max-width: 991px) {
    .pt-120 {
        padding-top: 80px;
    }
    .pb-90 {
        padding-bottom: 60px;
    }
    .pb-70 {
        padding-bottom: 50px;
    }
}
@media (max-width: 575px) {
    .pt-120 {
        padding-top: 60px;
    }
    .pb-90 {
        padding-bottom: 45px;
    }
    .pb-70 {
        padding-bottom: 35px;
    }
}
.section-bg-1 {
    background-color: var(--qp-bg-section);
}
.ltn__about-us-area {
    background-color: #f8f9fa;
}
/* Home: space below sticky search; stable layout when the main image is missing */
.ltn__about-us-area.home-about-below-hero-search {
    margin-top: 2.25rem;
    padding-top: clamp(2rem, 6vw, 5.5rem) !important;
    padding-bottom: clamp(2rem, 4vw, 4rem) !important;
    position: relative;
    z-index: 0;
}
.ltn__about-us-area.home-about-below-hero-search .about-us-img-wrap {
    min-height: min(380px, 72vw);
    display: block;
    position: relative;
}
@media (max-width: 991px) {
    .ltn__about-us-area.home-about-below-hero-search {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
        margin-top: 1.5rem;
    }
    .ltn__about-us-area.home-about-below-hero-search .about-us-img-wrap {
        min-height: min(320px, 80vw);
        margin-bottom: 1.5rem;
    }
}
@media (max-width: 575px) {
    .ltn__about-us-area.home-about-below-hero-search {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        margin-top: 1rem;
    }
    .ltn__about-us-area.home-about-below-hero-search .about-us-img-wrap {
        min-height: min(280px, 85vw);
    }
}
/* Ensure image container is visible */
.about-us-img-wrap--demo-fallback {
    background-color: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 52, 85, 0.12);
}
/* Main about image styling */
.about-main-image {
    display: block !important;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}
/* Demo artwork always behind the main photo (visible if img missing/broken before onerror) */
.ltn__about-us-area.home-about-below-hero-search .about-us-img-wrap--demo-fallback::before,
.about-page-who-we-are .about-us-img-wrap--demo-fallback::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 14px;
    background: #e9ecef url("../img/demo/about-main.svg") center / contain no-repeat;
    box-shadow: inset 0 0 0 1px rgba(0, 52, 85, 0.06);
    pointer-events: none;
}
.ltn__about-us-area.home-about-below-hero-search .about-us-img-wrap > img:first-of-type,
.about-page-who-we-are .about-us-img-wrap--demo-fallback > img:first-of-type {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 52, 85, 0.1);
    background-color: transparent;
    position: relative;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.about-page-who-we-are .about-us-img-wrap--demo-fallback {
    min-height: min(380px, 72vw);
}
.about-us-img-wrap {
    position: relative;
    display: block;
}
.about-us-img-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Ensure SVG images display properly */
.about-us-img-wrap img[src$=".svg"] {
    width: 100%;
    height: auto;
    min-height: 300px;
}
.section-subtitle {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
    color: var(--qp-cta);
}
.section-title {
    font-weight: 700;
    color: var(--qp-text);
    line-height: 1.3;
}
@media (max-width: 991px) {
    .section-title {
        font-size: 1.5rem;
    }
}
@media (max-width: 575px) {
    .section-subtitle {
        font-size: 10px;
        letter-spacing: 1.2px;
    }
    .section-title {
        font-size: 1.35rem;
    }
}
/* About feature boxes */
.about-feature-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.about-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    background: var(--qp-cta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.about-feature-content h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--qp-text);
    line-height: 1.4;
}
.about-feature-content small {
    font-size: 12px;
    line-height: 1.3;
}
@media (max-width: 767px) {
    .about-feature-box {
        gap: 10px;
    }
    .about-feature-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 14px;
    }
    .about-feature-content h6 {
        font-size: 13px;
    }
    .about-feature-content small {
        font-size: 11px;
    }
}
/* About quote box */
.about-quote-box {
    background: rgba(var(--qp-cta-rgb), 0.08);
    border-left: 4px solid var(--qp-cta);
    padding: 16px 20px;
    border-radius: 4px;
}
.about-quote-box p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--qp-text);
    font-style: italic;
}
@media (max-width: 575px) {
    .about-quote-box {
        padding: 12px 16px;
        border-left-width: 3px;
    }
    .about-quote-box p {
        font-size: 13px;
    }
}
/* About CTA button */
.btn-about-cta {
    background: var(--qp-primary);
    border: none;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-about-cta:hover {
    background: var(--qp-cta);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 149, 58, 0.25);
}
@media (max-width: 575px) {
    .btn-about-cta {
        font-size: 13px;
        padding: 0.5rem 1.25rem !important;
        width: 100%;
        text-align: center;
    }
}
.ltn__secondary-color {
    color: var(--qp-cta);
}
/* Remove old list styles - replaced with new feature boxes */
.ltn__list-item-half {
    display: none;
}
.ltn__callout {
    display: none;
}
.theme-btn-1.btn {
    background: var(--qp-primary);
    color: #fff;
    border: 0;
}
.theme-btn-1.btn:hover {
    color: #fff;
    background: var(--qp-gold);
}
/* CTA buttons – Fresh Green */
.btn-cta,
.btn-primary.theme-cta {
    background: var(--qp-cta) !important;
    border-color: var(--qp-cta) !important;
    color: #fff !important;
}
.btn-cta:hover,
.btn-primary.theme-cta:hover {
    background: var(--qp-gold) !important;
    border-color: var(--qp-gold) !important;
    color: #fff !important;
}
.ltn__counterup-area {
    background-color: var(--qp-bg-section);
}
.ltn__counterup-item {
    margin-bottom: 30px;
    text-align: center;
}
.ltn__counterup-item .counter-icon {
    margin-bottom: 20px;
}
.ltn__counterup-item .counter-icon i {
    font-size: 48px;
    line-height: 1;
    color: var(--qp-gold);
}
.ltn__counterup-item h1 {
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 6px;
    color: var(--qp-text);
}
.ltn__counterup-item h6 {
    color: var(--qp-text);
    opacity: 0.8;
    margin-bottom: 0;
    font-size: 15px;
}
@media (max-width: 991px) {
    .ltn__counterup-item h1 {
        font-size: 36px;
    }
    .ltn__counterup-item .counter-icon i {
        font-size: 40px;
    }
    .ltn__counterup-item h6 {
        font-size: 14px;
    }
}
@media (max-width: 767px) {
    .ltn__counterup-item {
        margin-bottom: 25px;
    }
    .ltn__counterup-item h1 {
        font-size: 30px;
    }
    .ltn__counterup-item .counter-icon {
        margin-bottom: 15px;
    }
    .ltn__counterup-item .counter-icon i {
        font-size: 36px;
    }
    .ltn__counterup-item h6 {
        font-size: 13px;
    }
}
@media (max-width: 575px) {
    .ltn__counterup-item h1 {
        font-size: 26px;
    }
    .ltn__counterup-item .counter-icon i {
        font-size: 32px;
    }
}

/* ========== About page ========== */
.about-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-color: #1e293b;
}
.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
}
.about-hero .container {
    position: relative;
    z-index: 1;
    padding-bottom: 2rem;
}
.about-hero h1 {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.about-section-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--qp-cta);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.about-page-who-we-are .about-section-label {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}
.about-section-title {
    font-weight: 700;
    color: var(--qp-text);
}

/* About: Director profile */
.director-profile-section {
    position: relative;
    background: var(--qp-bg-section);
    overflow: hidden;
}
.director-image-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    min-height: clamp(22rem, 52vh, 36rem);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}
/* Pattern at back */
.director-image-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.18), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(46, 139, 87, 0.14), transparent 45%),
        linear-gradient(135deg, rgba(0, 52, 85, 0.06), rgba(0, 52, 85, 0.0));
    z-index: 0;
}
/* White vignette at bottom */
.director-image-frame::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.0) 70%);
    z-index: 2;
    pointer-events: none;
}
.director-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain; /* PNG body fits nicely */
    object-position: center bottom;
    padding: clamp(0.75rem, 1.2vw, 1.25rem);
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
}
.director-kicker {
    color: var(--qp-primary);
}
.director-name {
    font-weight: 800;
    color: var(--qp-text);
    font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem);
    line-height: 1.15;
}
.director-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(31, 41, 51, 0.65);
    font-weight: 700;
}
.director-message {
    font-size: 1.05rem;
    line-height: 1.85;
}
.about-video-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
    aspect-ratio: 16/10;
}
.about-video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--qp-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
}
.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}
.about-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(var(--qp-cta-rgb), 0.12);
    color: var(--qp-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.about-focus-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.about-focus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.about-focus-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(var(--qp-cta-rgb), 0.12);
    color: var(--qp-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.about-agent-card {
    text-align: center;
}
.about-agent-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.about-testimonial-section {
    background: var(--qp-bg-section);
    position: relative;
    overflow: hidden;
}
.about-testimonial-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath fill='%2394a3b8' fill-opacity='0.08' d='M0 0h20v20H0V0zm40 40h20v20H40V40z'/%3E%3C/svg%3E");
    opacity: 0.6;
}
.about-testimonial-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 1.75rem;
    height: 100%;
}
.about-quote-icon {
    font-size: 2.5rem;
    line-height: 1;
    color: rgba(var(--qp-cta-rgb), 0.4);
    font-family: Georgia, serif;
}
.about-blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.about-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.about-blog-card .card-img-top {
    height: 100%;
    object-fit: cover;
}

/* ========== Frontend brand: Footer, body text, buttons, alerts ========== */
/* Footer – Deep Blue background */
footer.footer,
.footer.bg-secondary,
footer.footer.bg-secondary {
    background: var(--qp-footer-gradient) !important;
    background-color: #002f4c !important;
}
.footer .nav-link,
.footer a:not(.btn) {
    color: rgba(255, 255, 255, 0.9) !important;
}
.footer .nav-link:hover,
.footer a:not(.btn):hover {
    color: var(--qp-gold) !important;
}
.footer h4, .footer .h5 {
    color: #fff !important;
}
.footer .btn-primary {
    background: var(--qp-cta) !important;
    border-color: var(--qp-cta) !important;
}
.footer .btn-primary:hover {
    background: var(--qp-gold) !important;
    border-color: var(--qp-gold) !important;
}
/* Footer social circles – visible on Deep Blue */
.footer .btn-light-primary,
.footer .footer-social-links .btn {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border: none;
}
.footer .footer-social-links .btn:hover {
    background: var(--qp-gold) !important;
    color: #fff !important;
}
.footer .text-center.fs-sm,
.footer .text-center.fs-sm a {
    color: rgba(255, 255, 255, 0.8) !important;
}
/* Body text – Charcoal; overflow visible so position:sticky works inside flex body layout */
body#page {
    background-color: var(--qp-page-bg);
}
.page-wrapper {
    overflow: visible !important;
    color: var(--qp-text);
    background-color: var(--qp-page-bg);
}
.page-wrapper .text-dark {
    color: var(--qp-text);
}
/* Primary buttons (default) – Deep Blue */
.btn-primary:not(.theme-cta):not(.btn-cta) {
    background-color: var(--qp-primary) !important;
    border-color: var(--qp-primary) !important;
}
/* Dividers – Soft Gold tint */
.dropdown-divider,
hr {
    border-color: rgba(var(--qp-gold-rgb), 0.3);
}
/* Alerts / errors – Red only for danger */
.alert-danger,
.alert-error,
#email_error.alert-danger,
.status-not-available,
.invalid-tooltip,
.quick-error {
    background-color: rgba(var(--qp-danger-rgb), 0.12) !important;
    color: var(--qp-danger) !important;
    border-color: var(--qp-danger);
}
.alert-danger {
    background-color: rgba(var(--qp-danger-rgb), 0.15) !important;
}
/* Scroll-to-top – Deep Blue with gold hover */
.btn-scroll-top,
.btn-scroll-top .btn-scroll-top-icon {
    background: var(--qp-primary) !important;
    color: #fff !important;
}
.btn-scroll-top:hover,
.btn-scroll-top:hover .btn-scroll-top-icon {
    background: var(--qp-gold) !important;
    color: #fff !important;
}
/* CTA banner outline button */
/* .cta-dream-home .theme-cta-outline:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border-color: #fff !important;
} */
/* Home: YouTube Shorts & Instagram Reels carousel */
.home-reels-short {
    background: linear-gradient(180deg, rgba(255, 254, 238, 0.92) 0%, rgba(231, 232, 237, 0.35) 100%);
}
.home-reels-card {
    color: #fff;
    max-height: min(72vh, 520px);
    margin-left: auto;
    margin-right: auto;
}
.home-reels-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease;
}
.home-reels-card:hover .home-reels-card-bg {
    transform: scale(1.05);
}
.home-reels-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}
.home-reels-caption {
    position: absolute;
    top: 12px;
    left: 10px;
    right: 10px;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    padding: 0.4rem 0.55rem;
    border-radius: 0.25rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.home-reels-caption--yellow {
    background: #ffeb3b;
    color: #111;
}
.home-reels-caption--red {
    background: #e53935;
    color: #fff;
}
.home-reels-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}
.home-reels-play-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    padding-left: 4px;
}
.home-reels-bottom-label {
    position: absolute;
    bottom: 10px;
    left: 8px;
    right: 8px;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.35rem 0.45rem;
    border-radius: 0.35rem;
    background: rgba(0, 52, 85, 0.92);
    color: #fff;
    text-align: center;
    pointer-events: none;
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 80% !important;
    }
}

/* ========== Home: premium featured properties carousel ========== */
.premium-featured-section {
    background: linear-gradient(180deg, #fff8e8 0%, #f0ebe0 100%);
}
.premium-featured-section__subtitle {
    max-width: 36rem;
    line-height: 1.55;
}
.premium-featured-section__title {
    display: inline-block;
    position: relative;
    padding-bottom: 0.4rem;
    letter-spacing: -0.02em;
}
.premium-featured-section__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.75rem;
    height: 4px;
    background: var(--qp-gold);
    border-radius: 2px;
}
.premium-featured-section__see-all {
    color: var(--qp-primary) !important;
}
.premium-featured-section__see-all:hover {
    color: var(--qp-cta) !important;
}
.premium-featured-section__nav {
    display: flex;
    gap: 0.5rem;
}
.premium-featured-section__nav button {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--qp-primary);
    color: #fff;
    transition: background 0.2s ease, transform 0.15s ease;
}
.premium-featured-section__nav button:hover {
    background: #002f4c;
}
.premium-featured-section__nav button:active {
    transform: scale(0.96);
}
.premium-featured-card {
    color: inherit;
    min-height: 17.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (min-width: 768px) {
    .premium-featured-card {
        min-height: 22rem;
    }
}
@media (min-width: 992px) {
    .premium-featured-card {
        min-height: 26rem;
    }
}
.premium-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.14) !important;
}
.premium-featured-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #0f172a;
}
.premium-featured-card__img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.premium-featured-card:hover .premium-featured-card__img {
    transform: scale(1.04);
}
.premium-featured-card__overlay {
    z-index: 2;
    pointer-events: none;
}
.premium-featured-card__overlay .premium-featured-card__cta {
    pointer-events: none;
}
.premium-featured-card__cta {
    background: var(--qp-primary);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.premium-featured-card:hover .premium-featured-card__cta {
    background: var(--qp-cta);
}

/* Full-width slides: no “peek” of the next card */
.premium-featured-section .premium-featured-carousel.tns-carousel-wrapper .tns-outer,
.premium-featured-section .premium-featured-carousel.tns-carousel-wrapper .tns-inner {
    overflow: hidden;
}
.premium-featured-section .premium-featured-carousel .tns-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.premium-featured-section .premium-featured-slide {
    width: 100%;
}

/* Legibility: dark base wash + stronger bottom band (works on light or missing photos) */
.premium-featured-card__gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.22) 0%,
        rgba(15, 23, 42, 0.08) 38%,
        rgba(15, 23, 42, 0.45) 100%
    );
    pointer-events: none;
}
.premium-featured-card__gradient-bottom {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.72) 38%,
        rgba(0, 0, 0, 0.2) 72%,
        transparent 100%
    );
    pointer-events: none;
}
.premium-featured-card--placeholder .premium-featured-card__img {
    opacity: 0.5;
    filter: grayscale(40%) brightness(0.85);
    object-position: center center;
}
.premium-featured-card--placeholder .premium-featured-card__gradient {
    background: linear-gradient(180deg, rgba(0, 52, 85, 0.35) 0%, rgba(0, 52, 85, 0.12) 45%, rgba(15, 23, 42, 0.55) 100%);
}
.premium-featured-card--placeholder .premium-featured-card__gradient-bottom {
    background: linear-gradient(
        to top,
        rgba(0, 52, 85, 0.98) 0%,
        rgba(0, 0, 0, 0.82) 45%,
        rgba(0, 0, 0, 0.35) 100%
    );
}
.premium-featured-card__copy {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.85),
        0 2px 12px rgba(0, 0, 0, 0.55);
}
.premium-featured-card__copy .h4 {
    line-height: 1.25;
}
.premium-featured-card__icon {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

/* ========== Contact page ========== */
.contact-page-body {
    background: #fff;
}

.contact-form-panel {
    background: #f8fafc;
    border: 1px solid rgba(0, 52, 85, 0.08);
    border-radius: 14px;
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: 0 8px 28px rgba(0, 52, 85, 0.06);
}
.contact-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.contact-info-panel__eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--qp-gold, #c9a227);
}
.contact-info-panel__title {
    font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.15rem);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}
.contact-info-panel__lead {
    font-size: 0.9375rem;
    line-height: 1.65;
    max-width: 36rem;
}

.contact-info-tile {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    padding: 1.15rem 1.1rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-info-tile:hover {
    border-color: rgba(0, 52, 85, 0.12);
    box-shadow: 0 8px 22px rgba(0, 52, 85, 0.07);
}
.contact-info-tile__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
    background: rgba(201, 162, 39, 0.14);
    color: var(--qp-gold, #b8941f);
    font-size: 1rem;
}
.contact-info-tile__label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin: 0 0 0.35rem;
}
.contact-info-tile__value {
    font-size: 0.9375rem;
    color: #1e293b;
    line-height: 1.45;
    word-break: break-word;
}
.contact-info-tile__value a {
    color: var(--qp-primary, #003455);
    text-decoration: none;
}
.contact-info-tile__value a:hover {
    text-decoration: underline;
}

.contact-follow__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}
.contact-social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--qp-gold, #d4af37);
    color: var(--qp-primary, #003455);
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.contact-social-btn:hover {
    color: var(--qp-primary, #003455);
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 6px 16px rgba(0, 52, 85, 0.15);
}

.contact-page-map {
    width: 100%;
    line-height: 0;
    background: #e2e8f0;
}
.contact-page-map__iframe {
    width: 100%;
    height: clamp(220px, 38vw, 380px);
    border: 0;
    display: block;
}

.contact-input {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9375rem;
    color: #1e293b;
}
.contact-input--message {
    min-height: 8.5rem;
    resize: vertical;
}
.contact-input:focus {
    border-color: var(--qp-primary, #003455);
    box-shadow: 0 0 0 0.2rem rgba(0, 52, 85, 0.12);
}

.contact-submit-btn {
    background: var(--qp-gold, #d4af37) !important;
    border: 2px solid var(--qp-gold, #d4af37) !important;
    color: #fff !important;
    padding: 0.65rem 1.75rem !important;
    font-size: 0.8125rem !important;
    letter-spacing: 0.06em;
    border-radius: 6px !important;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-submit-btn:hover {
    filter: brightness(1.06);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 52, 85, 0.18);
}

/* ========== Home contact modal (popup) ========== */
.home-contact-modal .modal-dialog {
    max-width: 940px;
    width: calc(100% - 1.25rem);
}
.home-contact-modal__content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 28px 56px -16px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.home-contact-modal__row {
    align-items: stretch;
}
.home-contact-modal__col-visual {
    position: relative;
    background: #0f172a;
    min-height: 200px;
}
@media (min-width: 992px) {
    .home-contact-modal__col-visual {
        min-height: 100%;
    }
    .home-contact-modal__row {
        min-height: 420px;
    }
}
.home-contact-modal__visual-link {
    display: block;
    position: relative;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}
.home-contact-modal__visual-link:hover {
    color: #fff;
}
.home-contact-modal__visual-link--static {
    cursor: default;
}
.home-contact-modal__visual-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
@media (min-width: 992px) {
    .home-contact-modal__visual-img {
        position: absolute;
        inset: 0;
        min-height: 100%;
    }
}
.home-contact-modal__visual-link:hover .home-contact-modal__visual-img {
    transform: scale(1.04);
}
.home-contact-modal__visual-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.2) 42%, transparent 72%);
}
.home-contact-modal__visual-overlay--muted {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 60%);
}
.home-contact-modal__visual-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.1rem 1.15rem 1.25rem;
    z-index: 1;
    pointer-events: none;
}
.home-contact-modal__visual-link .home-contact-modal__visual-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #0f172a;
    background: linear-gradient(135deg, var(--qp-gold, #e8c547), #c9a227);
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}
.home-contact-modal__visual-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.home-contact-modal__visual-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    opacity: 0.95;
}
.home-contact-modal__visual-link:hover .home-contact-modal__visual-cta {
    text-decoration: underline;
}
.home-contact-modal__col-form {
    background: #fff;
    min-width: 0;
}
.home-contact-modal__header {
    padding: 1.35rem 1.5rem 1rem;
    background: linear-gradient(165deg, #f8fafc 0%, #ffffff 55%);
    position: relative;
}
.home-contact-modal__header::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    bottom: 0;
    width: 3rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--qp-gold, #c9a227), rgba(201, 162, 39, 0.35));
}
.home-contact-modal__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--qp-gold, #b8941f);
    margin: 0;
}
.home-contact-modal__title {
    font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.25;
}
.home-contact-modal__lead {
    font-size: 0.8125rem;
    line-height: 1.55;
    max-width: 38rem;
    padding-right: 0.5rem;
}
/* Use background-color only — `background` shorthand would remove Bootstrap’s X SVG */
.home-contact-modal__close.btn-close {
    flex-shrink: 0;
    margin: 0;
    padding: 0.55rem;
    border-radius: 10px;
    background-color: rgba(148, 163, 184, 0.12);
    opacity: 1;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.home-contact-modal__close.btn-close:hover {
    background-color: rgba(148, 163, 184, 0.22);
    transform: scale(1.05);
}
.home-contact-modal__body {
    padding: 1.35rem 1.5rem 1.6rem;
    background: #fff;
}
.home-contact-modal__form-panel.contact-form-panel {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    padding: clamp(1.15rem, 3vw, 1.5rem);
    box-shadow: 0 4px 20px rgba(0, 52, 85, 0.05);
}
.home-contact-modal__form-panel .mb-3 {
    margin-bottom: 1.1rem !important;
}
.home-contact-modal__form-panel .mb-4 {
    margin-bottom: 1.15rem !important;
}
.home-contact-modal__form-panel .contact-form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.4rem;
}
.home-contact-modal__form-panel .contact-input {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border-color: #e2e8f0;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}
.home-contact-modal__form-panel .contact-input:hover {
    border-color: #cbd5e1;
}
.home-contact-modal__form-panel .contact-input:focus {
    border-color: var(--qp-primary, #003455);
    box-shadow: 0 0 0 3px rgba(0, 52, 85, 0.12);
    background-color: #fff;
}
.home-contact-modal__form-panel .contact-input--message {
    min-height: 7.5rem;
}
.home-contact-modal__form-panel .contact-submit-btn {
    width: 100%;
    padding: 0.8rem 1.25rem !important;
    font-size: 0.8125rem !important;
    border-radius: 12px !important;
    letter-spacing: 0.08em;
    margin-top: 0.15rem;
}
.home-contact-modal__form-panel .contact-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 52, 85, 0.2);
}
.home-contact-modal__form-panel .g-recaptcha,
.home-contact-modal__form-panel [class*="recaptcha"] {
    display: flex;
    justify-content: center;
}
@media (max-width: 575px) {
    .home-contact-modal .modal-dialog {
        margin: 0.65rem;
    }
    .home-contact-modal__header {
        padding: 1.1rem 1.15rem 0.85rem;
    }
    .home-contact-modal__header::after {
        left: 1.15rem;
    }
    .home-contact-modal__body {
        padding: 1.1rem 1.15rem 1.35rem;
    }
}

/* ========== WhatsApp Floating Widget ========== */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 94px;
    right: 14px;
    background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
    color: #fff;
    border-radius: 50%;
    box-shadow: 
        0 4px 12px rgba(37, 211, 102, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: whatsapp-pulse 2s ease-in-out infinite;
}
.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    animation: whatsapp-ring 1.5s ease-out infinite;
    opacity: 0;
}
.whatsapp-float:hover {
    background: linear-gradient(135deg, #1ebe57 0%, #128c7e 100%);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 
        0 8px 20px rgba(37, 211, 102, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.15);
}
.whatsapp-float:hover::before {
    animation: none;
}
.whatsapp-icon {
    font-size: 30px;
    line-height: 1;
}
@keyframes whatsapp-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}
@keyframes whatsapp-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
@media (max-width: 767px) {
    .whatsapp-float {
        width: 40px;
        height: 40px;
        bottom: 60px;
        right: 15px;
    }
    .whatsapp-icon {
        font-size: 26px;
    }
}

/* ========== Mobile & Tablet Responsive Fixes ========== */
@media (max-width: 767px) {
    .banner-search-block .banner-search-tabs {
        padding: 4px;
        margin-bottom: 0.65rem;
        border-radius: 12px;
        gap: 3px;
    }
    .banner-search-block .banner-search-tab {
        font-size: 0.85rem;
        padding: 0.45rem 1rem;
        border-radius: 8px;
    }
    .banner-search-block .home-search-card {
        box-shadow: 0 6px 20px rgba(0, 52, 85, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    }
    .banner-search-block .home-search-card .card-body {
        padding: 1rem !important;
    }
}
@media (max-width: 575px) {
    .banner-search-block .banner-search-tab {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }
    .banner-search-block .home-search-card .card-body {
        padding: 0.85rem !important;
    }
    /* Stack search form elements */
    .banner-search-block .row-cols-lg-5 > * {
        width: 100% !important;
    }
    
    /* Fix loading spinner/icon positioning */
    .spinner-border,
    .spinner-grow {
        width: 2rem !important;
        height: 2rem !important;
        border-width: 0.2rem !important;
    }
    
    /* Loading overlay fixes */
    .loading,
    .loader,
    .loading-overlay {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 9999 !important;
    }
    
    /* Page loader */
    .page-loader,
    .preloader {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        z-index: 9999 !important;
    }
    
    /* Loading text */
    .loading-text {
        font-size: 0.875rem !important;
        margin-top: 0.75rem !important;
        color: #666 !important;
    }
}
