/* =============================================
   GOLDEN ERA PROPERTIES — STYLES.CSS
   Luxury Real Estate · Dubai · Gold Theme
   ============================================= */

/* ── CUSTOM PROPERTIES ── */
:root {
  --gold: #C9A84C;
  --gold-light: #E4C77B;
  --gold-dark: #9A7A2E;
  --gold-gradient: linear-gradient(135deg, #C9A84C 0%, #E4C77B 50%, #C9A84C 100%);
  --deep-navy: #0A0E1A;
  --navy: #0F1628;
  --navy-mid: #151D35;
  --navy-light: #1E2847;
  --off-white: #F8F5EF;
  --cream: #EDE8DE;
  --text-primary: #1A1A2E;
  --text-muted: #6B7280;
  --text-light: rgba(255,255,255,0.75);
  --border-gold: rgba(201,168,76,0.25);
  --border-subtle: rgba(255,255,255,0.06);
  --shadow-gold: 0 0 40px rgba(201,168,76,0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --max-width: 1200px;
  --nav-h: 72px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
ul { list-style: none; }
address { font-style: normal; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; }

/* ── UTILITIES ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.2rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 1.5rem;
}
.section-title.centered { text-align: center; }
.section-subtitle { color: var(--text-muted); text-align: center; max-width: 680px; margin: 0 auto 3.5rem; font-size: 1.05rem; }
.accent-text { color: var(--gold); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-gold {
  background: var(--gold-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.5); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.btn-full { width: 100%; justify-content: center; }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(10,14,26,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}
.logo-img {
  height: 40px;   /* adjust size */
  width: auto;
}
.logo-text {
  width: 42px; height: 42px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(201,168,76,0.4);
}
.logo-full {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold-gradient) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(201,168,76,0.3);
}
.nav-cta:hover { box-shadow: 0 0 20px rgba(201,168,76,0.5) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url(images/background.jpeg) center/cover no-repeat;
  /* Note: Replace with client-supplied image for production */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,14,26,0.88) 0%,
    rgba(15,22,40,0.75) 40%,
    rgba(10,14,26,0.92) 100%
  );
}
.hero-particles {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem 1.5rem;
  padding-top: calc(var(--nav-h) + 2rem);
  animation: heroFade 1.2s ease both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFade 1s ease 0.3s both;
}
.hero-title {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: heroFade 1s ease 0.5s both;
}
.hero-title-line { display: block; }
.hero-title-line.accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.hero-tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: heroFade 1s ease 0.7s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: heroFade 1s ease 0.9s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  animation: heroFade 1s ease 1.1s both;
}
.hero-stat { text-align: center; padding: 0 2rem; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,0.3);
}
.hero-scroll {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.scroll-arrow { font-size: 1rem; color: var(--gold); }

/* ── ABOUT ── */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}
.about-lead {
  font-size: 1.2rem;
  color: var(--deep-navy);
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream);
}
.about p { color: var(--text-muted); margin-bottom: 1rem; }
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-feature:hover { transform: translateX(4px); box-shadow: var(--shadow-card); }
.feature-icon { color: var(--gold); font-size: 0.7rem; margin-top: 0.35rem; flex-shrink: 0; }
.about-feature h3 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--deep-navy); margin-bottom: 0.3rem; }
.about-feature p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.about-visual { position: relative; }
.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-card {
  background: var(--navy);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.about-card:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.35), 0 0 0 1px var(--gold);
}
.about-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.1);
  border-radius: 10px;
  padding: 8px;
}
.about-card-icon svg { width: 100%; height: 100%; }
.about-card-text { display: flex; flex-direction: column; gap: 0.15rem; }
.about-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.about-card-text p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; }
.about-card-2 { background: var(--navy-mid); }
.about-card-3 { background: var(--navy-light); }
.about-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: -1;
}

