/**
 * Nile Developments - Main Stylesheet
 *
 * Converted from nile-preview.html inline styles
 * to proper external CSS file.
 *
 * @package NileDevelopments
 * @version 1.0.0
 */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  --primary: #0C1E3C;
  --primary-dark: #060F1E;
  --primary-light: #1A3A6E;
  --accent: #C9A84C;
  --accent-dark: #A88835;
  --accent-light: #E2C97A;
  --white: #fff;
  --navy: #0C1E3C;
  --navy-90: rgba(12,30,60,.9);
  --navy-70: rgba(12,30,60,.7);
  --navy-50: rgba(12,30,60,.5);
  --navy-15: rgba(12,30,60,.15);
  --navy-08: rgba(12,30,60,.08);
  --navy-04: rgba(12,30,60,.04);
  --gold: rgba(201,168,76,1);
  --gold-light: rgba(201,168,76,.12);
  --gold-border: rgba(201,168,76,.3);
  --bg-light: #F5F7FA;
  --bg-cream: #EFF2F7;
  --whatsapp-btn: #128C3E;
  --whatsapp-color: #25D366;
  --font-display: 'Cairo','Tajawal',sans-serif;
  --font-body: 'Tajawal','Cairo',sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50px;
  --shadow-md: 0 4px 16px rgba(12,30,60,.08);
  --shadow-lg: 0 8px 32px rgba(12,30,60,.1);
  --shadow-xl: 0 16px 48px rgba(12,30,60,.12);
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ============================================
   Reset & Base
   ============================================ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.3; color: var(--navy); }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Skip Link */
.skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); z-index: 99999; padding: 8px 16px; background: var(--accent); color: #fff; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   Scroll Progress Bar
   ============================================ */
