/* ==========================================================================
   DWARKA ONE - LUXURY DESIGN SYSTEM (CSS3)
   Pan-India Real Estate Master Platform Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Royal Indian Luxury Palette */
  --primary: #0a192f;
  --primary-dark: #050d1a;
  --primary-light: #172a45;
  --accent-gold: #d4af37;
  --accent-gold-hover: #b89628;
  --accent-gold-light: #fdf8eb;
  --accent-emerald: #059669;
  --accent-emerald-light: #ecfdf5;
  --accent-ruby: #dc2626;
  --accent-blue: #2563eb;
  
  /* Neutrals & Surfaces */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.92);
  --border-light: #e2e8f0;
  --border-gold: rgba(212, 175, 55, 0.35);
  
  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-luxury: 'Playfair Display', serif;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(10, 25, 47, 0.07);
  --shadow-lg: 0 10px 25px rgba(10, 25, 47, 0.1);
  --shadow-gold: 0 6px 20px rgba(212, 175, 55, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

.font-luxury {
  font-family: var(--font-luxury);
}

.text-gold {
  color: var(--accent-gold);
}

.text-emerald {
  color: var(--accent-emerald);
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.top-bar {
  background: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-links a:hover {
  color: var(--accent-gold);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.4px;
  text-decoration: none;
  height: 44px;
  max-height: 44px;
  max-width: 220px;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo-img {
  height: 38px;
  max-height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.brand-logo-drawer-img {
  height: 36px;
  max-height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-logo-footer-img {
  height: 42px;
  max-height: 42px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo-footer-img:hover {
  transform: scale(1.02);
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.12);
  border: 1px solid var(--accent-gold);
}

.brand-logo span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle-btn {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--primary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.menu-toggle-btn:hover {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 3px 10px rgba(10, 25, 47, 0.15);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(10, 25, 47, 0.2);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ca8a04 100%);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #eab308 0%, #a16207 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(10, 25, 47, 0.03);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
}

/* ==========================================================================
   HERO SEARCH ENGINE & TABS
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 400px;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-white);
  padding: 34px 0 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.22;
  mix-blend-mode: luminosity;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
  letter-spacing: -0.4px;
  line-height: 1.22;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 16px;
  line-height: 1.45;
}

/* Master Multi-Tab Search Box */
.hero-search-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  text-align: left;
}

.search-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-light);
  padding: 2px 6px 8px;
  overflow-x: auto;
}

.search-tab-btn {
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-tab-btn:hover {
  color: var(--primary);
  background: rgba(10, 25, 47, 0.05);
}

.search-tab-btn.active {
  background: var(--primary);
  color: var(--text-white);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr 1.4fr auto;
  gap: 8px;
  padding: 8px 6px 2px;
  align-items: center;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
  border-right: 1px solid var(--border-light);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

.search-field select, .search-field input {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  width: 100%;
  height: 32px;
}

.search-submit-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ca8a04 100%);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.search-submit-btn:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   CITY CLUSTERS & STATE DISCOVERY
   ========================================================================== */
.section {
  padding: 36px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.section-subtitle {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 1px;
  margin-bottom: 3px;
  display: block;
}

.section-title {
  font-size: 1.55rem;
  color: var(--primary);
  font-weight: 800;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.city-card {
  position: relative;
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  display: block;
}

.city-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.city-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.city-card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.08) 0%, rgba(10, 25, 47, 0.85) 100%);
}

.city-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  color: #ffffff;
}

.city-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.city-card-count {
  font-size: 0.78rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   CATEGORY ENGINE (30+ TYPES)
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.category-pill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.category-pill-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-pill-icon {
  font-size: 1.6rem;
  margin-bottom: 2px;
}

.category-pill-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.category-pill-group {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   PROPERTY CARDS (LUXURY PRESENTATION)
   ========================================================================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.property-card-thumb {
  position: relative;
  height: 175px;
  overflow: hidden;
}

.property-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-card-thumb img {
  transform: scale(1.04);
}

.property-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 2;
}

.badge-rera {
  background: var(--accent-emerald);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-featured {
  background: var(--accent-gold);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.badge-purpose {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(10, 25, 47, 0.85);
  color: #ffffff;
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.property-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
}

.property-card-price small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.property-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  line-height: 1.3;
}

.property-card-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.property-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 10px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.spec-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.property-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.property-card-actions .btn {
  flex: 1;
  padding: 6px 10px;
  font-size: 0.8rem;
}

/* ==========================================================================
   INTERACTIVE TOOLS (LAND CONVERTER & EMI CALCULATOR)
   ========================================================================== */
.tools-section {
  background: #f1f5f9;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.tool-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

/* Responsive Form Rows & Grids (Multi-column on desktop, 1-column on mobile) */
.form-row-2col,
.form-row-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-row-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .form-row-2col,
  .form-row-3col,
  .form-row-responsive,
  form [style*="grid-template-columns"],
  .modal-box [style*="grid-template-columns"],
  .admin-modal-box [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }
  form [style*="grid-column: span"],
  form [style*="grid-column:span"] {
    grid-column: span 1 !important;
  }
}

.range-slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.range-slider {
  flex-grow: 1;
  accent-color: var(--accent-gold);
  height: 5px;
  cursor: pointer;
}

.emi-results-box {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-top: 14px;
}

.emi-val-big {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 4px 0;
}

.converter-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.unit-result-box {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px;
  text-align: center;
}

.unit-result-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.unit-result-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #f8fafc;
  color: #475569;
  padding: 40px 0 20px;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -2px 16px rgba(15, 23, 42, 0.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer p {
  color: #475569;
}

.footer-title {
  font-size: 0.98rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 4px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  color: #475569;
}

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

.footer a {
  color: #334155;
}

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

.footer a[href^="tel:"] {
  color: #0f172a !important;
}

.footer a[href*="wa.me"] {
  color: #059669 !important;
}

.footer [style*="#cbd5e1"],
.footer [style*="#94a3b8"] {
  color: #64748b !important;
}

.footer [style*="#ffffff"] {
  color: #0f172a !important;
}

.footer .btn-gold,
.footer .btn-gold * {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom a {
  color: #64748b;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.15rem;
  }
  .search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 6px 0;
  }
  .search-submit-btn {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px !important; /* Space for sticky bottom navigation */
  }

  /* Compact Top Bar on Mobile - Clean Single Line */
  .top-bar {
    padding: 4px 0 !important;
    font-size: 0.72rem !important;
  }
  .top-bar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }
  .top-bar-badge, 
  .top-bar-left,
  .top-bar-inner > div:first-child {
    display: none !important; /* Hide long badge and all-India text on mobile */
  }
  .top-bar-links {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.72rem !important;
    gap: 6px !important;
  }
  .top-bar-vip {
    font-weight: 700;
    color: #cbd5e1;
    white-space: nowrap;
  }
  .top-bar-vip a {
    color: var(--accent-gold) !important;
  }
  .top-bar-link {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  /* Compact Sticky Navbar on Mobile */
  .navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }
  .nav-container {
    height: 52px !important;
    padding: 0 12px !important;
  }
  .brand-logo {
    font-size: 1.1rem !important;
    gap: 6px !important;
  }
  .brand-logo-img {
    height: 34px !important;
    max-width: 135px !important;
  }
  .brand-logo-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }
  .brand-logo-sub,
  .brand-logo div div {
    display: none !important; /* Hide subtitle on mobile to keep navbar height compact */
  }
  .nav-menu {
    display: none !important;
  }
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .nav-actions .btn-auth,
  .nav-actions .post-property-dropdown-wrap,
  .nav-actions .btn-post-property {
    display: none !important; /* Hidden in top navbar on mobile; accessible via sticky bottom dock & drawer menu */
  }
  .menu-toggle-btn,
  #menu-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    font-size: 1.15rem !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    color: var(--primary) !important;
    box-shadow: 0 1px 4px rgba(10, 25, 47, 0.06) !important;
    cursor: pointer !important;
  }

  /* Responsive Grid & Hero Layouts */
  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.22 !important;
  }
  .hero-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 12px !important;
  }
  .search-grid {
    grid-template-columns: 1fr !important;
  }
  .search-submit-btn {
    grid-column: span 1 !important;
  }
  .footer {
    padding: 24px 0 80px !important; /* Extra bottom padding for sticky bottom nav */
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 18px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
  }
  .footer-links a {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
  }
  .properties-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 400px) {
  .top-bar-links .crm-link {
    display: none !important; /* On small 360px screens, keep VIP Desk & Admin Console for 1-line layout */
  }
  .brand-logo {
    font-size: 1rem !important;
  }
}

