﻿/* ============================================
   RAHEEL KA BUSINESS - Clean & Minimal Premium
   ============================================ */

:root {
    --navy: #0A1628;
    --navy-light: #15263f;
    --navy-soft: #1e3151;
    --gold: #D4A843;
    --gold-dark: #b8922e;
    --gold-light: #f0d080;
    --white: #ffffff;
    --light-gray: #f9fafb;
    --light-gray-2: #f3f4f6;
    --border: #eaecef;
    --border-soft: #f0f2f5;
    --text-dark: #1A1A2E;
    --text-body: #4a5568;
    --text-muted: #8b95a5;
    --green: #25D366;
    --green-badge: #28A745;
    --blue-badge: #007BFF;
    --gray-badge: #6C757D;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(10,22,40,0.04);
    --shadow: 0 4px 16px rgba(10,22,40,0.06);
    --shadow-hover: 0 8px 28px rgba(10,22,40,0.10);
    --shadow-lg: 0 16px 48px rgba(10,22,40,0.12);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --transition: 0.25s cubic-bezier(.4,0,.2,1);
    --container-padding: 24px;
}

/* ============================================
   BASE
   ============================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    line-height: 1.65;
}
/* Navbar always at the very top — no gap above */
#mainNavbar {
    margin-top: 0 !important;
    top: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    letter-spacing: -0.015em;
    font-weight: 600;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; }
hr { background: var(--border); opacity: 1; height: 1px; border: 0; }

.text-gold { color: var(--gold) !important; }
.bg-navy { background: var(--navy) !important; }
.text-navy { color: var(--navy) !important; }
.text-body { color: var(--text-body) !important; }

/* ============================================
   BUTTONS - Consistent & Refined
   ============================================ */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
    letter-spacing: 0.1px;
    font-size: 0.875rem;
    padding: 9px 18px;
    border: 1px solid transparent;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-sm { font-size: 0.8rem; padding: 6px 14px; }
.btn-lg { padding: 13px 28px; font-size: 0.95rem; }

.btn-gold {
    background: var(--gold);
    color: var(--navy) !important;
    border-color: var(--gold);
}
.btn-gold:hover, .btn-gold:focus {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--navy) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212,168,67,0.3);
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92) !important;
    background: transparent;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.3);
    color: #fff !important;
}

.btn-outline-secondary { border-color: var(--border); color: var(--text-body); }
.btn-outline-secondary:hover { background: var(--light-gray); border-color: var(--border); color: var(--navy); }

/* ============================================
   NAVBAR - Premium Minimal with Better Responsive
   ============================================ */
#mainNavbar {
    background: var(--navy) !important;
    padding: 16px 0;
    z-index: 1050;
    transition: padding var(--transition), box-shadow var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
#mainNavbar.scrolled {
    padding: 11px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* Brand */
.navbar-brand {
    padding: 0 !important;
    margin-right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-icon {
    width: 38px; height: 38px;
    background: transparent;
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 15px;
    flex-shrink: 0;
    transition: var(--transition);
}
.navbar-brand:hover .brand-icon {
    background: var(--gold);
    color: var(--navy);
}
.brand-text { line-height: 1.1; }
.brand-main {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.8px;
    font-family: 'Poppins', sans-serif;
}
.brand-sub {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 2.5px;
    margin-top: 2px;
}

/* Nav Links */
#mainNavbar .navbar-nav { gap: 2px; }
#mainNavbar .nav-item { position: relative; }
#mainNavbar .nav-link {
    color: rgba(255,255,255,0.72) !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 10px 16px !important;
    position: relative;
    transition: color var(--transition);
    background: transparent !important;
    border-radius: var(--radius-sm);
}
#mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}
#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active,
#mainNavbar .nav-link:focus {
    color: #fff !important;
}
#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after {
    width: calc(100% - 32px);
}
#mainNavbar .dropdown-toggle::after { display: none; }
#mainNavbar .dropdown-toggle .fa-chevron-down {
    font-size: 9px;
    margin-left: 4px;
    opacity: 0.6;
    transition: transform var(--transition);
}
#mainNavbar .dropdown:hover .dropdown-toggle .fa-chevron-down { transform: rotate(180deg); }

/* Dropdown */
#mainNavbar .dropdown-menu {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 14px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 220px;
    animation: dropdownFade 0.2s ease;
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
#mainNavbar .dropdown-item {
    color: var(--text-body);
    font-size: 0.875rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