#scroll-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--whatsapp-color));
  width: 0; z-index: 10000; pointer-events: none;
  box-shadow: 0 0 8px rgba(201,168,76,.5);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .4s, box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(6,15,30,.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo-text {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 900;
  color: #fff; display: flex; align-items: center; gap: 4px; text-decoration: none;
}
.logo-text span { color: var(--accent); }
.logo-tagline {
  font-size: 0.6rem; color: rgba(255,255,255,.5); font-weight: 400;
  letter-spacing: .05em; display: block; margin-top: -2px;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  display: flex; align-items: center; gap: 5px; padding: 7px 14px;
  border: 1.5px solid rgba(201,168,76,.5); border-radius: 50px;
  color: rgba(255,255,255,.85); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); text-decoration: none;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.wa-btn {
  display: flex; align-items: center; gap: 6px; padding: 9px 20px;
  background: var(--whatsapp-btn); color: #fff; border-radius: 50px;
  font-size: .85rem; font-weight: 700; transition: var(--transition);
  box-shadow: 0 2px 12px rgba(18,140,62,.35); text-decoration: none;
}
.wa-btn:hover { background: #0e7a35; transform: translateY(-1px); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; overflow: hidden; background: var(--primary-dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,15,30,.93) 0%, rgba(12,30,60,.75) 40%, rgba(6,15,30,.87) 100%);
}
.hero-pattern {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 20% 50%, rgba(201,168,76,.07) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(26,58,110,.18) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content-wrap { position: relative; z-index: 2; width: 100%; padding: 100px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.35);
  border-radius: 50px; color: var(--accent); font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 900;
  color: #fff; line-height: 1.15; margin-bottom: 16px; letter-spacing: -.02em;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.1rem); color: rgba(255,255,255,.8);
  line-height: 1.9; margin-bottom: 28px; max-width: 520px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 32px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid rgba(201,168,76,.2);
}
.hero-stat-val {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 900;
  color: var(--accent); line-height: 1;
}
.hero-stat-lbl { font-size: .75rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ============================================
   Hero Form
   ============================================ */
.hero-form-box {
  background: rgba(255,255,255,.05); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(201,168,76,.25);
  border-radius: 16px; padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.07);
}
.form-header { text-align: center; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(201,168,76,.18); }
.form-header h3 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.form-header p { font-size: .82rem; color: rgba(255,255,255,.55); }
.form-header-dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 1.5s infinite; margin-left: 6px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: flex; align-items: center; gap: 6px; font-size: .8rem;
  font-weight: 600; color: rgba(255,255,255,.75); margin-bottom: 6px;
}
.form-group .required { color: #ef4444; margin-right: 2px; }
.form-group input,
.form-group select {
  width: 100%; padding: 13px 16px; background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12); border-radius: 8px;
  color: #fff; font-family: var(--font-body); font-size: .95rem;
  outline: none; transition: border .2s, box-shadow .2s;
}
.form-group input::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent); background: rgba(201,168,76,.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group select option { background: var(--navy); color: #fff; }
.form-title {
  font-size: 1.3rem; font-weight: 800; color: #fff;
  margin-bottom: 24px; text-align: center;
}
.form-trust {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: .75rem; color: rgba(255,255,255,.45);
}
.form-msg {
  padding: 10px 14px; border-radius: 8px; font-size: .85rem;
  font-weight: 600; margin-top: 10px; display: none; text-align: center;
}
.form-msg.success {
  display: block; background: rgba(16,185,129,.15); color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.3);
}
.form-msg.error {
  display: block; background: rgba(239,68,68,.15); color: #fca5a5;
  border: 1px solid rgba(239,68,68,.3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-family: var(--font-body);
  font-size: .95rem; font-weight: 700; cursor: pointer; border: none;
  transition: var(--transition); text-decoration: none; white-space: nowrap;
}
.btn-wa {
  background: var(--whatsapp-btn); color: #fff;
  box-shadow: 0 4px 18px rgba(18,140,62,.4);
}
.btn-wa:hover { background: #0e7a35; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(18,140,62,.5); }
.btn-gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; box-shadow: 0 4px 20px rgba(201,168,76,.3);
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; border-radius: 8px; padding: 14px; }

/* Scroll Indicator */
.scroll-ind {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center;
  gap: 8px; color: rgba(255,255,255,.45); font-size: .72rem; letter-spacing: .08em;
}
.scroll-line {
  width: 1.5px; height: 36px;
  background: linear-gradient(to bottom, rgba(201,168,76,.7), transparent);
  animation: scrollA 1.8s ease-in-out infinite;
}
@keyframes scrollA { 0%,100% { opacity: 1; transform: scaleY(1); } 50% { opacity: .4; transform: scaleY(.6); } }

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--navy) 100%);
  padding: 40px 0; position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(201,168,76,.02) 30px, rgba(201,168,76,.02) 60px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; z-index: 1; }
.stat-item {
  text-align: center; padding: 20px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,76,.12);
  transition: var(--transition);
}
.stat-item:hover { background: rgba(201,168,76,.07); border-color: rgba(201,168,76,.25); }
.stat-val { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 900; color: var(--accent); line-height: 1; display: block; }
.stat-lbl { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 6px; display: block; }

/* ============================================
   Project Nav
   ============================================ */
.proj-nav {
  position: sticky; top: 72px; z-index: 800;
  background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-08); box-shadow: 0 2px 16px var(--navy-08);
}
.proj-nav-inner {
  display: flex; overflow-x: auto; scrollbar-width: none;
  -ms-overflow-style: none; padding: 0 8px;
}
.proj-nav-inner::-webkit-scrollbar { display: none; }
.proj-nav-link {
  flex-shrink: 0; padding: 14px 22px; font-size: .85rem;
  font-weight: 600; color: var(--navy-70); border-bottom: 3px solid transparent;
  transition: var(--transition); white-space: nowrap; text-decoration: none;
}
.proj-nav-link:hover,
.proj-nav-link.active { color: var(--navy); border-bottom-color: var(--accent); font-weight: 700; }

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
  background: var(--bg-cream); padding: 20px 0;
  border-top: 1px solid var(--navy-08); border-bottom: 1px solid var(--navy-08);
}
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--navy); padding: 6px 12px;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ============================================
   Section Headers
   ============================================ */