/* ==========================================================================
   STICKY MOBILE APP BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 54px;
  background: rgba(10, 25, 47, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  z-index: 4000;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
}

.mobile-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  gap: 1px;
  flex: 1;
  height: 100%;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-nav-tab.active, .mobile-nav-tab:hover {
  color: var(--accent-gold);
}

.mobile-nav-tab .tab-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.mobile-nav-tab.tab-post-prop {
  position: relative;
  top: -8px;
}

.mobile-nav-tab.tab-post-prop .tab-post-circle {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 50%, #b45309 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.5);
  border: 2px solid #0a192f;
  transition: transform 0.2s ease;
}

.mobile-nav-tab.tab-post-prop:hover .tab-post-circle {
  transform: scale(1.06);
}

/* ==========================================================================
   SLIDING LUXURY MOBILE DRAWER MENU
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 84%;
  max-width: 320px;
  height: 100%;
  background: linear-gradient(180deg, #071324 0%, #0d233f 100%);
  z-index: 9999;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: #ffffff;
  padding: 18px 16px;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 9, 20, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(212, 175, 55, 0.3);
  color: var(--accent-gold);
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.drawer-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-nav-list a:hover, .drawer-nav-list a.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
}

.drawer-actions-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

/* ==========================================================================
   PRIMARY CTA: POST PROPERTY BUTTON ⭐ & AUTH BUTTONS
   ========================================================================== */