#mainNavbar .dropdown-item:hover {
    background: var(--light-gray);
    color: var(--navy);
}
#mainNavbar .dropdown-item.text-danger:hover { background: rgba(220,53,69,0.08); }

/* Right side actions */
#mainNavbar .navbar-actions { display: flex; align-items: center; gap: 8px; }
.user-avatar-sm {
    width: 24px; height: 24px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    font-size: 11px;
    flex-shrink: 0;
}

/* Hamburger Toggle - Custom */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.2) !important;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.navbar-toggler:focus { box-shadow: none !important; outline: none; }
.navbar-toggler:hover { background: rgba(255,255,255,0.06); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 22px;
    height: 22px;
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
    position: relative;
    min-height: 76vh;
    background:
        linear-gradient(90deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.55) 65%, rgba(10,22,40,0.2) 100%),
        url('https://images.pexels.com/photos/1396122/pexels-photo-1396122.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
    display: flex; align-items: center;
    padding: 100px 0 110px;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

/* Search Box */
.hero-search-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}
.hero-search-box .form-label-sm {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
    display: block;
}
.hero-search-box .form-select,
.hero-search-box .form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    height: 42px;
    background-color: #fafbfc;
    transition: var(--transition);
}
.hero-search-box .form-select:focus,
.hero-search-box .form-control:focus {
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}
.hero-search-box .btn-gold {
    height: 42px;
    width: 100%;
    border-radius: var(--radius-sm);
}

/* Popular Tags */
.popular-tags { margin-top: 1.5rem; }
.popular-tags .tag-label {
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    font-weight: 500;
    margin-right: 6px;
}
.popular-tag {
    display: inline-block;
    background: transparent;
    color: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(6px);
    margin: 0 4px 6px 0;
}
.popular-tag:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* ============================================
   SECTIONS
   ============================================ */
.section-py { padding: 96px 0; }
.section-py-sm { padding: 64px 0; }

.section-title {
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    max-width: 600px;
}
.section-divider {
    width: 44px; height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 16px auto 40px;
}
.section-divider.left { margin: 16px 0 32px; }

/* Filter Tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.filter-tabs .btn {
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 0.82rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.filter-tabs .btn:hover {
    color: var(--navy);
    border-color: var(--navy);
    background: transparent;
}
.filter-tabs .btn.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* ============================================
   PROPERTY CARD - Clean & Minimal
   ============================================ */
.property-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.property-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}
.property-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.property-card-img-wrap {
    position: relative;
    padding-bottom: 66%;
    overflow: hidden;
    background: var(--light-gray-2);
}
.property-card-img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.property-card:hover .property-card-img { transform: scale(1.04); }

.property-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.4;
}
.badge-rent { background: var(--green-badge); }
.badge-sale { background: var(--blue-badge); }
.badge-sold { background: var(--gray-badge); }

.save-property-btn {
    position: absolute; top: 12px; right: 12px;
    background: rgba(255,255,255,0.95);
    border: none;
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: #b8c0c9;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    backdrop-filter: blur(8px);
}
.save-property-btn:hover, .save-property-btn.saved {
    color: #e74c3c;
    background: #fff;
    transform: scale(1.08);
}

.property-card-body { padding: 18px 20px 10px; flex: 1; }
.property-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.35;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.property-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: flex; align-items: center; gap: 6px;
}
.property-location i { font-size: 0.75rem; }

.property-card-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.property-stats-row {
    display: flex; gap: 12px;
    font-size: 0.76rem;
    color: var(--text-muted);
}
.prop-stat { display: flex; align-items: center; gap: 4px; }
.prop-stat i { color: var(--navy); opacity: 0.55; font-size: 0.82rem; }
.property-price {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}
.price-period { font-size: 0.7rem; font-weight: 400; color: var(--text-muted); }

/* ============================================
   FEATURED CITIES
   ============================================ */