.section-header { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px;
  background: var(--gold-light); border: 1px solid var(--gold-border);
  border-radius: 50px; color: var(--accent-dark); font-size: .75rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow--dark { color: var(--accent); background: rgba(201,168,76,.1); border-color: rgba(201,168,76,.3); }
.section-title { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.section-title--white { color: #fff; }
.section-sub { font-size: 1rem; color: var(--navy-70); line-height: 1.9; max-width: 620px; margin: 0 auto; }
.section-sub--dim { color: rgba(255,255,255,.7); }

/* ============================================
   Project Cards (Detailed - Cairo)
   ============================================ */
.projects-sec { padding: 80px 0; }
.project-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xl);
  margin-bottom: 56px; transition: var(--transition); border: 1px solid var(--navy-08);
}
.project-card:hover { box-shadow: 0 24px 60px var(--navy-15); transform: translateY(-4px); }
.project-card:nth-child(even) { direction: ltr; }
.project-card:nth-child(even) .card-body { direction: rtl; text-align: right; }
.card-img {
  position: relative; min-height: 400px; overflow: hidden; background: var(--primary);
}
.card-img-real {
  width: 100%; height: 100%; object-fit: cover; opacity: .75;
  position: absolute; inset: 0;
}
.card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 2rem; font-weight: 800;
  color: rgba(255,255,255,.3); letter-spacing: .1em;
}
.card-num {
  position: absolute; top: 20px; right: 20px; width: 42px; height: 42px;
  background: var(--accent); border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: .85rem;
  font-weight: 800; color: #fff; box-shadow: 0 4px 12px rgba(201,168,76,.5);
  z-index: 2;
}
.card-tag {
  position: absolute; bottom: 20px; right: 20px; padding: 5px 14px;
  background: rgba(6,15,30,.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,.3); border-radius: 50px;
  font-size: .72rem; font-weight: 700; color: var(--accent); z-index: 2;
}
.card-body {
  padding: 40px 36px; background: #fff; display: flex;
  flex-direction: column; justify-content: center;
}
.card-loc {
  font-size: .75rem; font-weight: 600; color: var(--accent-dark);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.card-body h3 { font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.card-tagline { font-size: .9rem; font-weight: 600; color: var(--accent-dark); margin-bottom: 12px; }
.card-desc { font-size: .88rem; color: var(--navy-70); line-height: 1.9; margin-bottom: 18px; }
.card-facts {
  display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px;
  padding: 14px; background: var(--bg-light); border-radius: 8px;
  border: 1px solid var(--navy-08);
}
.fact-val { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--navy); display: block; }
.fact-lbl { font-size: .7rem; color: var(--navy-50); font-weight: 500; }
.card-pricing { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; font-size: .82rem; color: var(--navy-70); }
.pricing-item { display: flex; align-items: center; gap: 6px; }
.pricing-item svg { color: var(--accent-dark); flex-shrink: 0; }
.price-highlight { color: var(--accent-dark); font-weight: 700; }
.card-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.amenity-tag {
  font-size: .7rem; padding: 4px 10px; background: var(--gold-light);
  border: 1px solid var(--gold-border); border-radius: 50px;
  color: var(--accent-dark); font-weight: 600;
}
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================
   Capital Overview Cards (Compact)
   ============================================ */
.capital-overview { padding: 64px 0; background: var(--bg-light); }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.loc-card {
  border-radius: 12px; padding: 28px; color: #fff;
  display: flex; flex-direction: column; gap: 10px;
  transition: var(--transition); overflow: hidden; position: relative;
  min-height: 220px; text-decoration: none;
}
.loc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.loc-card-loc {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; opacity: .8; font-weight: 600;
}
.loc-card h3, .loc-card-title { font-size: 1.4rem; font-weight: 800; line-height: 1.25; color: #fff; }
.loc-card p, .loc-card-desc { font-size: .85rem; opacity: .8; line-height: 1.7; }
.loc-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.loc-fact {
  background: rgba(255,255,255,.12); padding: 6px 12px;
  border-radius: 8px; font-size: .72rem; display: flex;
  flex-direction: column; line-height: 1.2;
}
.loc-fact strong { font-size: .95rem; font-weight: 800; }
.loc-cta {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; color: var(--accent); margin-top: 12px;
}

/* ============================================
   Features
   ============================================ */
.features-sec { padding: 80px 0; background: var(--bg-cream); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; }
.feat-card {
  padding: 28px; background: #fff; border-radius: 12px;
  border: 1px solid var(--navy-08); box-shadow: var(--shadow-md);
  transition: var(--transition); position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transition: transform .3s; transform-origin: right;
}
.feat-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold-border); transform: translateY(-4px); }
.feat-card:hover::before { transform: scaleX(1); }
.feat-icon {
  width: 52px; height: 52px; background: var(--gold-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--accent-dark); transition: var(--transition);
}
.feat-card:hover .feat-icon { background: var(--accent); color: #fff; }
.feat-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feat-desc { font-size: .85rem; color: var(--navy-70); line-height: 1.8; }

/* ============================================
   Contact Section
   ============================================ */
.contact-sec {
  padding: 80px 0; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #04090F 100%);
}
.contact-sec::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,.06), transparent 60%);
  pointer-events: none;
}
.contact-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.proj-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; margin-bottom: 32px; }
.proj-btn {
  display: flex; flex-direction: column; gap: 4px; padding: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; color: #fff; transition: var(--transition); text-decoration: none;
}
.proj-btn:hover { background: rgba(201,168,76,.12); border-color: rgba(201,168,76,.35); }
.proj-btn-name { font-size: .85rem; font-weight: 700; }
.proj-btn-loc { font-size: .7rem; color: rgba(255,255,255,.5); }
.contact-form-box {
  background: rgba(255,255,255,.06); border: 1px solid rgba(201,168,76,.2);
  border-radius: 16px; padding: 32px; backdrop-filter: blur(8px);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: linear-gradient(160deg, var(--primary-dark) 0%, #040C1A 100%);
  color: rgba(255,255,255,.6); padding: 64px 0 0;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 24px;
}
.footer-logo-txt { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-logo-txt span { color: var(--accent); }
.footer-tagline { font-size: .72rem; color: var(--accent); font-weight: 600; letter-spacing: .05em; margin-bottom: 12px; }
.footer-desc { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.9; margin-bottom: 16px; }
.footer-col-title {
  font-size: .8rem; font-weight: 700; color: #fff; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.footer-col-title svg { color: var(--accent); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a {
  font-size: .85rem; color: rgba(255,255,255,.45); transition: color .2s;
  display: flex; align-items: center; gap: 6px; text-decoration: none;
}
.footer-links li a::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.footer-links li a:hover { color: var(--accent); }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li a {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: rgba(255,255,255,.45); transition: color .2s; text-decoration: none;
}
.footer-contact-list li a:hover { color: var(--accent); }
.footer-contact-list li a svg { color: var(--accent); flex-shrink: 0; }
.footer-legal {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 8px;
}
.footer-legal a { color: rgba(255,255,255,.4); font-size: .78rem; transition: color .2s; text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }
.footer-legal span { color: rgba(255,255,255,.2); font-size: .7rem; }
.footer-bottom { padding: 20px 0; text-align: center; }
.copyright { font-size: .82rem; color: rgba(255,255,255,.35); }
.credit { margin-top: 8px; font-size: .78rem; color: rgba(255,255,255,.3); }
.credit a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ============================================
   Floating WhatsApp
   ============================================ */
.float-wa {
  position: fixed; bottom: calc(30px + var(--safe-bottom)); left: 24px;
  z-index: 995; background: var(--whatsapp-btn); color: #fff;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(18,140,62,.5); transition: var(--transition);
  text-decoration: none;
}
.float-wa:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(18,140,62,.65); }

/* ============================================
   Mobile Sticky Bar
   ============================================ */
#mob-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 996;
  background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  padding: 8px 12px calc(8px + var(--safe-bottom));
  display: none; gap: 6px; border-top: 1px solid var(--navy-08);
}
#mob-bar a, #mob-bar button {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 12px 8px; font-weight: 700; font-size: .8rem;
  border-radius: 8px; text-decoration: none; border: none; cursor: pointer;
  font-family: var(--font-body);
}
.mob-wa { background: #128C3E; color: #fff; }
.mob-call { background: var(--navy); color: #fff; }
.mob-reg { background: var(--navy); color: #fff; }

/* ============================================
   Social Proof Toast
   ============================================ */
#toast {
  position: fixed; bottom: 90px; left: 16px; z-index: 997;
  background: #fff; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  max-width: 300px; transform: translateY(20px); opacity: 0;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none; border-right: 3px solid var(--whatsapp-color);
}
#toast.show { opacity: 1; transform: translateY(0); }
.toast-avatar {
  width: 40px; height: 40px; background: var(--navy-04);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.toast-avatar svg { color: var(--accent); }
.toast-name { font-size: .83rem; font-weight: 700; color: var(--navy); margin: 0; }
.toast-time { font-size: .72rem; color: var(--navy-50); margin: 2px 0 0; }

/* ============================================
   Exit Popup
   ============================================ */
.popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.75); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.popup-overlay.show { opacity: 1; visibility: visible; }
.popup-box {
  background: #fff; border-radius: 16px; padding: 0;
  max-width: 400px; width: 100%; text-align: center;
  position: relative; box-shadow: 0 25px 80px rgba(0,0,0,.35);
  transform: scale(.8) translateY(30px);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1); overflow: hidden;
}
.popup-overlay.show .popup-box { transform: scale(1) translateY(0); }
.popup-urgency {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff; padding: 14px 20px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; font-size: .88rem;
}
.popup-countdown {
  background: rgba(255,255,255,.2); padding: 2px 10px;
  border-radius: 4px; font-family: monospace;
}
.popup-body { padding: 24px; }
.popup-close {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,.15); border: 2px solid rgba(0,0,0,.1);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 22px; font-weight: 700; color: #333;
  transition: background .2s; z-index: 10;
}
.popup-close:hover { background: rgba(0,0,0,.25); }
.live-viewers {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: #fef2f2; border-radius: 20px;
  font-size: .78rem; font-weight: 600; color: #991b1b; margin-bottom: 14px;
}
.live-dot {
  width: 8px; height: 8px; background: #dc2626;
  border-radius: 50%; animation: pulse 1.5s infinite;
}
.popup-h2 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.popup-p { font-size: .9rem; color: var(--navy-70); line-height: 1.7; margin-bottom: 16px; }
.popup-benefits {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 18px; text-align: right;
}
.popup-benefit { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: #166534; }
.popup-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px; background: #128C3E; color: #fff;
  font-weight: 800; font-size: 1.05rem; border-radius: 12px;
  text-decoration: none; box-shadow: 0 6px 20px rgba(37,211,102,.35);
  animation: ctaPulse 2s infinite;
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,.35); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,.55); }
}
.popup-skip {
  width: 100%; padding: 14px; background: transparent;
  border: 1px solid #e5e7eb; border-radius: 8px;
  color: #6b7280; font-size: .83rem; font-weight: 600;
  cursor: pointer; margin-top: 10px; transition: background .2s;
  font-family: var(--font-body);
}
.popup-skip:hover { background: #f3f4f6; }
.popup-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 12px; font-size: .78rem; color: var(--navy-50);
}
.popup-social-proof {
  padding: 10px; margin-top: 10px; background: var(--navy-04);
  border-radius: 8px; font-size: .8rem; font-weight: 600;
  color: var(--navy-70); text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ============================================
   Scarcity Banner
   ============================================ */
#scarcity {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 850;
  background: linear-gradient(135deg, var(--navy), #1a1f3a);
  color: #fff; padding: 8px 16px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: .82rem; font-weight: 600;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  text-align: center;
}
#scarcity.show { transform: translateY(0); }
.scarcity-count { color: #f59e0b; transition: all .3s; }
.scarcity-cta {
  background: #128C3E; color: #fff; padding: 4px 14px;
  border-radius: 6px; font-size: .76rem; font-weight: 700;
  flex-shrink: 0; text-decoration: none;
}

/* ============================================
   Fade Animations
   ============================================ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Legal Pages
   ============================================ */
.legal-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--navy));
  padding: 120px 0 60px; text-align: center;
}
.legal-header h1 { color: #fff; font-size: 2rem; }
.legal-updated { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: 8px; }
.legal-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.legal-content h2 { margin: 32px 0 12px; font-size: 1.4rem; }
.legal-content p { margin-bottom: 16px; line-height: 1.9; }

/* ============================================
   Page & Post Styles
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--navy));
  padding: 120px 0 60px; text-align: center;
}
.page-banner-title { color: #fff; font-size: 2.2rem; margin-bottom: 12px; }
.page-banner-sub { color: rgba(255,255,255,.7); font-size: 1.1rem; }
.page-body { max-width: 800px; margin: 0 auto; padding: 60px 0; }
.page-content-wrap { line-height: 1.9; }
.page-content-wrap h2 { margin: 32px 0 12px; }
.page-content-wrap p { margin-bottom: 16px; }

.post-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--navy));
  padding: 120px 0 60px;
}
.post-title { color: #fff; font-size: 2rem; margin-bottom: 8px; }
.post-meta { color: rgba(255,255,255,.5); font-size: .85rem; }
.post-body { max-width: 800px; margin: 0 auto; padding: 60px 0; }
.post-content { line-height: 1.9; }

/* Posts Grid (index.php) */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; margin: 40px 0; }
.post-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--navy-08); transition: var(--transition); }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card-thumb img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card-title { font-size: 1.2rem; margin-bottom: 8px; }
.post-card-title a { text-decoration: none; color: var(--navy); }
.post-card-meta { font-size: .82rem; color: var(--navy-50); margin-bottom: 12px; }
.post-card-excerpt { font-size: .9rem; color: var(--navy-70); line-height: 1.8; margin-bottom: 16px; }

