@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap'); */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", sans-serif;
}

:root {

    --accent-navy: #171a4a;
    --overlay-bg: rgba(255, 255, 255, 0.94);
    --body-copy: #5a5a5a;
    --bg-cream: #F7F4EC;
    --text-dark: #1F2A24;
    --text-muted: #6B6B63;
    --border-light: #E4E0D4;
    --btn-blue: #002366;
    --btn-blue-hover: #0d46af;
    --accent-amber: #C8873A;

    --icon-bg: #6398cf75;

    --bg-dark-green: #142620;
    --text-muted-light: #AEB8AE;
    --accent-orange: #E3A24C;
    --link-blue: #A9C7DB;
    --border-dark: rgba(255, 255, 255, 0.12);

    --section-bg: #e5e7f0;
    --heading-color: #2b2f4c;
    --title-color: #1c1f2b;
    --sub-color: #8a8f9c;
    --icon-light: #b9bcc6;
    --icon-dark: #33363f;
    --icon-hover: #4a90e2;
    --badge-blue: #3b9aef;
    --badge-blue-dark: #2f7fd1;

    /* --accent: #4356f4; */
    --accent: #0d6efd;
    --accent-soft: #eef0fe;
    --text-color: #6b7080;

    --footer-bg: #2b2f3c;
    --footer-bg-2: #262a36;
    --link-color: #b7bac3;
    --link-hover: #ffffff;
    --accent-2: #5b7bff;
    --muted: #8b8fa0;
    --input-bg: #3c4152;

    --bg-dark: #1c1c20;
    --text-white: #ffffff;

    --card-bg: #eef1fc;
    --card-bg-hover: #e3e8fb;
    --icon-color: #6366f1;

    --gradient-btn: linear-gradient(135deg, #0F52BA 0%, #1A73E8 60%, #0099FF 100%);
    --font-body: 'Montserrat', sans-serif;
}


.banner-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: rgba(43, 40, 40, 0.575);
    text-align: center;
    color: white;
    padding: 10px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Cards Sections Css  */

.badge-dark-translucent {
    background-color: rgba(45, 52, 70, 0.75);
    color: #ffffff;
}

.icon-btn-translucent {
    background-color: rgba(45, 52, 70, 0.75);
    color: #ffffff;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
}

.icon-btn-translucent:hover {
    background-color: rgba(45, 52, 70, 0.95);
    color: #ffffff;
}

.card-img-wrapper {
    height: 220px;
    background-size: cover;
    background-position: center;
}

/* -------------------------- */
.banner-section {
    margin-top: 180px;
    /* height: 100vh; */
}

.banner-img-section {
    top: 0;
    z-index: -1;
}

.nav-item a {
    /* font-family: 'Open Sans', sans-serif; */
    font-weight: 550;
    text-transform: uppercase;
    color: #001A38;
    /* font-size: 16px; */
}

.navbar-bg-trans {
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(1px);
    /* border-radius: 10px; */
}

/* --------------------------------------------- */
/* Custom style overrides to mimic Mitsui Fudosan design language */
.navbar {
    font-size: 0.95rem;
    /* border-bottom: 1px solid #e0e0e0; */
}

.nav-link {
    color: #1a1a1a;
    font-weight: 500;
    padding: 0.7rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: #004098 !important;
    border-bottom: 2px solid #004098;
}

.top-bar {
    font-size: 0.85rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eeeeee;
}

.hero-slider .carousel-item {
    height: 100vh;
    min-height: 500px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.hero-slider .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%); */
}

.carousel-caption {
    top: 0;
    left: 0;
    /* right: 0; */
    /* z-index: 0; */
    /* padding: 24px 29px; */
    width: 100%;
    height: 270px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(to top, rgb(68 143 210 / 46%) 0%, rgb(38 94 158 / 11%) 60%, #538cc1b5 100%);
}

.brand-accent {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}


/* -------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffffd9 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.logo {
    height: 170px;
    transition: all 0.3s ease-in-out;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar.shrunk {
    top: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #ffffffba !important;
}

.navbar.shrunk .logo {
    height: 85px;
    /* Reduced logo height */
}

/* Demo content offset */
.content {
    margin-top: 120px;
    padding: 20px 40px;
}

/* -------- Contsct Us Css -------- */
.app-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
    font-weight: 400;
    color: #1a1a1a;
    text-transform: uppercase;
}

/* App Badge Dimensions */
.badge-icon {
    height: 48px;
    width: auto;
    border-radius: 6px;
}

.store-badge {
    height: 40px;
    width: auto;
    transition: opacity 0.2s ease;
}

.store-badge:hover {
    opacity: 0.85;
}

/* Phone Image Styling */
.phone-mockup {
    max-width: 240px;
    height: auto;
}

/* Social Icons Styling */
.social-links a {
    color: #000000;
    font-size: 1.25rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.social-links a:hover {
    /* color: #555555; */
    color: var(--accent);
}

/* Vertical Divider */
.brand-divider {
    width: 1px;
    height: 28px;
    background-color: #cccccc;
}

/* Newsletter Input & Button */
.newsletter-form .form-control {
    border: none;
    border-radius: 0;
    padding: 12px 20px;
    font-size: 0.95rem;
    background-color: #f5f5f7;
    color: #333;
}

.newsletter-form .form-control::placeholder {
    color: #888888;
}

.newsletter-form .btn-subscribe {
    background-color: #707070;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 12px 30px;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.newsletter-form .btn-subscribe:hover {
    background-color: #505050;
    color: #ffffff;
}

/* .btn:hover {
    background-color: #2e4b79;
    border-color: #2e4b79;
} */

/* ------------    ------------- */

.tabs-wrapper {
    max-width: 900px;
    margin: auto;
}

.tabs {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid #eee;
    position: relative;
    /* overflow-x:auto; */
}

.tabs button {
    border: none;
    background: none;
    padding: 18px 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    transition: .3s;
    position: relative;
    white-space: nowrap;
}

.tabs button.active {
    color: #0d6efd;
}

.tabs button::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: #0d6efd;
    transition: .35s;
}

.tabs button.active::after {
    width: 100%;
}

