/* ==========================================================================
   Saga Properties — custom.css
   Comprehensive luxury real estate website stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (ROOT VARIABLES)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colours */
  --gold:           #c9a84c;
  --gold-light:     #e8c97a;
  --gold-dark:      #a07830;
  --gold-rgb:       201, 168, 76;

  --dark-navy:      #0a0a1a;
  --mid-navy:       #1a1a3e;
  --deep-blue:      #0f3460;

  --text-primary:   #1a1a2e;
  --text-muted:     #6c757d;
  --text-light:     #adb5bd;

  --bg-light:       #f8f9fc;
  --bg-white:       #ffffff;

  /* Spacing */
  --section-py:     5rem;

  /* Border Radius */
  --radius-sm:      0.5rem;
  --radius-md:      1rem;
  --radius-lg:      1.5rem;
  --radius-pill:    50rem;

  /* Shadows */
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:      0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:      0 16px 48px rgba(0,0,0,0.14);
  --shadow-gold:    0 4px 20px rgba(201,168,76,0.25);

  /* Transitions */
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

a {
  color: var(--gold);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--gold-dark);
}

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

.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.min-vh-80 { min-height: 80vh; }
.fw-500 { font-weight: 500 !important; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

.x-small { font-size: 0.75rem; }

/* --------------------------------------------------------------------------
   4. SECTION BADGES & TITLES
   -------------------------------------------------------------------------- */
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-pill);
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-title.text-white { color: #ffffff; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.btn-gold:hover,
.btn-gold:focus {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

/* --------------------------------------------------------------------------
   6. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  transition: var(--transition);
  padding: 1rem 0;
}

/* Transparent state (on hero) */
.navbar.navbar-transparent {
  background: transparent !important;
  box-shadow: none;
}

.navbar.navbar-transparent .navbar-brand,
.navbar.navbar-transparent .nav-link {
  color: rgba(255,255,255,0.9) !important;
}

.navbar.navbar-transparent .nav-link:hover {
  color: var(--gold) !important;
}

/* Scrolled / solid state */
.navbar.navbar-scrolled,
.navbar-solid {
  background: rgba(10, 10, 26, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.6rem 0;
}

.navbar.navbar-scrolled .navbar-brand,
.navbar.navbar-scrolled .nav-link,
.navbar-solid .navbar-brand,
.navbar-solid .nav-link {
  color: rgba(255,255,255,0.88) !important;
}

.navbar.navbar-scrolled .nav-link:hover,
.navbar-solid .nav-link:hover {
  color: var(--gold) !important;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.navbar-brand .brand-gold {
  color: var(--gold);
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.85rem !important;
  position: relative;
}

/* Underline animation — only on non-dropdown nav links */
.nav-item:not(.dropdown) .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-item:not(.dropdown) .nav-link:hover::after,
.nav-item:not(.dropdown) .nav-link.active::after {
  width: 60%;
}

/* Fix Bootstrap dropdown caret color */
.navbar .dropdown-toggle::after {
  border-top-color: currentColor;
  vertical-align: 0.2em;
  margin-left: 0.35em;
}

/* Navbar Brand */
.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-saga {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
}

.brand-properties {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

/* Dropdown */
.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 220px;
  background: #fff;
  animation: fadeInDown 0.2s ease;
}

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

.dropdown-item {
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}

/* Mega Dropdown (Buy menu) */
.mega-dropdown {
  min-width: 680px !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18) !important;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

.mega-col {
  padding: 0 1rem;
}

.mega-col:first-child {
  padding-left: 0;
}

.mega-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.mega-link {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
  margin-bottom: 2px;
}

.mega-link:hover {
  background: rgba(201,168,76,0.08);
  color: var(--gold);
  transform: translateX(3px);
}

.mega-link i {
  width: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-navy), var(--mid-navy));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 26, 0.85) 0%,
    rgba(10, 10, 26, 0.60) 50%,
    rgba(10, 10, 26, 0.70) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* Hero Search Card — Buy/Rent radio buttons */
.hero-search-card .btn-outline-gold {
  border-color: rgba(201,168,76,0.5);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.hero-search-card .btn-outline-gold:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.hero-search-card .btn-check:checked + .btn-outline-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 2px 12px rgba(201,168,76,0.35);
}

/* Hero Search label */
.hero-search-card .form-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* Hero Badge */
.hero-badge {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1.2rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* Hero Search Card */
.hero-search-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-search-card .form-control,
.hero-search-card .form-select {
  background-color: rgba(255,255,255,0.08) !important;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  height: 48px;
  font-size: 0.9rem;
  color: #fff !important;
  transition: var(--transition-fast);
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
}

.hero-search-card .form-control::placeholder {
  color: rgba(255,255,255,0.4);
}

.hero-search-card .form-control:focus,
.hero-search-card .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
  background-color: rgba(255,255,255,0.12) !important;
  outline: none;
}

.hero-search-card .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c9a84c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

.hero-search-card .form-select option {
  background-color: #0f1535;
  color: #fff;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat .stat-number,
.hero-stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .stat-label,
.hero-stat-item .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll Indicator */
.scroll-indicator {
  animation: scrollBounce 2s ease infinite;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50%      { transform: translateY(-12px) translateX(-50%); }
}

/* --------------------------------------------------------------------------
   8. PAGE HEADER (DARK)
   -------------------------------------------------------------------------- */
.page-header-dark {
  position: relative;
  overflow: hidden;
}

.page-header-dark::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
  content: '/';
}

.breadcrumb-item a {
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--gold) !important;
}

/* --------------------------------------------------------------------------
   9. PROPERTY CARDS
   -------------------------------------------------------------------------- */
.property-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

/* Property image wrapper — used in template */
.property-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.property-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f2f5, #e8eaed);
}

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

