/* ==========================================================================
   Gold Property Consultants - Master Responsive Stylesheet
   Ultra-Fast, Light, 100% Mobile-Friendly & SEO-Optimized Real Estate UI
   ========================================================================== */

:root {
  --primary-navy: #0b132b;
  --secondary-navy: #1c2541;
  --dark-navy: #070d1e;
  --accent-gold: #c99e32;
  --accent-gold-light: #dfb753;
  --accent-gold-dark: #a37c1d;
  --gold-gradient: linear-gradient(135deg, #dfb753 0%, #c99e32 50%, #9e7514 100%);
  --gold-glow: rgba(201, 158, 50, 0.25);
  
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-gold: rgba(201, 158, 50, 0.35);
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 19, 43, 0.08);
  --shadow-lg: 0 12px 28px rgba(11, 19, 43, 0.12);
  --shadow-gold: 0 8px 24px rgba(201, 158, 50, 0.2);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --container-max: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --mobile-bottom-height: 58px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------------------------------
   Top Bar & Header
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--dark-navy);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 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: 12px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

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

.rera-badge-pill {
  background: rgba(201, 158, 50, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 19, 43, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 158, 50, 0.2);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(7, 13, 30, 0.99);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--accent-gold);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand-name-box {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1.1;
}

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

.brand-subtitle {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

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

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-call-btn {
  font-size: 0.9rem;
  padding: 9px 18px;
}

.header-list-btn {
  font-size: 0.9rem;
  padding: 9px 20px;
}

.header-phone-compact {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: #070d1e;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #070d1e;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 158, 50, 0.35);
  color: #000;
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold-light);
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: #070d1e;
}

.btn-navy {
  background: var(--primary-navy);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--secondary-navy);
  color: var(--accent-gold-light);
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

/* Off-Canvas Drawer & Backdrop (Hidden on Desktop) */
.mobile-nav-drawer {
  display: none;
}

.drawer-header,
.drawer-close-btn,
.drawer-links,
.drawer-actions {
  display: none;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  display: block;
}

/* --------------------------------------------------------------------------
   Hero Section & Search Matrix
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 19, 43, 0.88) 0%, rgba(7, 13, 30, 0.94) 100%),
              url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 75px 0 85px 0;
  text-align: center;
  border-bottom: 2px solid rgba(201, 158, 50, 0.3);
}

.hero-subtitle {
  color: var(--accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Hero Search Component */
.search-widget-container {
  max-width: 1040px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid rgba(201, 158, 50, 0.3);
  text-align: left;
}

