/* ============================================================
   AL KAREEM DEVELOPERS — CUSTOM STYLES
   Design tokens: Navy #0D2137 · Gold #C9A84C · Cream #FAF8F3
   Fonts: Cinzel (display) · Inter (body) · Noto Nastaliq Urdu (RTL)
   Mobile-first. Breakpoints: 375 · 640 · 768 · 1024 · 1280
============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
============================================================ */
:root {
  --navy:        #0D2137;
  --navy-lt:     #1a3a5c;
  --navy-dk:     #081525;
  --gold:        #C9A84C;
  --gold-lt:     #E5C96A;
  --gold-dk:     #A88830;
  --cream:       #FAF8F3;
  --warm-white:  #FFFFFF;
  --gray-50:     #F9F7F2;
  --gray-100:    #EEE9DF;
  --gray-400:    #9E9484;
  --gray-600:    #5C5548;
  --gray-800:    #2D2820;

  --font-display: 'Cinzel', 'Georgia', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-urdu:    'Noto Nastaliq Urdu', serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-card: 0 4px 24px rgba(13, 33, 55, 0.09);
  --shadow-hover: 0 12px 40px rgba(13, 33, 55, 0.16);
  --shadow-nav:  0 2px 24px rgba(13, 33, 55, 0.28);

  --transition-fast: 180ms ease;
  --transition-mid:  260ms ease;
}


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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background-color: var(--cream);
  margin: 0;
}

/* RTL: switch to Urdu Nastaliq globally */
html[dir="rtl"] body {
  font-family: var(--font-urdu);
  line-height: 2.1;   /* Nastaliq needs generous line-height */
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }

/* Screen-reader only helper */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.hidden { display: none !important; }


/* ============================================================
   3. UTILITY / SHARED
============================================================ */

/* Gold gradient text (hero headline) */
.text-gold-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section decorative divider */
.gold-divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 2px;
  margin: 1.25rem 0 2rem;
}
html[dir="rtl"] .gold-divider { margin-left: auto; margin-right: 0; }

/* Shared section header block */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header .gold-divider { margin: 1.25rem auto 0; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 0.6rem;
}
html[dir="rtl"] .section-label { letter-spacing: 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
html[dir="rtl"] .section-title { font-family: var(--font-urdu); }

.section-title.light { color: #fff; }

.section-sub {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}
.section-sub.light { color: rgba(255,255,255,0.72); }

/* Shared primary button */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.45);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--gold-lt);
  outline-offset: 3px;
}
.btn-primary.large  { font-size: 1rem; padding: 1rem 2.4rem; }
.btn-primary.full-width { width: 100%; text-align: center; }

/* Outline button */
.btn-outline {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold-lt);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.btn-outline:hover { background-color: var(--gold); color: var(--navy); }
.btn-outline:focus-visible { outline: 3px solid var(--gold-lt); outline-offset: 3px; }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   4. WHATSAPP FLOATING ACTION BUTTON
============================================================ */
.wa-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.4s infinite;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.wa-fab:hover { transform: scale(1.08); background-color: #1ebe5d; }
.wa-fab svg { width: 28px; height: 28px; }

html[dir="rtl"] .wa-fab { right: auto; left: 1.5rem; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0.5); }
  60%       { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}


/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 7px 16px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Urdu RTL: slightly larger for Nastaliq legibility */
html[dir="rtl"] .announce-bar {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 15px;
  padding: 8px 16px;
}

/* ============================================================
   5. NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 28px; left: 0; right: 0;    /* push down by announce bar height */
  z-index: 1000;
  background-color: rgba(13, 33, 55, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition-mid), background-color var(--transition-mid);
}
.navbar.scrolled { box-shadow: var(--shadow-nav); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  cursor: pointer;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
}
.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}
html[dir="rtl"] .logo-name { font-family: var(--font-urdu); letter-spacing: 0; font-size: 0.9rem; }
html[dir="rtl"] .logo-sub  { letter-spacing: 0; }

