/* ==========================================================================
   EliteEstate USA - Premium Real Estate Template
   ========================================================================== */

/* --- Fonts & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0d1b2a;
    /* Dark Blue */
    --secondary-color: #1b263b;
    /* Slightly lighter blue */
    --accent-color: #d4af37;
    /* Gold */
    --accent-hover: #b89326;
    /* Darker Gold */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* --- Global Styles --- */
body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
}

.motion-section {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.motion-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children>* {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.motion-section.is-visible .stagger-children>* {
    opacity: 1;
    transform: translateY(0);
}

.motion-section.is-visible .stagger-children>*:nth-child(1) {
    transition-delay: 0.05s;
}

.motion-section.is-visible .stagger-children>*:nth-child(2) {
    transition-delay: 0.12s;
}

.motion-section.is-visible .stagger-children>*:nth-child(3) {
    transition-delay: 0.19s;
}

.motion-section.is-visible .stagger-children>*:nth-child(4) {
    transition-delay: 0.26s;
}

.motion-section.is-visible .stagger-children>*:nth-child(5) {
    transition-delay: 0.33s;
}

.motion-section.is-visible .stagger-children>*:nth-child(6) {
    transition-delay: 0.4s;
}

/* --- Buttons --- */
.btn-gold {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-weight: 500;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-fast);
    animation: goldPulse 3.2s ease-in-out infinite;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transition: var(--transition-slow);
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold:hover::before {
    left: 0;
}

@keyframes goldPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.28);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(212, 175, 55, 0);
    }
}

.btn-outline-gold {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-outline-gold:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* --- Loader --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
    background:
        radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 30%),
        linear-gradient(180deg, #0d1b2a 0%, #142235 100%);
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    display: none;
}

.preloader-shell {
    width: min(420px, calc(100vw - 48px));
    text-align: center;
}

.preloader-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(26px);
}

.preloader-logo img {
    width: min(220px, 55vw);
    filter: invert(1) brightness(1.2);
}

.preloader-line-track {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    border-radius: 999px;
}

.preloader-line {
    width: 0;
    height: 100%;
    background: var(--accent-color);
    transform-origin: left center;
}

.cursor-glow {
    position: fixed;
    left: 0;
    top: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1025;
    opacity: 0;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.06) 38%, rgba(212, 175, 55, 0) 72%);
    mix-blend-mode: screen;
}

@media (hover: none), (pointer: coarse) {
    .cursor-glow {
        display: none !important;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Navbar --- */
.navbar {
    background-color: transparent;
    padding: 14px 0;
    transition: all 0.4s ease;
    z-index: 1030;
}

.navbar.scrolled {
    background-color: var(--primary-color);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    flex-shrink: 0;
}

/* Navbar Logo Image */
.navbar-logo {
    height: 108px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    /* mix-blend-mode: screen makes white bg transparent on dark surfaces */
    mix-blend-mode: screen;
    filter: invert(1) brightness(1.2);
    transition: filter 0.3s ease, transform 0.3s ease;
    border-radius: 4px;
}

.navbar-logo:hover {
    filter: invert(1) brightness(1.2) sepia(1) saturate(3) hue-rotate(5deg);
    transform: scale(1.05);
}

/* Footer Logo Image */
.footer-logo-img {
    height: 75px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
    /* Gold toned logo on dark footer */
    filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg) brightness(1.1);
    transition: filter 0.3s ease, transform 0.3s ease;
    mix-blend-mode: screen;
}

.footer-logo-img:hover {
    filter: invert(1) brightness(1.3);
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    font-weight: 500;
    margin: 0 6px;
    position: relative;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 10px;
}

.navbar-toggler i {
    color: var(--white);
    font-size: 24px;
}

/* Navbar special buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.nav-actions .btn {
    padding: 10px 16px;
    font-size: 0.96rem;
    white-space: nowrap;
}

.btn-nav-call {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.96rem;
    white-space: nowrap;
}

.btn-nav-call:hover {
    background: var(--white);
    color: var(--primary-color);
}

.navbar-collapse {
    flex-wrap: nowrap;
}

.navbar-nav {
    flex-wrap: nowrap;
}

@media (min-width: 992px) {
    .navbar .container {
        flex-wrap: nowrap;
        gap: 18px;
    }

    .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }

    .navbar-nav {
        gap: 2px;
    }
}

/* --- Hero Section --- */
.hero-slider {
    height: 100vh;
    position: relative;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 920px;
    background: var(--primary-color);
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transform: scale(1.08);
    transition: transform 7s ease;
}

.swiper-slide-active.hero-slide {
    transform: scale(1);
}

/* Gradient Overlay */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.5) 50%, rgba(13, 27, 42, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    width: min(700px, calc(100% - 32px));
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    z-index: 1;
    opacity: 0.45;
    pointer-events: none;
}