.city-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    height: 240px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.city-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.city-card:hover img { transform: scale(1.08); }
.city-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
}
.city-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}
.city-count {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
@media (max-width: 767px) {
    .city-card { height: 180px; }
    .city-name { font-size: 1.05rem; }
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose-section {
    background: var(--navy);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}
.why-choose-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(212,168,67,0.07), transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(212,168,67,0.04), transparent 50%);
    pointer-events: none;
}
.why-choose-section .container { position: relative; z-index: 1; }
.why-choose-section .section-title { color: #fff; }

.why-card {
    text-align: center;
    padding: 28px 18px;
    transition: var(--transition);
    height: 100%;
}
.why-card:hover { transform: translateY(-6px); }
.why-icon {
    width: 70px; height: 70px;
    background: transparent;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    color: var(--gold);
    margin: 0 auto 18px;
    transition: var(--transition);
}
.why-card:hover .why-icon {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 8px 24px rgba(212,168,67,0.3);
}
.why-card h6 { color: #fff; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.why-card p { color: rgba(255,255,255,0.5); font-size: 0.82rem; margin: 0; line-height: 1.55; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 4px 0;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.contact-icon-circle {
    width: 44px; height: 44px;
    background: rgba(212,168,67,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
    transition: var(--transition);
}
.info-label { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 1px; }
.info-value { font-size: 0.95rem; color: var(--navy); font-weight: 500; }

a.contact-info-item { color: inherit; }
a.contact-info-item:hover .contact-icon-circle { background: var(--gold); color: var(--navy); transform: scale(1.05); }
a.contact-info-item:hover .info-value { color: var(--gold); }

.leaflet-map {
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    padding: 64px 0 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(212,168,67,0.08), transparent 70%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: 2rem; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.breadcrumb { margin-bottom: 8px; padding: 0; }
.breadcrumb-item a { color: var(--gold); font-size: 0.85rem; }
.breadcrumb-item a:hover { color: var(--gold-light); }
.breadcrumb-item.active { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ============================================
   PROPERTIES PAGE - Sidebar
   ============================================ */
.sidebar-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 96px;
}
.sidebar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-section { margin-bottom: 22px; }
.sidebar-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 10px;
}
.sidebar-card .form-check-label { font-size: 0.85rem; color: var(--text-body); cursor: pointer; }
.sidebar-card .form-check-input { cursor: pointer; }
.sidebar-card .form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.sidebar-card .form-select,
.sidebar-card .form-control {
    font-size: 0.85rem;
    border-color: var(--border);
    border-radius: var(--radius-sm);
}

/* ============================================
   PROPERTY DETAIL
   ============================================ */
.property-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
}
.property-gallery-main .carousel-item img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}
.gallery-thumbs {
    display: flex; gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.gallery-thumb {
    width: 90px; height: 68px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
}
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--gold); }

.detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
}
.detail-stats {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin: 24px 0;
}
.detail-stat {
    text-align: center;
    padding: 16px 22px;
    background: var(--light-gray);
    border-radius: var(--radius);
    flex: 1;
    min-width: 110px;
    border: 1px solid var(--border-soft);
}
.detail-stat i { font-size: 22px; color: var(--gold); display: block; margin-bottom: 6px; }
.detail-stat span { font-size: 0.72rem; color: var(--text-muted); display: block; text-transform: uppercase; letter-spacing: 0.6px; }
.detail-stat strong { font-size: 1.1rem; color: var(--navy); font-weight: 700; }

.nav-tabs { border-bottom: 1px solid var(--border); }
.nav-tabs .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 22px;
    border: none;
    background: transparent;
    position: relative;
}
.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 22px; right: 22px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav-tabs .nav-link:hover { color: var(--navy); }
.nav-tabs .nav-link.active {
    color: var(--navy);
    font-weight: 700;
    background: transparent;
    border: none;
}
.nav-tabs .nav-link.active::after { transform: scaleX(1); }

.feature-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding: 6px 0;
}
.feature-item.active i { color: var(--green-badge); }
.feature-item.inactive { opacity: 0.32; }

.inquiry-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 26px;
}
.inquiry-card h5 { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 18px; }
.property-meta-list { font-size: 0.88rem; }
.property-meta-list li {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-soft);
}
.property-meta-list li:last-child { border-bottom: none; }
.property-meta-list .meta-label { color: var(--text-muted); }
.property-meta-list .meta-value { font-weight: 600; color: var(--navy); }

/* ============================================
   AUTH
   ============================================ */