.tab-content-box {
    margin-top: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    padding: 30px;
    animation: fade .3s;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------- */

/* Custom styles to match image design closely */
.country-dropdown-menu {
    width: 310px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 0;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px;
}

/* Accordion Button Customization */
.region-accordion .accordion-button {
    background-color: transparent;
    color: #0d1b46;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 12px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#collapseAsia~.accordion-header .accordion-button:not(.collapsed),
.region-accordion #collapseAsia.show~.accordion-header .accordion-button,
.region-accordion .accordion-button[data-bs-target="#collapseAsia"]:not(.collapsed) {
    border: 1.5px solid #0d1b46;
    color: #0b5ed7;
    background-color: transparent;
}

.region-accordion .accordion-body {
    padding: 5px 0 0 0;
}

/* Country Items styling */
.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0d1b46;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.country-item:hover {
    background-color: #f0f4ff;
}

.country-item.active {
    background-color: #e8f0fe;
    color: #0b5ed7;
}

.country-flag {
    width: 40px;
    height: 40px;
    /* border-radius: 50%; */
    object-fit: cover;
    flex-shrink: 0;
}

.globe-icon {
    font-size: 1.1rem;
    color: #0d1b46;
    width: 20px;
    text-align: center;
}


/* --------------------------------- */

/* Card image styling */
.feature-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
}

/* Subtitle / Category text */
.feature-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #4a5568;
}

/* Main heading styling */
.feature-title {
    font-size: 1.85rem;
    font-weight: 500;
    line-height: 1.25;
    color: #1a1a1a;
}