.hero-orb-one {
    width: 320px;
    height: 320px;
    right: 8%;
    top: 18%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.34), transparent 68%);
    animation: floatBlob 10s ease-in-out infinite;
}

.hero-orb-two {
    width: 220px;
    height: 220px;
    left: -40px;
    bottom: 14%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 72%);
    animation: floatBlob 12s ease-in-out infinite reverse;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.7rem, 5.4vw, 4.75rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.05;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 620px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-slider-controls {
    position: absolute;
    right: 4.5%;
    bottom: 44px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.hero-slider-arrow:hover {
    transform: translateY(-2px);
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.7);
}

.hero-slider-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
    background: var(--accent-color);
    transform: scale(1.15);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
    max-width: 640px;
}

.hero-metric {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.14);
}

.hero-metric strong {
    display: block;
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.hero-metric span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

body.is-ready .hero-content>* {
    opacity: 0;
    transform: translateY(26px);
    animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-ready .hero-content>*:nth-child(1) {
    animation-delay: 0.05s;
}

body.is-ready .hero-content>*:nth-child(2) {
    animation-delay: 0.14s;
}

body.is-ready .hero-content>*:nth-child(3) {
    animation-delay: 0.23s;
}

body.is-ready .hero-content>*:nth-child(4) {
    animation-delay: 0.32s;
}

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

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

    50% {
        transform: translateY(-22px);
    }
}

/* Advanced Search Bar */
.search-container {
    position: relative;
    margin-top: -28px;
    z-index: 10;
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--accent-color);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.search-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.12);
}

.search-container .form-control,
.search-container .form-select {
    height: 50px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    box-shadow: none;
}

.search-container .form-control:focus,
.search-container .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.search-container label {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.search-container .btn-gold {
    height: 50px;
    width: 100%;
    margin-top: 24px;
    font-size: 16px;
    text-transform: uppercase;
}

/* --- Property Cards --- */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--text-light);
    margin-top: 15px;
    font-size: 1.1rem;
}

.property-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 26px 48px rgba(9, 18, 31, 0.14);
}

.property-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.property-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.34), transparent 55%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.property-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.property-card:hover .property-img-wrapper img {
    transform: scale(1.08);
}

.property-card:hover .property-img-wrapper::after {
    opacity: 1;
}

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.property-price {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 20px;
    z-index: 2;
    box-shadow: var(--shadow-md);
    transition: background-color 0.35s ease, transform 0.35s ease;
}

.property-card:hover .property-price {
    background: var(--accent-color);
    transform: translateY(-4px);
}

.property-details {
    padding: 35px 20px 20px;
}

.property-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.property-title a {
    color: var(--text-dark);
}

.property-title a:hover {
    color: var(--accent-color);
}

.property-location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-location i {
    color: var(--accent-color);
}

.property-amenities {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.amenity i {
    color: var(--primary-color);
}

/* --- Services Section --- */
.service-section {
    background-color: var(--bg-light);
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(13, 27, 42, 0.05);
}

.service-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    transition: var(--transition-slow);
    z-index: -1;
}

.service-card:hover::after {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 44px rgba(12, 27, 42, 0.14);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 25px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    color: var(--white);
}

.service-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.service-card:hover h4,
.service-card:hover p {
    color: var(--white);
}

.about-snippet {
    border-radius: 26px;
    overflow: hidden;
    position: relative;
}