.btn-post-property {
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 50%, #b45309 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-size: 0.88rem;
}

.btn-post-property:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
  color: #ffffff;
}

.btn-post-property .star-icon {
  color: #fff;
  font-size: 1rem;
  display: inline-block;
  animation: starPulse 2s infinite ease-in-out;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(15deg); }
}

/* Post Property Mega Dropdown Menu */
.post-property-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.post-property-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 280px;
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(10, 25, 47, 0.16);
  padding: 10px;
  z-index: 2500;
  animation: fadeInDown 0.2s ease-out forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-property-dropdown-wrap:hover .post-property-dropdown-menu,
.post-property-dropdown-wrap:focus-within .post-property-dropdown-menu {
  display: block;
}

.post-property-dropdown-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-gold);
  padding: 4px 10px 6px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 4px;
}

.post-property-dropdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-property-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
  text-decoration: none;
}

.post-property-dropdown-item:hover {
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  transform: translateX(3px);
}

.btn-auth {
  background: rgba(10, 25, 47, 0.06);
  color: var(--primary);
  border: 1px solid var(--border-light);
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  transition: var(--transition);
}

.btn-auth:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   INTERACTIVE MULTI-ROLE AUTH MODAL
   ========================================================================== */
.auth-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 13, 26, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.auth-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.auth-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transform: translateY(14px);
  transition: transform 0.25s ease;
}

.auth-modal-overlay.active .auth-modal-card {
  transform: translateY(0);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.15rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.auth-modal-close:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.auth-role-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-sm);
  gap: 3px;
  margin: 14px 0 16px;
}

.auth-role-tab {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  border: none;
  background: transparent;
}

.auth-role-tab.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.auth-type-toggle {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
}

.auth-type-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 3px 10px;
  position: relative;
}

.auth-type-btn.active {
  color: var(--accent-gold);
}

.auth-type-btn.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
}

/* ==========================================================================
   PROJECTS SHOWCASE CARDS & STYLING
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
}

.project-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

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

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.project-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.status-ready {
  background: #10b981;
  color: #ffffff;
}

.status-construction {
  background: #f59e0b;
  color: #ffffff;
}

.status-new {
  background: #3b82f6;
  color: #ffffff;
}

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

.project-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

.project-title {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.project-developer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.project-price-tag {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.project-amenities-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.project-amenity-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--text-main);
  font-weight: 600;
}

.project-footer-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

/* ==========================================================================
   AGENTS DIRECTORY CARDS & STYLING
   ========================================================================== */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.agent-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.agent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
}