.search-tabs {
  display: flex;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.search-tabs::-webkit-scrollbar {
  display: none;
}

.search-tab-btn {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.search-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.search-tab-btn.active {
  color: var(--accent-gold-light);
  background: #ffffff;
  border-bottom-color: var(--accent-gold);
}

.search-form-body {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 160px;
  gap: 14px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--text-main);
  outline: none;
  font-weight: 500;
  transition: var(--transition);
  height: 48px;
}

.form-control:focus {
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(201, 158, 50, 0.15);
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 40px auto 0 auto;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Sections & Titles
   -------------------------------------------------------------------------- */
.section {
  padding: 65px 0;
}

.section-bg-alt {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px auto;
}

.section-tag {
  color: var(--accent-gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Filter Controls */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--accent-gold);
  color: var(--primary-navy);
}

.filter-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

/* --------------------------------------------------------------------------
   Property Cards & Grid
   -------------------------------------------------------------------------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

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

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

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.badge-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 19, 43, 0.88);
  color: var(--accent-gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(201, 158, 50, 0.4);
}

.badge-rera {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.compare-checkbox-label {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

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

.property-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-main);
  gap: 6px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.spec-icon {
  color: var(--accent-gold-dark);
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-val {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}

.price-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  background: #f8fafc;
  color: var(--primary-navy);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-icon:hover {
  background: var(--primary-navy);
  color: var(--accent-gold-light);
  border-color: var(--primary-navy);
}

.btn-whatsapp-icon {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn-whatsapp-icon:hover {
  background: #128c7e;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Why Choose Gold Property (Trust Pillars)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.feature-box {
  background: #ffffff;
  padding: 30px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(201, 158, 50, 0.12);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Micro-Location Explorer
   -------------------------------------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.location-card {
  position: relative;
  height: 170px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.location-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 43, 0.2) 0%, rgba(7, 13, 30, 0.88) 100%);
  z-index: 1;
  transition: var(--transition);
}

.location-card:hover::before {
  background: linear-gradient(180deg, rgba(11, 19, 43, 0.4) 0%, rgba(7, 13, 30, 0.96) 100%);
}

.location-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.location-card:hover .location-bg {
  transform: scale(1.08);
}

.location-info {
  position: relative;
  z-index: 2;
}

.location-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.location-stats {
  font-size: 0.82rem;
  color: var(--accent-gold-light);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Free Listing CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
  border-radius: var(--radius-lg);
  padding: 48px 38px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 36px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

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

.cta-desc {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.cta-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.cta-form-box {
  background: #ffffff;
  padding: 26px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Legal Diligence & Title Assurance Box
   -------------------------------------------------------------------------- */
.rera-compliance-box {
  background: rgba(201, 158, 50, 0.08);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.rera-text-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rera-emblem {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
  color: #070d1e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  font-weight: 800;
}

.rera-info h4 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.rera-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.rera-reg-code {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 1rem;
  gap: 12px;
}

.faq-icon {
  color: var(--accent-gold);
  transition: transform 0.3s ease;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-body {
  padding-bottom: 20px;
  max-height: 500px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark-navy);
  color: #94a3b8;
  padding: 60px 0 25px 0;
  border-top: 2px solid rgba(201, 158, 50, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 45px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  margin: 16px 0;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

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

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-contact-icon {
  color: var(--accent-gold);
  margin-top: 2px;
  font-size: 1rem;
  flex-shrink: 0;
}

.social-icons-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--accent-gold);
  color: #070d1e;
  border-color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  gap: 18px;
}

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

/* --------------------------------------------------------------------------
   Interactive Modal & Comparison Drawer
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.open .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(11, 19, 43, 0.1);
  border: none;
  font-size: 1.3rem;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--dark-navy);
  color: #ffffff;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

/* Floating Compare Drawer */
.compare-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-navy);
  color: #ffffff;
  padding: 14px 20px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  border-top: 2px solid var(--accent-gold);
  z-index: 960;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 12px;
}

.compare-drawer.show {
  transform: translateY(0);
}

.compare-drawer-items {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.compare-item-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-item-remove {
  cursor: pointer;
  color: #f87171;
  font-weight: 700;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 13, 30, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201, 158, 50, 0.3);
  z-index: 995;
  height: var(--mobile-bottom-height);
  padding: 4px 10px;
  padding-bottom: max(4px, env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

.mobile-bottom-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
  padding: 4px 0;
}

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

.mobile-bottom-link svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Mobile-Friendly Responsive Breakpoints (< 768px & < 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 38px 28px;
  }
}

@media (max-width: 991px) {
  /* Top Bar */
  .top-bar {
    display: none;
  }

  /* Mobile Header */
  .header-inner {
    height: 70px;
  }

  .brand-logo-img {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 1.18rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 1px;
  }

  /* Hide Desktop Nav and Action Buttons on Mobile */
  .site-nav {
    display: none !important;
  }

  .header-actions .btn-outline-gold,
  .header-actions .btn-gold {
    display: none !important;
  }

  .header-phone-compact {
    display: inline-flex;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  /* Off-Canvas Slide-In Mobile Drawer */
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: #070d1e;
    padding: 24px 20px 30px 20px;
    z-index: 1050;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    border-left: 2px solid var(--accent-gold);
  }

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

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

  .drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

  .drawer-close-btn:hover {
    background: var(--accent-gold);
    color: #070d1e;
  }

  .drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 24px 0;
    padding: 0;
  }

  .drawer-links a {
    font-size: 1.05rem;
    padding: 12px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e2e8f0;
    font-weight: 500;
  }

  .drawer-links a:hover,
  .drawer-links a.active {
    color: var(--accent-gold-light);
  }

  .drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  body {
    padding-bottom: calc(var(--mobile-bottom-height) + 10px);
  }

  /* Hero Section */
  .hero-section {
    padding: 42px 0 52px 0;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
    margin-bottom: 12px;
  }

  .hero-desc {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  /* Mobile Search Component */
  .search-widget-container {
    border-radius: var(--radius-md);
    margin: 0 -4px;
  }

  .search-tabs {
    padding: 4px;
    gap: 4px;
  }

  .search-tab-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
    flex: 0 0 auto;
    border-radius: 6px;
  }

  .search-tab-btn.active {
    background: #ffffff;
    color: var(--primary-navy);
  }

  .search-form-body {
    grid-template-columns: 1fr;
    padding: 16px 14px;
    gap: 12px;
  }

  .form-control {
    font-size: 0.95rem;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 30px;
    padding-top: 20px;
  }

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

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

  /* Filter Tabs on Mobile (Horizontal Swipe Chips) */
  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 6px 12px 6px;
    margin: 0 -14px 22px -14px;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    font-size: 0.82rem;
    padding: 7px 15px;
  }

  /* Property Grid & Cards */
  .property-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-img-wrap {
    height: 190px;
  }

  .card-content {
    padding: 16px;
  }

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

  .property-address {
    margin-bottom: 12px;
  }

  .property-specs {
    font-size: 0.78rem;
    padding: 8px 0;
  }

  .price-val {
    font-size: 1.25rem;
  }

  /* Locations Grid on Mobile */
  .locations-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .location-card {
    height: 140px;
    padding: 14px;
  }

  .location-name {
    font-size: 1.1rem;
  }

  .location-stats {
    font-size: 0.72rem;
  }

  /* Free Listing Banner on Mobile */
  .cta-banner {
    padding: 26px 16px;
    gap: 22px;
    border-radius: var(--radius-md);
  }

  .cta-title {
    font-size: 1.55rem;
  }

  .cta-badges {
    flex-direction: column;
    gap: 8px;
  }

  .cta-form-box {
    padding: 20px 14px;
  }

  /* Legal Diligence Box on Mobile */
  .rera-compliance-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 14px;
  }

  .rera-text-wrap {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .rera-info h4 {
    font-size: 1.05rem;
  }

  /* FAQ Accordion on Mobile */
  .faq-header {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .faq-body {
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .faq-item.active .faq-body {
    padding-bottom: 16px;
  }

  /* Footer on Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .footer-legal-links {
    justify-content: center;
    gap: 14px;
  }

  /* Mobile Bottom Navigation Bar */
  .mobile-bottom-bar {
    display: flex;
  }

  /* Floating WhatsApp (Docked nicely above bottom navigation) */
  .floating-whatsapp {
    bottom: calc(var(--mobile-bottom-height) + 16px);
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 1.55rem;
  }

  /* Comparison Drawer (Docked above bottom bar to avoid collision) */
  .compare-drawer {
    bottom: var(--mobile-bottom-height);
    flex-direction: column;
    padding: 12px 14px;
    gap: 10px;
    text-align: center;
  }

  .compare-drawer-items {
    justify-content: center;
  }

  /* Modals as Native Bottom Sheets on Mobile */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-window {
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    padding-bottom: 30px;
  }

  .modal-overlay.open .modal-window {
    transform: translateY(0);
  }

  .modal-close-btn {
    top: 14px;
    right: 14px;
  }
}

/* Extra small devices (<= 380px e.g. iPhone SE / small Androids) */
@media (max-width: 380px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr;
  }
}