/* --- RealVitalize Spotlight --- */
.realvitalize-section {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 34%),
        linear-gradient(135deg, #0d1b2a 0%, #17273b 55%, #22344b 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.realvitalize-section.section-padding {
    padding: 72px 0;
}

.realvitalize-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 45%);
    pointer-events: none;
}

.realvitalize-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 34px;
    backdrop-filter: blur(8px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

.realvitalize-card::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%);
    pointer-events: none;
}

.realvitalize-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(212, 175, 55, 0.14);
    color: #f3d78c;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.realvitalize-card h2,
.realvitalize-card h3,
.realvitalize-card h4 {
    color: var(--white);
}

.realvitalize-card p {
    color: rgba(255, 255, 255, 0.82);
}

.realvitalize-lead {
    font-size: 1rem;
    line-height: 1.72;
    margin-bottom: 18px;
    max-width: 680px;
}

.realvitalize-summary {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.20);
    border-radius: 20px;
    padding: 14px 18px;
    margin-bottom: 18px;
}

.realvitalize-summary strong {
    color: #f5db92;
}

.realvitalize-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.realvitalize-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 0;
}

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

.realvitalize-list i {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.16);
    color: #f2c55c;
    margin-top: 2px;
}

.realvitalize-sidecard {
    background: var(--white);
    color: var(--text-dark);
    border-radius: 24px;
    padding: 26px;
    height: 100%;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.realvitalize-sidecard h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.realvitalize-sidecard p {
    color: var(--text-light);
    line-height: 1.68;
}

.realvitalize-pill {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.realvitalize-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0 18px;
}

.realvitalize-benefit {
    background: #f8f6f1;
    border-radius: 18px;
    padding: 14px 16px;
}

.realvitalize-benefit strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.realvitalize-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.before-after-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: center;
}

.before-after-copy {
    padding-right: 18px;
}

.before-after-kicker {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.before-after-copy h3 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.12;
    margin-bottom: 18px;
}

.before-after-copy p {
    font-size: 1.03rem;
    line-height: 1.85;
}

.before-after-slider {
    position: relative;
    min-height: 560px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(10, 19, 33, 0.16);
    user-select: none;
    touch-action: none;
    background: #d8d8d8;
}

.before-after-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image-wrap {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    height: 100%;
}

.after-image {
    width: 100%;
}

.before-after-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.18), transparent 42%);
    pointer-events: none;
}

.before-after-label {
    position: absolute;
    top: 24px;
    z-index: 3;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(13, 27, 42, 0.72);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.before-label {
    right: 24px;
    left: auto;
}

.after-label {
    left: 24px;
    right: auto;
}

.before-after-handle {
    position: absolute;
    top: 0;
    left: calc(50% - 26px);
    width: 52px;
    height: 100%;
    border: 0;
    background: transparent;
    z-index: 4;
    cursor: ew-resize;
}

.before-after-handle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(13, 27, 42, 0.14);
}

.before-after-handle span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.before-after-handle span::before,
.before-after-handle span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.before-after-handle span::before {
    left: 13px;
    transform: translateY(-50%) rotate(-135deg);
}

.before-after-handle span::after {
    right: 13px;
    transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 991px) {
    .realvitalize-card {
        padding: 32px 24px;
    }

    .realvitalize-sidecard {
        margin-top: 24px;
    }

    .realvitalize-list {
        grid-template-columns: 1fr;
    }

    .realvitalize-section.section-padding {
        padding: 60px 0;
    }
}

/* --- About Snippet (Home) --- */
.about-snippet img {
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.9s ease;
}

.motion-section.is-visible .about-snippet img {
    transform: scale(1.03);
}

.about-text h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 30px;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.stat-item h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.stat-item h2 span {
    color: var(--accent-color);
    margin-left: 2px;
}

.stat-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
}

/* --- Why Choose Us --- */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

.feature-list li:last-child {
    border-bottom: 0;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 14px;
    margin: 0;
}

/* --- Testimonials --- */
.testimonial-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.testimonial-section .section-title h2,
.testimonial-section .section-title p {
    color: var(--white);
}

.testimonials-slider {
    overflow: hidden;
}