.agent-header, .agent-card-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
}

.agent-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.agent-title {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 1px;
}

.agent-agency {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.agent-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.agent-detail-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.agent-detail-item span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.agent-detail-item strong {
  font-size: 0.8rem;
  color: var(--text-main);
  font-weight: 700;
}

.agent-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.agent-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.agent-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-agent-wa {
  flex: 1;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.82rem;
}

.btn-agent-call {
  flex: 1;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.82rem;
}

/* ==========================================================================
   BLOG & INSIGHTS CARDS
   ========================================================================== */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  height: 175px;
  overflow: hidden;
  position: relative;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 25, 47, 0.85);
  color: var(--accent-gold);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.blog-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.blog-title {
  font-size: 1.05rem;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 6px;
  font-weight: 700;
}

.blog-summary {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.blog-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
}

.blog-tag {
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ==========================================================================
   CONTACT PAGE & BRANCH OFFICE CARDS
   ========================================================================== */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.branch-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.branch-card.hq {
  border: 1.5px solid var(--accent-gold);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-gold-light) 100%);
}

.branch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.branch-city {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.branch-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

/* ==========================================================================
   LUXURY PROPERTY PRODUCT GALLERY & LIGHTBOX SYSTEM (MATCH REFERENCE DESIGN)
   ========================================================================== */

/* Breadcrumb Bar */
.prop-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 6px 0;
}
.prop-breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.prop-breadcrumbs a:hover {
  color: var(--accent-gold);
}
.prop-breadcrumbs .separator {
  color: #cbd5e1;
  font-size: 0.7rem;
}
.prop-breadcrumbs .current {
  color: var(--primary);
  font-weight: 700;
}

/* Main Hero Grid Layout (Left Gallery 68% + Right Sticky Quick Card 32%) */
.prop-hero-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

/* Left Mosaic Gallery Container (Top Main Photo Full-width + Bottom Thumbnails Row) */
.prop-mosaic-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Featured Top Main Photo Box (Auto-adjustable fluid sizing with 16:9 aspect-ratio) */
.mosaic-main-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  min-height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: #0f172a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mosaic-main-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.mosaic-main-photo-wrap:hover .mosaic-main-photo {
  transform: scale(1.02);
}

/* Photo Counter Badge */
.gallery-counter-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 25, 47, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
}

/* Main Photo Chevrons (Prev / Next) */
.gallery-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.gallery-nav-arrow:hover {
  background: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
  transform: translateY(-50%) scale(1.08);
}
.gallery-nav-arrow.prev {
  left: 10px;
}
.gallery-nav-arrow.next {
  right: 10px;
}

/* Main Photo Bottom Caption Bar */
.gallery-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 25, 47, 0.92) 100%);
  padding: 20px 14px 10px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
}
.caption-tag-pill,
.caption-title,
.caption-subtitle {
  display: none !important; /* Clean photos without room names per user request */
}

/* Fullscreen Zoom Icon Button */
.gallery-zoom-trigger {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.gallery-zoom-trigger:hover {
  background: #ffffff;
  color: var(--primary);
}

/* Bottom Horizontal Thumbnails Grid (Auto-adjustable 16:9 Aspect-ratio) */
.mosaic-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  width: 100%;
}
.mosaic-thumb-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #1e293b;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}
.mosaic-thumb-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.mosaic-thumb-tile:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
.mosaic-thumb-tile:hover img {
  transform: scale(1.06);
}
.mosaic-thumb-tile.active {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}
.mosaic-thumb-badge {
  display: none !important; /* Clean photos without room names per user request */
}

/* 6th Tile: "+X All Photos" Overlay Button */
.mosaic-all-photos-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #0a192f;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}
.mosaic-all-photos-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4);
  transition: transform 0.35s ease;
}
.mosaic-all-photos-tile:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}
.mosaic-all-photos-tile:hover img {
  transform: scale(1.06);
}
.mosaic-all-photos-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding: 4px;
  transition: background 0.2s ease;
}
.mosaic-all-photos-tile:hover .mosaic-all-photos-overlay {
  background: rgba(10, 25, 47, 0.4);
}
.mosaic-all-photos-overlay .icon {
  font-size: 1rem;
  margin-bottom: 1px;
}
.mosaic-all-photos-overlay .text {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}
.mosaic-all-photos-overlay .sub {
  font-size: 0.6rem;
  color: var(--accent-gold);
  font-weight: 600;
}