/* ── 3 PILLARS ── */
.pillars { background: var(--off-white); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.pillar-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.12); }
.pillar-card:hover::before { opacity: 1; }
.pillar-card-featured {
  background: var(--deep-navy);
  color: #fff;
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}
.pillar-card-featured::before { opacity: 1; }
.pillar-card-featured h3 { color: var(--gold-light); }
.pillar-card-featured p { color: rgba(255,255,255,0.75); }
.pillar-card-featured .pillar-number { color: rgba(201,168,76,0.35); }
.pillar-card-featured .pillar-category strong { color: var(--gold-light); }
.pillar-card-featured .pillar-category li { color: rgba(255,255,255,0.7); }
.pillar-card-featured .pillar-category li::before { color: var(--gold-light); }
.pillar-card.pillar-card-featured h3 {
  color: #C9A84C;
}.pillar-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.5rem;
  opacity: 0.55;
}
.pillar-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--deep-navy);
}
.pillar-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pillar-list { display: flex; flex-direction: column; gap: 1rem; }
.pillar-category strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.pillar-category li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}
.pillar-category li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── 14 REASONS — FLIP CARDS ── */
.reasons { background: var(--deep-navy); }
.reasons .section-tag { border-color: rgba(201,168,76,0.4); }
.reasons .section-title { color: #fff; }
.reasons .section-subtitle { color: rgba(255,255,255,0.5); }

.reasons-hint {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: hintPulse 2.5s ease-in-out infinite;
}
.reasons-hint-icon {
  font-size: 1rem;
  animation: hintBounce 2.5s ease-in-out infinite;
  display: inline-block;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}
@keyframes hintBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}

/* Each card is a 3D flip container */
.reason-card {
  position: relative;
  aspect-ratio: 1 / 1.45;
  cursor: pointer;
  outline: none;
}
/* Perspective wrapper trick — the article itself is the scene */
.reason-card:focus-visible { box-shadow: 0 0 0 2px var(--gold); border-radius: var(--radius); }

/* FRONT face */
.reason-front {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  backface-visibility: hidden;
}

/* BACK face — hidden by default, shown on hover */
.reason-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1a2240, #0d1220);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem 1rem;
  text-align: center;
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.15);
}

/* HOVER / FOCUS — back slides in, front fades */
.reason-card:hover .reason-front,
.reason-card:focus-visible .reason-front {
  opacity: 0;
  transform: scale(0.85);
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.35);
}
.reason-card:hover .reason-back,
.reason-card:focus-visible .reason-back {
  opacity: 1;
  transform: scale(1.06);
  pointer-events: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 24px rgba(201,168,76,0.2);
  z-index: 10;
}

/* Front elements */
.reason-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(201,168,76,0.6);
}
.reason-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.reason-icon svg { width: 100%; height: 100%; }
.reason-front h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* Back elements */
.reason-num-back {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
}
.reason-back h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.3;
}
.reason-back p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}


/* ── PARTNERS ── */
.partners { background: #fff; }
.partner-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.partner-tier {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.tier-top { background: linear-gradient(135deg, #1a1200, #2d2000); border: 1px solid var(--gold); }
.tier-vg { background: linear-gradient(135deg, #0f1628, #151d35); }
.tier-ideal { background: #f8f5ef; border: 1px solid rgba(0,0,0,0.08); }
.tier-label {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 150px;
  color: var(--gold);
}
.tier-vg .tier-label { color: var(--gold-light); }
.tier-ideal .tier-label { color: var(--gold-dark); }
.tier-names {
  font-size: 0.88rem;
  line-height: 1.6;
}
.tier-top .tier-names, .tier-vg .tier-names { color: rgba(255,255,255,0.7); }
.tier-ideal .tier-names { color: var(--text-muted); }

.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.partner-logo {
  background: var(--off-white);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: default;
}
.partner-logo:hover {
  background: var(--deep-navy);
  color: var(--gold-light);
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: var(--shadow-gold);
}

/* ── PARTNER LOGO CAROUSEL ── */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  /* Fade edges for a polished infinite-scroll look */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
/* Pause on hover so users can read logos */
.carousel-wrapper:hover .carousel-track { animation-play-state: paused; }

.carousel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: carouselScroll 80s linear infinite;
}
@keyframes carouselScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* JS duplicates items so 50% = one full set */
}

.carousel-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  min-width: 160px;
  height: 72px;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.carousel-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
  transform: translateY(-2px);
}
.carousel-item img {
  max-width: 140px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Desaturate placeholders slightly; remove filter once real logos are added */
  filter: grayscale(20%) opacity(0.85);
  transition: filter var(--transition);
}
.carousel-item:hover img { filter: grayscale(0%) opacity(1); }

.dubai-properties {
  height: 120px;   /* increase this */
  width: auto;
}




/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 16px rgba(37, 211, 102, 0.45),
    0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  /* Subtle pulse animation to draw attention */
  animation: waPulse 3s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.45), 0 2px 6px rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.65), 0 2px 10px rgba(0,0,0,0.18); }
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow:
    0 8px 28px rgba(37, 211, 102, 0.6),
    0 4px 12px rgba(0,0,0,0.2);
  animation-play-state: paused;
}
.whatsapp-float:active { transform: scale(0.96); }

