/* TERRANOX ESTATES - PREMIUM FRONTEND CSS */
:root {
    --primary: #B08D2E;
    /* Darker Golden Primary */
    --primary-rgb: 176, 141, 46;
    --primary-hover: #967826;
    --secondary: #1F2937;
    --white: #ffffff;
    --light: #F3F4F6;
    /* Slightly softer grey */
    --dark: #091E42;
    /* Deep blue-grey for text */
    --text: #44566C;
    --text-light: #7A869A;
    --border: #EBECF0;
    --bg-section: #F8FAFC;

    /* Shadows - Refined for 99acres look */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.06);

    /* Radii */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 40px;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

@media(max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Buttons */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    padding: 12px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) rotate(35deg) translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::after {
    transform: translate(-50%, -50%) rotate(35deg) translateY(-100%);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Header */
.site-header {
    background: #ffffff;
    box-shadow: 0 1px 0 #e8eaed, 0 4px 16px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
}

.navbar {
    padding: 10px 0;
    transition: padding 0.3s ease;
    width: 100%;
    position: relative;
}

.site-header.scrolled .navbar {
    padding: 6px 0;
}

/* Navbar layout: logo far-left | links center | CTA far-right */
.navbar .navbar-brand {
    flex-shrink: 0;
    margin-right: 0;
    padding-left: 0;
}

@media (min-width: 992px) {
    .navbar .navbar-collapse {
        flex: 1;
        display: flex !important;
        align-items: center;
    }

    .navbar-collapse .navbar-nav {
        flex: 1;
        justify-content: center;
        gap: 4px;
    }

    .navbar-collapse .navbar-right {
        flex-shrink: 0;
        margin-left: auto;
        padding-right: 0;
    }
}

/* Logo */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.3px;
    transition: color 0.2s;
}

.logo-sub {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-brand:hover .logo-main {
    color: var(--primary);
}

/* Nav links */
.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.8rem;
    color: #374151;
    padding: 10px 16px;
    transition: color 0.2s ease;
    position: relative;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    overflow: hidden;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    transform: none;
}

.navbar-nav .nav-link.active {
    font-weight: 700;
    color: var(--primary);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    transform: scaleX(1);
}

/* Dropdown */
.navbar-nav .dropdown-menu {
    border: 1px solid #e8eaed;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-top: 6px;
    min-width: 200px;
}

.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    padding: 9px 14px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background: rgba(176, 141, 46, 0.08);
    color: var(--primary);
}

/* Phone link */
.header-phone {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151 !important;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: color 0.2s;
}

.header-phone:hover {
    color: var(--primary) !important;
}

.header-phone i {
    font-size: 0.8rem;
}

/* Enquiry button */
.btn-enquiry,
.navbar-right .btn-primary {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 9px 22px;
    border-radius: 6px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-enquiry:hover,
.navbar-right .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(176, 141, 46, 0.35);
}

/* ---- MOBILE HEADER ---- */
@media (max-width: 991.98px) {
    .navbar {
        padding: 8px 0;
    }

    .logo-main {
        font-size: 1.1rem !important;
    }

    .logo-img {
        max-height: 34px !important;
    }

    .logo-text-img {
        font-size: 0.95rem !important;
    }

    .navbar-collapse {
        background: #ffffff !important;
        border-top: 2px solid var(--primary);
        padding: 16px 20px 20px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1040;
    }

    .navbar-nav {
        flex-direction: column !important;
        gap: 0;
        margin-bottom: 16px;
    }

    .navbar-nav .nav-link {
        color: #1a202c !important;
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        padding: 12px 4px !important;
        border-bottom: 1px solid #f3f4f6 !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        color: var(--primary) !important;
    }

    .navbar-nav .nav-link::before {
        display: none !important;
    }

    .navbar-nav .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: #f9fafb !important;
        padding: 4px 0 4px 16px !important;
        margin: 0 !important;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        font-size: 0.82rem;
        padding: 9px 8px !important;
        border-bottom: 1px solid #eee;
        border-radius: 0 !important;
    }

    .mobile-nav-cta {
        border-top: 1px solid #f0f0f0;
        padding-top: 16px;
    }

    .mobile-nav-cta .btn {
        font-size: 0.85rem;
        font-weight: 700;
        padding: 11px 20px;
        border-radius: 6px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.75), rgba(17, 24, 39, 0.55));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-heading {
    font-size: 3.6rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
    color: #D4AF37;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-heading .hw {
    display: inline-block;
}