.prop-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.prop-badge.exclusive {
  background: rgba(10,10,26,0.85);
  color: var(--gold);
}

.prop-badge.status-for_sale  { background: var(--gold); color: #fff; }
.prop-badge.status-for_rent  { background: #0f3460; color: #fff; }
.prop-badge.status-sold      { background: #dc3545; color: #fff; }

/* Quick actions overlay */
.property-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  z-index: 2;
}

.property-card:hover .property-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.action-btn:hover {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1);
}

/* Property body */
.property-body {
  padding: 1.25rem;
}

.property-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.property-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.property-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.property-location {
  font-size: 0.82rem;
}

.property-details {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.detail-item {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Property footer */
.property-footer {
  background: #fafbfc;
}

.agent-mini-photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.agent-mini-photo-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

/* --------------------------------------------------------------------------
   10. OFF-PLAN CARDS
   -------------------------------------------------------------------------- */
.offplan-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.offplan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

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

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

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

.offplan-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f2f5, #e8eaed);
  display: flex;
  align-items: center;
  justify-content: center;
}

.offplan-badge-status {
  position: absolute;
  top: 12px;
  left: 12px;
}

/* Status badge variants */
.badge-selling,
.badge-launching,
.badge-sold-out,
.badge-upcoming,
.badge-completed {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-selling    { background: #28a745; color: #fff; }
.badge-launching  { background: var(--gold); color: #fff; }
.badge-sold-out   { background: #dc3545; color: #fff; }
.badge-upcoming   { background: var(--deep-blue); color: #fff; }
.badge-completed  { background: #6c757d; color: #fff; }

.offplan-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  background: #f0f4ff;
  color: #3a5bd9;
  border: 1px solid #d6e0ff;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 500;
}

.detail-chip i { font-size: 0.65rem; }

/* --------------------------------------------------------------------------
   11. COMMUNITY CARDS
   -------------------------------------------------------------------------- */
.community-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.community-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.community-card:hover .community-img {
  transform: scale(1.08);
}

.community-card-link {
  text-decoration: none;
  display: block;
}

.community-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a3e, #0f3460);
}

.community-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 26, 0.90) 0%,
    rgba(10, 10, 26, 0.30) 50%,
    rgba(10, 10, 26, 0.05) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: var(--transition);
}

.community-card:hover .community-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 26, 0.95) 0%,
    rgba(10, 10, 26, 0.50) 60%,
    rgba(10, 10, 26, 0.10) 100%
  );
}

.community-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.community-city {
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.community-count {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   12. AGENT CARDS
   -------------------------------------------------------------------------- */
.agent-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 1.5rem 1rem;
}

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

.agent-photo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
}

.agent-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Detail page agent photo */
.agent-detail-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.agent-detail-photo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}

/* --------------------------------------------------------------------------
   13. TESTIMONIAL CARDS
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.testimonial-text {
  color: rgba(255,255,255,0.75);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   14. WHY CARDS / FEATURE CARDS
   -------------------------------------------------------------------------- */
.why-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 1.3rem;
  border: 1px solid rgba(201,168,76,0.25);
}

.why-card h5 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   15. STEP CARDS
   -------------------------------------------------------------------------- */
.step-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
}

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

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: var(--shadow-gold);
}

/* --------------------------------------------------------------------------
   16. STAT MINI BOXES
   -------------------------------------------------------------------------- */
.stat-mini {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06) !important;
}

.stat-mini:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.2) !important;
}

/* --------------------------------------------------------------------------
   17. DEVELOPER CARDS
   -------------------------------------------------------------------------- */
.developer-card {
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05) !important;
}

.developer-card:hover {
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.2) !important;
}

/* --------------------------------------------------------------------------
   18. BLOG CARDS
   -------------------------------------------------------------------------- */
.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

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

.blog-img-wrap {
  overflow: hidden;
  height: 200px;
}

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

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