/* Desktop nav links */
.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .navbar-links { display: flex; } }

.nav-link {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: color var(--transition-fast);
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition-mid);
}
.nav-link:hover { color: var(--gold-lt); }
.nav-link:hover::after { width: 100%; }
html[dir="rtl"] .nav-link::after { left: auto; right: 0; }

/* Navbar right controls */
.navbar-controls {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) { .navbar-controls { display: flex; } }

.navbar-phone {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
.navbar-phone svg { width: 14px; height: 14px; flex-shrink: 0; }
.navbar-phone:hover { color: var(--gold-lt); }

.btn-wa-nav {
  display: flex; align-items: center; gap: 0.4rem;
  background-color: #25D366;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  white-space: nowrap;
}
.btn-wa-nav svg { width: 14px; height: 14px; }
.btn-wa-nav:hover { background-color: #1ebe5d; }

/* Language toggle */
.lang-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.lang-btn.active {
  background-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.lang-btn:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: -2px; }

/* Mobile right controls */
.navbar-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
@media (min-width: 1024px) { .navbar-mobile-controls { display: none; } }

.hamburger-btn {
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: #fff; cursor: pointer;
  padding: 0.3rem;
  border-radius: 4px;
  transition: color var(--transition-fast);
}
.hamburger-btn svg { width: 22px; height: 22px; }
.hamburger-btn:hover { color: var(--gold-lt); }
.hamburger-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Mobile dropdown */
.mobile-menu {
  background-color: var(--navy-dk);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-link {
  display: block;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  cursor: pointer;
}
.mobile-nav-link:hover { color: var(--gold-lt); background-color: rgba(255,255,255,0.04); }

.mobile-menu-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-phone-link {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}


/* ============================================================
   6a. INNER PAGE BANNER (projects / payment-plans / about / contact)
   Replaces the full hero on non-home pages — compact navy strip.
============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  padding: 8rem 0 3rem;   /* top clears navbar + announce bar */
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal stripe — same as plans section */
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(201,168,76,0.04) 0px, rgba(201,168,76,0.04) 1px,
    transparent 1px, transparent 60px
  );
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0.4rem 0 0.75rem;
  line-height: 1.2;
}
html[dir="rtl"] .page-banner-title { font-family: var(--font-urdu); }

.page-banner-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  line-height: 1.7;
}

/* ============================================================
   6. HERO SECTION
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
  padding-top: 96px;  /* navbar (68px) + announce bar (28px) */
  overflow: hidden;
}

/* ── Hero Image Slider ───────────────────────────────────── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each slide: fills the slider, image covers it */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* Slide enters from bottom-right, exits to top-left — like the SVG rising */
  transform: scale(1.06) translateY(14px);
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 1;
}
/* Exiting slide fades out and drifts up */
.hero-slide.exit {
  opacity: 0;
  transform: scale(0.97) translateY(-10px);
  z-index: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Dark gradient overlay — keeps text readable over bright images */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to right,
      rgba(13,33,55,0.82) 0%,
      rgba(13,33,55,0.55) 50%,
      rgba(13,33,55,0.30) 100%
    ),
    linear-gradient(
      to top,
      rgba(13,33,55,0.7) 0%,
      transparent 60%
    );
  pointer-events: none;
}

/* Prev / Next arrow buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(13,33,55,0.5);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: rgba(201,168,76,0.75);
  border-color: var(--gold);
  outline: none;
}
.slider-arrow:active { transform: translateY(-50%) scale(0.93); }
.slider-arrow svg { width: 18px; height: 18px; }

.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

@media (min-width: 768px) {
  .slider-prev { left: 1.5rem; }
  .slider-next { right: 1.5rem; }
}

/* Dot indicators */
.slider-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 7px;
  align-items: center;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  flex-shrink: 0;
}
.slider-dot.active {
  background: var(--gold);
  transform: scale(1.25);
  width: 22px;
  border-radius: 4px;
}
.slider-dot:hover  { background: rgba(255,255,255,0.75); }
.slider-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Bottom fade so hero bleeds into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 6rem;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
html[dir="rtl"] .hero-label { letter-spacing: 0; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  max-width: 700px;
}
html[dir="rtl"] .hero-headline { font-family: var(--font-urdu); }

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold-lt);
  cursor: pointer;
  transition: color var(--transition-fast);
  padding: 0.6rem 0.25rem;
}
.hero-link:hover { color: #fff; }

/* Trust badges row */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201, 168, 76, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.trust-badge svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }


/* ============================================================
   7. WHY CHOOSE US
============================================================ */
.section-why {
  padding: 5rem 0 4rem;
  background-color: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--warm-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition-mid), border-color var(--transition-mid), box-shadow var(--transition-mid);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #fdf6e3, #faecc0);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg {
  width: 22px; height: 22px;
  color: var(--gold-dk);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
html[dir="rtl"] .feature-title { font-family: var(--font-urdu); }

.feature-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}


/* ============================================================
   8. AVAILABLE PLOTS
============================================================ */
.section-plots {
  padding: 5rem 0 4rem;
  background-color: var(--gray-50);
}

.plots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .plots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .plots-grid { grid-template-columns: repeat(3, 1fr); } }
/* 5th card: center on 3-col layout */
@media (min-width: 1024px) {
  .plots-grid .plot-card:last-child:nth-child(3n-1) { grid-column: 2; }
  .plots-grid .plot-card:last-child:nth-child(3n)   { grid-column: unset; }
}

.plot-card {
  background: var(--warm-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}
.plot-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.plot-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,168,76,0.25);
}

.plot-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--gray-100);
}

.plot-size {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
html[dir="rtl"] .plot-size { font-family: var(--font-urdu); }

.plot-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
html[dir="rtl"] .plot-badge { letter-spacing: 0; }
.plot-badge.available { background: #e8f7ee; color: #1a6b38; }
.plot-badge.popular   { background: linear-gradient(135deg, var(--gold), var(--gold-dk)); color: var(--navy); }
.plot-badge.limited   { background: #fff3e0; color: #b45309; }

.plot-card-body { padding: 1rem 1.25rem; flex: 1; }

.plot-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.plot-location svg { width: 13px; height: 13px; color: var(--gold-dk); flex-shrink: 0; }

.plot-stats { display: flex; flex-direction: column; gap: 0.55rem; }

.plot-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--gray-100);
}
.plot-stat:last-child { border-bottom: none; }
.plot-stat.highlight { background: linear-gradient(90deg, #fdf6e3, transparent); border-radius: 4px; padding: 0.45rem 0.5rem; }

.stat-label { font-size: 0.78rem; color: var(--gray-400); }
.stat-value { font-size: 0.88rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.plot-stat.highlight .stat-value { color: var(--gold-dk); font-size: 0.95rem; }

.plot-card-footer {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.btn-plot-secondary {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--gold);
  color: var(--gold-dk);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.btn-plot-secondary:hover { background-color: var(--gold); color: var(--navy); }

.btn-plot-primary {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--navy);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.btn-plot-primary:hover { opacity: 0.88; transform: translateY(-1px); }


/* ============================================================
   9. PAYMENT PLANS
============================================================ */
.section-plans {
  padding: 5rem 0 4.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal pattern on navy bg */
.section-plans::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(201,168,76,0.04) 0px, rgba(201,168,76,0.04) 1px,
    transparent 1px, transparent 60px
  );
  pointer-events: none;
}

/* Make section-header children white */
.section-plans .section-label { color: var(--gold-lt); }

/* Scrollable table wrapper for mobile */
.table-scroll-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  -webkit-overflow-scrolling: touch;
}
.table-scroll-wrapper::-webkit-scrollbar { height: 5px; }
.table-scroll-wrapper::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.table-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.plans-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.88rem;
}

.plans-table thead tr {
  background: rgba(201,168,76,0.15);
  border-bottom: 2px solid rgba(201,168,76,0.4);
}
.plans-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-lt);
  white-space: nowrap;
}
html[dir="rtl"] .plans-table thead th { text-align: right; letter-spacing: 0; }

