/* =============================================
   Delhi RERA Plots - Main Stylesheet
   Colors: White, Dark Blue (#1a2b4a), Gold (#c8a951)
   ============================================= */

:root {
    --primary-dark: #1a2b4a;
    --primary: #243b5e;
    --primary-light: #2d4a73;
    --gold: #c8a951;
    --gold-light: #d4b968;
    --gold-dark: #b8993e;
    --text-dark: #222;
    --text-body: #555;
    --text-muted: #888;
    --bg-light: #f8f9fc;
    --bg-section: #f1f3f8;
    --white: #fff;
    --border: #e2e6ea;
    --shadow: 0 2px 15px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all .3s ease;
}

/* ---- Reset & Base ---- */
* { box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
h1,h2,h3,h4,h5,h6 { color: var(--text-dark); font-weight: 600; }
img { max-width: 100%; height: auto; }
section { padding: 60px 0; }

/* ---- Buttons ---- */
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border: none;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 500;
    padding: 8px 22px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-primary-dark {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}
.btn-primary-dark:hover { background: var(--primary); color: var(--white); }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--primary-dark);
    color: #ccc;
    padding: 8px 0;
    font-size: 13px;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--gold); }
.top-bar-social a { margin-left: 12px; font-size: 14px; }

/* ---- Navbar ---- */
#mainNavbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 12px 0;
    z-index: 1050;
    transition: var(--transition);
}
#mainNavbar.scrolled { padding: 6px 0; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.navbar-brand {
    display: flex;
    align-items: center;
}
.brand-logo {
    height: 48px;
    width: auto;
    border-radius: 6px;
}
.brand-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}
.brand-text:hover { color: var(--primary-dark); }
.brand-tagline {
    font-size: 11px;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: .5px;
}
.navbar-nav .nav-link {
    color: var(--primary-dark);
    font-weight: 500;
    padding: 8px 14px;
    font-size: 14px;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold);
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

/* Mega Menu */
.mega-menu {
    width: 100%;
    border: none;
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    border-radius: 0 0 var(--radius) var(--radius);
}
.mega-menu-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--gold);
}
.mega-menu .dropdown-item { font-size: 13px; padding: 5px 10px; border-radius: 4px; }
.mega-menu .dropdown-item:hover { background: var(--bg-light); color: var(--gold); }

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(135deg, rgba(26,43,74,.92) 0%, rgba(26,43,74,.85) 50%, rgba(44,62,95,.80) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 100px 0 110px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 520px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: rgba(200,169,81,.05);
    border-radius: 50%;
    transform: rotate(-15deg);
}
.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
    color: rgba(255,255,255,.8);
    font-size: 17px;
    margin-bottom: 30px;
}
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.hero-stat { text-align: center; }
.hero-stat h3 { color: var(--gold); font-size: 28px; margin-bottom: 0; }
.hero-stat p { color: rgba(255,255,255,.7); font-size: 13px; margin: 0; }

/* ---- Search Form ---- */
.search-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-lg);
}
.search-form-wrapper .form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.search-form-wrapper .form-control,
.search-form-wrapper .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 14px;
}
.search-form-wrapper .form-control:focus,
.search-form-wrapper .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,169,81,.15);
}

/* ---- Search Modal ---- */
.search-modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.search-modal-header {
    background: linear-gradient(135deg, var(--primary-dark), #243b5e);
    color: var(--white);
    padding: 18px 24px;
    border-bottom: 3px solid var(--gold);
}
.search-modal-header .modal-title {
    font-weight: 700;
    font-size: 18px;
}
#searchModal .modal-body {
    padding: 24px;
}
#searchModal .form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
#searchModal .form-control,
#searchModal .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 14px;
}
#searchModal .form-control:focus,
#searchModal .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,169,81,.15);
}
#searchModal hr {
    border-color: var(--border);
    margin: 16px 0;
}
.hero-cta-wrapper {
    margin-top: 15px;
}

/* ---- Section Titles ---- */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.section-title span { color: var(--gold); }
.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
}
.section-header { margin-bottom: 40px; }
.section-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
    border-radius: 2px;
}
.section-bg { background: var(--bg-section); }