/* Paragraph description */
.feature-desc {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Custom light grey pill button */
.btn-custom {
    background-color: #e2ded8;
    color: #2d3748;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-custom:hover {
    background-color: #0d6efd;
    color: white;
}

/* Vertical spacing between section rows */
.feature-row {
    margin-bottom: 5rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

/* FAQ SECTION */

.faq-section {
    background-color: var(--bg-cream);
    color: var(--text-dark);
}

.section-wrap {
    padding: 80px 20px;
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.section-title {
    font-weight: 700;
    font-size: 2.4rem;
    color: #0e224d;
    line-height: 1.25;
    max-width: 640px;
    margin-bottom: 2rem;
}

/* Accordion overrides */
.accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    background-color: transparent;
    color: var(--text-dark);
    padding: 1.1rem 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--text-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1rem;
}

.accordion-body {
    padding: 0 0 1.25rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Right form card */
.form-card {
    background-color: #fff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

.form-card h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.form-card p.subtext {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.6rem;
}

.form-control {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    background-color: #fff;
}

.form-control::placeholder {
    color: #9C9C93;
}

.form-control:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 0.15rem rgba(30, 59, 44, 0.1);
}

.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.15rem rgba(30, 59, 44, 0.1);
}

.btn-callback {
    background-color: var(--btn-blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 0.85rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.btn-callback:hover {
    background-color: var(--btn-blue-hover);
    color: #fff;
}

.disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.9rem;
    margin-bottom: 0;
}

/* ------ property visible SECTION -------- */


.section-subtext {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2.8rem;
}

.top-rule {
    border-top: 1px solid var(--border-light);
    margin-bottom: 2.8rem;
}

.step-item {
    border-top: 1px solid var(--border-light);
    padding-top: 1.9rem;
    padding-bottom: 2.8rem;
}

.step-number {
    font-weight: 700;
    font-size: 1.6rem;
    /* color: var(--accent-amber); */
    color: #5d7088;
    margin-bottom: 0.9rem;
}

.step-title {

    font-weight: 700;
    font-size: 1.15rem;
    color: #0d70fd;
    /* color: var(--text-dark); */
    margin-bottom: 0.6rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 320px;
}

/* ====== Our Services CSS ====== */

.section-subtext {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin-bottom: 2.8rem;
}

.service-card {
    background-color: #f5f5f7;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
}

.service-icon {
    width: 44px;
    height: 44px;
    /* background-color: var(--icon-bg); */
    background-color: #051d4f;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    /* color: var(--text-dark); */
    color: #fff;
    margin-bottom: 1.5rem;
}

.service-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============= For Builder Sections CSS ============= */
.for-builders {
    background-color: #f5f5f7;

}

.section-desc {
    color: rgb(80, 78, 78);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 2rem;
}

.btn-builder {
    background-color: #051d4f;
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.6rem;
}

.btn-builder:hover {
    background-color: #0d6efd;
    color: #fff;
}

.list-column .list-item {
    border-bottom: 1px solid var(--border-dark);
    padding: 0.95rem 0;
    font-size: 0.92rem;
    font-weight: 500;
    color: #051d4f;
}

.list-column .list-item:last-child {
    border-bottom: 1px solid #051d4f;
}

.builder-hero-banner {
    background: linear-gradient(135deg, #091a30 0%, #346adb 100%);
    color: #ffffff;
    padding: 65px 0 50px 0;
    margin-top: 185px;
}

.builder-form-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-section-header {
    font-size: 1.05rem;
    font-weight: 700;
    color: #07172c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.form-section-header i {
    color: var(--accent);
}

.form-label-custom {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
}

.form-control-custom,
.form-select-custom {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
    background-color: #fdfdfd;
    transition: all 0.2s ease;
}

.form-control-custom:focus,
.form-select-custom:focus {
    border-color: var(--accent);
    background-color: #ffffff;
}

.benefit-pill-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-pill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* ===== Our Partners ===== */

.partners-section {
    background-color: var(--section-bg);
    padding: 4.5rem 1rem;
    overflow: hidden;
}

.partners-heading {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeDown 0.6s ease forwards;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.6s ease forwards;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.35s ease,
        box-shadow 0.35s ease;
}

.partner-item:nth-child(1) {
    animation-delay: 0.15s;
}

.partner-item:nth-child(2) {
    animation-delay: 0.3s;
}

.partner-item:nth-child(3) {
    animation-delay: 0.45s;
}

.partner-item:nth-child(4) {
    animation-delay: 0.6s;
}

.partner-item:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 28px rgba(43, 47, 76, 0.12);
}

.partner-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-icon svg * {
    transition: stroke 0.35s ease, fill 0.35s ease;
}

.partner-item:hover .partner-icon svg [stroke="var(--icon-light)"] {
    stroke: var(--icon-hover);
}

.partner-item:hover .partner-icon svg [fill="var(--icon-dark)"] {
    fill: var(--icon-hover);
}

.partner-name {
    font-weight: 700;
    color: var(--title-color);
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0;
    white-space: nowrap;
    transition: color 0.35s ease;
}

.partner-item:hover .partner-name {
    color: var(--icon-hover);
}

.partner-sub {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--sub-color);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

/* Circle badge for "Real Estate Experts" */
.badge-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--badge-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.partner-item:hover .badge-circle {
    background-color: var(--badge-blue-dark);
    transform: rotate(360deg) scale(1.08);
    box-shadow: 0 8px 18px rgba(59, 154, 239, 0.45);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Choose Us Section CSS */
.why-section {
    padding: 3rem 1rem;
    background-color: #ffffff;
    overflow: hidden;
}

/* ---------- Heading ---------- */
.why-heading {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(-16px);
    animation: headingIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

/* ---------- Card ---------- */
.feature-col {
    perspective: 1000px;
}

.feature-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.5s ease,
        background-color 0.5s ease;
}

.feature-item.in-view {
    animation: cardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.feature-col:nth-child(1) .feature-item.in-view {
    animation-delay: 0.05s;
}

.feature-col:nth-child(2) .feature-item.in-view {
    animation-delay: 0.18s;
}

.feature-col:nth-child(3) .feature-item.in-view {
    animation-delay: 0.31s;
}

.feature-col:nth-child(4) .feature-item.in-view {
    animation-delay: 0.44s;
}

.feature-col:nth-child(5) .feature-item.in-view {
    animation-delay: 0.57s;
}

.feature-col:nth-child(6) .feature-item.in-view {
    animation-delay: 0.70s;
}

.feature-item:hover {
    transform: translateY(-9px);
    box-shadow: 0 22px 40px -18px rgba(67, 86, 244, 0.28);
    border-color: rgba(67, 86, 244, 0.12);
    background-color: #fbfbff;
}

/* ---------- Icon ---------- */
.feature-icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: var(--accent-soft);
    transform: scale(0.72) rotate(0deg);
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.55s ease;
    z-index: 0;
}

.feature-item:hover .icon-bg {
    transform: scale(1) rotate(8deg);
    background: linear-gradient(135deg, var(--accent-soft), #e2e6ff);
}

/* shine sweep across icon background on hover */
.icon-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.85) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.75s ease;
}

.feature-item:hover .icon-bg::after {
    transform: translateX(120%);
}

.feature-icon {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(-4deg);
}

.feature-icon svg {
    transition: stroke 0.4s ease;
}

/* ---------- Text ---------- */
.feature-title {
    position: relative;
    display: inline-block;
    color: var(--title-color);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    transition: color 0.4s ease;
}

.feature-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0%;
    background: var(--accent);
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-item:hover .feature-title {
    color: var(--accent);
}

.feature-item:hover .feature-title::after {
    width: 100%;
}

.feature-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Hero Section */
.why-choose-section {
    background: linear-gradient(135deg, #336da1 0%, #204a7d 100%);
    color: #ffffff;
    padding: 65px 0 60px 0;
}

/* Feature Cards */
.feature-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #ffffff;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: rgba(13, 59, 102, 0.1);
    /* color: #0d3b66; */
    color: var(--icon-color);
    margin-bottom: 1.25rem;
}

/* Process Step Cards */
.step-card {
    border-left: 4px solid #0d6efd;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.step-card:hover {
    /* border-left: none;
    border-bottom: 4px solid #0d6efd; */

    opacity: 0.7;
    transform: scale(0.95);
    transition:
        opacity 0.2s ease,
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* transform: translateY(0); */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* transition: transform 0.4s ease, box-shadow 0.2s ease; */
}

.step-number {
    font-weight: 700;
    /* color: #0d3b66; */
    color: #0d6efd;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-banner {
    background: #204a7d;
    border-radius: 16px;
    color: #ffffff;
}

/* ---------- Keyframes ---------- */
@keyframes headingIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* FOOTER CSS */
.site-footer {
    background-color: #f5f5f7;
    padding: 4.5rem 1rem 0;
    overflow: hidden;
}

/* ---------- Columns ---------- */
.footer-col {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(24px);
}

.footer-col.in-view {
    animation: colIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.footer-col:nth-child(1) {
    animation-delay: 0.05s;
}

.footer-col:nth-child(2) {
    animation-delay: 0.18s;
}

.footer-col:nth-child(3) {
    animation-delay: 0.31s;
}

.footer-col:nth-child(4) {
    animation-delay: 0.44s;
}

.footer-heading {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.6rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 28px;
    height: 2px;
    background: var(--accent-2);
    border-radius: 2px;
    transform-origin: left;
    animation: underlineGrow 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: #727478;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    width: 8px;
    height: 1.5px;
    background: var(--accent-2);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-links a:hover {
    color: var(--accent-2);
    padding-left: 14px;
}

.footer-links a:hover::before {
    transform: translateY(-50%) scaleX(1);
}

.more-link {
    color: var(--accent-2) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.more-link .chevron {
    display: inline-block;
    transition: transform 0.3s ease;
}

.more-link:hover .chevron {
    transform: translateX(5px);
}

/* ---------- Subscribe ---------- */
.subscribe-field {
    position: relative;
    margin-bottom: 0.9rem;
}

.subscribe-field .field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    transition: color 0.3s ease;
    display: flex;
}

.subscribe-field input {
    width: 100%;
    background-color: #f5f5f7;
    border: 1px solid #d5d5d6;
    border-radius: 6px;
    color: #fff;
    font-size: 0.88rem;
    padding: 0.75rem 0.9rem 0.75rem 2.6rem;
    outline: none;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.subscribe-field input::placeholder {
    color: var(--muted);
}

.subscribe-field input:focus {
    border-color: var(--accent-2);
    background-color: #f5f5f7;
    box-shadow: 0 0 0 3px rgb(77 121 255 / 13%);
}

.subscribe-field input:focus~.field-icon,
.subscribe-field:focus-within .field-icon {
    color: var(--accent-2);
}

.subscribe-btn {
    position: relative;
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
    background-size: 220% 100%;
    background-position: 0% 0%;
    overflow: hidden;
    cursor: pointer;
    transition: background-position 0.6s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.subscribe-btn:hover {
    background-position: 100% 0%;
    transform: translateY(-3px);
    box-shadow: 0 14px 26px -10px rgba(53, 87, 246, 0.55);
}

.subscribe-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.subscribe-btn:hover::after {
    left: 130%;
}

/* ---------- Bottom nav ---------- */
.footer-subnav {
    /* border-top: 1px solid rgba(255, 255, 255, 0.08); */
    border-top: 1.5px solid #6075dc;
    padding: 1.6rem 0;
    text-align: center;
}

.footer-subnav a {
    /* color: var(--link-color); */
    color: #7a7c7f;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    margin: 0 0.9rem;
    position: relative;
    transition: color 0.3s ease;
}

.footer-subnav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0%;
    height: 1.5px;
    background: var(--accent-2);
    transition: width 0.3s ease, left 0.3s ease;
}

.footer-subnav a:hover {
    color: var(--accent-2);
}

.footer-subnav a:hover::after {
    width: 100%;
    left: 0%;
}

.footer-subnav .sep {
    color: rgb(56 108 219);
}

/* ---------- Bottom bar ---------- */
.footer-bottom {
    /* background-color: #0b5ed7; */
    /* border-top: 1px solid rgba(255, 255, 255, 0.08); */
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

.copyright strong {
    color: #d7d9e0;
}

.social-icons {
    display: flex;
    gap: 0.7rem;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.social-icons a svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s ease;
}

.social-icons a:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-5px) rotate(6deg);
    box-shadow: 0 10px 20px -8px rgba(53, 87, 246, 0.6);
}

.social-icons a:hover svg {
    transform: scale(1.1);
}

@keyframes colIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}



.bottom-footer-bg {
    /* padding: 5px 55px; */
    background: #1b395f;
}

/* =======------============-----------==========------------==== */
.carousel-indicators [data-bs-target] {
    background-color: blue;
}

/* Who We are Section CSS */

/* faint decorative grid lines, echoes the reference background */

.who-we-are {
    position: relative;
    padding: 110px 0;
    background: #f5f5f7;
    overflow-x: hidden;
}

/* ---------- IMAGE COLLAGE ---------- */
.collage {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 640/572;
    margin: 0 auto;
}

.collage-img {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .55);
    opacity: 0;
    transform: translateY(40px) scale(.96);
    transition: opacity .8s ease, transform .8s ease;
}

.collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #2a2a2e;
    transition: transform .6s ease;
}

.collage-img:hover img {
    transform: scale(1.08);
}

.collage-main {
    left: 0;
    top: 0;
    width: 72%;
    height: 81%;
    z-index: 2;
}

.collage-secondary {
    left: 28%;
    top: 19%;
    width: 72%;
    height: 81%;
    z-index: 1;
    transition-delay: .15s;
}

.collage.in-view .collage-img {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* stat badge */
.stat-badge {
    position: absolute;
    left: 48%;
    top: 57%;
    width: 24%;
    height: 24%;
    background: var(--accent-2);
    color: #141414;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, .6);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease .5s, transform .7s ease .5s;
}

.collage.in-view .stat-badge {
    opacity: 1;
    transform: translateY(0);
}

.stat-badge:hover {
    animation: badge-pulse .6s ease;
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 15px 30px -8px rgba(0, 0, 0, .6);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(247, 195, 49, .25), 0 15px 30px -8px rgba(0, 0, 0, .6);
    }
}

.stat-number-row {
    font-weight: 800;
    font-size: clamp(20px, 3vw, 32px);
    line-height: 1;
}

.stat-label {
    font-size: clamp(10px, 1.1vw, 13px);
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: .02em;
}

/* ---------- RIGHT CONTENT ---------- */
.content-block {
    padding-left: 0;
}


.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    /* color: var(--text-white); */
    padding-bottom: 10px;
    position: relative;
    margin-bottom: 26px;
}

.eyebrow-corner {
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--accent-2);
    border-left: 2px solid var(--accent-2);
}