/* 404 Page */
.error-404 { min-height: 60vh; display: flex; align-items: center; }

/* No Results */
.no-results { text-align: center; padding: 80px 24px; }
.no-results h2 { font-size: 1.5rem; margin-bottom: 12px; }
.no-results p { color: var(--navy-70); margin-bottom: 24px; }

/* Search Form */
.search-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.search-field {
  flex: 1; padding: 12px 16px; border: 2px solid var(--navy-08);
  border-radius: 8px; font-size: .95rem; outline: none;
  font-family: var(--font-body);
}
.search-field:focus { border-color: var(--accent); }

/* Pagination */
.pagination, .nav-links { display: flex; justify-content: center; gap: 8px; margin: 40px 0; flex-wrap: wrap; }
.page-numbers {
  padding: 8px 14px; border: 1px solid var(--navy-08);
  border-radius: 8px; font-size: .9rem; color: var(--navy);
  text-decoration: none; transition: var(--transition);
}
.page-numbers:hover, .page-numbers.current {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* Single Project Page */
.project-hero {
  position: relative; padding: 140px 0 80px; overflow: hidden; color: #fff;
}
.project-hero-bg { position: absolute; inset: 0; opacity: .55; z-index: 0; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,30,60,.35) 0%, rgba(12,30,60,.7) 100%); z-index: 0; pointer-events: none; }
.project-hero-content { position: relative; z-index: 1; }
.project-hero-loc {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; opacity: .8; margin-bottom: 12px;
}
.project-hero-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: #fff; margin-bottom: 12px; }
.project-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 24px; }
.project-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.project-facts-bar { background: var(--bg-light); padding: 32px 0; }
.project-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.project-fact-item { text-align: center; padding: 20px; }
.project-fact-val { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--accent); }
.project-fact-lbl { font-size: .85rem; color: var(--navy-70); margin-top: 4px; }
.project-description { padding: 64px 0; }
.project-content { max-width: 800px; margin: 0 auto; }
.project-content h2 { margin-bottom: 20px; }
.project-desc-text { line-height: 1.9; color: var(--navy-70); }
.project-pricing { padding: 64px 0; background: var(--bg-light); }
.project-pricing-title { text-align: center; margin-bottom: 32px; }
.project-pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.pricing-card {
  background: #fff; padding: 32px; border-radius: 12px;
  text-align: center; border: 1px solid var(--navy-08);
  box-shadow: var(--shadow-md);
}
.pricing-card svg { color: var(--accent); margin-bottom: 12px; }
.pricing-card h3 { font-size: 1rem; margin-bottom: 8px; }
.pricing-card p { font-size: .95rem; color: var(--navy-70); }
.project-amenities { padding: 64px 0; }
.project-amenities h2 { text-align: center; margin-bottom: 32px; }
.amenities-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.amenity-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--gold-light);
  border: 1px solid var(--gold-border); border-radius: 50px;
  font-size: .85rem; font-weight: 600; color: var(--accent-dark);
}
.project-form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), #04090F);
}
.project-form-wrap { max-width: 500px; margin: 0 auto; }