.plans-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background-color var(--transition-fast);
}
.plans-table tbody tr:hover { background: rgba(255,255,255,0.05); }
.plans-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.03); }
.plans-table tbody tr:nth-child(even):hover { background: rgba(255,255,255,0.06); }

.plans-table tbody td {
  padding: 0.95rem 1.25rem;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] .plans-table tbody td { text-align: right; }

.featured-row td { background: rgba(201,168,76,0.1) !important; }

.plan-size {
  font-weight: 700;
  color: #fff !important;
}
.plan-monthly {
  color: var(--gold-lt) !important;
  font-weight: 700;
  font-size: 0.95rem !important;
}

.popular-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
html[dir="rtl"] .popular-tag { margin-left: 0; margin-right: 0.4rem; }

.btn-table {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}
.btn-table:hover { opacity: 0.85; }

.plans-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.plans-cta {
  text-align: center;
  margin-top: 2.5rem;
}


/* ============================================================
   10. LOCATION / MAP
============================================================ */
.section-location {
  padding: 5rem 0 4rem;
  background-color: var(--cream);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.location-info .section-title { text-align: left; }
.location-info .section-sub   { text-align: left; max-width: 100%; margin: 0; }
.location-info .gold-divider  { margin: 1.25rem 0 1.75rem; }
html[dir="rtl"] .location-info .section-title { text-align: right; }
html[dir="rtl"] .location-info .section-sub   { text-align: right; }
html[dir="rtl"] .location-info .gold-divider  { margin-right: 0; }

.distances-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.distance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}
.distance-item:first-child { border-top: 1px solid var(--gray-100); }

.dist-label { color: var(--gray-600); font-weight: 500; }
.dist-value {
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fdf6e3, #faecc0);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.82rem;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  height: 380px;
  border: 3px solid var(--gray-100);
}
@media (min-width: 1024px) { .map-wrapper { height: 100%; min-height: 400px; } }

.map-wrapper iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}


/* ============================================================
   11. ABOUT
============================================================ */
.section-about {
  padding: 5rem 0 4rem;
  background-color: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

/* Stats grid (2×2) */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--warm-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.stat-big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}
html[dir="rtl"] .stat-big { font-family: var(--font-urdu); }

.stat-label-big {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.4;
}

.about-content .section-title { text-align: left; }
.about-content .gold-divider  { margin: 1.25rem 0 1.5rem; }
html[dir="rtl"] .about-content .section-title { text-align: right; }

.about-para {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}


/* ============================================================
   11b. ABOUT PAGE — values list, mission/vision, CTA strip
============================================================ */

/* Values checklist */
.about-values {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-value-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.value-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dk);
}
.value-icon svg { width: 11px; height: 11px; stroke-width: 3; }

/* Mission & Vision section */
.section-mv {
  background: var(--cream);
  padding: 4rem 0;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .mv-grid { grid-template-columns: 1fr 1fr; }
}

.mv-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.mv-icon {
  width: 52px; height: 52px;
  background: rgba(13,33,55,0.07);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.mv-icon svg { width: 24px; height: 24px; }

.mv-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
html[dir="rtl"] .mv-card-title { font-family: var(--font-urdu); }

.mv-card-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* CTA strip */
.section-cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.section-cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(201,168,76,0.04) 0px, rgba(201,168,76,0.04) 1px,
    transparent 1px, transparent 60px
  );
  pointer-events: none;
}

.cta-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
}
html[dir="rtl"] .cta-strip-title { font-family: var(--font-urdu); }

.cta-strip-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  position: relative;
}

.cta-strip-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.btn-wa-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.btn-wa-strip svg { width: 20px; height: 20px; }
.btn-wa-strip:hover { opacity: 0.88; }

/* ============================================================
   12. CONTACT
============================================================ */
.section-contact {
  padding: 5rem 0 4rem;
  background-color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }

.contact-form-wrap .section-title { text-align: left; }
.contact-form-wrap .section-sub   { text-align: left; max-width: 100%; margin: 0 0 1.5rem; }
.contact-form-wrap .gold-divider  { margin: 1.25rem 0 1rem; }
html[dir="rtl"] .contact-form-wrap .section-title { text-align: right; }
html[dir="rtl"] .contact-form-wrap .section-sub   { text-align: right; }

/* Form */
.inquiry-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.required { color: var(--gold-dk); }
.form-optional { font-weight: 400; color: var(--gray-400); font-size: 0.78rem; }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--warm-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px; /* touch target */
}
html[dir="rtl"] .form-input { font-family: var(--font-urdu); text-align: right; }

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}
.form-input::placeholder { color: var(--gray-400); }
.form-input.form-textarea { resize: vertical; min-height: 100px; }

/* Custom select arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E9484' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}
html[dir="rtl"] .form-select {
  background-position: left 0.85rem center;
  padding-right: 1rem;
  padding-left: 2.5rem;
}

.form-error {
  font-size: 0.77rem;
  color: #dc2626;
  font-weight: 500;
}

.form-success {
  background: #e8f7ee;
  border: 1px solid #86efac;
  color: #1a6b38;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  margin-top: 0.5rem;
}

/* WhatsApp alternative */
.form-wa-alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  color: var(--gray-400);
  font-size: 0.8rem;
}