.eyebrow::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--accent-2);
}

.section-heading {
    font-weight: 700;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.22;
    margin-bottom: 22px;
}

.section-text {
    color: var(--text-muted);
    /* color: #5b7bff; */
    font-size: 16px;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 16px;
}

.dash {
    width: 24px;
    height: 2px;
    background: var(--accent-2);
    flex-shrink: 0;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .6s ease;
}

.feature-list.in-view .dash {
    transform: scaleX(1);
}

.feature-list li:nth-child(2) .dash {
    transition-delay: .15s;
}

/* agent info */
.agent-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.agent-avatar {
    position: relative;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
}

.agent-avatar::before {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1.5px dashed var(--accent-2);
    border-radius: 50%;
    animation: spin 12s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--bg-dark);
}

.agent-detail h6 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.agent-detail a {
    color: var(--accent-2);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color .25s ease;
}

.agent-detail a:hover {
    color: var(--text-white);
}

/* reveal-on-scroll for text elements */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.content-block.in-view .reveal-up {
    opacity: 1;
    transform: translateY(0);
}

.content-block.in-view .reveal-up.d1 {
    transition-delay: .1s;
}

.content-block.in-view .reveal-up.d2 {
    transition-delay: .2s;
}

.content-block.in-view .reveal-up.d3 {
    transition-delay: .3s;
}

.content-block.in-view .reveal-up.d4 {
    transition-delay: .4s;
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top-btn {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-2);
    color: #141414;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 12px 25px -6px rgba(0, 0, 0, .55);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease, transform .3s ease, background .25s ease;
    animation: float-btn 2.6s ease-in-out infinite;
}

.scroll-top-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background: var(--accent);
    animation-play-state: paused;
    transform: scale(1.08);
}

@keyframes float-btn {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.scroll-top-btn.show:hover {
    transform: translateY(0) scale(1.08);
}

/* ------- PROPERTIES --------- */
.types-section {
    padding: 100px 0;
}

.types-heading {
    text-align: center;
    font-weight: 800;
    font-size: clamp(32px, 4.2vw, 48px);
    color: #20232f;
    margin-bottom: 60px;
    /* opacity: 0; */
    transform: translateY(-18px);
    transition: opacity .7s ease, transform .7s ease;
}

.types-heading.in-view {
    opacity: 1;
    transform: translateY(0);
}

.types-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
}

.type-card {
    flex: 1 1 260px;
    max-width: 290px;
    background: var(--card-bg);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: default;
    /* opacity: 0; */
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease,
        background .3s ease, box-shadow .3s ease;
}

.types-grid.in-view .type-card {
    opacity: 1;
    transform: translateY(0);
}

/* staggered reveal delays */
.types-grid.in-view .type-card:nth-child(1) {
    transition-delay: .05s;
}

.types-grid.in-view .type-card:nth-child(2) {
    transition-delay: .12s;
}

.types-grid.in-view .type-card:nth-child(3) {
    transition-delay: .19s;
}

.types-grid.in-view .type-card:nth-child(4) {
    transition-delay: .26s;
}

.types-grid.in-view .type-card:nth-child(5) {
    transition-delay: .33s;
}

.types-grid.in-view .type-card:nth-child(6) {
    transition-delay: .40s;
}

.types-grid.in-view .type-card:nth-child(7) {
    transition-delay: .47s;
}

.type-card:hover {
    background: var(--card-bg-hover);
    box-shadow: 0 16px 30px -12px rgba(99, 102, 241, .28);
    transform: translateY(-6px) !important;
}