/* ==========================================================================
   RIGHT SIDEBAR: STICKY QUICK PROPERTY INFO & ACTIONS CARD
   ========================================================================== */
.prop-quick-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 74px;
}
.prop-quick-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.prop-quick-badges {
  display: flex;
  gap: 6px;
  align-items: center;
}
.prop-quick-status-pill {
  background: #10b981;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.prop-quick-id-pill {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
}
.prop-wishlist-btn {
  background: none;
  border: 1px solid var(--border-light);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.prop-wishlist-btn:hover, .prop-wishlist-btn.active {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: scale(1.08);
}

.prop-quick-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 3px;
}
.prop-quick-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.prop-quick-price-box {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 10px;
}
.prop-quick-price {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary);
}
.prop-quick-price-breakup-link {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.prop-quick-price-breakup-link:hover {
  text-decoration: underline;
}

/* 3-Column Key Specs Strip */
.prop-quick-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #f8fafc;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  text-align: center;
  border: 1px solid var(--border-light);
}
.quick-spec-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.quick-spec-item .val {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
}
.quick-spec-item .lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Action Buttons */
.btn-contact-owner-main {
  width: 100%;
  background: #10b981;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}
.btn-contact-owner-main:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.35);
}

.prop-quick-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.btn-quick-wa {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-quick-wa:hover {
  background: #16a34a;
  color: #ffffff;
}
.btn-quick-visit {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-quick-visit:hover {
  background: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
}

/* Verified Agent / Consultant Profile Card */
.prop-agent-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
}
.prop-agent-strip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.agent-strip-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-gold);
}
.agent-strip-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 3px;
}
.agent-strip-role {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.agent-strip-rating {
  font-size: 0.7rem;
  color: #d97706;
  font-weight: 700;
}

/* ==========================================================================
   DEDICATED CATEGORY-WISE PHOTO GALLERY SECTION
   ========================================================================== */
.photo-gallery-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.gallery-section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.gallery-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.gallery-section-title span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Category Filter Tabs */
.gallery-filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.gallery-filter-btn {
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gallery-filter-btn:hover {
  background: #e2e8f0;
}
.gallery-filter-btn.active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.gallery-actions-right {
  display: flex;
  gap: 6px;
}
.btn-upload-photo {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.btn-upload-photo:hover {
  border-color: var(--primary);
  background: #f8fafc;
}

/* Scrollable Thumbnails Carousel Track */
.gallery-carousel-container {
  position: relative;
  margin-top: 10px;
}
.gallery-carousel-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.gallery-carousel-track::-webkit-scrollbar {
  height: 4px;
}
.gallery-carousel-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.gallery-thumb-card {
  flex: 0 0 clamp(110px, 12vw, 140px);
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.gallery-thumb-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.gallery-thumb-card.active {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}
.gallery-thumb-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gallery-thumb-card-title {
  display: none !important; /* Hide room names per user request */
}

/* Carousel Scroll Arrow Buttons */
.carousel-scroll-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  z-index: 5;
  transition: all 0.2s ease;
}
.carousel-scroll-arrow:hover {
  background: var(--primary);
  color: #ffffff;
}
.carousel-scroll-arrow.left {
  left: -12px;
}
.carousel-scroll-arrow.right {
  right: -12px;
}

/* ==========================================================================
   6-PILLAR FEATURE HIGHLIGHTS BAR
   ========================================================================== */
.gallery-features-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.feature-badge-pill {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 4px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.feature-badge-pill:hover {
  background: #ffffff;
  border-color: var(--accent-gold);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   INTERACTIVE FULLSCREEN LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 47, 0.96);
  z-index: 3000;
  display: none;
  flex-direction: column;
  backdrop-filter: blur(10px);
}
.lightbox-modal-overlay.open {
  display: flex;
}
.lightbox-header {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.lightbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lightbox-close-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close-btn:hover {
  color: #ef4444;
}
.lightbox-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 60px;
}
.lightbox-img-viewer {
  max-width: 90vw;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease;
}
.lightbox-caption-text {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
}
.lightbox-filmstrip-wrap {
  height: 70px;
  padding: 6px 16px;
  background: rgba(15, 23, 42, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  align-items: center;
  justify-content: center;
}
.lightbox-filmstrip-thumb {
  height: 48px;
  width: 72px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.6;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}
.lightbox-filmstrip-thumb:hover {
  opacity: 0.9;
}
.lightbox-filmstrip-thumb.active {
  opacity: 1;
  border-color: var(--accent-gold);
  transform: scale(1.06);
}

/* Price Breakup Modal & Upload Photo Modal */
.prop-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.prop-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 20px 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* Responsive Rules for Gallery */
@media (max-width: 1100px) {
  .prop-hero-layout {
    grid-template-columns: 1fr;
  }
  .prop-quick-card {
    position: static;
  }
  .gallery-features-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mosaic-main-photo-wrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
  .mosaic-thumbs-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    height: auto !important;
    gap: 4px !important;
  }
  .mosaic-thumb-tile, .mosaic-all-photos-tile {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
  .gallery-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .lightbox-body {
    padding: 8px;
  }
}

/* ==========================================================================
   SPECIFICATIONS & INSTANT INQUIRY LAYOUT
   ========================================================================== */
.prop-specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .prop-specs-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Glowing Highlight Animation when Enquire Now is Clicked */
.highlight-inquiry-box {
  animation: pulseInquiryGlow 2.5s ease-in-out !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.4) !important;
}

@keyframes pulseInquiryGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.25); }
  100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.4); }
}