.hero-subheading {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 36px;
    color: #D4AF37;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2px;
    opacity: 0.9;
}

@media(max-width: 768px) {
    .hero-heading {
        font-size: 2.2rem;
    }

    .hero-subheading {
        font-size: 1rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    font-size: 1.1rem;
    border-radius: var(--radius-full);
    animation: pulseGlow 2s infinite;
}

.btn-hero-primary:hover {
    background: var(--primary-hover);
    color: var(--white);
    transform: translateY(-3px);
    animation: none;
    box-shadow: var(--shadow-glow);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 14px 30px;
    font-size: 1.1rem;
    border-radius: var(--radius-full);
    transition: var(--transition-bounce);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-search {
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border);
    max-width: 1000px;
    margin: 0 auto;
}

.hero-search-form .form-control,
.hero-search-form .form-select {
    height: 60px;
    border: none;
    background: transparent;
    font-weight: 500;
    padding-left: 15px;
    border-right: 1px solid var(--border);
    border-radius: 0;
}

.hero-search-form .form-control:last-child,
.hero-search-form .form-select:last-child {
    border-right: none;
}

.hero-search-form .form-control:focus,
.hero-search-form .form-select:focus {
    box-shadow: none;
    background: #f8f9fa;
}

.hero-search-form .btn-primary {
    height: 60px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0 40px;
}

/* ============================================
   PROPERTY CARD — Clean Reference Style
   ============================================ */
.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    height: 100%;
    border: 1px solid #e8eaed;
    position: relative;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: var(--primary);
}

/* Image */
.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

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

.property-card:hover .property-image img {
    transform: scale(1.06);
}

/* Badges */
.property-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-type {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
}

.type-residential {
    background: #10b981;
    color: #fff;
}

.type-commercial {
    background: #3b82f6;
    color: #fff;
}

.type-sco {
    background: #8b5cf6;
    color: #fff;
}

.badge-featured {
    background: var(--primary);
    color: #fff;
}

.badge-sold {
    background: #ef4444;
    color: #fff;
}

/* WhatsApp action */
.property-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    font-size: 1.1rem;
}

.action-btn:hover {
    background: var(--primary);
    color: #fff;
}

.whatsapp-btn {
    color: #25D366;
}

.whatsapp-btn:hover {
    background: #25D366;
    color: #fff;
}

/* Card Body */
.property-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Price — prominent, golden */
.property-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.3px;
}

/* Title — bold dark */
.property-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.4;
    color: var(--dark);
}

.property-title a {
    color: var(--dark);
}

.property-title a:hover {
    color: var(--primary);
}

/* Location — small grey with pin */
.property-location {
    color: #6b7280;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-location i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Features row — bed/bath/area */
.property-features {
    display: flex;
    gap: 0;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.property-features span {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.72rem;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
    gap: 3px;
    border-right: 1px solid #f0f0f0;
    padding: 0 4px;
}

.property-features span:last-child {
    border-right: none;
}

.property-features i {
    font-size: 0.9rem;
    color: var(--primary);
}

/* Trending Locations */
.trending-locations {
    background: var(--white);
}

.location-card {
    display: block;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.location-card-inner {
    padding: 30px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-bounce);
    height: 100%;
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
}

.location-card:hover .location-card-inner {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.location-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
}

.location-card:hover .location-icon {
    transform: scale(1.1) rotate(10deg);
}

.location-info h4 {
    margin: 0 0 5px;
    font-size: 1.3rem;
    color: var(--dark);
    transition: var(--transition);
}

.location-info .property-count {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 600;
}

.location-arrow {
    position: absolute;
    right: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition-bounce);
    color: var(--primary);
    font-size: 1.4rem;
}

.location-card:hover .location-arrow {
    opacity: 1;
    transform: translateX(0);
}

.location-card:hover h4 {
    color: var(--primary);
}

/* About Section */
.about-image-wrap {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.about-image-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: var(--transition-bounce);
}

.about-image-wrap:hover img {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-md);
    z-index: -1;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    transition: var(--transition);
}

.about-image-wrap:hover::before {
    transform: translate(-10px, -10px);
    background: rgba(var(--primary-rgb), 0.15);
}