.icon-circle {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    /* background: var(--icon-bg); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--icon-color);
    box-shadow: 0 6px 14px -4px rgba(31, 35, 60, .12);
    transition: transform .45s ease;
}

.type-card:hover .icon-circle {
    transform: rotate(-8deg) scale(1.08);
}

.type-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 2px;
    color: #1c2033;
}

.type-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* =========== Property Details ===========  */

.brand {
    /* font-family: 'Poppins', sans-serif; */
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--accent-navy);
    letter-spacing: .03em;
}

.brand span {
    color: var(--accent-2);
}

.btn-navy {
    background: var(--accent-navy);
    border-color: var(--accent-navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: #fff;
}

.breadcrumb a {
    color: var(--accent-navy);
    text-decoration: none;
}

.hero-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 10px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: .2s ease;
}

.gallery-img:hover {
    transform: scale(1.01);
}

.gallery-main {
    grid-row: 1 / 3;
}

.gallery-last {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 29, 79, .58);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
}

.status-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    background: var(--accent-navy);
    color: #fff;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: .78rem;
}

.featured-badge {
    background: var(--accent-2);
}

.property-title {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    color: var(--accent-navy);
}

.location-line {
    color: var(--muted);
}

.price {
    color: var(--accent-navy);
    /* font-family: 'Poppins', sans-serif; */
    font-size: 1.7rem;
    font-weight: 700;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    height: 100%;
}

.stat-card i {
    color: var(--accent-2);
    font-size: 1.15rem;
}

.stat-value {
    font-weight: 700;
    color: var(--accent-navy);
}

.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(5, 29, 79, .05);
}

.section-title {
    color: var(--accent-navy);
    margin-bottom: 18px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 11px 0;
    border-bottom: 1px solid #edf0f5;
}

.feature-list li:last-child {
    border-bottom: 0;
}

.feature-list i {
    color: var(--accent-2);
    width: 24px;
}

.sticky-contact {
    position: sticky;
    top: 90px;
}

.contact-hero {
    margin-top: 195px;
}

.contact-card {
    /* background: var(--navy); */
    background: #e6e6eb;
    color: #000000;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(5, 29, 79, .18);
    border: 1px solid #8080802b;
}

.contact-card .form-control,
.contact-card .form-select {
    border: 0;
    padding: .8rem .9rem;
}

.map-box {
    min-height: 270px;
    border-radius: 14px;
    background:
        linear-gradient(rgba(5, 29, 79, .08), rgba(5, 29, 79, .08)),
        repeating-linear-gradient(45deg, #e9eef5 0, #e9eef5 10px, #f7f9fc 10px, #f7f9fc 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-navy);
    font-weight: 600;
}

.similar-card {
    transition: .2s ease;
}

.similar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(5, 29, 79, .10) !important;
}

.similar-img {
    height: 180px;
    object-fit: cover;
}

/* NEW HEADER BANNER CSS */

.fs-xs {
    font-size: 0.72rem;
}

.tracking-wider {
    letter-spacing: 0.15em;
}

.tracking-widest {
    letter-spacing: 0.22em;
}