.testimonials-slider .swiper-slide {
    height: auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px 26px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin: 12px 0;
    backdrop-filter: blur(8px);
    height: calc(100% - 24px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-color);
    object-fit: cover;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-name {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin: 0;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
}

/* --- Page Headers --- */
.page-header {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.7);
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.page-header-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Properties Grid --- */
.filters-bar {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.filters-bar .form-select {
    border: 1px solid #e0e0e0;
    height: 45px;
}

/* --- Contact Page --- */
.contact-info-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.contact-info-box h3 {
    color: var(--white);
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-detail i {
    color: var(--accent-color);
    font-size: 24px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-detail p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.contact-detail strong {
    display: block;
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.contact-form .form-control {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 12px 15px;
    border-radius: 4px;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 40px;
}

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    gap: 15px;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
}

/* --- Scroll To Top --- */
#topBtn {
    position: fixed;
    bottom: 30px;
    right: 104px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

#topBtn.show {
    opacity: 1;
    visibility: visible;
}

#topBtn:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .navbar {
        background: var(--primary-color) !important;
        padding: 10px 0 !important;
    }

    .navbar-logo {
        height: 102px;
        max-width: 260px;
    }

    .navbar-collapse {
        background: var(--primary-color);
        padding: 20px;
        border-radius: 8px;
        margin-top: 10px;
    }

    .hero-content {
        left: 5%;
        right: 5%;
        width: auto;
        top: 48%;
        max-width: 620px;
    }

    .hero-content h1 {
        font-size: 2.9rem;
    }

    .search-container {
        margin-top: 22px;
        border-radius: 22px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        max-width: 340px;
    }

    .hero-section {
        min-height: auto;
        padding: 150px 0 60px;
    }

    .hero-slider {
        height: 100%;
        min-height: 720px;
    }

    .hero-slider-controls {
        right: 5%;
        bottom: 26px;
    }

    .before-after-showcase {
        grid-template-columns: 1fr;
    }

    .before-after-copy {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .navbar-logo {
        height: 84px;
        max-width: 220px;
    }

    .nav-actions {
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-outline-gold {
        width: 100%;
        text-align: center;
    }

    .section-padding {
        padding: 60px 0;
    }

    .stats-container {
        flex-wrap: wrap;
    }

    .search-container {
        padding: 22px 18px;
        margin-top: 18px;
    }

    .hero-metrics {
        max-width: 100%;
    }

    .hero-slider-controls {
        left: 5%;
        right: auto;
        bottom: 18px;
        transform: scale(0.92);
        transform-origin: left bottom;
    }

    .before-after-slider {
        min-height: 360px;
        border-radius: 22px;
    }

    .before-after-label {
        top: 16px;
        padding: 8px 12px;
        font-size: 0.74rem;
    }

    .property-amenities {
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    #chatbot-window {
        width: min(100vw - 24px, 350px);
        height: min(70vh, 500px);
        right: 0;
    }

    .floating-contact-stack,
    #chatbot-container {
        right: 18px;
    }

    .floating-contact-stack {
        bottom: 112px;
    }

    #topBtn {
        right: 86px;
        bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .motion-section,
    .stagger-children>* {
        opacity: 1 !important;
        transform: none !important;
    }

    .cursor-glow {
        display: none !important;
    }
}

/* --- Custom Chat Bot --- */
.floating-contact-stack {
    position: fixed;
    right: 30px;
    bottom: 126px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-whatsapp {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(18, 140, 126, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.floating-whatsapp:hover {
    color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 28px rgba(18, 140, 126, 0.36);
    filter: saturate(1.05);
}

#chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-primary);
}

#chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

#chatbot-toggle:hover {
    transform: scale(1.1);
    background: #d4af37;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}

#chatbot-window {
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 80px;
    right: 0;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    animation: chatOpen 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chatbot-window.is-open {
    display: flex;
}

@keyframes chatOpen {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.chatbot-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-avatar-circle {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.btn-close-chat {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.btn-close-chat:hover {
    opacity: 1;
}

#chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f9f9f9;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.message.bot {
    background: #eee;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message.user {
    background: var(--accent-color);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-options {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #eee;
    background: white;
}

.chat-opt {
    background: white;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.chat-opt:hover {
    background: var(--accent-color);
    color: white;
}