.auth-section {
    background: var(--light-gray);
    min-height: calc(100vh - 76px);
    display: flex; align-items: center;
    padding: 40px 0;
}
.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 48px rgba(10,22,40,0.08);
    padding: 44px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--border-soft);
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header .brand-icon { width: 54px; height: 54px; font-size: 20px; margin: 0 auto 16px; }
.auth-header h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; }
.auth-header p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.auth-card .form-label { font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.auth-card .form-control,
.auth-card .input-group-text {
    height: 44px;
    border-color: var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background: #fafbfc;
}
.auth-card .form-control:focus {
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}

.user-type-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 10px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: #fff;
}
.user-type-card:hover, .user-type-card.selected {
    border-color: var(--gold);
    background: rgba(212,168,67,0.06);
    transform: translateY(-2px);
}
.user-type-card i { font-size: 22px; color: var(--navy); display: block; margin-bottom: 6px; }
.user-type-card.selected i { color: var(--gold); }
.user-type-card span { font-size: 0.78rem; font-weight: 600; color: var(--navy); }

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-sidebar {
    background: var(--navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.dashboard-user-info {
    padding: 28px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dashboard-avatar {
    width: 84px; height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    margin-bottom: 12px;
}
.dashboard-avatar-placeholder {
    width: 84px; height: 84px;
    background: rgba(212,168,67,0.15);
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    color: var(--gold);
    margin: 0 auto 12px;
}
.dashboard-user-info h6 { color: #fff; font-weight: 600; margin: 0 0 4px; }
.dashboard-user-info .badge { font-size: 0.68rem; padding: 4px 10px; }

.dashboard-nav { padding: 12px 0; }
.dashboard-nav .nav-link {
    color: rgba(255,255,255,0.68);
    padding: 11px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
    display: flex; align-items: center;
}
.dashboard-nav .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.03);
}
.dashboard-nav .nav-link.active {
    color: var(--gold);
    background: rgba(212,168,67,0.08);
    border-left-color: var(--gold);
    font-weight: 600;
}
.dashboard-nav .nav-link i { width: 22px; }

.stat-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 22px;
    display: flex; align-items: center; gap: 16px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.stat-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.stat-icon.navy { background: rgba(10,22,40,0.07); color: var(--navy); }
.stat-icon.gold { background: rgba(212,168,67,0.12); color: var(--gold-dark); }
.stat-icon.green { background: rgba(40,167,69,0.1); color: var(--green-badge); }
.stat-icon.blue { background: rgba(0,123,255,0.08); color: var(--blue-badge); }
.stat-card h3 { font-size: 1.75rem; font-weight: 700; color: var(--navy); margin: 0; line-height: 1; }
.stat-card p { font-size: 0.78rem; color: var(--text-muted); margin: 4px 0 0; }

.listings-table img { width: 60px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.table-light th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

/* ============================================
   ADD PROPERTY
   ============================================ */
.form-section {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
    transition: var(--transition);
}
.form-section:hover { box-shadow: var(--shadow); }
.form-section-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--navy);
    padding-left: 14px;
    border-left: 3px solid var(--gold);
    margin-bottom: 20px;
}
.status-tab-btn {
    padding: 10px 26px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-body);
}
.status-tab-btn:hover { border-color: var(--navy); }
.status-tab-btn.active {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 12px rgba(212,168,67,0.25);
}

.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 36px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--light-gray);
}
.upload-zone:hover, .upload-zone.drag-over {
    border-color: var(--gold);
    background: rgba(212,168,67,0.05);
}
.upload-zone i { font-size: 34px; color: #c0c8d3; margin-bottom: 10px; display: block; }
.upload-zone p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.image-preview-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.preview-item {
    position: relative;
    width: 110px; height: 86px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item .primary-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.6rem;
    text-align: center;
    font-weight: 700;
    padding: 3px;
    letter-spacing: 0.5px;
}
.preview-item .remove-img {
    position: absolute; top: 5px; right: 5px;
    background: rgba(220,53,69,0.9);
    color: #fff;
    border: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    font-size: 11px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

/* ============================================
   PROFILE
   ============================================ */
.profile-photo-preview {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    display: block;
    margin: 0 auto 14px;
}
.profile-photo-placeholder {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-size: 48px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    border: 3px solid var(--gold);
}

/* ============================================
   ABOUT
   ============================================ */
.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}
.about-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(10,22,40,0.18);
}
.about-image-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: #fff;
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(10,22,40,0.12);
    text-align: center;
    border: 1px solid var(--border-soft);
}
.about-image-badge i { font-size: 22px; }
.about-image-badge .fw-bold { color: var(--navy); font-family: 'Poppins', sans-serif; font-size: 1.1rem; }
@media (max-width: 991px) {
    .about-image { height: 280px; }
    .about-image-badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
}

.about-hero {
    background:
        linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(30,49,81,0.88) 100%),
        url('https://images.pexels.com/photos/2102587/pexels-photo-2102587.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(212,168,67,0.1), transparent 70%);
}