.blog-body {
  flex: 1;
}

/* --------------------------------------------------------------------------
   19. GALLERY THUMBNAILS
   -------------------------------------------------------------------------- */
.gallery-thumb {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  opacity: 0.75;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--gold);
  opacity: 1;
  box-shadow: var(--shadow-gold);
}

/* --------------------------------------------------------------------------
   20. DETAIL BOXES
   -------------------------------------------------------------------------- */
.detail-box {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.08) !important;
  transition: var(--transition);
}

.detail-box:hover {
  border-color: rgba(201,168,76,0.25) !important;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   21. FILTER BAR / FILTER SIDEBAR
   -------------------------------------------------------------------------- */
.filter-bar .btn {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 80px;
}

.filter-sidebar .filter-section {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.filter-sidebar .filter-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.filter-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.filter-sidebar .form-check-label {
  font-size: 0.88rem;
  cursor: pointer;
}

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

.filter-sidebar .form-range::-webkit-slider-thumb {
  background: var(--gold);
}

.filter-sidebar .form-range::-moz-range-thumb {
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   22. ENQUIRY FORM / LEAD FORM
   -------------------------------------------------------------------------- */
.enquiry-form .form-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.enquiry-form .form-control,
.enquiry-form .form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  padding: 0.55rem 0.85rem;
  transition: var(--transition-fast);
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  outline: none;
}

.enquiry-form textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.enquiry-form .btn-gold {
  width: 100%;
  padding: 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* Compact form variant */
.enquiry-form.compact .form-control,
.enquiry-form.compact .form-select {
  font-size: 0.83rem;
  padding: 0.45rem 0.75rem;
}

.enquiry-form.compact textarea.form-control {
  min-height: 72px;
}

/* Success state */
.form-success-message {
  text-align: center;
  padding: 2rem;
}

.form-success-message i {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   23. CONTACT INFO
   -------------------------------------------------------------------------- */
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* --------------------------------------------------------------------------
   24. FOOTER
   -------------------------------------------------------------------------- */
.footer-dark {
  background: linear-gradient(180deg, var(--mid-navy) 0%, var(--dark-navy) 100%);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-dark .footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.footer-dark .footer-brand span {
  color: var(--gold);
}

.footer-dark .footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer-links a i {
  font-size: 0.7rem;
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 3rem;
  padding: 1.25rem 0;
}

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

/* --------------------------------------------------------------------------
   25. WHATSAPP FLOAT BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  position: relative;
}

.whatsapp-float-btn:hover {
  background: #20ba5a;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* Pulse ring animation */
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: whatsapp-pulse 2.5s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0%   { transform: scale(0.9); opacity: 0.7; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}

/* Tooltip label */
.whatsapp-float-label {
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float-label {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   26. PAGINATION
   -------------------------------------------------------------------------- */
.pagination .page-link {
  color: var(--text-primary);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm) !important;
  margin: 0 3px;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  transition: var(--transition-fast);
}

.pagination .page-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.pagination .page-item.active .page-link {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* --------------------------------------------------------------------------
   27. CARDS — GENERIC OVERRIDES
   -------------------------------------------------------------------------- */
.card {
  border-radius: var(--radius-md);
}

.card-header {
  border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
  padding: 0.9rem 1.25rem;
}

/* --------------------------------------------------------------------------
   28. FORM CONTROLS — GLOBAL
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

/* --------------------------------------------------------------------------
   29. BADGES — OVERRIDE BOOTSTRAP
   -------------------------------------------------------------------------- */
.badge {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge.bg-gold {
  background-color: var(--gold) !important;
  color: #fff;
}

/* --------------------------------------------------------------------------
   30. ANIMATIONS
   -------------------------------------------------------------------------- */

/* Fade-in-up for page sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Shimmer loading skeleton */
@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 2000px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* Gold shimmer */
@keyframes goldShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.text-gold-shimmer {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  background-size: 400px 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 3s linear infinite;
}

/* --------------------------------------------------------------------------
   31. SEARCH RESULTS HTMX LOADING
   -------------------------------------------------------------------------- */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: block;
}

.htmx-request.htmx-indicator {
  display: block;
}

.search-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   32. BACK-TO-TOP BUTTON
   -------------------------------------------------------------------------- */
#back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: 1.5px solid rgba(201,168,76,0.3);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   33. STICKY SIDEBAR
   -------------------------------------------------------------------------- */
.sticky-top {
  top: 80px;
}

/* --------------------------------------------------------------------------
   34. OFFCANVAS (mobile filter)
   -------------------------------------------------------------------------- */
.offcanvas-header {
  background: var(--dark-navy);
  color: #fff;
}

.offcanvas-header .btn-close {
  filter: invert(1);
}

/* --------------------------------------------------------------------------
   35. FEATURED POST (Blog)
   -------------------------------------------------------------------------- */
.featured-post {
  background: linear-gradient(135deg, #f8f9fc, #fff);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   36. FILTER SIDEBAR LABELS & GROUPS
   -------------------------------------------------------------------------- */
.filter-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.filter-group {
  padding-bottom: 1.1rem;
  margin-bottom: 0;
  border-bottom: 1px solid #f0f2f5;
}

.filter-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-group .form-select,
.filter-group .form-control {
  font-size: 0.88rem;
  border-color: #e8edf2;
  background-color: #fafbfc;
}

.filter-group .form-select:focus,
.filter-group .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,168,76,0.12);
  background-color: #fff;
}

/* Filter results count badge */
.filter-count {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Sort dropdown */
.sort-select {
  font-size: 0.82rem;
  font-weight: 500;
  border-color: #e2e8f0;
  background-color: #fafbfc;
  cursor: pointer;
}

/* Similar property horizontal card */
.similar-prop-card {
  display: flex;
  gap: 0.75rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.similar-prop-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(201,168,76,0.2);
  color: inherit;
}

.similar-prop-img {
  width: 120px;
  flex-shrink: 0;
  height: 100px;
  object-fit: cover;
}

.similar-prop-placeholder {
  width: 120px;
  flex-shrink: 0;
  height: 100px;
  background: linear-gradient(135deg, #f0f2f5, #e8eaed);
  display: flex;
  align-items: center;
  justify-content: center;
}

.similar-prop-body {
  padding: 0.75rem 0.75rem 0.75rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.similar-prop-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.similar-prop-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0.15rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-prop-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   TAB BUTTONS (Featured Properties filter)
   -------------------------------------------------------------------------- */
.tab-btn {
  background: transparent;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-pill);
  padding: 0.4rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

/* --------------------------------------------------------------------------
   37. ENQUIRY FORM CARD
   -------------------------------------------------------------------------- */
.enquiry-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.06);
}

/* --------------------------------------------------------------------------
   38. OFF-PLAN PAYMENT PLAN BADGE
   -------------------------------------------------------------------------- */
.offplan-payment-plan {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10,10,26,0.85);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   39. PRICE LABEL
   -------------------------------------------------------------------------- */
.price-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   40. STEP ICON
   -------------------------------------------------------------------------- */
.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--gold);
  font-size: 1.4rem;
  border: 1px solid rgba(201,168,76,0.2);
}

/* --------------------------------------------------------------------------
   MEDIA QUERIES
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(10, 10, 26, 0.98);
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
    padding: 1rem;
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Mega dropdown: stack columns on mobile */
  .mega-dropdown {
    min-width: 100% !important;
    position: static !important;
    box-shadow: none !important;
    background: rgba(255,255,255,0.04) !important;
    border: none !important;
  }

  .mega-dropdown .row {
    flex-direction: column;
  }

  .mega-dropdown .col-md-3,
  .mega-dropdown .col-md-4,
  .mega-dropdown .col-md-5 {
    border-left: none !important;
    margin-bottom: 0.75rem;
  }

  .mega-heading {
    color: rgba(255,255,255,0.5);
    border-bottom-color: rgba(255,255,255,0.1);
  }

  .mega-link {
    color: rgba(255,255,255,0.8);
  }

  .mega-link:hover {
    color: var(--gold);
    background: rgba(201,168,76,0.08);
  }

  .dropdown-menu {
    background: rgba(255,255,255,0.04);
    border: none;
    box-shadow: none;
  }

  .dropdown-item {
    color: rgba(255,255,255,0.8);
  }

  .dropdown-item:hover {
    background: rgba(201,168,76,0.08);
    color: var(--gold);
  }

  .hero-stats {
    gap: 1.2rem;
  }

  .hero-stat .stat-number,
  .hero-stat-item .stat-number {
    font-size: 1.8rem;
  }

  .filter-sidebar {
    position: static;
  }

  .sticky-top {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-header-dark {
    padding: 3rem 0;
  }

  .py-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .offplan-img-wrap,
  .property-img-wrap {
    height: 180px;
  }

  .community-card {
    height: 200px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
}

@media (max-width: 575.98px) {
  .hero-search-card {
    padding: 1.25rem;
  }

  .agent-photo-wrap {
    width: 80px;
    height: 80px;
  }

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

/* --------------------------------------------------------------------------
   37. PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
  .navbar,
  .whatsapp-float,
  #back-to-top,
  .footer-dark {
    display: none !important;
  }

  body {
    font-size: 12pt;
  }
}

/* --------------------------------------------------------------------------
   38. ACCESSIBILITY
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   39. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.rounded-pill { border-radius: 50rem !important; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.border-gold { border-color: var(--gold) !important; }
.gap-6 { gap: 1.5rem !important; }