/* ============================================
   Archive Grid
   ============================================ */
.archive-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--navy));
  padding: 120px 0 60px; text-align: center;
}
.archive-title { color: #fff; font-size: 2rem; }
.archive-description { color: rgba(255,255,255,.7); margin-top: 12px; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; margin: 40px 0; }
.archive-item { border-radius: 12px; overflow: hidden; border: 1px solid var(--navy-08); background: #fff; }
.archive-item-thumb img { width: 100%; height: 200px; object-fit: cover; }
.archive-item-body { padding: 24px; }
.archive-item-body h2 { font-size: 1.2rem; margin-bottom: 8px; }
.archive-item-body h2 a { text-decoration: none; color: var(--navy); }
.archive-item-meta { font-size: .82rem; color: var(--navy-50); margin-bottom: 8px; }
.archive-item-excerpt { font-size: .9rem; color: var(--navy-70); }

/* ============================================
   Screen Reader Only
   ============================================ */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto !important; clip-path: none; color: #21759b;
  display: block; font-size: 14px; font-weight: 700;
  height: auto; left: 5px; line-height: normal;
  padding: 15px 23px 14px; text-decoration: none;
  top: 5px; width: auto; z-index: 100000;
}

/* Shake Animation for popup */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-6px); }
  40%,80% { transform: translateX(6px); }
}

/* ============================================
   Image Slider for Project Cards
   ============================================ */
.card-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.card-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.card-slider img.active {
  opacity: 0.75;
}
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .3s;
}
.slider-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

/* Compact loc-card background slider */
.loc-card-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 12px;
}
.loc-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.loc-card-bg img.active {
  opacity: 0.4;
}
.loc-card {
  position: relative;
  overflow: hidden;
}
.loc-card > *:not(.loc-card-bg) {
  position: relative;
  z-index: 2;
}
.loc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
  z-index: 1;
  border-radius: 12px;
  pointer-events: none;
}

/* ============================================
   New Launch Badge
   ============================================ */
.card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 4;
  padding: 8px 16px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(220,38,38,.5);
  animation: badgePulse 2s infinite;
  letter-spacing: .02em;
}
@keyframes badgePulse {
  0%,100% { transform: scale(1); box-shadow: 0 4px 16px rgba(220,38,38,.5); }
  50%     { transform: scale(1.05); box-shadow: 0 6px 24px rgba(220,38,38,.7); }
}
body.rtl .card-badge { left: auto; right: 20px; }
body.rtl .card-num { right: auto; left: 20px; }