/* Header & Navigation */
.luxury-header {
    background: linear-gradient(180deg, rgba(7, 17, 27, 0.95) 0%, rgba(7, 17, 27, 0.75) 60%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.text-hover-gold:hover {
    color: #d4af37 !important;
}


/* Contact Button */
.btn-contact-outline {
    border: 1px solid #d4af37;
    color: #ffffff;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-contact-outline:hover {
    background: linear-gradient(135deg, #dfba73 0%, #c59b48 50%, #9e7529 100%);
    color: #07111b;
    border-color: transparent;
}

/* Hero Carousel */
.hero-slider .carousel-item {
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    color: #dfba73;
    font-weight: 500;
}

.hero-title {
    /* font-family: 'Playfair Display', serif; */
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.12;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.6;
}

.btn-gold-solid {
    background: linear-gradient(135deg, #dfba73 0%, #c59b48 50%, #9e7529 100%);
    color: #121212;
    border: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
    color: #000;
}

/* Side Text Badge */
.hero-side-badge {
    display: inline-flex;
    flex-direction: column;
    text-align: right;
    border-right: 1.5px solid rgba(212, 175, 55, 0.5);
    padding-right: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    line-height: 1.8;
}

/* Bottom Category Glass Bar */
.quick-category-strip {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    background: rgba(8, 18, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.quick-cat-item:last-child {
    border-right: none;
}

.quick-cat-item:hover {
    background: rgba(212, 175, 55, 0.12);
}

.quick-cat-icon {
    font-size: 1.8rem;
    color: #d4af37;
}

.quick-cat-title {
    display: block;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.quick-cat-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
}

/* Bottom Ticker */
.global-country-ticker {
    background-color: #04090e;
    color: rgba(255, 255, 255, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.global-country-ticker .sep {
    color: rgba(255, 255, 255, 0.2);
}

.global-country-ticker .country-list span:hover {
    color: #d4af37;
    cursor: pointer;
}


.bg-dark-subtle {
    background-color: #000000 !important;
}



/* ===== ABOUT-US PAGE CSS ===== */
/* Buttons & Badges */
.btn-varessa-primary {
    background: var(--gradient-btn);
    color: #FFFFFF;
    border: none;
    padding: 0.8rem 1.85rem;
    border-radius: 0.65rem;
    box-shadow: 0 10px 25px -5px rgba(15, 82, 186, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-varessa-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -4px rgba(0, 163, 255, 0.5);
    color: #FFFFFF;
}

.btn-varessa-outline {
    background: transparent;
    color: #FFFFFF;
    border: 1.5px solid rgba(0, 163, 255, 0.65);
    padding: 0.75rem 1.75rem;
    border-radius: 0.65rem;
    transition: all 0.3s ease;
}

.btn-varessa-outline:hover {
    background: rgba(0, 163, 255, 0.15);
    border-color: #00A3FF;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.varessa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 163, 255, 0.12);
    border: 1px solid rgba(0, 163, 255, 0.35);
    color: white;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.4rem 1.15rem;
    border-radius: 50rem;
}

.varessa-badge-light {
    background: #EBF4FE;
    border: 1px solid #D8E6F8;
    color: #0F52BA;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 50rem;
}

/* Hero Section */
.hero-container {
    background-image: linear-gradient(180deg, rgba(6, 16, 28, 0.37) 0%, rgba(5, 14, 24, 0.432) 40%, rgba(5, 14, 24, 0.555) 100%), url(/images/banner/banner-3.png);
    color: #FFFFFF;
    position: relative;
    padding: 8.5rem 0 6rem 0;
    overflow: hidden;
    margin-top: 180px;
}

.hero-glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.18) 0%, rgba(15, 82, 186, 0.05) 50%, transparent 75%);
    top: -15%;
    right: -5%;
    border-radius: 50%;
    pointer-events: none;
}

.hero-card {
    background: rgba(11, 42, 82, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 163, 255, 0.35);
    border-radius: 1.35rem;
    box-shadow: 0 25px 60px -15px rgba(4, 16, 33, 0.85);
}

/* Cards & Containers */
.varessa-card {
    background: #FFFFFF;
    border: 1px solid #D8E6F8;
    border-radius: 1.15rem;
    transition: all 0.35s ease;
    box-shadow: 0 4px 18px rgba(7, 30, 61, 0.04);
}

.varessa-card:hover {
    transform: translateY(-5px);
    border-color: #8CC4FF;
    box-shadow: 0 18px 40px -10px rgba(15, 82, 186, 0.16);
}

/* Discovery Stepper */
.discovery-step {
    cursor: pointer;
    padding: 1.1rem 0.85rem;
    background: #FFFFFF;
    border: 1.5px solid #D8E6F8;
    border-radius: 0.95rem;
    text-align: center;
    transition: all 0.25s ease;
    color: #475569;
}

.discovery-step:hover {
    border-color: #0F52BA;
    color: #0F52BA;
    transform: translateY(-3px);
}

.discovery-step.active {
    background: #071E3D;
    color: #FFFFFF;
    border-color: #00A3FF;
    box-shadow: 0 10px 25px -8px rgba(15, 82, 186, 0.4);
}

.discovery-step.active i {
    color: #00A3FF !important;
}

/* 15-Point Verification Grid */
.verify-pill {
    background: #FFFFFF;
    border: 1px solid #D8E6F8;
    border-radius: 0.85rem;
    padding: 0.95rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    transition: all 0.25s ease;
}

.verify-pill:hover {
    background: #EBF4FE;
    border-color: #0F52BA;
    transform: translateX(4px);
}

.verify-pill i {
    font-size: 1.25rem;
    color: #0F52BA;
    background: rgba(15, 82, 186, 0.1);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.verify-pill:hover i {
    background: #0F52BA;
    color: #FFFFFF;
}

/* Chip pills */
.market-chip {
    background: #FFFFFF;
    border: 1px solid #D8E6F8;
    color: #071E3D;
    padding: 0.55rem 1.2rem;
    border-radius: 50rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.market-chip:hover {
    background: #0F52BA;
    color: #FFFFFF;
    border-color: #0F52BA;
    transform: translateY(-2px);
}

/* Custom form controls */
.form-control-varessa,
.form-select-varessa {
    border: 1.5px solid #D8E6F8;
    padding: 0.75rem 1rem;
    border-radius: 0.65rem;
    font-size: 0.95rem;
}

.form-control-varessa:focus,
.form-select-varessa:focus {
    border-color: #0F52BA;
    box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.2);
}

/* Modal styling */
.modal-varessa .modal-header {
    background: #071E3D;
    border-bottom: 1px solid rgba(0, 163, 255, 0.25);
}

/* < !-- Search Bar With Filters CSS --> */
.hero-bg {
    background: linear-gradient(180deg, #eef5f9 0%, #ffffff 100%);
}

.property-card-img {
    height: 220px;
    object-fit: cover;
}

.badge-float {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.compare-dock {
    transition: transform 0.25s ease-in-out;
    transform: translateY(100%);
    z-index: 1050;
}

.compare-dock.visible {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .hero-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 150px;
    }

    .gallery-main {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .hero-gallery>div:nth-child(4) {
        display: none;
    }

    .sticky-contact {
        position: static;
    }
}

@media (min-width:992px) {

    /* 1. Show the dropdown on hover */
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        left: 0;
    }

    /* 2. Invisible bridge to keep hover active while moving the mouse */
    .navbar .nav-item.dropdown .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -10px;
        /* Covers the area above the dropdown card */
        left: 0;
        right: 0;
        height: 10px;
        border: none;
    }

    .navbar .nav-link,
    .navbar .nav-link:focus,
    .navbar .nav-link:active,
    .navbar .nav-link.show,
    .navbar .dropdown-toggle:focus,
    .navbar .dropdown-toggle:active {
        outline: none !important;
        /* border: none !important; */
        box-shadow: none !important;
    }

    .content-block {
        padding-left: 30px;
    }

    .collage {
        margin-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .footer-col,
    .footer-heading::after {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .footer-links a,
    .more-link .chevron,
    .subscribe-btn,
    .subscribe-btn::after,
    .social-icons a,
    .social-icons a svg,
    .footer-subnav a::after {
        transition: none !important;
    }

    .partner-item,
    .partners-heading {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    * {
        animation: none !important;
        transition: none !important;
        transition-duration: 0.01ms !important;
    }

    .why-heading,
    .feature-item {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .feature-item,
    .feature-icon,
    .icon-bg,
    .feature-title::after {
        transition: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .quick-category-strip {
        position: relative;
    }

    .quick-cat-item {
        min-width: 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}


@media (max-width: 991px) {
    .partner-item {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .partner-name,
    .partner-sub {
        white-space: normal;
    }
}


@media (max-width: 767px) {
    .feature-item {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 991px) {
    .footer-col {
        text-align: left;
    }
}

.call-back-form {
    background: white;
    border-radius: 14px;
}


/* =========== Property Details ===========  */

.brand {
    /* font-family: 'Poppins', sans-serif; */
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--accent-navy);
    letter-spacing: .03em;
}

.brand span {
    color: var(--accent-2);
}

.btn-navy {
    background: var(--accent-navy);
    border-color: var(--accent-navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: #fff;
}

.breadcrumb a {
    color: var(--accent-navy);
    text-decoration: none;
}

.hero-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 10px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: .2s ease;
}

.gallery-img:hover {
    transform: scale(1.01);
}

.gallery-main {
    grid-row: 1 / 3;
}

.gallery-last {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 29, 79, .58);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
}

.status-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    background: var(--accent-navy);
    color: #fff;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: .78rem;
}

.featured-badge {
    background: var(--accent-2);
}

.property-title {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    color: var(--accent-navy);
}

.location-line {
    color: var(--text-muted);
}

.price {
    color: var(--accent-navy);
    /* font-family: 'Poppins', sans-serif; */
    font-size: 1.7rem;
    font-weight: 700;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    height: 100%;
}

.stat-card i {
    color: var(--accent-2);
    font-size: 1.15rem;
}

.stat-value {
    font-weight: 700;
    color: var(--accent-navy);
}

.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(5, 29, 79, .05);
}

.section-title {
    color: var(--accent-navy);
    margin-bottom: 18px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 11px 0;
    border-bottom: 1px solid #edf0f5;
}

.feature-list li:last-child {
    border-bottom: 0;
}

.feature-list i {
    color: var(--accent-2);
    width: 24px;
}

.sticky-contact {
    position: sticky;
    top: 90px;
}

.contact-card {
    /* background: var(--navy); */
    background: #e6e6eb;
    color: #000000;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(5, 29, 79, .18);
    border: 1px solid #8080802b;
}

.contact-card .form-control,
.contact-card .form-select {
    border: 0;
    padding: .8rem .9rem;
}

.map-box {
    min-height: 270px;
    border-radius: 14px;
    background:
        linear-gradient(rgba(5, 29, 79, .08), rgba(5, 29, 79, .08)),
        repeating-linear-gradient(45deg, #e9eef5 0, #e9eef5 10px, #f7f9fc 10px, #f7f9fc 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-navy);
    font-weight: 600;
}

.similar-card {
    transition: .2s ease;
}

.similar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(5, 29, 79, .10) !important;
}

.similar-img {
    height: 180px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .hero-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 150px;
    }

    .gallery-main {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .hero-gallery>div:nth-child(4) {
        display: none;
    }

    .sticky-contact {
        position: static;
    }
}

/* ========== Property Search with Filters ========= */

/* ---------- Search & Filter Card ---------- */
.search-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    box-shadow: 0 18px 40px rgba(5, 29, 79, .08);
}

.search-eyebrow {
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 600;
    color: var(--gold);
}

.search-input-group .input-group-text {
    border-color: var(--border-soft);
}

.search-input-group .form-control {
    border-color: var(--border-soft);
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.search-input-group .form-control:focus {
    box-shadow: none;
    border-color: var(--navy);
}

.btn-navy {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transition: background .15s ease, transform .1s ease;
}

.btn-navy:hover,
.btn-navy:focus {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: #fff;
}

.btn-navy:active {
    transform: scale(.96);
}

.btn-navy.pulse i {
    animation: searchPulse .4s ease;
}

@keyframes searchPulse {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Filter pills */
.filter-pill {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    color: var(--navy);
    border-radius: 999px;
    padding: .5rem 1rem;
    font-size: .85rem;
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
}

.filter-pill:hover {
    background: #eef1f8;
    color: var(--navy);
    transform: translateY(-1px);
}

.filter-pill:active {
    transform: translateY(0) scale(.96);
}

.filter-pill.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    box-shadow: 0 6px 14px rgba(5, 29, 79, .25);
}

.filter-pill .count-dot {
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: .68rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-pills-row {
    /* overflow-x: auto; */
    padding-bottom: 2px;
}

.filter-pills-row::-webkit-scrollbar {
    height: 0;
}

.filter-menu {
    min-width: 270px;
    border: 1px solid var(--border-soft);
    border-radius: .9rem;
    box-shadow: 0 16px 40px rgba(5, 29, 79, .14);
    padding: 1rem;
    transform-origin: top left;
}

.filter-menu.show {
    animation: menuIn .16s cubic-bezier(.2, .8, .3, 1) both;
}

@keyframes menuIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.filter-menu .form-check {
    transition: transform .12s ease;
}

.filter-menu .form-check:hover {
    transform: translateX(2px);
}

.filter-menu .form-check {
    margin-bottom: .4rem;
}

.filter-menu-title {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .6rem;
}

.clear-link {
    color: var(--text-muted);
    font-size: .85rem;
    text-decoration: none;
    white-space: nowrap;
}

.clear-link:hover {
    color: #b3261e;
}

/* Active filter chips */
.chip {
    background: var(--navy-soft);
    color: var(--navy);
    border-radius: 999px;
    padding: .3rem .5rem .3rem .8rem;
    font-size: .8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    animation: chipIn .22s cubic-bezier(.2, .8, .3, 1) both;
    transition: opacity .15s ease, transform .15s ease;
}

.chip.chip-out {
    opacity: 0;
    transform: scale(.8);
}

@keyframes chipIn {
    from {
        opacity: 0;
        transform: scale(.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.chip button {
    background: none;
    border: none;
    color: var(--navy);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background .15s ease, transform .15s ease;
}

.chip button:hover {
    background: rgba(5, 29, 79, .15);
    transform: rotate(90deg);
}

/* Dual range slider */
.range-slider {
    position: relative;
    height: 34px;
}

.range-slider input[type="range"] {
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--navy);
    cursor: pointer;
    margin-top: -6px;
    transition: transform .12s ease, box-shadow .12s ease;
}

.range-slider input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.25);
    box-shadow: 0 0 0 5px rgba(5, 29, 79, .15);
}

.range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: all;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--navy);
    cursor: pointer;
}

.range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.range-track {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-soft);
    border-radius: 2px;
}

.range-track-fill {
    position: absolute;
    top: 16px;
    height: 4px;
    background: var(--navy);
    border-radius: 2px;
    transition: left .18s ease, width .18s ease;
}

.range-track-fill.no-transition {
    transition: none;
}

/* ---------- Results ---------- */
.results-count {
    color: var(--text-muted);
}

.icon-btn-translucent {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .75rem;
    backdrop-filter: blur(2px);
}

.icon-btn-translucent:hover {
    background: rgba(255, 255, 255, .4);
    color: #fff;
}

.property-card {
    transition: transform .18s ease, box-shadow .18s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(5, 29, 79, .12);
}

.price-tag {
    color: var(--navy);
    font-weight: 700;
}

/* Filter/search fade transitions for results */
.property-item {
    opacity: 1;
    transform: scale(1);
    transition: opacity .22s ease, transform .22s ease;
}

.property-item.leaving,
.property-item.entering {
    opacity: 0;
    transform: scale(.94);
}

/* Staggered reveal on first page load */
#propertyGrid.loaded .property-item {
    animation: cardIn .5s cubic-bezier(.2, .7, .3, 1) both;
}

#propertyGrid.loaded .property-item:nth-child(1) {
    animation-delay: .02s;
}

#propertyGrid.loaded .property-item:nth-child(2) {
    animation-delay: .08s;
}

#propertyGrid.loaded .property-item:nth-child(3) {
    animation-delay: .14s;
}

#propertyGrid.loaded .property-item:nth-child(4) {
    animation-delay: .20s;
}

#propertyGrid.loaded .property-item:nth-child(5) {
    animation-delay: .26s;
}

#propertyGrid.loaded .property-item:nth-child(6) {
    animation-delay: .32s;
}

#propertyGrid.loaded .property-item:nth-child(7) {
    animation-delay: .38s;
}

#propertyGrid.loaded .property-item:nth-child(8) {
    animation-delay: .44s;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search card + heading entrance */
.search-card {
    animation: fadeUp .5s ease both;
}

#resultsBar {
    animation: fadeUp .5s ease .12s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-count {
    transition: opacity .15s ease;
}

#noResults {
    display: none;
}