/* ---- Property Card ---- */
.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.property-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.property-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.property-card:hover .property-card-img img {
    transform: scale(1.05);
}
.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
}
.property-rera-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.property-price-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary-dark);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
}
.property-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.property-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.property-card-title a { color: var(--text-dark); }
.property-card-title a:hover { color: var(--gold); }
.property-card-location {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.property-card-location i { color: var(--gold); }
.property-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.property-card-meta {
    display: flex;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
}
.property-card-meta span i { color: var(--gold); margin-right: 4px; }
.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
}
.property-card-footer .btn { font-size: 13px; padding: 6px 16px; }
.property-rera-num {
    font-size: 11px;
    color: var(--text-muted);
}

/* ---- Location Card ---- */
.location-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}
.location-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.location-card:hover img { transform: scale(1.1); }
.location-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,43,74,.85) 0%, rgba(26,43,74,.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
}
.location-card-overlay h5 { color: var(--white); font-weight: 600; margin-bottom: 2px; }
.location-card-overlay span { color: var(--gold); font-size: 13px; }

/* ---- Type Card ---- */
.type-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--gold);
}
.type-card-icon {
    width: 70px; height: 70px;
    background: var(--bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: var(--gold);
    transition: var(--transition);
}
.type-card:hover .type-card-icon {
    background: var(--gold);
    color: var(--white);
}
.type-card h5 { font-size: 16px; margin-bottom: 5px; }
.type-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ---- Why Choose Us ---- */
.feature-box {
    text-align: center;
    padding: 30px 20px;
}
.feature-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 32px;
    color: var(--gold);
}
.feature-box h5 { font-size: 17px; margin-bottom: 8px; }
.feature-box p { font-size: 13px; color: var(--text-muted); }

/* ---- Testimonial Card ---- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 80px;
    color: var(--gold);
    opacity: .2;
    position: absolute;
    top: -5px; left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-text { font-size: 14px; line-height: 1.8; margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
.testimonial-name { font-weight: 600; font-size: 15px; color: var(--text-dark); margin-bottom: 0; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }
.testimonial-stars { color: var(--gold); font-size: 13px; margin-bottom: 12px; }

/* ---- Blog Card ---- */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-card-category {
    display: inline-block;
    background: var(--bg-section);
    color: var(--gold);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}
.blog-card-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-title a { color: var(--text-dark); }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.blog-card-meta { font-size: 12px; color: var(--text-muted); }
.blog-card-meta i { color: var(--gold); }

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, rgba(26,43,74,.90), rgba(26,43,74,.85)), url('../images/cta-bg.jpg') center/cover no-repeat;
    padding: 60px 0;
    color: var(--white);
}
.cta-section h2 { color: var(--white); font-size: 32px; }
.cta-section p { color: rgba(255,255,255,.8); }

/* ---- Newsletter ---- */
.newsletter-section {
    background: linear-gradient(135deg, rgba(26,43,74,.93), rgba(26,43,74,.88)), url('../images/newsletter-bg.jpg') center/cover no-repeat;
    padding: 50px 0;
    color: var(--white);
}
.newsletter-section h3 { color: var(--white); }
.newsletter-form .form-control {
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: var(--radius) 0 0 var(--radius);
}
.newsletter-form .btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 28px;
}

/* ---- Footer ---- */
.main-footer {
    background: #0f1a2e;
    color: #aaa;
    padding: 60px 0 0;
}
.footer-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--gold);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #aaa; font-size: 14px; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-contact a { color: #aaa; }
.footer-contact a:hover { color: var(--gold); }
.footer-social a {
    display: inline-flex;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #ccc;
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 13px;
}
.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Floating Buttons ---- */
.whatsapp-float {
    position: fixed;
    bottom: 80px; right: 20px;
    width: 55px; height: 55px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(37,211,102,.4);
    z-index: 1040;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }
.call-float {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 55px; height: 55px;
    background: var(--primary-dark);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(26,43,74,.4);
    z-index: 1040;
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.call-float:hover { transform: scale(1.1); color: var(--gold); }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(26,43,74,.5); }
    70% { box-shadow: 0 0 0 15px rgba(26,43,74,0); }
    100% { box-shadow: 0 0 0 0 rgba(26,43,74,0); }
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 20px; left: 20px;
    width: 42px; height: 42px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 1040;
    cursor: pointer;
    transition: var(--transition);
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--gold-dark); }