/* ==========================================================================
   SIDEBAR & GLOBAL SOCIAL MEDIA & DYNAMIC VIDEO WIDGETS
   ========================================================================== */
.sidebar-social-video-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.sidebar-social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 10px 0 14px;
}

.social-icon-btn {
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.15rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  position: relative;
}

.social-icon-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}

.social-btn-facebook {
  background: #1877F2;
}

.social-btn-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-btn-youtube {
  background: #FF0000;
}

.social-btn-linkedin {
  background: #0A66C2;
}

.social-btn-pinterest {
  background: #E60023;
}

.social-btn-whatsapp {
  background: #25D366;
}

.sidebar-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0a192f;
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.25);
  margin-top: 10px;
}

.sidebar-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.sidebar-video-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   DYNAMIC BLOG READ COUNT & LIVE AUDIENCE ANALYTICS
   ========================================================================== */
.blog-read-analytics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-top: 14px;
}

.read-stat-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.read-stat-card:hover {
  transform: translateY(-1px);
  border-color: var(--accent-gold);
}

.read-stat-icon {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.read-stat-card.live .read-stat-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.read-stat-info {
  display: flex;
  flex-direction: column;
}

.read-stat-label {
  font-size: 0.65rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
}

.read-stat-value {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-stat-value.gold {
  color: var(--accent-gold);
}

.read-stat-value.emerald {
  color: #34d399;
}

.live-indicator-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-live 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-live {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Card Badge Read Counts */
.blog-card-reads-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

/* ==========================================================================
   UNIVERSAL RESPONSIVE FORM & MEDIA GRID SYSTEM (Mobile & Laptop Views)
   ========================================================================== */
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.form-grid-1-1-15 {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 12px;
}

.seller-map-input-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

/* Category Selector Grid - Laptop / Desktop */
.cat-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

/* Responsive Overrides for Mobile View (< 768px) */
@media (max-width: 768px) {
  .form-grid-3,
  .form-grid-2,
  .form-grid-2-1,
  .form-grid-1-1-15,
  .seller-map-input-group {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .seller-map-input-group a.btn,
  .seller-map-input-group button.btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .cat-selector-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)) !important;
    gap: 6px !important;
  }

  .cat-selector-card {
    padding: 8px 4px !important;
  }

  .cat-selector-icon {
    font-size: 1.25rem !important;
  }

  .cat-selector-name {
    font-size: 0.7rem !important;
  }

  .category-spec-box {
    padding: 12px 10px !important;
  }

  .category-spec-box div[style*="grid-template-columns"],
  form div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .amenities-checkbox-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  /* Map & Video Container Mobile Fluidity */
  #seller-video-preview-box,
  #new-prop-video-preview-box,
  #ag-video-preview-box,
  #user-video-preview-box {
    max-width: 100% !important;
  }

  #btn-detect-gps,
  #seller-post-form button[type="submit"],
  #user-add-property-form button[type="submit"],
  #agent-add-property-form button[type="submit"] {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Form control comfortable touch targets on mobile */
  input.form-control,
  select.form-control,
  textarea.form-control {
    font-size: 15px !important;
    min-height: 40px;
  }
}