#noResults.show {
    display: block;
    animation: fadeUp .35s ease both;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

.button:hover {
    background: #5e41de4d;
}

.button:hover .svg-icon {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ====================== DASHBOARD STYLE CSS HERE ====================== */

.metric-card {
    background: #fff;
    border: 1px solid var(--border-soft, #e2e8f0);
    border-radius: 0.85rem;
    padding: 1.1rem;
    box-shadow: 0 4px 14px rgba(5, 29, 79, .03);
    transition: transform 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
}

.metric-label {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #64748b);
}

.metric-value {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--navy, #051d4f);
    line-height: 1.2;
    margin: 0.3rem 0;
}

.chart-card {
    background: #fff;
    border: 1px solid var(--border-soft, #e2e8f0);
    border-radius: 0.85rem;
    padding: 1.25rem;
    box-shadow: 0 4px 14px rgba(5, 29, 79, .03);
    height: 100%;
}

.chart-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy, #051d4f);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Global Search Box Styling */
.universal-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.universal-search-input {
    background: #ffffff;
    border: 1px solid var(--border-soft, #e2e8f0);
    border-radius: 2rem;
    padding: 0.6rem 1.2rem 0.6rem 2.6rem;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.universal-search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
    outline: none;
}

.search-icon-inside {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
}

.search-results-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    z-index: 1050;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.search-result-item:hover {
    background: #f8fafc;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
}

.category-pill-btn {
    cursor: pointer;
    background-color: #f8f9fa;
    border: 1.5px solid #dee2e6;
    color: #495057;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

.category-pill-btn:hover {
    background-color: #eef2ff;
    border-color: #b4c2ff;
}

.btn-check:checked+.category-pill-btn {
    background-color: #5b7bff;
    border-color: #5b7bff;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(91, 123, 255, 0.3);
}

/* Custom Tag / Box Design */
.custom-prop-tag {
    cursor: pointer;
    /* background-color: #fcfbf4; */
    border: 1.5px solid #d5d5d5;
    color: #4a4a4a;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

/* Unselected checkbox icon */
.custom-prop-tag .check-icon {
    width: 17px;
    height: 17px;
    border: 1.5px solid #dfd8c5;
    border-radius: 4px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Selected state jab input checked ho (#5b7bff use kiya gaya hai) */
.btn-check:checked+.custom-prop-tag {
    background-color: rgba(91, 123, 255, 0.1);
    /* Light tint of #5b7bff */
    border-color: #5b7bff;
    color: #5b7bff;
}

/* Selected checkbox icon */
.btn-check:checked+.custom-prop-tag .check-icon {
    background-color: #5b7bff;
    border-color: #5b7bff;
}

.btn-check:checked+.custom-prop-tag .check-icon::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Budget Dual Slider Container */
.budget-slider-wrapper {
    position: relative;
    padding: 10px 12px 25px 12px;
}

.budget-display-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
}

.slider-track-container {
    position: relative;
    width: 100%;
    height: 6px;
    margin: 15px 0 25px 0;
}

/* Base grey/light track */
.slider-base-bar {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #e5e5e5;
    border-radius: 4px;
    top: 50%;
    transform: translateY(-50%);
}

/* Active colored track (#5b7bff) */
.slider-active-bar {
    position: absolute;
    height: 5px;
    background-color: #5b7bff;
    border-radius: 4px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* Native Range Input styling overlap */
.range-input-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    margin: 0;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    z-index: 2;
}

/* WebKit (Chrome, Safari, Edge) Thumb */
.range-input-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(91, 123, 255, 0.22);
    /* Outer halo ring */
    border: none;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 0 1px rgba(91, 123, 255, 0.15);
    background-image: radial-gradient(circle, #5b7bff 4px, transparent 5px);
    /* Center dot */
    transition: transform 0.1s ease;
}

.range-input-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Firefox Thumb */
.range-input-slider::-moz-range-thumb {
    pointer-events: auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(91, 123, 255, 0.22);
    border: none;
    cursor: pointer;
    background-image: radial-gradient(circle, #5b7bff 4px, transparent 5px);
}

/* Scale Ticks & Labels */
.budget-scale-ticks {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #7a7a7a;
    font-weight: 500;
}

.tick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    transform: translateX(-50%);
}

.tick-item:first-child {
    transform: translateX(0);
    align-items: flex-start;
}

.tick-item:last-child {
    transform: translateX(-100%);
    align-items: flex-end;
}

.tick-mark {
    width: 1.5px;
    height: 7px;
    background-color: #baa888;
    margin-bottom: 4px;
}

/* Amenity Square Card */
.custom-amenity-card {
    position: relative;
    cursor: pointer;
    background-color: #fff;
    border: 1.5px solid #d4d4d4;
    color: #4a4a4a;
    width: 105px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px 8px;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

/* Top-Left Corner Checkbox Icon */
.custom-amenity-card .card-check-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 16px;
    height: 16px;
    border: 1.5px solid #dfd8c5;
    border-radius: 3px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center SVG Icon */
.custom-amenity-card .amenity-icon-svg {
    width: 32px;
    height: 32px;
    stroke: #333333;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 6px;
    transition: stroke 0.2s ease-in-out;
}

/* Amenity Title Label */
.custom-amenity-card .amenity-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.15;
    color: #4a4a4a;
}


/* Selected State (#5b7bff) */
.btn-check:checked+.custom-amenity-card {
    background-color: rgba(91, 123, 255, 0.1);
    border-color: #5b7bff;
}

.btn-check:checked+.custom-amenity-card .amenity-text {
    color: #5b7bff;
    font-weight: 600;
}

.btn-check:checked+.custom-amenity-card .amenity-icon-svg {
    stroke: #5b7bff;
}

/* Selected State Checkbox Fill & Tick */
.btn-check:checked+.custom-amenity-card .card-check-icon {
    background-color: #5b7bff;
    border-color: #5b7bff;
}

.btn-check:checked+.custom-amenity-card .card-check-icon::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}


/* Modal form scroll fix */
#searchModal .modal-content form {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3.5rem);
    height: 100%;
}

#searchModal .modal-body {
    overflow-y: auto !important;
    max-height: calc(100vh - 200px);
}