.about-badge {
    position: absolute;
    bottom: -15px;
    right: 0px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    text-align: center;
    border-bottom: 4px solid var(--primary);
    animation: float 4s ease-in-out infinite;
}

.about-badge .badge-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.about-badge .badge-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-item {
    background: var(--white);
    padding: 25px 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition-bounce);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-number {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    margin: 0;
}

/* Why Choose Us */
.why-choose-us {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: spin 30s linear infinite;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    height: 100%;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.why-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: var(--transition-bounce);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--shadow-glow);
}

.why-card h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   PROJECT CARD — Clean Reference Style
   ============================================ */
.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    border: 1px solid #e8eaed;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-active {
    background: #10b981;
}

.status-upcoming {
    background: #3b82f6;
}

.status-ongoing {
    background: #f59e0b;
}

.status-completed {
    background: #6b7280;
}

.project-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.4;
}

.project-location {
    color: #6b7280;
    font-size: 0.8rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-location i {
    color: var(--primary);
    font-size: 0.75rem;
}

.project-desc {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 10px;
    flex: 1;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.project-meta span {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-meta i {
    color: var(--primary);
    font-size: 0.8rem;
}

.project-units {
    color: #6b7280;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.project-units i {
    color: var(--primary);
}

/* Testimonials - Horizontal Scroll */
.testimonials-section {
    padding: 80px 0;
    background: #FAFAFA;
    overflow: hidden;
}

.testimonials-scroll-wrapper {
    position: relative;
    margin-top: 50px;
    padding: 0 20px;
}

.testimonials-scroll-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 0 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #E5E7EB;
}

.testimonials-scroll-track::-webkit-scrollbar {
    height: 8px;
}

.testimonials-scroll-track::-webkit-scrollbar-track {
    background: #E5E7EB;
    border-radius: 10px;
}

.testimonials-scroll-track::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    transition: var(--transition);
}

.testimonials-scroll-track::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

.testimonial-item {
    flex: 0 0 380px;
    background: var(--white);
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.testimonial-stars {
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-stars i {
    color: #FFA500;
    margin-right: 2px;
}

.testimonial-stars i.empty {
    color: #D1D5DB;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #F3F4F6;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #F3F4F6;
    transition: var(--transition);
}

.testimonial-item:hover .author-avatar img {
    border-color: var(--primary);
}

.author-info {
    flex: 1;
}

.author-info h6 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.author-info small {
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

@media(max-width: 768px) {
    .testimonial-item {
        flex: 0 0 320px;
        padding: 24px 20px;
    }

    .testimonials-scroll-wrapper {
        padding: 0 10px;
    }
}


/* Newsletter */
.newsletter-section {
    padding: 100px 0;
    background: var(--light);
}

.newsletter-box {
    background: linear-gradient(-45deg, var(--primary), #e55a25, #D946EF, var(--primary));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    border-radius: var(--radius-lg);
    padding: 60px;
    color: var(--white);
    box-shadow: 0 25px 50px rgba(var(--primary-rgb), 0.3);
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.newsletter-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.4);
}

.newsletter-box::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.newsletter-box h3 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.newsletter-box p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin: 0;
}

.newsletter-form .input-group {
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.newsletter-form .input-group:focus-within {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 25px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    box-shadow: none !important;
}

.newsletter-form .btn {
    border-radius: var(--radius-full);
    padding: 15px 40px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: var(--dark);
    /* Suitable dark color */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at right bottom, rgba(var(--primary-rgb), 0.15), transparent 60%);
}

.cta-section h2 {
    color: var(--primary);
    /* Golden text as requested */
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.site-footer {
    background: #0d1b2e;
    color: rgba(255, 255, 255, 0.65);
    padding: 70px 0 0;
    font-size: 0.88rem;
}

.footer-widget h4,
.footer-title {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4::after,
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 0;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s, padding-left 0.2s;
    letter-spacing: 0.1px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.72rem;
    color: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    border-color: var(--primary);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.footer-contact li i {
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #fff;
}

.logo-text-img {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark);
    letter-spacing: -0.3px;
}

/* Footer logo text override */
.site-footer .logo-text-img {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 50px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-bottom a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--primary);
}
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Float Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    animation: pulseGlow 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    color: #FFF;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: var(--primary);
    color: #FFF;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 22px;
    box-shadow: var(--shadow-md);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounceIcon {

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

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

.animate-fadeInUp {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive adjustments */
@media(max-width: 991px) {
    .newsletter-box {
        padding: 40px 30px;
        text-align: center;
    }

    .newsletter-box h3 {
        font-size: 1.8rem;
        margin-top: 25px;
    }
}

/* Exploration Options - 99acres style */
.exploration-row {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.exploration-row::-webkit-scrollbar {
    display: none;
}

.exploration-col {
    flex: 0 0 180px;
    min-width: 180px;
}

.exploration-card {
    display: block;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.exploration-card:hover {
    transform: translateY(-5px);
}

.exploration-img {
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}

.exploration-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exploration-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* ============================================
   NAVBAR TOGGLER
   ============================================ */
.navbar-toggler {
    padding: 4px 6px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    width: 38px;
    height: 38px;
    position: relative;
    z-index: 1050;
    /* always above collapse panel */
}

.toggler-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MOBILE NAV  (Bootstrap collapse — max 991px)
   ============================================ */
@media (max-width: 991.98px) {

    /* Collapse panel drops down below header */
    .navbar-collapse {
        background: #fff;
        border-top: 1px solid #eee;
        padding: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1040;
    }

    .navbar-collapse:not(.show) {
        display: none !important;
    }

    .navbar-collapse.show {
        display: block !important;
        padding: 16px 0 20px;
    }

    /* Nav links */
    .navbar-nav {
        flex-direction: column !important;
        padding: 0 16px;
        margin-bottom: 0;
    }

    .navbar-nav .nav-link {
        color: #111 !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        padding: 12px 4px !important;
        border-bottom: 1px solid #f3f3f3 !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        color: var(--primary) !important;
    }

    .navbar-nav .nav-link::before {
        display: none !important;
    }

    /* Dropdown inside mobile */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: #f8f9fa !important;
        padding: 4px 0 4px 16px !important;
        margin: 0 !important;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        padding: 9px 8px !important;
        font-size: 0.9rem;
        color: #333 !important;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav .dropdown-menu .dropdown-item:last-child {
        border-bottom: none;
    }

    /* Mobile CTA buttons */
    .mobile-nav-cta {
        padding: 16px 16px 0;
        border-top: 1px solid #eee;
        margin-top: 12px;
    }

    /* Hero */
    .hero-section {
        padding: 100px 0 60px;
        min-height: 80vh;
        background-attachment: scroll !important;
    }

    .hero-heading {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-subheading {
        font-size: 1rem !important;
        margin-bottom: 24px;
    }

    .hero-search {
        padding: 10px;
        margin-top: 16px;
    }

    .hero-search-form .form-control,
    .hero-search-form .form-select {
        height: 46px;
        border-right: none !important;
        border-bottom: 1px solid var(--border) !important;
        border-radius: var(--radius-sm) !important;
    }

    .hero-search-form .btn-primary {
        height: 46px;
        border-radius: var(--radius-sm) !important;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-header {
        padding-left: 14px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* About */
    .about-image-wrap {
        padding-right: 0;
        padding-bottom: 50px;
    }

    .about-image-wrap img {
        height: 280px;
    }

    .about-image-wrap::before {
        display: none;
    }

    .about-badge {
        bottom: 0;
        right: 16px;
        padding: 14px 18px;
    }

    .about-badge .badge-number {
        font-size: 2rem;
    }

    .stat-item {
        padding: 14px 8px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Location */
    .location-card-inner {
        padding: 16px;
    }

    .location-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    /* Why */
    .why-card {
        padding: 24px 18px;
    }

    .why-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }

    /* Projects */
    .project-body {
        padding: 16px;
    }

    .project-name {
        font-size: 1.05rem;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 50px 0;
    }

    .newsletter-box {
        padding: 32px 20px;
        text-align: center;
        border-radius: var(--radius-md);
    }

    .newsletter-box h3 {
        font-size: 1.5rem;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        gap: 10px;
    }

    .newsletter-form .form-control {
        border-radius: var(--radius-sm) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
        padding: 13px 16px;
    }

    .newsletter-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .newsletter-form .btn {
        border-radius: var(--radius-sm) !important;
        width: 100%;
        padding: 13px;
    }

    /* CTA */
    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section .d-flex {
        flex-direction: column;
        gap: 10px !important;
    }

    .cta-section .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .site-footer {
        padding: 50px 0 0;
    }

    .footer-widget {
        margin-bottom: 28px;
        text-align: center;
    }

    .footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom .row {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    /* Exploration */
    .exploration-col {
        flex: 0 0 130px;
        min-width: 130px;
    }

    .exploration-img {
        height: 90px;
    }

    .exploration-title {
        font-size: 0.82rem;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 50px 0;
    }

    .testimonials-scroll-wrapper {
        padding: 0 10px;
        margin-top: 24px;
    }

    .testimonial-item {
        flex: 0 0 300px;
        padding: 20px 16px;
    }

    /* Float buttons */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 18px;
        left: 14px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        font-size: 17px;
        bottom: 18px;
        right: 14px;
    }
}

/* ============================================
   SMALL MOBILE  (max 576px)
   ============================================ */
@media (max-width: 575.98px) {
    .logo-main {
        font-size: 1.1rem !important;
    }

    .logo-sub {
        font-size: 0.58rem !important;
    }

    .logo-img {
        max-height: 32px !important;
    }

    .logo-text-img {
        font-size: 0.9rem !important;
    }

    .hero-section {
        padding: 85px 0 45px;
        min-height: 75vh;
    }

    .hero-heading {
        font-size: 1.6rem !important;
    }

    .hero-subheading {
        font-size: 0.9rem !important;
    }

    .section {
        padding: 36px 0;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .about-image-wrap img {
        height: 220px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .property-image {
        height: 155px;
    }

    .property-price {
        font-size: 1.05rem;
    }

    .property-title {
        font-size: 0.88rem;
    }

    .project-image {
        height: 155px;
    }

    .newsletter-box {
        padding: 30px 20px;
        text-align: center;
    }

    .newsletter-box h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .newsletter-box p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        gap: 12px;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .newsletter-form .form-control {
        border-radius: var(--radius-sm) !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: #fff !important;
        text-align: center;
    }

    .newsletter-form .btn {
        border-radius: var(--radius-sm) !important;
        width: 100%;
        padding: 12px;
    }

    .cta-section {
        padding: 60px 0;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-section .d-flex {
        flex-direction: column;
        gap: 12px !important;
    }

    .cta-section .btn {
        width: 100% !important;
        justify-content: center;
    }

    .testimonial-item {
        flex: 0 0 265px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }
}

/* Prevent scroll when nav open (JS adds this class) */
body.nav-open {
    overflow: hidden;
}

/* EXTRA MOBILE FIXES FOR BREAKING SECTIONS */
@media (max-width: 991px) {

    .testimonials-section,
    .newsletter-section,
    .cta-section {
        overflow-x: hidden !important;
        /* Prevent section overflow */
    }
}

@media (max-width: 575px) {
    .newsletter-box {
        padding: 30px 15px !important;
        margin: 0 -10px;
        /* Slight pull for better fit */
        border-radius: var(--radius-md);
    }

    .newsletter-box h3 {
        font-size: 1.25rem !important;
        line-height: 1.3;
    }

    .newsletter-form .input-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .newsletter-form .form-control {
        width: 100% !important;
        border-radius: var(--radius-sm) !important;
    }

    .newsletter-form .btn {
        width: 100% !important;
        border-radius: var(--radius-sm) !important;
    }

    .cta-section h2 {
        font-size: 1.5rem !important;
    }

    .testimonial-item {
        flex: 0 0 280px !important;
        min-width: 280px !important;
    }
}

/* ============================================
   PAGE HEADER & BREADCRUMB
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2f4e 100%);
    padding: 28px 0 22px;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.page-header h1 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    gap: 0;
}

.breadcrumb-item {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '/';
    color: rgba(255, 255, 255, 0.35);
    padding: 0 6px;
}

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */
.property-detail {
    background: var(--light);
}

/* Gallery */
.property-gallery {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
}

.gallery-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.gallery-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 8px;
}

.gallery-count {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.thumb-img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.7;
}

.thumb-img:hover,
.thumb-img.active {
    border-color: var(--primary);
    opacity: 1;
}

/* Info Card */
.property-info-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.property-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.property-detail-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.property-detail-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.property-detail-price {
    text-align: right;
    flex-shrink: 0;
}

.property-detail-price .price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.property-detail-price h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

/* Key Details Icons */
.property-key-details {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--light);
    border-radius: var(--radius);
    padding: 14px 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.detail-item:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.04);
}

.detail-item i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.detail-item .detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.detail-item .detail-label {
    font-size: 0.72rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 3px;
}

/* Section sub-titles */
.section-sub-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    margin-bottom: 16px;
}

/* Details Table */
.property-details-table {
    margin-top: 4px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.88rem;
}

.detail-row:nth-child(even) {
    background: #fafafa;
}

.detail-key {
    color: var(--text-light);
    font-weight: 500;
    min-width: 130px;
}

.detail-val {
    color: var(--dark);
    font-weight: 600;
    text-align: right;
}

/* Description */
.description-content {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text);
}

/* Amenities */
.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.amenity-item:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.04);
}

.amenity-item i {
    font-size: 1rem;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.linkedin {
    background: #0a66c2;
    color: #fff;
}

.share-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.share-btn.copy {
    background: var(--light);
    color: var(--dark);
    border: 1px solid var(--border);
}

.share-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* Enquiry Widget */
.enquiry-widget {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.enquiry-header {
    background: linear-gradient(135deg, var(--dark), #1a2f4e);
    padding: 20px 24px 16px;
    border-bottom: 3px solid var(--primary);
}

.enquiry-header h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.enquiry-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    margin: 0;
}

.enquiry-widget form {
    padding: 20px 24px;
}

.enquiry-widget .form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    padding: 10px 14px;
    transition: var(--transition);
}

.enquiry-widget .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.quick-contact {
    padding: 0 24px 20px;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transition: transform 0.4s ease;
    white-space: nowrap;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
}

/* Similar Properties */
.similar-properties {
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

/* ============================================
   PROPERTY DETAIL — MOBILE
   ============================================ */
@media (max-width: 991.98px) {
    .page-header {
        padding: 20px 0 16px;
    }

    .page-header h1 {
        font-size: 1.2rem;
    }

    .gallery-main img {
        height: 260px;
    }

    .property-info-header {
        flex-direction: column;
        gap: 12px;
    }

    .property-detail-price {
        text-align: left;
    }

    .property-detail-price h3 {
        font-size: 1.3rem;
    }

    .property-detail-title {
        font-size: 1.15rem;
    }

    .property-info-card {
        padding: 18px;
    }

    .enquiry-widget {
        margin-top: 24px;
    }
}

@media (max-width: 575.98px) {
    .page-header h1 {
        font-size: 1.05rem;
    }

    .gallery-main img {
        height: 210px;
    }

    .share-buttons {
        gap: 8px;
    }

    .share-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    background: var(--light);
}

/* Form Card */
.contact-form-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8eaed;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-form-card .text-muted {
    font-size: 0.88rem;
    color: #6b7280 !important;
}

.contact-form-card .form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.88rem;
    padding: 10px 14px;
    color: var(--dark);
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    background: #fff;
}

.contact-form-card .btn-primary {
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Office Cards */
.office-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.office-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.08);
}

.office-icon {
    width: 44px;
    height: 44px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.office-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.office-info p {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 4px;
    line-height: 1.5;
}

/* Contact Info Card */
.contact-info-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.contact-info-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    margin-bottom: 16px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 36px;
    height: 36px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-info-item small {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    display: block;
    margin-bottom: 2px;
}

.contact-info-item p {
    font-size: 0.88rem;
    color: var(--dark);
    font-weight: 500;
    margin: 0;
}

.contact-info-item a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-item a:hover {
    color: var(--primary);
}

/* Map */
.contact-map h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
}

/* Contact Mobile */
@media (max-width: 991.98px) {
    .contact-form-card {
        padding: 24px 18px;
    }

    .contact-form-card h3 {
        font-size: 1.25rem;
    }
}

/* ============================================
   ABOUT PAGE — Complete Styling
   ============================================ */

/* ---- Company Intro Section ---- */
.about-intro-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.about-intro-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.about-intro-lead {
    font-size: 1rem;
    color: #44566C;
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 400;
}

.about-intro-para {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* ---- Mission & Vision ---- */
.mission-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 28px;
    height: 100%;
    border: 1px solid #e8eaed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.mission-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card.vision::before {
    background: var(--dark);
}

.mission-icon {
    width: 52px;
    height: 52px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.mission-card.vision .mission-icon {
    background: rgba(9, 30, 66, 0.08);
    color: var(--dark);
}

.mission-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.mission-card p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}

/* ---- Why Choose Us (light version) ---- */
.why-card-light {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 22px;
    height: 100%;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s;
    text-align: center;
}

.why-card-light:hover {
    box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.why-icon-light {
    width: 56px;
    height: 56px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
    transition: background 0.25s, color 0.25s;
}

.why-card-light:hover .why-icon-light {
    background: var(--primary);
    color: #fff;
}

.why-card-light h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-card-light p {
    font-size: 0.84rem;
    color: #6b7280;
    line-height: 1.75;
    margin: 0;
}

/* ---- Certifications & Awards ---- */
.award-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 20px;
    height: 100%;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s;
}

.award-card:hover {
    box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.award-icon {
    width: 52px;
    height: 52px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 14px;
    transition: background 0.25s, color 0.25s;
}

.award-card:hover .award-icon {
    background: var(--primary);
    color: #fff;
}

.award-card h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.award-card p {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ---- Team Cards ---- */
.team-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e8eaed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.team-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.team-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 18px 16px 20px;
}

.team-info h5 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}

.team-position {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.team-bio {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-social a {
    width: 32px;
    height: 32px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.team-social a:hover {
    background: var(--primary);
    color: #fff;
}

/* ---- About page testimonials (grid, not scroll) ---- */
.about-page .testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 20px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s, transform 0.25s;
    height: 100%;
}

.about-page .testimonial-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.about-page .testimonial-stars {
    margin-bottom: 12px;
    font-size: 14px;
}

.about-page .testimonial-text {
    font-size: 0.85rem;
    line-height: 1.75;
    color: #44566C;
    font-style: italic;
    margin-bottom: 16px;
}

.about-page .author-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
}

.about-page .author-info h6 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.about-page .author-info small {
    font-size: 0.72rem;
    color: #9ca3af;
    text-transform: uppercase;
}

/* Section headers on about page */
.about-section-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 991.98px) {
    .about-intro-title {
        font-size: 1.5rem;
    }

    .team-image {
        height: 180px;
    }

    .mission-card {
        padding: 22px 18px;
    }

    .why-card-light {
        padding: 22px 16px;
    }

    .award-card {
        padding: 22px 16px;
    }
}

/* ============================================
   PROPERTIES FILTER SIDEBAR
   ============================================ */
.properties-listing {
    background: var(--light);
}

.filters-sidebar {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

/* Header */
.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 14px;
    border-bottom: 1px solid #f0f0f0;
    background: var(--dark);
}

.filter-header h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.3px;
}

.filter-header h5 i {
    color: var(--primary);
}

.btn-clear-filters {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.btn-clear-filters:hover {
    color: var(--primary);
}

/* Filter Groups */
.filter-group {
    padding: 14px 18px;
    border-bottom: 1px solid #f3f4f6;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h6 {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--dark);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

/* Radio / Checkbox labels */
.filter-group .form-check {
    padding-left: 0;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group .form-check-input {
    width: 15px;
    height: 15px;
    margin: 0;
    flex-shrink: 0;
    border: 1.5px solid #d1d5db;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.filter-group .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.filter-group .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.filter-group .form-check-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #44566C;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    letter-spacing: 0.1px;
}

.filter-group .form-check:has(.form-check-input:checked) .form-check-label {
    color: var(--primary);
    font-weight: 600;
}

/* Select & inputs inside filter */
.filter-group .form-select,
.filter-group .form-control {
    font-size: 0.82rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 12px;
    color: #374151;
    background: #fafafa;
    transition: border-color 0.2s;
}

.filter-group .form-select:focus,
.filter-group .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    background: #fff;
}

/* Apply button */
.filter-group .btn-primary {
    font-size: 0.84rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    letter-spacing: 0.2px;
}

/* Amenities list */
.amenities-list .form-check-label {
    font-size: 0.8rem;
}

/* ---- Properties Toolbar ---- */
.properties-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #e8eaed;
}

.results-count {
    font-size: 0.84rem;
    color: #6b7280;
    margin: 0;
}

.results-count strong {
    color: var(--dark);
    font-weight: 700;
}

.sort-dropdown .form-select {
    font-size: 0.82rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 7px 12px;
    color: #374151;
    background: #fafafa;
    min-width: 160px;
}

.sort-dropdown .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

/* No results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.no-results h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.no-results p {
    font-size: 0.88rem;
}

/* Mobile filter sidebar */
@media (max-width: 991.98px) {
    .filters-sidebar {
        position: static;
        margin-bottom: 24px;
    }

    .filter-group {
        padding: 12px 14px;
    }
}