/* ---- Page Header / Breadcrumb ---- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 40px 0;
    color: var(--white);
}
.page-header h1 { color: var(--white); font-size: 30px; margin-bottom: 8px; }
.breadcrumb-custom {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}
.breadcrumb-custom a { color: rgba(255,255,255,.7); }
.breadcrumb-custom a:hover { color: var(--gold); }
.breadcrumb-custom .active { color: var(--gold); }
.breadcrumb-custom li + li::before {
    content: '/';
    margin-right: 8px;
    color: rgba(255,255,255,.4);
}

/* ---- Property Detail ---- */
.property-detail-gallery { border-radius: var(--radius-lg); overflow: hidden; }
.property-detail-info { padding: 20px 0; }
.property-detail-price { font-size: 28px; font-weight: 700; color: var(--gold); }
.property-detail-address { font-size: 15px; color: var(--text-muted); }
.detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}
.detail-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius);
}
.detail-feature-item i { font-size: 22px; color: var(--gold); }
.detail-feature-item .label { font-size: 12px; color: var(--text-muted); }
.detail-feature-item .value { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.amenity-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 13px;
    margin: 4px;
}
.amenity-tag i { color: var(--gold); }
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

/* ---- Contact Page ---- */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-info-icon {
    width: 60px; height: 60px;
    background: var(--bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--gold);
}

/* ---- Filter/Search Sidebar ---- */
.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.filter-sidebar .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
}
.filter-sidebar .form-check-label { font-size: 14px; }

/* ---- Pagination ---- */
.pagination-wrapper { margin-top: 30px; }
.pagination .page-link {
    color: var(--primary-dark);
    border-color: var(--border);
    padding: 8px 16px;
    font-size: 14px;
    margin: 0 3px;
    border-radius: var(--radius);
}
.pagination .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}
.pagination .page-link:hover {
    background: var(--bg-light);
    color: var(--gold);
}

/* ---- FAQ ---- */
.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 15px;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--gold);
}
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c8a951'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ---- Blog Detail ---- */
.blog-content { line-height: 1.9; font-size: 15px; }
.blog-content h2,
.blog-content h3 { margin-top: 28px; margin-bottom: 12px; }
.blog-content img { border-radius: var(--radius); margin: 16px 0; }
.blog-content ul, .blog-content ol { padding-left: 20px; margin-bottom: 16px; }

/* ---- Swiper Overrides ---- */
.swiper-button-next, .swiper-button-prev { color: var(--gold); }
.swiper-pagination-bullet-active { background: var(--gold); }

/* ---- Responsive ---- */

/* --- Extra Large (≥1200px) --- */
@media (min-width: 1200px) {
    .hero-title { font-size: 46px; }
    .section-title { font-size: 34px; }
}

/* --- Large (992px–1199px) --- */
@media (max-width: 1199.98px) {
    .hero-title { font-size: 36px; }
    .hero-section { min-height: 460px; padding: 80px 0 90px; }
}