/* ==========================================================================
   MASTER ZERO-OVERFLOW MOBILE RESPONSIVE ENGINE (320px - 992px)
   ========================================================================== */

/* Universal Containment to prevent horizontal blowout on all devices */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  width: 100%;
}

img, video, iframe, canvas, svg {
  max-width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .prop-hero-layout,
  .prop-specs-layout,
  .agent-profile-layout,
  .blog-detail-layout,
  .properties-layout,
  main div[style*="grid-template-columns"],
  main section[style*="grid-template-columns"],
  section[style*="grid-template-columns: 1.5fr 1fr"],
  section[style*="grid-template-columns: 1fr 390px"],
  section[style*="grid-template-columns: 1fr 380px"],
  section[style*="grid-template-columns: 1fr 360px"],
  section[style*="grid-template-columns: 1fr 340px"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .prop-quick-card,
  .blog-detail-sidebar,
  .agent-detail-sidebar {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px !important;
  }

  /* Top Announcement Bar */
  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 4px 0;
  }

  .top-bar-links {
    gap: 10px;
    font-size: 0.72rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Navigation Bar */
  .nav-container {
    height: 52px !important;
  }

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

  /* Property Detail Page Mobile Polish */
  .prop-hero-layout {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .mosaic-main-photo-wrap {
    aspect-ratio: 16 / 10 !important;
    min-height: 180px !important;
    max-height: 280px !important;
    height: auto !important;
    border-radius: var(--radius-sm) !important;
  }

  .mosaic-thumbs-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
  }

  .mosaic-thumb-tile,
  .mosaic-all-photos-tile {
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    min-height: 48px !important;
  }

  .prop-quick-card {
    padding: 14px 12px !important;
    border-radius: var(--radius-md) !important;
  }

  .prop-quick-title {
    font-size: 1.15rem !important;
  }

  .prop-quick-price {
    font-size: 1.35rem !important;
  }

  .prop-quick-specs {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding: 6px 4px !important;
  }

  .quick-spec-item .val {
    font-size: 0.78rem !important;
  }

  .quick-spec-item .lbl {
    font-size: 0.6rem !important;
  }

  .prop-quick-actions-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .btn-quick-wa,
  .btn-quick-visit {
    padding: 8px 6px !important;
    font-size: 0.76rem !important;
  }

  .gallery-section-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .gallery-filter-tabs {
    overflow-x: auto;
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-filter-btn {
    white-space: nowrap;
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
    flex-shrink: 0;
  }

  .gallery-features-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .feature-badge-pill {
    font-size: 0.68rem !important;
    padding: 6px 4px !important;
  }

  /* Grids Collapse */
  .properties-grid,
  .featured-properties-grid,
  .agents-grid,
  .projects-grid,
  .blogs-grid,
  div[style*="grid-template-columns: repeat(auto-fit, minmax(360px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill, minmax(360px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill, minmax(380px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(340px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill, minmax(300px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill, minmax(290px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .cities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .city-card {
    height: 140px !important;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 10px !important;
  }

  .mosaic-thumbs-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
  }

  .mosaic-thumb-badge {
    display: none !important;
  }

  .hero-search-tabs {
    overflow-x: auto;
    width: 100%;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .search-tab-btn {
    white-space: nowrap;
    font-size: 0.74rem !important;
    padding: 6px 10px !important;
    flex-shrink: 0;
  }

  .hero-search-form {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  .btn-search-submit {
    width: 100% !important;
    height: 42px !important;
  }

  .modal-card,
  .auth-modal-card,
  .prop-modal-box {
    padding: 16px 12px !important;
    width: 95vw !important;
    margin: 6px !important;
  }
}