.mission-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 32px 22px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.mission-card:hover {
    background: rgba(212,168,67,0.06);
    border-color: rgba(212,168,67,0.3);
    transform: translateY(-4px);
}
.mission-icon { color: var(--gold); font-size: 30px; margin-bottom: 14px; }
.mission-card h5 { color: #fff; font-weight: 600; font-size: 1.05rem; }
.mission-card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin: 0; line-height: 1.6; }

.key-feature-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-soft);
}
.key-feature-item:last-child { border-bottom: none; }
.feature-icon-wrap {
    width: 44px; height: 44px;
    background: rgba(212,168,67,0.08);
    border: 1px solid rgba(212,168,67,0.25);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 17px;
    flex-shrink: 0;
}
.key-feature-item h6 { font-weight: 600; font-size: 0.92rem; color: var(--navy); margin-bottom: 4px; }
.key-feature-item p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ============================================
   INQUIRIES
   ============================================ */
.inquiry-row { cursor: pointer; transition: var(--transition); }
.inquiry-row:hover { background: rgba(212,168,67,0.04); }
.inquiry-row.unread { background: rgba(212,168,67,0.06); }

/* Pagination */
.pagination .page-link {
    color: var(--navy);
    border-color: var(--border);
    border-radius: var(--radius-sm) !important;
    margin: 0 3px;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 14px;
}
.pagination .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
}
.pagination .page-link:hover { background: var(--light-gray); color: var(--navy); }

/* ============================================
   FOOTER
   ============================================ */
.footer-main {
    background: var(--navy);
    color: #fff;
    margin-top: auto;
}
.footer-features {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 50px 0;
}
.footer-feature-icon {
    width: 56px; height: 56px;
    background: transparent;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    color: var(--gold);
    margin: 0 auto 14px;
    transition: var(--transition);
}
.footer-features [class*="col"]:hover .footer-feature-icon {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}
.footer-features h6 { color: #fff; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.footer-features p { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin: 0; line-height: 1.5; }

.footer-content { padding: 64px 0 40px; }
.footer-heading {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex; align-items: flex-start; gap: 10px;
    line-height: 1.5;
}
.footer-contact i { color: var(--gold); margin-top: 4px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-contact a:hover { color: var(--gold); }

.footer-social {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 13px;
}
.footer-social:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0;
}
.footer-bottom p { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin: 0; }

/* ============================================
   ADMIN
   ============================================ */
.admin-sidebar {
    background: var(--navy);
    min-height: calc(100vh - 76px);
    padding: 24px 0;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 11px 22px;
    font-size: 0.875rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.admin-sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,0.03); }
.admin-sidebar .nav-link.active {
    color: var(--gold);
    background: rgba(212,168,67,0.08);
    border-left-color: var(--gold);
}
.admin-sidebar .nav-link i { width: 22px; }

/* ============================================
   FORMS
   ============================================ */
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-control, .form-select {
    border-color: var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    padding: 9px 14px;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.7; }
.input-group-text { background: var(--light-gray); border-color: var(--border); }

/* ============================================
   MISC
   ============================================ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 60px; color: #d8dde5; margin-bottom: 16px; }
.empty-state h4 { color: var(--text-muted); font-weight: 600; }
.empty-state p { color: var(--text-muted); font-size: 0.9rem; opacity: 0.7; }
.toast-container { z-index: 9999; }
.properties-loading { display: none; text-align: center; padding: 40px; }
.spinner-gold { color: var(--gold); }

.alert { border: none; border-radius: var(--radius-sm); font-size: 0.88rem; }
.alert-success { background: rgba(40,167,69,0.08); color: #1a7e34; }
.alert-danger { background: rgba(220,53,69,0.08); color: #b02333; }
.alert-warning { background: rgba(212,168,67,0.1); color: #8a6914; }
.alert-info { background: rgba(0,123,255,0.06); color: #0056b3; }

/* ============================================
   WHATSAPP & CALL BUTTONS
   ============================================ */
.btn-whatsapp {
    background: var(--green);
    color: #fff !important;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}
.btn-whatsapp:hover, .btn-whatsapp:focus {
    background: #1da851;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37,211,102,0.32);
}
.btn-whatsapp i { font-size: 1.05rem; }

.btn-call {
    background: var(--navy);
    color: #fff !important;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}
.btn-call:hover, .btn-call:focus {
    background: var(--navy-soft);
    color: #fff !important;
    transform: translateY(-1px);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 1040;
    transition: var(--transition);
    text-decoration: none;
    animation: whatsapp-pulse 2.5s infinite;
}
.whatsapp-float:hover, .whatsapp-float:focus {
    background: #1da851;
    color: #fff;
    transform: scale(1.08);
}
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.45); }
    70% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================
   RESPONSIVE - Mobile-First Improvements
   ============================================ */