/* --- Tablet (768px–991px) --- */
@media (max-width: 991.98px) {
    .hero-title { font-size: 30px; }
    .hero-section { padding: 50px 0 60px; min-height: auto; }
    .hero-subtitle { font-size: 15px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .hero-stat h3 { font-size: 24px; }
    .mega-menu { position: static; box-shadow: none; border: none; }
    .mega-menu .row > div { margin-bottom: 15px; }
    section { padding: 40px 0; }
    .section-title { font-size: 26px; }
    .section-subtitle { font-size: 14px; margin-bottom: 30px; }
    .cta-section h2 { font-size: 26px; }
    .property-detail-price { font-size: 24px; }
    .page-header h1 { font-size: 24px; }
    .page-header { padding: 30px 0; }
    /* Filter sidebar mobile collapse */
    .filter-sidebar-wrapper { margin-bottom: 20px; }
    .filter-sidebar-collapse { display: none; }
    .filter-sidebar-collapse.show { display: block; }
    .filter-toggle-btn { display: block !important; }
    /* Navbar mobile */
    .navbar-nav .nav-link.active::after { display: none; }
    .navbar-nav { padding: 10px 0; }
    .navbar-nav .nav-link { padding: 8px 0; }
}

/* --- Mobile (576px–767px) --- */
@media (max-width: 767.98px) {
    body { font-size: 14px; }
    .hero-title { font-size: 24px; }
    .hero-section { padding: 40px 0 50px; }
    .hero-stats { gap: 12px; }
    .hero-stat { flex: 0 0 calc(50% - 6px); }
    .hero-stat h3 { font-size: 22px; }
    .hero-stat p { font-size: 11px; }
    section { padding: 30px 0; }
    .section-title { font-size: 22px; }
    .section-subtitle { margin-bottom: 24px; }
    .property-card-img { height: 200px; }
    .location-card { height: 160px; }
    .cta-section h2 { font-size: 22px; }
    .footer-bottom { text-align: center; }
    .footer-bottom .text-md-end { text-align: center !important; margin-top: 8px; }
    .footer-title { font-size: 16px; }
    .property-detail-price { font-size: 22px; }
    .page-header h1 { font-size: 22px; }
    /* Blog content overflow */
    .blog-content img { max-width: 100%; height: auto; }
    .blog-content iframe { max-width: 100%; }
    .blog-content table { display: block; overflow-x: auto; }
    /* Responsive images with fixed heights */
    .resp-img-tall { height: 260px !important; }
    /* Type cards */
    .type-card { padding: 20px 14px; }
    .type-card-icon { width: 56px; height: 56px; font-size: 24px; }
    .type-card h5 { font-size: 14px; }
    /* Feature boxes */
    .feature-box { padding: 20px 12px; }
    .feature-icon { width: 60px; height: 60px; font-size: 26px; }
    /* Testimonials */
    .testimonial-card { padding: 20px; }
    /* Newsletter */
    .newsletter-form { flex-direction: column; }
    .newsletter-form .form-control { border-radius: var(--radius); margin-bottom: 8px; }
    .newsletter-form .btn { border-radius: var(--radius); width: 100%; }
    /* Contact info cards */
    .contact-info-card { padding: 20px; }
    .contact-info-icon { width: 50px; height: 50px; font-size: 20px; }
    /* Tables */
    .table { font-size: 13px; }
    .table th, .table td { padding: 8px 10px; }
    /* Sidebar widget */
    .sidebar-widget { padding: 16px; }
}

/* --- Extra Small (≤575px) --- */
@media (max-width: 575.98px) {
    .hero-title { font-size: 20px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 20px; }
    .search-form-wrapper { padding: 14px; }
    .hero-cta-wrapper .btn { display: block; width: 100%; margin-bottom: 10px; }
    .hero-cta-wrapper .btn.ms-2 { margin-left: 0 !important; }
    .section-title { font-size: 20px; }
    .brand-text { font-size: 18px; }
    .brand-logo { height: 38px; }
    .whatsapp-float, .call-float { width: 44px; height: 44px; font-size: 20px; }
    .whatsapp-float { bottom: 70px; right: 14px; }
    .call-float { bottom: 14px; right: 14px; }
    .back-to-top { width: 36px; height: 36px; font-size: 15px; left: 14px; bottom: 14px; }
    .property-card-img { height: 180px; }
    .property-card-body { padding: 14px; }
    .property-card-title { font-size: 15px; }
    .property-card-meta { font-size: 11px; gap: 10px; }
    .property-card-footer { padding: 10px 14px; }
    .property-card-footer .btn { font-size: 12px; padding: 5px 12px; }
    .location-card { height: 140px; }
    .location-card-overlay { padding: 14px; }
    .location-card-overlay h5 { font-size: 14px; }
    .blog-card-body { padding: 14px; }
    .blog-card-title { font-size: 15px; }
    .blog-card-img { height: 170px; }
    .detail-features { grid-template-columns: 1fr 1fr; gap: 10px; }
    .detail-feature-item { padding: 10px; }
    .detail-feature-item i { font-size: 18px; }
    .detail-feature-item .value { font-size: 13px; }
    .detail-feature-item .label { font-size: 11px; }
    .amenity-tag { font-size: 12px; padding: 6px 12px; }
    .page-header h1 { font-size: 20px; }
    .page-header { padding: 24px 0; }
    .breadcrumb-custom { font-size: 12px; }
    .resp-img-tall { height: 200px !important; }
    /* Prevent ANY horizontal overflow */
    html, body { overflow-x: hidden; }
    .container { padding-left: 12px; padding-right: 12px; }
    /* Filter sidebar */
    .filter-sidebar { padding: 16px; }
    /* Pagination */
    .pagination .page-link { padding: 6px 10px; font-size: 13px; margin: 0 2px; }
    /* FAQ */
    .faq-accordion .accordion-button { font-size: 14px; padding: 12px 16px; }
}

/* ---- Lazy Loading ---- */
img[loading="lazy"] { opacity: 0; transition: opacity .3s; }
img[loading="lazy"].loaded, img[loading="lazy"][src] { opacity: 1; }

/* ---- Admin Styles ---- */
.admin-sidebar {
    min-height: 100vh;
    background: var(--primary-dark);
    color: var(--white);
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    transition: transform .3s ease;
    overflow-y: auto;
}
.admin-sidebar .nav-link { color: rgba(255,255,255,.7); padding: 10px 20px; font-size: 14px; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { color: var(--gold); background: rgba(255,255,255,.05); }
.admin-sidebar .nav-link i { width: 24px; }
.admin-sidebar-close { display: none; }
.admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1055;
}
.admin-sidebar-overlay.show { display: block; }
.admin-content { margin-left: 260px; padding: 20px; min-height: 100vh; background: var(--bg-light); }
.admin-topbar { background: var(--white); padding: 12px 20px; box-shadow: var(--shadow); margin-bottom: 20px; border-radius: var(--radius); }
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.stat-card .stat-icon {
    width: 60px; height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Admin Tablet */
@media (max-width: 1199.98px) {
    .admin-sidebar { width: 220px; }
    .admin-content { margin-left: 220px; padding: 16px; }
    .stat-card { padding: 18px; }
}

/* Admin Mobile */
@media (max-width: 991.98px) {
    .admin-sidebar { transform: translateX(-100%); width: 260px; }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-sidebar-close { display: block; position: absolute; top: 12px; right: 12px; background: none; border: none; color: rgba(255,255,255,.7); font-size: 22px; cursor: pointer; padding: 4px 8px; }
    .admin-sidebar-close:hover { color: var(--white); }
    .admin-content { margin-left: 0; padding: 14px; }
    .admin-topbar { padding: 10px 14px; }
    .stat-card { padding: 16px; }
    .stat-card .stat-icon { width: 48px; height: 48px; font-size: 20px; }
    /* Admin tables */
    .admin-content .table { font-size: 13px; }
    .admin-content .table th, .admin-content .table td { padding: 8px 10px; }
    /* Admin forms */
    .admin-content .card-body { padding: 16px; }
}
@media (max-width: 575.98px) {
    .admin-content { padding: 10px; }
    .admin-content .card { margin-bottom: 12px; }
    .admin-topbar { font-size: 14px; padding: 8px 12px; }
    .stat-card { padding: 14px; }
    .stat-card h3 { font-size: 22px; }
}

/* ---- Compare Properties Bar ---- */
.compare-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--primary-dark);
    color: var(--white);
    padding: 10px 16px;
    z-index: 1039;
    display: none;
    box-shadow: 0 -4px 15px rgba(0,0,0,.2);
}
.compare-bar.show { display: block; }
.compare-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.compare-items-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    min-width: 0;
}
.compare-item {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.12);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.compare-item .remove-compare {
    cursor: pointer;
    margin-left: 6px;
    color: #ff6b6b;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}
.compare-bar-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ---- Compare Page Table ---- */
.compare-table { background: var(--white); border-color: #e5e5e5; }
.compare-table th, .compare-table td { vertical-align: middle; padding: 12px 16px; }
.compare-label-col { background: var(--light-gray); }
.compare-label { font-weight: 600; color: var(--primary-dark); white-space: nowrap; background: #f8f9fa; }
.compare-prop-col { position: relative; }
.compare-highlight td { background: rgba(200, 169, 81, 0.06); }
.compare-img { width: 100%; max-width: 200px; height: 140px; object-fit: cover; border-radius: 8px; transition: transform .3s; }
.compare-img:hover { transform: scale(1.05); }
.compare-remove-btn { position: absolute; top: 4px; right: 4px; border-radius: 50%; width: 28px; height: 28px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.text-gold { color: var(--gold); }

@media (max-width: 768px) {
    .compare-bar { padding: 8px 10px; }
    .compare-bar-inner { flex-wrap: wrap; }
    .compare-items-wrap { gap: 4px; }
    .compare-item { font-size: 11px; padding: 4px 8px; max-width: 140px; }
    .compare-bar-btn .btn { font-size: 12px; padding: 5px 12px; }
    .compare-table { font-size: 13px; }
    .compare-table th, .compare-table td { padding: 8px 10px; }
    .compare-img { max-width: 120px; height: 85px; }
    .compare-label { font-size: 12px; min-width: 100px; }
    .compare-remove-btn { width: 24px; height: 24px; font-size: 10px; }
}

/* ---- Print Styles ---- */
@media print {
    .top-bar, #mainNavbar, .whatsapp-float, .call-float,
    .back-to-top, .newsletter-section, .main-footer,
    .compare-bar { display: none !important; }
}