.btn-wa-large {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #25D366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-wa-large svg { width: 20px; height: 20px; }
.btn-wa-large:hover { background-color: #1ebe5d; transform: translateY(-1px); }

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #fdf6e3, #faecc0);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; color: var(--gold-dk); }

.info-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
html[dir="rtl"] .info-title { letter-spacing: 0; }

.info-text {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

.info-link {
  font-size: 0.88rem;
  color: var(--navy-lt);
  font-weight: 500;
  transition: color var(--transition-fast);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
}
.info-link:hover { color: var(--gold-dk); text-decoration-color: var(--gold); }


/* ============================================================
   12b. CONTACT PAGE — layout aliases + new components
============================================================ */

/* Layout — alias for contact-grid used by contact.html */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 3fr 2fr; } }

/* Form section heading */
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
html[dir="rtl"] .contact-form-title { font-family: var(--font-urdu); }

/* Info label / value — used alongside existing .info-title/.info-text */
.info-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
html[dir="rtl"] .info-label { letter-spacing: 0; }

.info-value {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Submit button full-width on form */
.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

/* Privacy note below submit */
.form-privacy {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Success state — replace simple banner with centred card */
.form-success {
  background: #e8f7ee;
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.success-icon {
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: #fff;
}
.success-icon svg { width: 24px; height: 24px; }
.success-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a6b38;
  margin-bottom: 0.4rem;
}
.success-msg {
  font-size: 0.9rem;
  color: #2d8249;
  line-height: 1.6;
}

/* WhatsApp contact button (sidebar) */
.wa-contact-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  margin-top: 0.25rem;
}
.wa-contact-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.wa-contact-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Map inside contact sidebar */
.contact-map {
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ============================================================
   13. FOOTER
============================================================ */
.site-footer {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 100%);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-logo-block { margin-bottom: 0.85rem; }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

/* Social icons */
.footer-socials { display: flex; gap: 0.6rem; }
.social-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: rgba(201,168,76,0.1);
}
.social-icon:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Footer columns */
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
html[dir="rtl"] .footer-col-title { font-family: var(--font-urdu); letter-spacing: 0; }

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: color var(--transition-fast);
}
.footer-link:hover { color: var(--gold-lt); }

.footer-address {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-top: 0.25rem;
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}
.footer-copy  { font-size: 0.8rem;  color: rgba(255,255,255,0.4); }
.footer-legal { font-size: 0.72rem; color: rgba(255,255,255,0.25); }


/* ============================================================
   14. RTL (URDU) LAYOUT ADJUSTMENTS
============================================================ */
html[dir="rtl"] {
  /* Flip horizontal icon/text pairs that use margin-left/right */
  direction: rtl;
}

html[dir="rtl"] .hero-ctas       { flex-direction: row-reverse; justify-content: flex-end; }
html[dir="rtl"] .trust-badge     { flex-direction: row-reverse; }
html[dir="rtl"] .plot-card-footer { flex-direction: row-reverse; }
html[dir="rtl"] .info-block      { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .distance-item   { flex-direction: row-reverse; }
html[dir="rtl"] .about-stats     { direction: rtl; }
html[dir="rtl"] .stat-card       { direction: rtl; }
html[dir="rtl"] .footer-grid     { direction: rtl; }
html[dir="rtl"] .mobile-nav-link { text-align: right; }

/* Select arrow flip for RTL */
html[dir="rtl"] .popular-tag { direction: rtl; }


/* ============================================================
   15. RESPONSIVE FINE-TUNING
============================================================ */

/* Small phones (375px) */
@media (max-width: 400px) {
  .hero-headline { font-size: 2rem; }
  .trust-badges  { gap: 0.4rem; }
  .trust-badge   { font-size: 0.68rem; padding: 0.3rem 0.65rem; }
  .hero-ctas     { flex-direction: column; align-items: flex-start; }
  .plots-grid    { grid-template-columns: 1fr; }
}

/* Tablet (768px) */
@media (min-width: 768px) {
  .contact-grid { gap: 4rem; }
  .hero-content { padding-bottom: 8rem; }
}

/* Large desktop (1280px+) */
@media (min-width: 1280px) {
  .features-grid { gap: 1.5rem; }
  .plots-grid    { gap: 1.5rem; }
}

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


/* ============================================================
   PART 2 — MAGIC ANIMATIONS
   Keyframes + shimmer layer.  All driven by js/animations.js.
   Disabled automatically by the prefers-reduced-motion block
   above (animation-duration collapses to 0.01ms).
============================================================ */

/* Hero text elements — JS sets these inline, but declare base */
.hero-anim-ready {
  will-change: opacity, transform;
}

/* Star twinkle in hero SVG */
@keyframes star-twinkle {
  0%, 100% { opacity: 0.25; }
  50%       { opacity: 0.85; }
}

/* Building grow from bottom */
@keyframes building-rise {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

/* Gold shimmer sweep across a card (applied to .card-shimmer-layer child) */
@keyframes card-shimmer {
  0%   { transform: translateX(-120%) skewX(-18deg); opacity: 1; }
  100% { transform: translateX(220%)  skewX(-18deg); opacity: 0; }
}

/* Invisible div that carries the shimmer — injected by JS */
.card-shimmer-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  z-index: 2;
}
.card-shimmer-layer::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(201,168,76,0.18) 50%,
    transparent 80%
  );
  transform: translateX(-120%) skewX(-18deg);
}
.card-shimmer-layer.shimmer-run::after {
  animation: card-shimmer 0.65s cubic-bezier(0.4,0,0.2,1) forwards;
}

/* Featured plot card — gentle continuous gold glow */
@keyframes card-glow-pulse {
  0%, 100% { box-shadow: 0 0 0   0px rgba(201,168,76,0),
                          0 8px 32px rgba(0,0,0,0.14); }
  50%       { box-shadow: 0 0 28px 6px rgba(201,168,76,0.28),
                          0 8px 32px rgba(0,0,0,0.14); }
}
.plot-card.featured {
  animation: card-glow-pulse 3.2s ease-in-out 0.8s infinite;
}

/* Monthly installment cell — gold pulse on table entry */
@keyframes value-gold-pulse {
  0%   { color: inherit;     transform: scale(1); }
  35%  { color: var(--gold); transform: scale(1.08); }
  70%  { color: var(--gold); transform: scale(1.04); }
  100% { color: inherit;     transform: scale(1); }
}
.plan-monthly.pulse-run {
  animation: value-gold-pulse 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
  display: inline-block;
}