@media (max-width: 1199px) {
    .navbar-brand { margin-right: 1.5rem; }
    #mainNavbar .nav-link { padding: 10px 12px !important; font-size: 0.85rem; }
}

@media (max-width: 991px) {
    /* Navbar mobile drawer */
    #mainNavbar { padding: 12px 0; }
    #mainNavbar .navbar-collapse {
        background: var(--navy);
        margin: 16px -12px -12px;
        padding: 20px 24px 24px;
        border-top: 1px solid rgba(255,255,255,0.06);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    #mainNavbar .navbar-nav {
        flex-direction: column;
        gap: 0;
        margin-bottom: 16px !important;
    }
    #mainNavbar .nav-item { width: 100%; }
    #mainNavbar .nav-link {
        padding: 12px 16px !important;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    #mainNavbar .nav-link::after { display: none; }
    #mainNavbar .nav-link.active,
    #mainNavbar .nav-link:hover {
        background: rgba(212,168,67,0.08) !important;
        color: var(--gold) !important;
    }
    #mainNavbar .dropdown-menu {
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        margin: 4px 0 0;
        padding: 4px;
        box-shadow: none;
    }
    #mainNavbar .dropdown-item {
        color: rgba(255,255,255,0.7);
        font-size: 0.85rem;
        padding: 9px 14px;
    }
    #mainNavbar .dropdown-item:hover {
        background: rgba(212,168,67,0.08);
        color: var(--gold);
    }
    #mainNavbar .navbar-actions {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    #mainNavbar .navbar-actions .btn,
    #mainNavbar .navbar-actions .dropdown { width: 100%; }
    #mainNavbar .navbar-actions .btn { padding: 11px 16px; justify-content: center; }
    #mainNavbar .navbar-actions .dropdown > button { width: 100%; justify-content: center; }

    .hero-section { min-height: auto; padding: 90px 0 70px; }
    .hero-title { font-size: 2.1rem; }
    .section-py { padding: 64px 0; }
    .why-choose-section { padding: 64px 0; }
    .sidebar-card { position: static; margin-bottom: 24px; }
    .property-gallery-main .carousel-item img { height: 320px; }
    .dashboard-sidebar { margin-bottom: 24px; }
    .page-header { padding: 50px 0 44px; }
    .page-header h1 { font-size: 1.7rem; }
}

@media (max-width: 767px) {
    body { font-size: 14px; }
    .hero-section { padding: 70px 0 56px; min-height: auto; }
    .hero-title { font-size: 1.65rem; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .section-title { font-size: 1.4rem; }
    .detail-price { font-size: 1.5rem; }
    .auth-card { padding: 32px 22px; border-radius: var(--radius); }
    .hero-search-box { padding: 16px; }
    .hero-search-box .col-md-4,
    .hero-search-box .col-md-2 { margin-bottom: 6px; }
    .stat-card { padding: 16px; }
    .stat-card h3 { font-size: 1.4rem; }
    .section-py { padding: 48px 0; }
    .why-choose-section { padding: 48px 0; }
    .form-section { padding: 22px 18px; }
    .property-gallery-main .carousel-item img { height: 240px; }
    .detail-stat { min-width: 90px; padding: 12px 14px; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 22px; bottom: 18px; right: 18px; }
    .footer-content { padding: 48px 0 30px; }
    .footer-features { padding: 36px 0; }
    .footer-features .col-6 { margin-bottom: 12px; }
    .footer-feature-icon { width: 48px; height: 48px; font-size: 18px; }
    .filter-tabs .btn { padding: 6px 16px; font-size: 0.78rem; }
    .table-responsive { font-size: 0.82rem; }
    .breadcrumb-item a, .breadcrumb-item.active { font-size: 0.78rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.45rem; }
    .section-title { font-size: 1.25rem; }
    .property-card-body { padding: 14px 16px 8px; }
    .property-card-footer { padding: 10px 16px 14px; }
    .property-title { font-size: 0.92rem; }
    .property-price { font-size: 0.95rem; }
    .container { padding-left: 16px; padding-right: 16px; }
}