/* Tooltip that appears on hover */
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(10,14,26,0.9);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(10,14,26,0.9);
  border-right: 0;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 480px) {
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
  .whatsapp-tooltip { display: none; }
}

/* ── PROPERTIES ── */
.properties { background: var(--off-white); }
.property-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.prop-tab {
  padding: 0.65rem 1.75rem;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
}
.prop-tab:hover { border-color: var(--gold); color: var(--gold-dark); }
.prop-tab.active {
  background: var(--gold-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.prop-panel { display: none; }
.prop-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.price-section-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 2rem 0 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, rgba(201,168,76,0.1), transparent);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.price-table-wrapper { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.88rem;
}
.price-table th {
  background: var(--deep-navy);
  color: var(--gold-light);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.price-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--cream);
  color: var(--text-primary);
}
.price-table tr:hover td { background: rgba(201,168,76,0.04); }
.price-table td:first-child { font-weight: 700; color: var(--navy); }
.price-table tr:last-child td { border-bottom: none; }

.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1rem; }
.comparison-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.comparison-card-featured {
  background: var(--deep-navy);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}
.comparison-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.ready-badge { background: var(--cream); color: var(--navy); }
.offplan-badge { background: var(--gold-gradient); color: #fff; }
.comparison-list { display: flex; flex-direction: column; gap: 0.75rem; }
.comparison-list li {
  font-size: 0.88rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
}
.comparison-card-featured .comparison-list li { color: rgba(255,255,255,0.6); border-bottom-color: rgba(255,255,255,0.06); }
.comparison-list strong { color: var(--text-primary); }
.comparison-card-featured .comparison-list strong { color: var(--gold-light); }

/* ── GROWTH ── */
.growth { background: #fff; }
.growth-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.growth-stat-card {
  background: var(--off-white);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  text-align: center;
  transition: all var(--transition);
}
.growth-stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.growth-stat-mid { background: var(--navy); border-color: var(--border-gold); }
.growth-stat-future {
  background: var(--deep-navy);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.growth-year {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}
.growth-pop, .growth-emp, .growth-vis {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.4rem;
}
.growth-stat-mid .growth-pop, .growth-stat-mid .growth-emp, .growth-stat-mid .growth-vis,
.growth-stat-future .growth-pop, .growth-stat-future .growth-emp, .growth-stat-future .growth-vis { color: #fff; }
.growth-pop span, .growth-emp span, .growth-vis span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.growth-stat-mid span, .growth-stat-future span { color: rgba(255,255,255,0.45) !important; }
.growth-arrow { font-size: 1.5rem; color: var(--gold); opacity: 0.5; }

.yields-section { margin-bottom: 4rem; }
.yields-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}
.yields-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.yield-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(201,168,76,0.15);
}
.yield-type { font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; color: var(--navy); }
.yield-bar-wrap {
  height: 8px;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}
.yield-bar {
  height: 100%;
  width: var(--pct);
  background: var(--gold-gradient);
  border-radius: 4px;
  animation: growBar 1.5s ease both;
}
@keyframes growBar {
  from { width: 0; }
  to { width: var(--pct); }
}
.yield-pct {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.price-comparison { margin-bottom: 4rem; }
.city-bars { display: flex; flex-direction: column; gap: 0.75rem; }
.city-bar-item {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  align-items: center;
  gap: 1rem;
}
.city-name { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); }
.city-bar-wrap { height: 12px; background: var(--cream); border-radius: 4px; overflow: hidden; }
.city-bar {
  height: 100%;
  width: var(--w);
  background: var(--navy);
  border-radius: 4px;
  transition: width 1.5s ease;
}
.city-bar-gold { background: var(--gold-gradient); }
.city-bar-dubai .city-name { color: var(--gold-dark); font-weight: 700; }
.city-price { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-align: right; }
.city-bar-dubai .city-price { color: var(--gold-dark); }
.chart-source { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.75rem; }

.leadership-quote {
  background: var(--deep-navy);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.leadership-quote::before {
  content: '"';
  position: absolute;
  top: -1rem; left: 2rem;
  font-family: var(--font-display);
  font-size: 10rem;
  color: rgba(201,168,76,0.08);
  line-height: 1;
}
.leadership-quote p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
}
.leadership-quote cite {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}
.leadership-quote cite small { display: block; font-weight: 400; color: rgba(255,255,255,0.4); margin-top: 0.2rem; letter-spacing: 0; }

/* ── CONTACT ── */
.contact { background: var(--deep-navy); }
.contact .section-tag { border-color: rgba(201,168,76,0.4); }
.contact .section-title { color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info > p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon { font-size: 1.25rem; margin-top: 0.1rem; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; font-family: var(--font-body); }
.contact-detail p, .contact-detail address { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.contact-detail a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.contact-detail a:hover { color: var(--gold-light); }

.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.required { color: var(--gold); }
input, textarea, select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #fff;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.25); }
select option { background: var(--navy); }
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}
input.error, textarea.error { border-color: #ef4444; }
.form-error { font-size: 0.75rem; color: #ef4444; min-height: 1em; }
textarea { resize: vertical; min-height: 100px; }
#submitBtn {
  position: relative;
  overflow: hidden;
}
.btn-loader {
  display: none;
  animation: spin 0.8s linear infinite;
  font-size: 1.2rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
#submitBtn.loading .btn-text { opacity: 0; }
#submitBtn.loading .btn-loader { display: inline-block; position: absolute; }
.form-success {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #6ee7b7;
  font-size: 0.88rem;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

/* ── FOOTER ── */
.site-footer { background: #05070f; padding: 4rem 0 2rem; color: rgba(255,255,255,0.5); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-logo-img {
  height: 60px;     /* keep your size */
  width: auto;
  margin-bottom: 15px;   /* 👈 this creates the gap */
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-lic { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.footer-nav h4, .footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-contact address { font-size: 0.85rem; line-height: 1.9; }
.footer-contact a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-map {
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
}
.footer-map iframe {
  width: 100%;
  height: 160px; /* small size */
  border: 20;
  display: block;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; }
.back-to-top {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition);
}
.back-to-top:hover { background: var(--gold); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .reasons-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .partners-logo-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-top: 1px solid var(--border-gold);
  }
  .nav-links.open { max-height: 500px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.9rem 1.5rem; font-size: 0.85rem; border-radius: 0; }
  .nav-cta { margin: 0.5rem 1.5rem !important; display: block !important; text-align: center; }
  .pillars-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
  .comparison-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .partners-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .growth-stats-grid { flex-direction: column; align-items: center; }
  .growth-arrow { transform: rotate(90deg); }
  .yields-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hero-stat-divider { width: 40px; height: 1px; }
}
@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 1.5rem; }
  .leadership-quote { padding: 2rem 1.5rem; }
  .city-bar-item { grid-template-columns: 80px 1fr 60px; }
}
