/* ═══════════════════════════════════════════════════
   MEZAJ FRANCHISE — Public Site CSS
   Clean Modern Theme (WhatsApp-inspired)
   White + Mezaj Green
   ═══════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --green:    #25A55A;
  --green-lt: #34C46B;
  --green-dk: #128C48;
  --green-bg: #E9F8EF;
  --dark:     #111B21;
  --dark2:    #1F2C34;
  --bg:       #FFFFFF;
  --bg-alt:   #F0F2F5;
  --border:   #E9EDEF;
  --text:     #111B21;
  --text-2:   #3B4A54;
  --muted:    #667781;
  --white:    #FFFFFF;

  /* keep old names as aliases so nothing breaks */
  --gold:     #25A55A;
  --gold-lt:  #34C46B;
  --gold-dk:  #128C48;
  --cream:    #FFFFFF;
  --cream2:   #F0F2F5;

  --font-ar: 'Cairo', sans-serif;
  --font-en-head: 'Inter', sans-serif;
  --font-en-body: 'Inter', sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 2px 16px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: all 0.25s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-en-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
body.rtl { font-family: var(--font-ar); direction: rtl; }
body.rtl .section-title,
body.rtl h1, body.rtl h2, body.rtl h3 { font-family: var(--font-ar); font-weight: 700; }
body.ltr .section-title,
body.ltr h1, body.ltr h2, body.ltr h3 { font-family: var(--font-en-head); }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── UTILITY ── */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 52px 0; }

/* "dark" sections are now light gray (WhatsApp style) */
.dark-section { background: var(--bg-alt); color: var(--text); }
.gold-section  { background: var(--green-bg); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-label.light { color: var(--green); }

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title.light { color: var(--text); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.section-subtitle.light { color: var(--text-2); }

.section-body { font-size: 1rem; color: var(--text-2); max-width: 540px; line-height: 1.8; }
.section-body.light { color: var(--text-2); }

.section-header.center { text-align: center; margin-bottom: 56px; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--green-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,165,90,0.35);
}
.btn-primary.btn-sm { padding: 10px 24px; font-size: 0.875rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--border);
  color: var(--text);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  transition: var(--transition);
  background: var(--white);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 50px;
  transition: var(--transition);
  background: var(--white);
}
.btn-lang:hover { border-color: var(--green); color: var(--green); }

.btn-nav-cta {
  background: var(--green);
  color: #FFFFFF !important;
  padding: 7px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  transition: var(--transition);
}
.btn-nav-cta:hover { background: var(--green-lt); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 20px;
  background: transparent;
  border-bottom: none;
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: none;
  background: transparent;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}
.logo-ar      { font-family: var(--font-ar); font-size: 1.4rem; font-weight: 800; color: var(--green); }
.logo-divider { color: var(--border); }
.logo-en      { font-family: var(--font-en-head); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.logo-sub     { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; align-self: center; }
.logo-img     { height: 40px; width: auto; object-fit: contain; display: block; }

/* ── Nav links — hidden by default, shown as dropdown on hamburger click ── */
.nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0; right: 0;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 14px 16px 16px;
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(14,23,19,0.08);
  box-shadow: 0 20px 56px rgba(8,23,17,0.14);
  z-index: 1002;
  direction: inherit;
}
.nav-links.open {
  display: grid;
  animation: dropIn 0.22s ease forwards;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-links li { width: 100%; }
.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(24,160,88,0.05);
  transition: var(--transition);
  width: 100%;
  min-height: 44px;
}
.nav-links a:hover { color: var(--green-dk); background: rgba(24,160,88,0.12); }

/* Lang switcher row inside dropdown */
.nav-lang-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 2px;
}

/* Apply Now inside dropdown */
.nav-links .btn-nav-cta {
  display: flex !important;
  width: 100%;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  background: var(--green) !important;
  color: #fff !important;
  font-weight: 700;
  margin-top: 4px;
  font-size: 0.95rem;
}

/* ── Hamburger — visible on all sizes ── */
.nav-hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--green-dk);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 72px 24px 80px;
  background: #FFFFFF;
}

/* Subtle decorative blobs — very light green, barely visible */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(37,165,90,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(37,165,90,0.05) 0%, transparent 70%);
}
.hero-pattern::before { display: none; }
.hero-pattern::after  { display: none; }
.hero-overlay { display: none; }

/* Clean white content — no card, content directly on white */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(37,165,90,0.3);
  color: var(--green-dk);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
  background: var(--green-bg);
  animation: fadeInDown 0.7s ease both;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.1s ease both;
  letter-spacing: -0.02em;
}
body.ltr .hero-title { font-style: normal; }
.hero-title span { color: var(--green); }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}
.scroll-mouse {
  width: 28px; height: 44px;
  border: 2px solid rgba(17,27,33,0.2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--green);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease infinite;
}

/* ── STATS BAR — Glass Pills ── */
.stats-bar {
  background: linear-gradient(135deg, #0B6B35 0%, #1A9048 50%, #25A55A 100%);
  padding: 52px 24px;
}
.stats-container {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.stat-divider { display: none; }

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Bright glass pill */
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 100px;
  padding: 22px 32px;
  flex: 1;
  min-width: 0;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.5);
}
.stat-item:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.65);
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 7px;
  white-space: nowrap;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
body.rtl .about-grid { direction: rtl; }

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
}
.about-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  z-index: -1;
  transform: rotate(1.5deg);
  opacity: 0.4;
}
.about-badge-year {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--green);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.3;
}
body.rtl .about-badge-year { left: auto; right: 24px; }
.about-badge-year span { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.about-badge-year strong { display: block; font-size: 1.8rem; line-height: 1; }

.about-text .section-title { margin-top: 8px; }
.about-text .section-body  { margin: 20px 0 32px; }

/* ── WHY ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.why-card:hover {
  border-color: var(--green);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(37,165,90,0.12);
}
.why-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-bg);
  border: 1.5px solid rgba(37,165,90,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--green);
  transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--green); color: #FFFFFF; }
.why-card h3 { color: var(--text); font-size: 1rem; margin-bottom: 10px; font-weight: 700; }
.why-card p  { color: var(--muted); font-size: 0.875rem; line-height: 1.7; }

/* ── INVESTMENT ── */
.invest-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.invest-highlight {
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}
.invest-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.15) 0%, transparent 60%);
}
.invest-range {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.invest-range span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.invest-range strong { font-size: clamp(1.3rem, 5.5vw, 2.2rem); color: #FFFFFF; font-weight: 900; line-height: 1.1; }
.invest-currency { font-size: 0.82rem !important; background: rgba(255,255,255,0.2); color: #FFFFFF; padding: 2px 10px; border-radius: 50px; font-weight: 700 !important; }
.invest-highlight > p { color: rgba(255,255,255,0.8); margin-bottom: 32px; position: relative; font-size: 0.95rem; }
.invest-highlight .btn-primary {
  width: 100%;
  justify-content: center;
  position: relative;
  background: #FFFFFF;
  color: var(--green);
}
.invest-highlight .btn-primary:hover { background: var(--bg-alt); box-shadow: none; }

.invest-table {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.invest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.invest-row:last-child { border-bottom: none; }
.invest-row:hover { background: var(--bg-alt); }
.invest-key { font-size: 0.9rem; color: var(--muted); }
.invest-val { font-weight: 700; color: var(--text); }

/* ── PROCESS ── */
.process-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
}
.process-step {
  position: relative;
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  padding: 0 12px;
}
.step-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-bg);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.3rem;
  color: var(--green);
  position: relative;
  z-index: 1;
}
.step-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 8px;
}
.process-step h3 { color: var(--text); font-size: 0.95rem; margin-bottom: 8px; font-weight: 700; }
.process-step p  { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.step-connector {
  position: absolute;
  top: 32px;
  inset-inline-end: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, rgba(37,165,90,0.2) 100%);
  z-index: 0;
}
body.rtl .step-connector { background: linear-gradient(-90deg, var(--green) 0%, rgba(37,165,90,0.2) 100%); }

/* ── BRAND STORY TIMELINE ── */
.tl-section { background: var(--bg-alt); }
.tl-section .section-header { margin-bottom: 64px; }

.tl-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: 0;
}

/* Horizontal connecting line */
.tl-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dk), var(--green), var(--green-lt));
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 0;
}
body.rtl .tl-wrap::before {
  background: linear-gradient(-90deg, var(--green-dk), var(--green), var(--green-lt));
}

/* Each milestone item */
.tl-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
/* Above the line */
.tl-above {
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
}
.tl-above .tl-card { margin-bottom: 0; }

/* Below the line */
.tl-below {
  flex-direction: column-reverse;
  padding-top: 0;
}
.tl-below .tl-card { margin-top: 0; }

/* The dot on the line */
.tl-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 3px var(--green);
  flex-shrink: 0;
  z-index: 2;
}
.tl-dot-big {
  width: 26px; height: 26px;
  box-shadow: 0 0 0 4px var(--green), 0 0 20px rgba(37,165,90,0.4);
}

/* Stem connecting card to dot */
.tl-stem {
  width: 2px;
  height: 32px;
  background: var(--green);
  opacity: 0.35;
  flex-shrink: 0;
}

/* Milestone card */
.tl-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 18px 14px;
  text-align: center;
  width: 148px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.tl-card:hover {
  border-color: var(--green);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(37,165,90,0.14);
}
.tl-card-highlight {
  border-color: var(--green);
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FBF5 100%);
  box-shadow: 0 8px 32px rgba(37,165,90,0.18);
}

.tl-num {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  background: var(--green);
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.tl-icon { font-size: 1.5rem; margin-bottom: 8px; }
.tl-year {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.tl-year-big {
  font-size: 2rem;
  color: var(--green);
}
.tl-name-en {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-bottom: 3px;
}
.tl-name-ar {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dk);
  font-family: var(--font-ar);
  margin-bottom: 6px;
  line-height: 1.4;
}
.tl-desc {
  font-size: 0.67rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Timeline Mobile ── */
@media (max-width: 900px) {
  .tl-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 40px;
    gap: 0;
  }
  body.rtl .tl-wrap { padding-left: 0; padding-right: 40px; align-items: flex-end; }

  /* Vertical line on left/right */
  .tl-wrap::before {
    top: 0; bottom: 0;
    left: 8px; right: auto;
    width: 4px; height: auto;
    background: linear-gradient(180deg, var(--green-dk), var(--green), var(--green-lt));
    transform: none;
  }
  body.rtl .tl-wrap::before {
    left: auto; right: 8px;
    background: linear-gradient(180deg, var(--green-dk), var(--green), var(--green-lt));
  }

  /* All items go left-to-right horizontally */
  .tl-item,
  .tl-above,
  .tl-below {
    flex-direction: row !important;
    align-items: center !important;
    width: 100%;
    padding: 16px 0 !important;
    gap: 14px;
  }
  body.rtl .tl-item,
  body.rtl .tl-above,
  body.rtl .tl-below { flex-direction: row-reverse !important; }

  .tl-dot { position: absolute; left: 0; transform: none; }
  body.rtl .tl-dot { left: auto; right: 0; }

  .tl-stem { width: 20px; height: 2px; }

  .tl-card {
    width: 100%;
    text-align: start;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
  }
  body.rtl .tl-card { text-align: end; flex-direction: row-reverse; }

  .tl-icon { font-size: 1.8rem; flex-shrink: 0; margin: 0; }
  .tl-num  { margin: 0 0 4px; }
  .tl-year { font-size: 1.3rem; margin-bottom: 4px; }
  .tl-card-text { flex: 1; }
  .tl-name-en, .tl-name-ar, .tl-desc { text-align: start; }
  body.rtl .tl-name-en,
  body.rtl .tl-name-ar,
  body.rtl .tl-desc { text-align: end; }
}

/* ── GALLERY CAROUSEL ── */
.gallery-sec.section-pad { padding: 32px 0 36px; }

.gallery-carousel {
  display: flex;
  align-items: center;
  direction: ltr;
  overflow: hidden; /* clips peek at carousel edge */
}
.gallery-track-wrap {
  flex: 1;
  overflow: visible; /* lets next card peek out */
}
.gallery-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
/* ── Gallery card — plain image card ── */
.gallery-item {
  flex: 0 0 calc(40% - 10px);
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #111;
  box-shadow: 0 4px 20px rgba(8,23,17,0.13);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item img,
.gallery-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(8,23,17,0.20);
}
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.06); }
.gallery-overlay { display: none; }
.gallery-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(24,160,88,0.3);
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  font-size: 0.85rem;
}
.gallery-btn:hover { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.08); }
.gallery-btn:disabled { opacity: 0.3; cursor: default; transform: none; }
.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(8,23,17,0.18);
  cursor: pointer;
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
}
.gallery-dot.active { background: var(--green); width: 24px; border-radius: 4px; }

/* ── TESTIMONIALS ── */
.testimonial-slider { display: flex; gap: 24px; overflow: hidden; position: relative; }
.testimonial-card {
  min-width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  text-align: center;
}
.testi-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--green);
}
.testi-avatar-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
.testi-quote { font-size: 2rem; color: var(--green); margin-bottom: 16px; }
.testi-text {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 24px;
}
.testi-author strong { display: block; font-weight: 700; color: var(--text); }
.testi-author span { font-size: 0.875rem; color: var(--muted); }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { background: var(--green); width: 24px; border-radius: 4px; }

/* ── FAQ ── */
.faq-container { max-width: 800px; }
.faq-list { margin-top: 48px; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  text-align: start;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--green); }
.faq-q[aria-expanded="true"] { color: var(--green); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s ease; color: var(--green); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; }
.faq-a.open { max-height: 400px; }
.faq-a p { padding: 0 24px 20px; font-size: 0.9rem; color: var(--muted); line-height: 1.8; }

/* ── APPLY FORM ── */
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.apply-info .section-title { margin-top: 8px; margin-bottom: 16px; color: var(--white); }
.apply-info .section-body  { margin-bottom: 36px; color: rgba(255,255,255,0.8); }
.apply-contacts { display: flex; flex-direction: column; gap: 16px; }
.apply-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.apply-contact-item:hover { color: #FFFFFF; }
.apply-contact-item i { width: 20px; color: rgba(255,255,255,0.6); }

/* Override dark-section for apply to use real dark */
.apply-sec {
  background: var(--dark2) !important;
  color: #FFFFFF;
}
.apply-sec .section-label { color: var(--green-lt); }
.apply-sec .section-title { color: #FFFFFF; }
.apply-sec .section-subtitle { color: rgba(255,255,255,0.7); }

.apply-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

/* Form steps */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.form-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.form-step.active .step-circle { border-color: var(--green); background: var(--green); color: #FFFFFF; }
.form-step.done  .step-circle { border-color: var(--green); background: var(--green-bg); color: var(--green); }
.form-step span  { font-size: 0.7rem; color: var(--muted); white-space: nowrap; }
.form-step.active span { color: var(--green); }
.step-line { flex: 1; height: 2px; background: var(--border); min-width: 40px; margin: 0 8px; margin-bottom: 22px; }

.apply-form .form-page { display: none; }
.apply-form .form-page.active { display: block; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,165,90,0.1); }
.form-group select option { background: var(--white); color: var(--text); }
.form-group textarea { resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.form-actions.between { justify-content: space-between; }

.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--muted); font-size: 0.85rem; }
.checkbox-label input[type="checkbox"] { width: auto; margin-top: 2px; accent-color: var(--green); }

/* Outline button in form (on white bg) */
.apply-form .btn-outline {
  border-color: var(--border);
  color: var(--text-2);
}
.apply-form .btn-outline:hover { border-color: var(--green); color: var(--green); }

.form-review { background: var(--bg-alt); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.review-item { display: flex; gap: 12px; margin-bottom: 10px; font-size: 0.85rem; }
.review-label { color: var(--muted); min-width: 120px; }
.review-value { color: var(--text); font-weight: 500; }
.form-agree { margin-bottom: 20px; }

.form-success { text-align: center; padding: 40px 20px; }
.success-icon { font-size: 4rem; color: var(--green); margin-bottom: 20px; }
.form-success h3 { font-size: 1.5rem; color: var(--text); margin-bottom: 12px; }
.form-success p  { color: var(--muted); }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
}
.footer-simple {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-row-top {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-row-bottom {
  padding: 20px 0;
  font-size: 0.8rem;
}

/* Brand logo in footer */
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer-logo-ar { font-family: var(--font-ar); font-size: 1.4rem; font-weight: 800; color: var(--green-lt); }
.footer-logo-en { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 0.05em; }

/* Horizontal nav links */
.footer-links-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links-row a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-links-row a:hover { color: var(--green-lt); }

/* Social icons row */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social-row a:hover { border-color: var(--green); color: var(--green-lt); }

/* Bottom bar */
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-bottom-links a:hover { color: var(--green-lt); }
.footer-lang-btn {
  background: rgba(37,165,90,0.15);
  color: var(--green-lt) !important;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
}
.footer-lang-btn:hover { background: rgba(37,165,90,0.25) !important; }

/* Responsive footer */
@media (max-width: 768px) {
  .footer-row-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-row-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .footer-links-row { justify-content: center; }
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17,27,33,0.96);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  color: #FFFFFF;
  font-size: 1.3rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--green); color: var(--green); }

/* ── ANIMATIONS ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-animate="slide-in"] { transform: translateX(-24px); }
body.rtl [data-animate="slide-in"] { transform: translateX(24px); }
[data-animate].visible { opacity: 1; transform: none; }

/* ── RESPONSIVE TABLET ── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .invest-layout { grid-template-columns: 1fr; }
  .invest-highlight { max-width: 480px; margin: 0 auto; }
  .apply-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Stats — tighter on tablet so all 5 still fit in one row */
  .stat-item { padding: 18px 20px; }
  .stat-num  { font-size: 1.9rem; }
  .stat-label { font-size: 0.67rem; }
}

/* ══════════════════════════════════════════════════
   MOBILE APP DESIGN (≤ 768px)
   ══════════════════════════════════════════════════ */

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 1000;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
}
.mob-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 4px 6px 6px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.mob-nav-item i { font-size: 1.3rem; transition: transform 0.2s; }
.mob-nav-item.active { color: var(--green); }
.mob-nav-item.active i { transform: translateY(-2px); }

/* Centre FAB apply button */
.mob-nav-center {
  margin-top: -22px;
  gap: 4px;
}
.mob-nav-fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(37,165,90,0.5);
  border: 3px solid #FFFFFF;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mob-nav-center:active .mob-nav-fab {
  transform: scale(0.92);
  box-shadow: 0 2px 10px rgba(37,165,90,0.35);
}

@media (max-width: 768px) {
  /* Bottom nav stays */
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 74px; }

  /* ── Mobile pill: logo always LEFT, hamburger always RIGHT ── */
  .navbar { padding: 0 12px; }
  .nav-container {
    height: 52px;
    position: relative;
  }
  /* Absolute-position both — 100% immune to RTL/LTR direction */
  .nav-logo {
    position: absolute !important;
    left: 12px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .nav-hamburger {
    position: absolute !important;
    right: 12px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
  }

  /* Mobile dropdown — inherits global dropdown styles, just tighten padding */
  .nav-links { padding: 12px 10px 14px; }
  .nav-links a { font-size: 0.92rem; min-height: 44px; }

  /* Tighter layout */
  .container   { padding: 0 16px; }
  .section-pad { padding: 32px 0; }

  /* ── Hero on mobile ── */
  .hero { padding: 80px 24px 56px; min-height: 100svh; align-items: center; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 2.2rem; letter-spacing: -0.01em; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.72rem; padding: 7px 16px; margin-bottom: 20px; }
  .hero-actions { gap: 10px; flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; padding: 15px 24px; font-size: 0.95rem; }
  .scroll-cue { display: none; }

  /* ── Stats: pill grid on mobile ── */
  .stats-bar { padding: 28px 12px; }
  .stats-container { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .stat-item { padding: 14px 20px; flex: 0 0 calc(33.333% - 8px); min-width: 0; border-radius: 100px; }
  .stat-item:last-child { flex: 0 0 calc(50% - 8px); }
  .stat-num  { font-size: 1.7rem; }
  .stat-label { font-size: 0.63rem; }
  .stat-divider { display: none; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-image-wrap { order: -1; }
  .about-img-frame { aspect-ratio: 16/9; border-radius: var(--radius); }
  .about-img-frame::before { display: none; }

  /* ── Why cards: 2 per row ── */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why-card { padding: 20px 14px; border-radius: var(--radius); }
  .why-icon { width: 48px; height: 48px; font-size: 1.1rem; margin-bottom: 14px; }
  .why-card h3 { font-size: 0.85rem; margin-bottom: 6px; }
  .why-card p  { font-size: 0.78rem; }

  /* ── Process: horizontal cards (app style) ── */
  .process-steps { flex-direction: column; align-items: stretch; gap: 10px; }
  .process-step {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: start !important;
    max-width: 100% !important;
    gap: 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow);
  }
  .step-icon { flex-shrink: 0; margin: 0 !important; }
  .step-connector { display: none; }
  .step-num { margin-bottom: 2px; }
  .process-step-text { flex: 1; }
  .process-step h3 { font-size: 0.9rem; margin-bottom: 2px; }
  .process-step p  { font-size: 0.8rem; }

  /* ── Gallery ── */
  .gallery-btn { width: 36px; height: 36px; font-size: 0.75rem; }

  /* ── Investment ── */
  .invest-layout { grid-template-columns: 1fr; gap: 16px; }
  .invest-highlight { padding: 32px 24px; border-radius: var(--radius); }
  .invest-range strong { font-size: 1.6rem; }

  /* ── Apply form ── */
  .apply-grid { grid-template-columns: 1fr; gap: 24px; }
  .apply-form-wrap { border-radius: var(--radius); padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom-in */
    padding: 13px 14px;
    border-radius: 10px;
  }
  .btn-primary,
  .btn-outline { min-height: 48px; }

  /* ── FAQ ── */
  .faq-container { max-width: 100%; }
  .faq-q { padding: 16px 20px; }
  .faq-a p { padding: 0 20px 16px; }

  /* ── Testimonials ── */
  .testimonial-card { padding: 32px 24px; }

  /* ── Footer on mobile ── */
  .footer-links-row { display: none; }
  .footer-row-top { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 24px 0 18px; }
  .footer-row-bottom { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.9rem; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 32px 20px; }

}

/* ═══════════════════════════════════════════════════
   MEZAJ FRANCHISE — 2026 Immersive Redesign
   ═══════════════════════════════════════════════════ */
:root {
  --green: #18a058;
  --green-lt: #48d27d;
  --green-dk: #086b3d;
  --green-bg: #e8f7ee;
  --ink: #0e1713;
  --ink-soft: #27362f;
  --mist: #f4f7f1;
  --paper: #fffdf8;
  --amber: #d99a2b;
  --coral: #df6951;
  --cyan: #23a6a6;
  --dark: #07130e;
  --dark2: #0f2018;
  --bg: #fffdf8;
  --bg-alt: #f4f7f1;
  --border: rgba(14, 23, 19, 0.11);
  --text: #0e1713;
  --text-2: #34463d;
  --muted: #66756c;
  --radius: 8px;
  --radius-lg: 8px;
  --shadow: 0 18px 55px rgba(9, 30, 21, 0.09);
  --shadow-md: 0 24px 70px rgba(9, 30, 21, 0.12);
  --shadow-lg: 0 30px 90px rgba(5, 16, 11, 0.18);
  --transition: 220ms cubic-bezier(.2,.8,.2,1);
}

body {
  background:
    linear-gradient(180deg, rgba(244, 247, 241, 0.7), rgba(255, 253, 248, 0) 28rem),
    var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

body::before {
  display: none;
}

.container { max-width: 1180px; }
.section-pad { padding: 56px 0; }
section[id] { scroll-margin-top: 16px; }

.section-label {
  color: var(--green-dk);
  background: rgba(24, 160, 88, 0.1);
  border: 1px solid rgba(24, 160, 88, 0.16);
  padding: 7px 11px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-label.light {
  color: #bcf6d2;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
}

.section-title {
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-title.light { color: #fffdf8; }
.section-subtitle { color: var(--muted); font-size: 1rem; }
.section-subtitle.light,
.section-body.light { color: rgba(255, 253, 248, 0.72); }

.btn-primary,
.btn-nav-cta {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-dk), var(--green) 58%, var(--green-lt));
  box-shadow: 0 14px 34px rgba(24, 160, 88, 0.26);
}

.btn-primary:hover,
.btn-nav-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #075d35, var(--green), #5ce38d);
  box-shadow: 0 20px 44px rgba(24, 160, 88, 0.32);
}

.btn-outline,
.btn-lang {
  border-radius: 999px;
  border-color: rgba(14, 23, 19, 0.12);
  background: rgba(255, 253, 248, 0.72);
  backdrop-filter: blur(16px);
}

/* ── iOS 26 Liquid Glass navbar ── */
.navbar {
  top: 12px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), 1200px);
  border-radius: 999px;

  /* Let page color bleed through — saturate punches the bg tint */
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(40px) saturate(260%) brightness(1.02);
  -webkit-backdrop-filter: blur(40px) saturate(260%) brightness(1.02);

  /* Glass chrome */
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.95),     /* top specular shine */
    inset 0 -1px 0 rgba(0, 0, 0, 0.05),           /* bottom rim */
    0 1px 2px  rgba(0, 0, 0, 0.04),
    0 6px 20px rgba(0, 0, 0, 0.09),               /* lift shadow */
    0 20px 48px rgba(0, 0, 0, 0.07);              /* deep ambient */

  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.03);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.03);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06),
    0 4px 12px  rgba(0, 0, 0, 0.08),
    0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ── Language dual-switcher ── */
.nav-lang-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-lang-opt {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  padding: 2px 5px;
  border-radius: 6px;
  transition: color var(--transition);
}
.btn-lang-opt:hover { color: var(--green); }

/* ── Apply Now pill ── */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  vertical-align: middle;
}
.nav-container { height: 50px; padding: 0 10px; }
.navbar .logo-img {
  height: 28px;
  max-width: 110px;
  filter: brightness(0) saturate(100%) invert(22%) sepia(20%) saturate(1453%) hue-rotate(91deg) brightness(92%) contrast(92%);
}
.nav-logo {
  min-width: 150px;
  justify-content: flex-start;
}
.nav-links { gap: 2px; }
.nav-links a { border-radius: 999px; color: rgba(14, 23, 19, 0.72); }
.nav-links a:hover { background: rgba(24, 160, 88, 0.1); color: var(--green-dk); }

.hero {
  min-height: 100svh;
  justify-content: center;
  text-align: start;
  padding: 148px 24px 104px;
  background:
    linear-gradient(135deg, #fffdf8 0%, #f6f1e6 48%, #e7f4ea 100%);
}

.hero-bg { overflow: hidden; }
.hero-pattern {
  background:
    linear-gradient(115deg, rgba(24,160,88,0.12), transparent 32%),
    linear-gradient(245deg, rgba(217,154,43,0.14), transparent 38%);
}

.hero-orbit,
.hero-beam {
  position: absolute;
  pointer-events: none;
}

.hero-orbit {
  border: 1px solid rgba(24, 160, 88, 0.2);
  border-radius: 50%;
  animation: spinSlow 24s linear infinite;
}

.hero-orbit-one {
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  right: -12vw;
  top: 8vh;
}

.hero-orbit-two {
  width: 30vw;
  height: 30vw;
  min-width: 290px;
  min-height: 290px;
  left: -9vw;
  bottom: -8vh;
  border-color: rgba(217, 154, 43, 0.24);
  animation-direction: reverse;
}

.hero-beam {
  width: 70vw;
  height: 22rem;
  right: -16vw;
  bottom: 4vh;
  background: linear-gradient(100deg, transparent, rgba(24,160,88,0.14), rgba(35,166,166,0.1), transparent);
  transform: rotate(-9deg);
  filter: blur(4px);
  animation: beamDrift 9s ease-in-out infinite;
}

.hero-content {
  width: min(1180px, 100%);
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.hero-copy { max-width: 720px; }

.hero-badge {
  background: rgba(255, 253, 248, 0.72);
  border-color: rgba(24, 160, 88, 0.18);
  box-shadow: 0 12px 36px rgba(8, 107, 61, 0.08);
  color: var(--green-dk);
  animation: fadeInDown 0.7s ease both, floatY 5.5s ease-in-out 1s infinite;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.92;
  color: var(--ink);
  letter-spacing: 0;
  max-width: 780px;
}

.hero-subtitle {
  margin-inline: 0;
  color: var(--text-2);
  max-width: 600px;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.hero-actions { justify-content: flex-start; }
body.rtl .hero-actions { justify-content: flex-start; }

.hero .scroll-cue {
  display: none;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  perspective: 1000px;
  animation: fadeInUp 0.9s 0.25s ease both;
  transform:
    translate3d(var(--shift-x, 0), var(--shift-y, 0), 0)
    rotateX(var(--tilt-x, 0))
    rotateY(var(--tilt-y, 0));
  transition: transform 180ms ease-out;
}

.hero-phone {
  position: absolute;
  inset: 6% 8% 4% 10%;
  border-radius: 34px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,255,255,0.56)),
    linear-gradient(135deg, rgba(24,160,88,0.16), rgba(217,154,43,0.12));
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: 0 34px 90px rgba(6, 28, 17, 0.18);
  transform: rotateY(-13deg) rotateX(6deg) rotateZ(1deg);
  overflow: hidden;
}

body.rtl .hero-phone { transform: rotateY(13deg) rotateX(6deg) rotateZ(-1deg); }

.hero-phone::before {
  display: none;
}

.hero-phone-top {
  position: absolute;
  top: 26px;
  left: 50%;
  width: 86px;
  height: 8px;
  border-radius: 999px;
  background: rgba(14, 23, 19, 0.18);
  transform: translateX(-50%);
}

.hero-saudi-map {
  position: absolute;
  inset: 82px 28px 98px;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  isolation: isolate;
}

.hero-saudi-map::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(210px, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(24,160,88,0.18);
  box-shadow:
    0 0 0 18px rgba(24,160,88,0.045),
    0 0 0 42px rgba(24,160,88,0.025);
  transform: translate(-50%, -50%) scale(0.86);
  animation: mapPulse 3.8s ease-in-out infinite;
}

.hero-saudi-map::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 34%;
  top: 39%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #27b46b;
  box-shadow:
    66px 42px 0 #d9b45d,
    126px 78px 0 #27b46b,
    42px 128px 0 #d9b45d;
  filter: drop-shadow(0 0 8px rgba(24,160,88,0.55));
  animation: mapSpark 2.9s ease-in-out infinite;
}

.coverage-map-art {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(6,28,17,0.12));
  animation: mapFloat 5.2s ease-in-out infinite;
}

.cafe-motion-icon {
  position: absolute;
  z-index: 5;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dk);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(8, 107, 61, 0.12);
  box-shadow: 0 14px 30px rgba(6, 28, 17, 0.11);
  font-size: 1rem;
  pointer-events: none;
  animation: cafeFloat 4.8s ease-in-out infinite;
}

.cafe-motion-icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(24, 160, 88, 0.18);
  opacity: 0;
  transform: scale(0.72);
  animation: cafeRipple 2.8s ease-out infinite;
}

.cafe-cup {
  left: 13%;
  top: 18%;
}

.cafe-tea {
  right: 14%;
  top: 18%;
  animation-delay: .45s;
}

.cafe-cold {
  right: 9%;
  bottom: 28%;
  color: #239c9b;
  animation-delay: .9s;
}

.cafe-pastry {
  left: 10%;
  bottom: 23%;
  color: #b78128;
  animation-delay: 1.35s;
}

.cafe-sweet {
  left: 47%;
  bottom: 8%;
  color: #b78128;
  animation-delay: 1.8s;
}

.cafe-tea::after { animation-delay: .45s; }
.cafe-cold::after { animation-delay: .9s; }
.cafe-pastry::after { animation-delay: 1.35s; }
.cafe-sweet::after { animation-delay: 1.8s; }

.hero-cup {
  position: absolute;
  top: 128px;
  left: 50%;
  width: 142px;
  height: 142px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  transform: translateX(-50%) rotate(-8deg);
  color: #fffdf8;
  font-size: 4.8rem;
  background: linear-gradient(135deg, var(--amber), var(--coral));
  box-shadow: 0 26px 58px rgba(10, 44, 27, 0.28);
  animation: floatY 4.8s ease-in-out infinite;
  display: none;
}

.hero-pulse-card {
  position: absolute;
  z-index: 4;
  right: 18px;
  left: auto;
  top: 96px;
  bottom: auto;
  min-width: 104px;
  padding: 10px 13px 9px;
  border-radius: 16px 16px 4px 16px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 20px 54px rgba(6, 28, 17, 0.16);
  display: none;
}

.hero-pulse-card span {
  display: block;
  font-size: 1.9rem;
  line-height: 0.95;
  font-weight: 900;
  color: var(--green-dk);
}

.hero-pulse-card small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-mini-grid {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mini-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 220px);
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--green-dk);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(255,255,255,0.76);
  box-shadow: 0 12px 28px rgba(6, 28, 17, 0.09);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  animation: captionBreath 3.8s ease-in-out infinite;
}

.floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(210px, 48vw);
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(14, 23, 19, 0.1);
  box-shadow: 0 18px 50px rgba(6, 28, 17, 0.12);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  animation: floatY 5.4s ease-in-out infinite;
}

.floating-chip i { color: var(--green); }
.chip-one { top: 14%; left: 0; }
.chip-two { top: 48%; right: -28px; animation-delay: .8s; }
.chip-three { bottom: 18%; left: 4%; animation-delay: 1.4s; }

.stats-bar {
  margin-top: -42px;
  position: relative;
  z-index: 5;
  background: transparent;
  padding: 0 24px 72px;
}

.stats-container {
  padding: 18px;
  border-radius: 28px;
  background: rgba(7, 19, 14, 0.88);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 28px 84px rgba(7, 19, 14, 0.24);
}

.stat-item {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.055);
  box-shadow: none;
}

.stat-item:hover {
  border-color: rgba(72, 210, 125, 0.45);
  background: rgba(72, 210, 125, 0.12);
}

.stat-num { color: #fffdf8; }
.stat-label { color: rgba(255, 253, 248, 0.68); }

.about-grid,
.invest-layout,
.apply-grid { gap: clamp(36px, 6vw, 88px); }

.about-img-frame {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.about-img-frame {
  background:
    linear-gradient(135deg, rgba(8,107,61,0.9), rgba(24,160,88,0.65)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 24px);
}

.about-img-frame img { filter: saturate(1.04) contrast(1.03); }
.about-img-frame::before { border-color: var(--amber); opacity: 0.72; }
.about-badge-year { background: linear-gradient(135deg, var(--ink), var(--green-dk)); border-radius: 8px; }

.story-panel {
  position: relative;
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  background:
    linear-gradient(145deg, rgba(255,253,248,0.96), rgba(244,247,241,0.88)),
    var(--paper);
  border: 1px solid rgba(8, 23, 17, 0.1);
  box-shadow: 0 34px 90px rgba(5, 16, 11, 0.1);
  isolation: isolate;
}

.story-panel::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  right: -22%;
  top: -18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 42%, rgba(72,210,125,0.34), rgba(24,160,88,0.12) 48%, transparent 70%);
  z-index: -1;
  animation: brandPanelGlow 7s ease-in-out infinite;
}

body.rtl .story-panel::before {
  right: auto;
  left: -22%;
}

.story-panel-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    linear-gradient(rgba(8,23,17,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,23,17,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
  animation: storyGridDrift 12s linear infinite;
  z-index: -2;
}

.story-brand-mark {
  width: 100%;
  min-height: 220px;
  display: grid;
  align-content: center;
  justify-items: center;
  align-self: center;
  margin: 0;
  padding: 38px 42px;
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(72,210,125,0.22), transparent 34%),
    linear-gradient(145deg, #07130e, #153a25);
  border: 0;
  border-bottom: 1px solid rgba(8, 23, 17, 0.1);
  box-shadow: none;
  animation: logoFloat 5s ease-in-out infinite;
}

.story-brand-mark img {
  width: min(300px, 78%);
  max-height: 150px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 28px 42px rgba(0,0,0,0.22));
  animation: logoBreath 4s ease-in-out infinite;
}

.story-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 28px 0;
}

.story-metrics div,
.story-feature {
  border: 1px solid rgba(8, 23, 17, 0.09);
  background: rgba(255,253,248,0.78);
  backdrop-filter: blur(14px);
  border-radius: 12px;
}

.story-metrics div {
  padding: 18px;
  text-align: center;
}

.story-metrics span {
  display: block;
  color: var(--green-dk);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.story-metrics small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 28px 28px;
}

.story-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 112px;
  padding: 14px 10px;
  color: var(--text-2);
  font-weight: 700;
  text-align: center;
}

.story-feature i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(24,160,88,0.12);
  color: var(--green-dk);
}

.story-points {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
}

.story-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-weight: 700;
}

.story-points i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(24,160,88,0.12);
  color: var(--green-dk);
  font-size: 0.72rem;
}

.brand-story-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-story-visual::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  opacity: 0.9;
  animation: brandPanelGlow 6s ease-in-out infinite;
}

.brand-story-visual::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 50%;
  animation: spinSlow 28s linear infinite;
}

.story-mark {
  position: relative;
  z-index: 3;
  width: min(360px, 72%);
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--green-dk);
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: logoFloat 5s ease-in-out infinite;
}

.story-mark::before,
.story-mark::after {
  content: none;
  position: absolute;
  inset: -22px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.34);
  animation: logoOrbit 9s linear infinite;
}

.story-mark::after {
  inset: -38px;
  border-color: rgba(217,154,43,0.22);
  animation-duration: 14s;
  animation-direction: reverse;
}

.story-logo-motion img {
  width: min(310px, 100%);
  max-height: 190px;
  object-fit: contain;
  filter: none;
  border-radius: 0;
  box-shadow: 0 30px 72px rgba(5, 16, 11, 0.16);
  transform-origin: center;
  animation: logoBreath 3.8s ease-in-out infinite;
}

.story-logo-motion {
  gap: 2px;
  align-content: center;
}

.story-logo-ar {
  display: block;
  font-family: var(--font-ar);
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--green-dk);
  animation: logoBreath 3.8s ease-in-out infinite;
}

.story-logo-en {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(8, 107, 61, 0.72);
}

.story-lines {
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 18%;
  display: grid;
  gap: 12px;
  z-index: 2;
}

.story-lines span {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.38);
}

.story-lines span:nth-child(2) { width: 76%; background: rgba(255,255,255,0.24); }
.story-lines span:nth-child(3) { width: 54%; background: rgba(255,255,255,0.18); }

.story-map i {
  position: absolute;
  color: rgba(255,253,248,0.74);
  filter: drop-shadow(0 12px 20px rgba(5,16,11,0.25));
  animation: floatY 4.8s ease-in-out infinite;
}

.story-map i:nth-child(1) { top: 18%; left: 18%; }
.story-map i:nth-child(2) { top: 24%; right: 18%; animation-delay: .8s; color: rgba(217,154,43,0.95); }
.story-map i:nth-child(3) { bottom: 18%; right: 26%; animation-delay: 1.5s; }

.dark-section {
  background:
    linear-gradient(145deg, rgba(7,19,14,0.98), rgba(15,32,24,0.96)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 90px);
  color: #fffdf8;
}

.process.section-pad,
.apply-sec.section-pad {
  padding-top: 96px;
  padding-bottom: 96px;
}

.investment.section-pad,
.about.section-pad {
  padding-top: 104px;
  padding-bottom: 104px;
}

.dark-section .section-title,
.dark-section .section-title.light { color: #fffdf8; }

.dark-section .section-subtitle,
.dark-section .section-subtitle.light,
.dark-section .section-body { color: rgba(255, 253, 248, 0.68); }

.why-grid { gap: 18px; }
.why-card,
.invest-table,
.faq-item,
.testimonial-card,
.apply-form-wrap {
  border-radius: 8px;
  border: 1px solid rgba(14, 23, 19, 0.1);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--shadow);
}

.dark-section .why-card,
.dark-section .process-step {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  box-shadow: none;
}

.dark-section .why-card h3,
.dark-section .process-step h3 { color: #fffdf8; }

.dark-section .why-card p,
.dark-section .process-step p { color: rgba(255,253,248,0.62); }

.why-card:hover,
.faq-item:hover,
.invest-table:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.why-icon,
.step-icon {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(24,160,88,0.16), rgba(217,154,43,0.12));
  color: var(--green-dk);
}

.dark-section .why-icon,
.dark-section .step-icon {
  background: rgba(72, 210, 125, 0.14);
  color: var(--green-lt);
  border-color: rgba(72, 210, 125, 0.32);
}

.invest-highlight {
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(8,107,61,0.96), rgba(24,160,88,0.9)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 22px);
  box-shadow: var(--shadow-lg);
}

.invest-highlight::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--green-lt), var(--cyan));
}

.invest-row { transition: transform var(--transition), background var(--transition); }
.invest-row:hover { transform: translateX(8px); background: rgba(24,160,88,0.06); }
body.rtl .invest-row:hover { transform: translateX(-8px); }

.investment {
  position: relative;
  background:
    radial-gradient(circle at 16% 56%, rgba(24,160,88,0.08), transparent 30%),
    linear-gradient(180deg, #fffdf8, #f4f7f1);
}

.investment .section-header.center {
  margin-bottom: 44px;
}

.investment .invest-layout {
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.25fr);
  align-items: stretch;
}

.investment .invest-highlight {
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: start;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.98), rgba(244,247,241,0.92)),
    var(--paper);
  border: 1px solid rgba(8,23,17,0.1);
  overflow: hidden;
  color: var(--text);
}

.investment .invest-highlight::before {
  background:
    linear-gradient(rgba(8,23,17,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,23,17,0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.55;
}

.investment .invest-highlight::after {
  display: none;
}

.invest-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24,160,88,0.1);
  color: var(--green-dk);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.investment .invest-highlight > p {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.invest-graph-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(8,23,17,0.08);
}

.invest-graph-head span,
.invest-graph-head small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.invest-graph-head strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.invest-graph-delta {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(24,160,88,0.09);
  color: var(--green-dk);
  font-weight: 800;
  font-size: 0.78rem;
}

.invest-chart {
  display: grid;
  gap: 16px;
  padding: 18px 0 6px;
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(160px, 1.8fr) minmax(86px, 0.7fr);
  gap: 14px;
  align-items: center;
}

.chart-row span {
  color: var(--text-2);
  font-size: 0.86rem;
  font-weight: 700;
}

.chart-row strong {
  text-align: end;
  color: var(--text);
  font-size: 0.88rem;
}

.chart-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(8,23,17,0.08);
  overflow: hidden;
}

.chart-track i {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--green-lt));
}

.chart-track.range i {
  left: var(--x);
  background: linear-gradient(90deg, var(--amber), var(--green-lt), var(--cyan));
}

.chart-row.featured .chart-track {
  height: 16px;
}

.chart-axis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-inline-start: calc(0.9fr);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.78;
}

.investment .invest-highlight .btn-primary {
  margin-top: 8px;
  width: fit-content;
  min-height: 46px;
  background: linear-gradient(135deg, var(--green-dk), var(--green));
  color: #fffdf8;
  box-shadow: 0 14px 32px rgba(24,160,88,0.22);
}

.investment .invest-table {
  border-radius: 18px;
  background: rgba(255,253,248,0.9);
  box-shadow: 0 28px 80px rgba(8,23,17,0.1);
}

.investment .invest-row {
  min-height: 78px;
  padding: 18px 24px;
}

.investment .invest-key {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.investment .invest-key::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(24,160,88,0.58);
  box-shadow: 0 0 0 5px rgba(24,160,88,0.09);
}

.investment .invest-val {
  font-size: 1.05rem;
}

.process-steps { gap: 16px; }
.process-step {
  border-radius: 8px;
  padding: 20px 14px;
}
.step-connector { background: linear-gradient(90deg, rgba(72,210,125,0.8), rgba(217,154,43,0.35)); }

.process.dark-section {
  background:
    linear-gradient(180deg, rgba(232,247,238,0.78), rgba(255,253,248,0.96)),
    var(--paper);
  color: var(--text);
}

.process.dark-section .section-label.light {
  color: var(--green-dk);
  background: rgba(24,160,88,0.1);
  border-color: rgba(24,160,88,0.16);
}

.process.dark-section .section-title.light {
  color: var(--text);
}

.process.dark-section .section-subtitle.light {
  color: var(--muted);
}

.process .process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  position: relative;
}

.process .process-steps::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 45px;
  height: 2px;
  background: linear-gradient(90deg, rgba(24,160,88,0.2), rgba(24,160,88,0.75), rgba(217,154,43,0.55));
  z-index: 0;
}

body.rtl .process .process-steps::before {
  background: linear-gradient(-90deg, rgba(24,160,88,0.2), rgba(24,160,88,0.75), rgba(217,154,43,0.55));
}

.process .process-step {
  max-width: none;
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 1;
}

.process .step-icon {
  width: 78px;
  height: 78px;
  margin: 18px auto 0;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--green-dk), var(--green));
  border: 6px solid var(--paper);
  color: #fffdf8;
  box-shadow: 0 18px 42px rgba(24,160,88,0.2);
}

.process .process-step:nth-child(even) .step-icon {
  background: linear-gradient(145deg, #123d2a, #d99a2b);
}

.process .step-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green-dk);
  border: 3px solid var(--paper);
  color: #fffdf8;
  box-shadow: 0 10px 22px rgba(8,23,17,0.12);
  z-index: 3;
}

.process .process-step h3,
.process .process-step p {
  background: rgba(255,253,248,0.86);
  border: 1px solid rgba(8,23,17,0.09);
}

.process .process-step h3 {
  color: var(--text);
  margin: 0;
  padding: 28px 16px 8px;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  font-size: 1rem;
}

.process .process-step p {
  color: var(--muted);
  margin-top: -18px;
  padding: 0 16px 22px;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  min-height: 112px;
}

.process .step-connector {
  display: none;
}

/* desktop: 3 full + small peek */
.gallery-item { flex: 0 0 calc(31% - 10px); }
.gallery-item::after { display: none; }

.gold-section {
  background:
    linear-gradient(135deg, rgba(232,247,238,0.9), rgba(255,249,235,0.9)),
    var(--green-bg);
}

.faq-container {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.faq-list { margin-top: 0; }
.faq-q { font-size: 1rem; }

.apply-sec {
  background:
    linear-gradient(135deg, rgba(7,19,14,0.98), rgba(11,63,38,0.94)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 72px) !important;
}

.apply-contact-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 14px 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 8px;
  background: rgba(244, 247, 241, 0.7);
}

.apply-sec {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(72,210,125,0.16), transparent 34%),
    linear-gradient(135deg, #07130e, #102c1f 54%, #f4f7f1 54.2%, #fffdf8 100%) !important;
}

.apply-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}

.apply-sec .container {
  position: relative;
  z-index: 1;
}

.apply-sec .apply-grid {
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
}

.apply-info {
  max-width: 520px;
}

.apply-info .section-title {
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
}

.apply-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 22px;
}

.apply-benefits div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,253,248,0.82);
  font-weight: 700;
}

.apply-benefits i {
  color: #8ee6b1;
}

.apply-sec .apply-contact-item {
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.12);
  min-height: 54px;
}

.apply-sec .apply-form-wrap {
  padding: 34px;
  border-radius: 18px;
  border: 1px solid rgba(8,23,17,0.08);
  background:
    linear-gradient(180deg, rgba(255,253,248,0.98), rgba(244,247,241,0.94)),
    var(--paper);
  box-shadow: 0 34px 90px rgba(5,16,11,0.16);
}

.apply-sec .form-steps {
  justify-content: stretch;
  gap: 12px;
  padding: 10px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: rgba(8,23,17,0.035);
}

.apply-sec .form-step {
  flex: 1;
  min-width: 0;
}

.apply-sec .step-circle {
  border-color: rgba(8,23,17,0.12);
  background: #fffdf8;
}

.apply-sec .form-step.active .step-circle {
  border-color: var(--green);
  background: var(--green);
}

.apply-sec .step-line {
  margin-bottom: 22px;
}

.apply-sec .form-group label {
  color: var(--text);
}

.apply-sec .form-group input,
.apply-sec .form-group select,
.apply-sec .form-group textarea {
  min-height: 52px;
  border-color: rgba(8,23,17,0.12);
  background: #fffefa;
}

.apply-sec .form-group textarea {
  min-height: 116px;
}

.apply-sec .form-actions {
  margin-top: 18px;
}

.footer {
  background:
    linear-gradient(135deg, #06110c, #0c1d15);
}

.mobile-bottom-nav {
  border-radius: 24px 24px 0 0;
  background: rgba(255, 253, 248, 0.92);
}

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

@keyframes beamDrift {
  0%, 100% { transform: translate3d(0,0,0) rotate(-9deg); opacity: .65; }
  50% { transform: translate3d(-5%, -4%, 0) rotate(-6deg); opacity: 1; }
}

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

@keyframes equalize {
  0%, 100% { transform: scaleY(.48); opacity: .68; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes captionBreath {
  0%, 100% {
    opacity: 0.78;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes mapFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -8px, 0) scale(1.025);
  }
}

@keyframes mapPulse {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.82);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes mapSpark {
  0%, 100% {
    opacity: 0.34;
    transform: translate3d(0, 0, 0) scale(0.82);
  }
  45% {
    opacity: 1;
    transform: translate3d(6px, -5px, 0) scale(1.12);
  }
}

@keyframes cafeFloat {
  0%, 100% {
    opacity: 0.82;
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -10px, 0) rotate(5deg);
  }
}

@keyframes cafeRipple {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  42% {
    opacity: 0.42;
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.025); }
}

@keyframes logoBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

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

@keyframes brandPanelGlow {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes storyGridDrift {
  to { background-position: 44px 44px; }
}

[data-animate] {
  transition: opacity 680ms cubic-bezier(.2,.8,.2,1), transform 680ms cubic-bezier(.2,.8,.2,1);
}

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

@media (max-width: 1080px) {
  .navbar { left: 50%; right: auto; transform: translateX(-50%); width: calc(100% - 24px); }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 800px; margin: 0 auto; }
  .hero-subtitle { margin-inline: auto; }
  .hero-actions,
  body.rtl .hero-actions { justify-content: center; }
  .hero-visual { min-height: 460px; max-width: 560px; width: 100%; margin: 0 auto; }
  .stats-container { flex-wrap: wrap; }
  .stat-item { flex: 1 1 170px; }
  .faq-container { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  body { padding-bottom: 82px; }
  .navbar {
    top: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    padding: 0 10px;
  }
  .nav-container { height: 52px; min-width: 0; }
  .nav-logo { min-width: auto; }
  .navbar .logo-img { height: 28px; max-width: 100px; }
  .section-pad { padding: 40px 0; }
  section[id] { scroll-margin-top: 82px; }
  .process.section-pad,
  .apply-sec.section-pad,
  .investment.section-pad,
  .about.section-pad {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .hero {
    padding: 104px 18px 82px;
    min-height: auto;
  }
  .hero-title { font-size: clamp(2.7rem, 16vw, 4.7rem); }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: min(100%, 360px); }
  .hero-visual {
    min-height: 430px;
    max-width: 390px;
    overflow: visible;
  }
  .hero-phone,
  body.rtl .hero-phone {
    inset: 18px 24px 22px;
    border-radius: 28px;
    transform: rotateZ(-1deg);
  }
  .hero-cup { width: 112px; height: 112px; font-size: 3.6rem; top: 100px; }
  .hero-saudi-map { inset: 66px 16px 82px; border-radius: 22px; }
  .hero-saudi-map::before { width: min(160px, 68%); }
  .hero-saudi-map::after { left: 31%; top: 38%; transform: scale(0.84); }
  .cafe-motion-icon { width: 30px; height: 30px; font-size: .82rem; }
  .cafe-sweet { display: none; }
  .hero-mini-grid {
    left: 22px;
    right: 22px;
    bottom: 34px;
  }
  .hero-mini-grid span {
    width: min(100%, 190px);
    min-height: 38px;
    padding: 9px 15px;
    font-size: 0.78rem;
  }
  .floating-chip {
    max-width: 148px;
    font-size: 0.66rem;
    padding: 8px 10px;
    gap: 6px;
  }
  .chip-one { left: 0; top: 12%; }
  .chip-two { right: 0; top: 45%; }
  .chip-three { left: 0; bottom: 22%; }
  .stats-bar { margin-top: 0; padding: 18px 12px 52px; }
  .stats-container { border-radius: 20px; padding: 10px; }
  .stat-item { flex: 1 1 calc(50% - 8px); border-radius: 14px; padding: 16px 12px; }
  .stat-item:last-child { flex: 1 1 calc(50% - 8px); }
  .stat-label { white-space: normal; }
  .why-grid { grid-template-columns: 1fr; }
  .process-step { align-items: flex-start !important; }
  .invest-row { align-items: flex-start; gap: 12px; flex-direction: column; }
  .faq-container { display: block; }
  .faq-list { margin-top: 28px; }
  .form-steps { overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .footer { padding-bottom: 8px; }
}

@media (max-width: 420px) {
  .hero-visual {
    min-height: 400px;
    max-width: 360px;
  }
  .hero-phone,
  body.rtl .hero-phone {
    inset: 16px 20px 22px;
    transform: rotateZ(-1deg);
  }
  .hero-saudi-map { inset: 62px 14px 78px; }
  .hero-saudi-map::before { width: min(140px, 66%); }
  .hero-saudi-map::after { transform: scale(0.72); }
  .cafe-motion-icon { width: 26px; height: 26px; font-size: .74rem; }
  .cafe-pastry { display: none; }
  .hero-mini-grid span {
    width: min(100%, 172px);
    min-height: 36px;
    font-size: 0.72rem;
  }
  .floating-chip {
    max-width: 132px;
    font-size: 0.62rem;
  }
  .chip-one { left: 0; }
  .chip-two { right: 0; }
  .chip-three { left: 0; }
}

/* Mobile alignment fixes */
@media (max-width: 768px) {
  /* gallery: 2 + half peek on mobile */
  .gallery-item { flex: 0 0 calc(40% - 10px); }
  .gallery-sec.section-pad { padding: 20px 0 24px; }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 0;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 18px;
  }

  .navbar {
    max-width: calc(100vw - 20px);
    overflow: visible;
    position: fixed; /* ensure dropdown positions relative to navbar */
  }

  .nav-logo { flex: 0 0 auto; }

  .hero,
  .about,
  .investment,
  .apply-sec,
  .process,
  .faq {
    overflow: hidden;
  }

  .hero-content {
    width: 100%;
    gap: 22px;
  }

  .hero-copy,
  .about-text,
  .apply-info,
  .section-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
  }

  .hero-title,
  .section-title {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  body.rtl .hero-title,
  body.rtl .section-title {
    line-height: 1.08;
  }

  .hero-subtitle,
  .section-subtitle,
  .section-body {
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .stats-bar {
    padding: 18px 14px 58px;
  }

  .stats-container {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    direction: inherit;
  }

  .stat-divider {
    display: none !important;
  }

  .stat-item,
  .stat-item:last-child {
    width: 100%;
    min-width: 0;
    flex: none;
    padding: 18px 10px;
    border-radius: 16px;
  }

  .stat-item:first-child {
    grid-column: 1 / -1;
  }

  .stat-num {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .stat-label {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
    letter-spacing: 0.04em;
  }

  .about-grid,
  .invest-layout,
  .apply-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .about-img-frame {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1.18;
  }

  .story-panel {
    min-height: auto;
    padding: 0;
    border-radius: 16px;
    gap: 0;
  }

  .story-panel::before {
    width: 110%;
    right: -46%;
    top: -24%;
  }

  .story-brand-mark {
    width: 100%;
    min-height: 168px;
    padding: 28px 22px;
    margin-top: 0;
    border-radius: 16px 16px 0 0;
  }

  .story-brand-mark img {
    width: min(220px, 78%);
    max-height: 112px;
  }

  .story-metrics {
    grid-template-columns: 1fr;
    margin: 16px 16px 0;
  }

  .story-metrics div {
    padding: 16px;
    text-align: center;
  }

  .story-feature {
    justify-content: center;
    text-align: center;
  }

  .story-feature-grid {
    grid-template-columns: 1fr;
    margin: 10px 16px 16px;
  }

  .story-mark {
    width: min(250px, 76%);
    min-height: 160px;
  }

  .story-logo-motion img { width: min(220px, 100%); max-height: 138px; }
  .story-logo-ar { font-size: 3rem; }

  .about-badge-year {
    bottom: 18px;
    right: 18px;
    left: auto;
  }

  body.ltr .about-badge-year {
    left: 18px;
    right: auto;
  }

  .investment .section-header {
    margin-bottom: 34px;
  }

  .invest-highlight,
  .invest-table,
  .apply-form-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .invest-highlight {
    padding: 28px 18px 40px;
  }

  .invest-range {
    width: 100%;
    justify-content: center;
    gap: 8px 10px;
  }

  .invest-range strong {
    font-size: clamp(1.9rem, 9vw, 2.45rem);
  }

  .invest-range span {
    font-size: 0.9rem;
  }

  .invest-currency {
    flex-basis: auto;
  }

  .invest-row {
    width: 100%;
    text-align: center;
  }

  .invest-key,
  .invest-val {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .apply-sec {
    padding-bottom: 72px !important;
    background:
      linear-gradient(180deg, #07130e 0 42%, #fffdf8 42.2% 100%) !important;
  }

  .apply-info .section-title,
  .apply-info .section-body {
    text-align: center;
  }

  .apply-sec .apply-grid {
    grid-template-columns: 1fr;
  }

  .apply-benefits {
    grid-template-columns: 1fr;
  }

  .apply-benefits div {
    justify-content: center;
    text-align: center;
  }

  .apply-contact-item {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .apply-form-wrap {
    overflow: hidden;
    padding: 22px 16px;
  }

  .apply-sec .apply-form-wrap {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .apply-form,
  .form-page,
  .form-row,
  .form-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .form-group label {
    text-align: start;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: block;
  }

  body.rtl .form-group input,
  body.rtl .form-group select,
  body.rtl .form-group textarea {
    text-align: right;
  }

  body.rtl .form-group input[type="email"],
  body.rtl .form-group input[type="tel"] {
    text-align: left;
    direction: ltr;
  }

  .form-steps {
    justify-content: space-between;
    gap: 8px;
    overflow: visible;
  }

  .form-step {
    min-width: 0;
    flex: 1;
  }

  .form-step span {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .step-line {
    min-width: 20px;
    margin-inline: 0;
  }

  .footer,
  .mobile-bottom-nav {
    display: none;
  }

  .process .process-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process .process-steps::before {
    left: auto;
    right: 34px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(24,160,88,0.2), rgba(24,160,88,0.75), rgba(217,154,43,0.55));
  }

  body.ltr .process .process-steps::before {
    left: 34px;
    right: auto;
  }

  .process .process-step {
    position: relative;
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
    text-align: start !important;
    align-items: stretch !important;
  }

  body.rtl .process .process-step {
    grid-template-columns: minmax(0, 1fr) 70px;
  }

  .process .step-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    border-width: 5px;
    margin: 18px 0 0 !important;
    grid-row: 1 / span 2;
  }

  body.rtl .process .step-icon {
    grid-column: 2;
  }

  .process .step-num {
    top: 0;
    left: 34px;
    transform: translateX(-50%);
  }

  body.rtl .process .step-num {
    left: auto;
    right: 34px;
    transform: translateX(50%);
  }

  .process .process-step h3,
  .process .process-step p {
    text-align: start;
  }

  .process .process-step h3 {
    padding: 18px 16px 7px;
  }

  .process .process-step p {
    min-height: auto;
    padding-bottom: 18px;
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 16px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 15vw, 3.55rem);
  }

  .section-title {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .stats-bar {
    padding-inline: 12px;
  }

  .stats-container {
    gap: 8px;
    padding: 9px;
  }

  .stat-item,
  .stat-item:last-child {
    padding: 16px 8px;
  }

  .invest-highlight {
    padding-inline: 16px;
  }

  .investment .invest-layout {
    grid-template-columns: 1fr;
  }

  .investment .invest-highlight {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .investment .invest-highlight > p {
    max-width: 100%;
    text-align: center;
  }

  .invest-kicker {
    margin-inline: auto;
  }

  .invest-graph-head {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .invest-graph-head strong {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .invest-graph-delta {
    white-space: normal;
    justify-content: center;
  }

  .chart-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(8,23,17,0.07);
  }

  .chart-row:last-of-type {
    border-bottom: 0;
  }

  .chart-row span,
  .chart-row strong {
    text-align: center;
  }

  .chart-track {
    width: 100%;
  }

  .chart-axis {
    display: none;
  }

  .investment .invest-row {
    min-height: auto;
    text-align: center;
  }

  .investment .invest-key {
    justify-content: center;
  }
}

/* Apply section: simple franchise lead layout */
.apply-sec {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 120px;
  color: var(--text);
  padding-top: clamp(132px, 10vw, 156px) !important;
  padding-bottom: clamp(88px, 8vw, 116px) !important;
  background:
    linear-gradient(180deg, rgba(240, 249, 242, 0.72), rgba(255, 253, 248, 1) 54%),
    var(--paper) !important;
}

.apply-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background:
    linear-gradient(rgba(33, 84, 53, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 84, 53, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.apply-sec .container {
  position: relative;
  z-index: 1;
}

.apply-sec .apply-grid {
  max-width: 1160px;
  margin: 0 auto;
  grid-template-columns: minmax(390px, 0.95fr) minmax(500px, 1.05fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(8, 23, 17, 0.08);
  box-shadow: 0 30px 90px rgba(5, 16, 11, 0.13);
}

.apply-info {
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 640px;
  height: 100%;
  padding: clamp(30px, 3.6vw, 42px);
  border-radius: 0;
  color: #fffdf8;
  background:
    radial-gradient(circle at 86% 12%, rgba(80, 186, 111, 0.26), transparent 28%),
    linear-gradient(145deg, #07130e, #14351f);
  box-shadow: none;
}

.apply-info .section-label.light {
  width: max-content;
  max-width: 100%;
  color: #bde8cd;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.apply-info .section-title {
  max-width: 480px;
  color: #fffdf8;
  font-size: clamp(2.6rem, 4vw, 4.1rem);
  line-height: 1.02;
  margin-bottom: 16px;
}

body.ltr .apply-info .section-title {
  max-width: 420px;
  font-size: clamp(2.25rem, 3.35vw, 3.35rem);
  line-height: 1.06;
}

.apply-info .section-body {
  max-width: 430px;
  color: rgba(255, 253, 248, 0.74);
  margin-bottom: 0;
}

.apply-value {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 14px;
}

.apply-value div {
  min-height: 86px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.apply-value strong,
.apply-value span {
  display: block;
}

.apply-value strong {
  color: #fffdf8;
  font-size: clamp(1.9rem, 2.6vw, 2.45rem);
  line-height: 1;
  margin-bottom: 8px;
}

.apply-value span {
  color: rgba(255, 253, 248, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apply-benefits {
  grid-template-columns: 1fr 1fr;
  margin: 0 0 16px;
}

.apply-benefits div,
.apply-sec .apply-contact-item {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 253, 248, 0.78);
}

.apply-sec .apply-contact-item {
  min-height: 52px;
}

.apply-sec .apply-contact-item i {
  color: #9be5b7;
}

.apply-sec .apply-form-wrap {
  width: 100%;
  min-height: 640px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(30px, 3.4vw, 44px);
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.apply-form {
  flex: 0 0 auto;
}

.apply-sec .form-steps {
  background: rgba(42, 126, 70, 0.06);
}

.apply-sec .form-group input,
.apply-sec .form-group select,
.apply-sec .form-group textarea {
  background: #fffefb;
}

.form-detail-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.form-detail-panel div {
  min-height: 118px;
  padding: 18px 14px;
  border-radius: 14px;
  background: rgba(42, 126, 70, 0.06);
  border: 1px solid rgba(42, 126, 70, 0.11);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.form-detail-panel i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  color: var(--green);
  background: rgba(42, 126, 70, 0.1);
}

.form-detail-panel strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.25;
}

.form-detail-panel span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .apply-sec {
    scroll-margin-top: 92px;
    padding-top: 88px !important;
    padding-bottom: 42px !important;
    background: linear-gradient(180deg, #f3f8f0, #fffdf8) !important;
  }

  .apply-sec .apply-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .apply-info {
    min-height: auto;
    height: auto;
    padding: 28px 20px;
    text-align: center;
  }

  .apply-info .section-label.light,
  .apply-info .section-title,
  .apply-info .section-body {
    margin-left: auto;
    margin-right: auto;
  }

  .apply-benefits {
    grid-template-columns: 1fr;
  }

  .apply-value {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apply-value div {
    min-height: 84px;
    padding: 16px 10px;
  }

  .apply-contacts {
    gap: 10px;
  }

  .apply-sec .apply-contact-item {
    justify-content: center;
    text-align: center;
  }

  .apply-sec .apply-form-wrap {
    min-height: auto;
    height: auto;
    padding: 20px 16px;
    border-radius: 0;
  }

  .form-detail-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
  }

  .form-detail-panel div {
    min-height: auto;
    padding: 14px;
  }
}

/* Shared site background: carry the hero grid/wash through every section */
body {
  background:
    linear-gradient(180deg, rgba(237, 248, 240, 0.86) 0%, rgba(255, 253, 248, 0.96) 34%, rgba(243, 249, 241, 0.84) 100%),
    var(--paper);
}

body::before {
  display: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(115deg, rgba(232, 247, 238, 0.72) 0%, transparent 32%),
    linear-gradient(290deg, rgba(222, 241, 226, 0.78) 0%, transparent 38%),
    repeating-radial-gradient(circle at 91% 18%, transparent 0 318px, rgba(34, 129, 68, 0.11) 319px 321px, transparent 322px 520px),
    repeating-radial-gradient(circle at 8% 64%, transparent 0 260px, rgba(217, 154, 43, 0.12) 261px 263px, transparent 264px 490px);
}

.hero,
.about,
.investment,
.gallery-sec,
.testimonials,
.faq,
.process.dark-section,
.apply-sec {
  background: transparent !important;
}

.hero-bg {
  opacity: 0.86;
}

.section-pad {
  position: relative;
}

/* FAQ redesign */
.faq.section-pad {
  padding-top: clamp(86px, 8vw, 118px);
  padding-bottom: clamp(86px, 8vw, 118px);
}

.faq .faq-container {
  max-width: 1140px;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.faq .section-header {
  margin: 0;
  padding: 34px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,253,248,0.86), rgba(236,248,240,0.76));
  border: 1px solid rgba(8,23,17,0.08);
  box-shadow: 0 22px 70px rgba(5,16,11,0.08);
}

.faq .section-label {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(24,160,88,0.1);
  border: 1px solid rgba(24,160,88,0.16);
}

.faq .section-title {
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

body.ltr .faq .section-title {
  font-size: clamp(2.25rem, 3.9vw, 3.85rem);
  line-height: 1.04;
}

body.ltr .faq .section-label {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
}

.faq .section-subtitle {
  margin: 0;
  max-width: 360px;
}

.faq-help-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 30px;
  padding: 18px;
  border-radius: 16px;
  background: #fffdf8;
  border: 1px solid rgba(8,23,17,0.08);
}

.faq-help-card i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fffdf8;
  background: linear-gradient(145deg, var(--green-dk), var(--green));
}

.faq-help-card strong,
.faq-help-card span {
  display: block;
}

.faq-help-card strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.faq-help-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.faq-help-card a {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fffdf8;
  font-weight: 800;
  background: var(--green);
}

.faq .faq-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.faq .faq-item {
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(8,23,17,0.08);
  background: rgba(255,253,248,0.9);
  box-shadow: 0 16px 48px rgba(5,16,11,0.07);
}

.faq .faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(24,160,88,0.22);
}

.faq .faq-q {
  min-height: 74px;
  padding: 18px 20px;
  gap: 14px;
  font-size: 1.02rem;
}

body.ltr .faq .faq-q {
  font-size: 0.92rem;
}

body.ltr .faq-help-card strong {
  font-size: 0.94rem;
}

body.ltr .faq-help-card span {
  font-size: 0.82rem;
}

.faq .faq-q small {
  flex: 0 0 auto;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green-dk);
  background: rgba(24,160,88,0.1);
  font-size: 0.76rem;
  font-weight: 900;
}

.faq .faq-q span {
  flex: 1;
}

.faq .faq-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(24,160,88,0.08);
}

.faq .faq-a p {
  padding: 0 22px 22px;
  color: var(--text-2);
}

body.rtl .faq .section-header,
body.rtl .faq .faq-q,
body.rtl .faq .faq-a p {
  text-align: right;
}

@media (max-width: 900px) {
  .faq .faq-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .faq .section-header {
    padding: 24px 18px;
    text-align: center;
  }

  .faq .section-subtitle {
    margin-inline: auto;
  }

  .faq-help-card {
    text-align: start;
  }

  .faq .faq-q {
    min-height: 66px;
    padding: 16px;
  }
}

/* Investment redesign: compact business graph */
section[id] {
  scroll-margin-top: 112px;
}

.investment.section-pad {
  padding-top: clamp(122px, 10vw, 154px);
  padding-bottom: clamp(92px, 8vw, 122px);
}

.investment .section-header.center {
  max-width: 760px;
  margin: 0 auto 38px;
}

.investment .section-title {
  font-size: clamp(2.45rem, 4.5vw, 4.15rem);
}

body.ltr .investment .section-title {
  font-size: clamp(2.25rem, 3.9vw, 3.55rem);
}

.investment .invest-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

.investment .invest-highlight {
  min-height: auto;
  padding: 30px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(7, 19, 14, 0.96), rgba(22, 67, 39, 0.92));
  color: #fffdf8;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 26px 80px rgba(5, 16, 11, 0.16);
}

.investment .invest-highlight::before {
  background:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.42;
}

.investment .invest-kicker {
  color: #c8efd8;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
}

.investment .invest-graph-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom-color: rgba(255,255,255,0.12);
}

.investment .invest-graph-head span,
.investment .invest-graph-head small {
  color: rgba(255,253,248,0.62);
}

.investment .invest-graph-head strong {
  max-width: 440px;
  color: #fffdf8;
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);
  line-height: 0.95;
}

body.ltr .investment .invest-graph-head strong {
  font-size: clamp(2.15rem, 4vw, 3.75rem);
}

.investment .invest-graph-delta {
  justify-self: start;
  color: #c8efd8;
  background: rgba(72,210,125,0.12);
}

.investment .invest-summary-list {
  display: grid;
  gap: 12px;
  padding: 20px 0 8px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.investment .invest-summary-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,253,248,0.82);
  font-weight: 800;
}

.investment .invest-summary-list i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #c8efd8;
  background: rgba(72,210,125,0.12);
}

.investment .chart-row {
  grid-template-columns: minmax(110px, 0.85fr) minmax(150px, 1.4fr) minmax(78px, 0.7fr);
}

.investment .chart-row span,
.investment .chart-row strong {
  color: rgba(255,253,248,0.82);
}

.investment .chart-track {
  background: rgba(255,255,255,0.12);
}

.investment .chart-axis {
  color: rgba(255,253,248,0.56);
}

.investment .invest-highlight > p {
  color: rgba(255,253,248,0.66);
}

.investment .invest-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: stretch;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.investment .invest-row {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(8,23,17,0.08);
  border-radius: 16px;
  background: rgba(255,253,248,0.88);
  box-shadow: 0 18px 52px rgba(5,16,11,0.07);
}

.investment .invest-row:hover {
  transform: translateY(-3px);
  background: rgba(255,253,248,0.96);
}

body.rtl .investment .invest-row:hover {
  transform: translateY(-3px);
}

.investment .invest-key {
  color: var(--muted);
  font-size: 0.86rem;
}

.investment .invest-val {
  display: block;
  color: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 900;
  line-height: 1.25;
}

.investment .invest-row:nth-child(2) {
  grid-column: auto;
  min-height: 132px;
  background: rgba(255,253,248,0.88);
}

.investment .invest-row:nth-child(2) .invest-val {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: var(--text);
}

@media (max-width: 900px) {
  .investment .invest-layout {
    grid-template-columns: 1fr;
  }

  .investment .invest-highlight {
    padding: 24px 18px;
  }

  .investment .invest-table {
    grid-template-columns: 1fr;
  }

  .investment .invest-row,
  .investment .invest-row:nth-child(2) {
    grid-column: auto;
    min-height: auto;
    text-align: center;
  }

  .investment .invest-key {
    justify-content: center;
  }
}

/* Investment final redesign: single clean cost board */
.investment .investment-board {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(8, 23, 17, 0.08);
  box-shadow: 0 26px 86px rgba(5, 16, 11, 0.1);
}

.investment-range-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 18px;
  color: #fffdf8;
  background:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
    radial-gradient(circle at 88% 16%, rgba(72,210,125,0.28), transparent 30%),
    linear-gradient(145deg, #07130e, #173b25);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.investment-range-panel span,
.investment-range-panel small {
  display: block;
  color: rgba(255,253,248,0.68);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.investment-range-panel strong {
  display: block;
  margin: 8px 0 6px;
  color: #fffdf8;
  font-size: clamp(2.5rem, 5.2vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

body.ltr .investment-range-panel strong {
  font-size: clamp(2.35rem, 4.7vw, 4.65rem);
}

.investment-range-panel .btn-primary {
  white-space: nowrap;
  background: #fffdf8;
  color: var(--green-dk);
  box-shadow: 0 18px 38px rgba(0,0,0,0.14);
}

.investment-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.investment-metric {
  min-height: 156px;
  padding: 20px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(8,23,17,0.08);
  display: grid;
  align-content: start;
  gap: 10px;
}

.investment-metric i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green-dk);
  background: rgba(24,160,88,0.1);
}

.investment-metric span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.investment-metric strong {
  color: var(--text);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.25;
}

.investment-metric:first-child {
  background: rgba(236,248,240,0.82);
}

@media (max-width: 1080px) {
  .investment-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .investment-range-panel {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .investment-metrics {
    grid-template-columns: 1fr;
  }

  .investment-metric {
    min-height: auto;
    text-align: center;
    justify-items: center;
  }
}

/* Mobile polish: keep desktop locked, tighten the phone experience */
@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 96px;
  }

  .navbar {
    top: 12px;
    width: min(calc(100% - 24px), 1260px);
  }

  .nav-container {
    min-height: 54px;
    height: 54px;
    padding: 0 14px;
  }

  .navbar .logo-img {
    height: 28px;
    max-width: 100px;
  }

  .apply-sec {
    padding-top: 118px !important;
  }

  .apply-sec .apply-grid {
    border-radius: 18px;
    overflow: hidden;
  }

  .apply-info {
    padding: 26px 20px 24px;
  }

  .apply-info .section-title {
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: 0.98;
  }

  body.ltr .apply-info .section-title {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .apply-sec .apply-form-wrap {
    padding: 22px 16px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 54px;
    font-size: 1rem;
  }

  .form-actions {
    justify-content: center;
    margin-top: 10px;
  }

  .form-actions .btn-primary,
  .form-actions .btn-outline {
    min-width: 180px;
    justify-content: center;
  }

  .form-detail-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .form-detail-panel div {
    min-height: auto;
    padding: 12px 14px;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    align-content: center;
    justify-items: start;
    text-align: start;
    gap: 2px 12px;
  }

  .form-detail-panel i {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .form-detail-panel strong {
    font-size: 0.95rem;
  }

  .form-detail-panel span {
    margin-top: 0;
    font-size: 0.78rem;
  }

  .story-panel {
    border-radius: 18px;
    overflow: hidden;
  }

  .story-brand-mark {
    min-height: 210px;
    padding: 30px 18px;
  }

  .story-brand-mark img {
    width: min(210px, 72%);
    max-height: 118px;
  }

  .story-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px;
  }

  .story-metrics div {
    min-height: 96px;
    padding: 14px 8px;
  }

  .story-metrics span {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .story-metrics small {
    font-size: 0.72rem;
  }

  .story-feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 14px 14px;
  }

  .story-feature {
    min-height: 64px;
    padding: 12px 14px;
    display: flex;
    justify-content: flex-start;
    text-align: start;
    gap: 12px;
  }

  .story-feature i {
    width: 38px;
    height: 38px;
    margin: 0;
    flex: 0 0 auto;
  }

  .story-feature span {
    font-size: 0.95rem;
  }

  .investment .investment-board {
    padding: 12px;
    border-radius: 18px;
  }

  .investment-range-panel {
    padding: 24px 16px;
    border-radius: 16px;
    gap: 18px;
  }

  .investment-range-panel strong,
  body.ltr .investment-range-panel strong {
    font-size: clamp(1.9rem, 8.6vw, 2.65rem);
    line-height: 1;
    max-width: 100%;
    white-space: nowrap;
  }

  .investment-range-panel .btn-primary {
    width: min(100%, 230px);
    min-height: 56px;
    justify-content: center;
  }

  .investment-metrics {
    gap: 8px;
    margin-top: 8px;
  }

  .investment-metric {
    min-height: 82px;
    padding: 12px;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    align-content: center;
    justify-items: start;
    text-align: start;
    gap: 3px 10px;
  }

  .investment-metric i {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .investment-metric span {
    font-size: 0.82rem;
  }

  .investment-metric strong {
    font-size: 1rem;
  }

  body.rtl .form-detail-panel div,
  body.rtl .story-feature,
  body.rtl .investment-metric {
    text-align: right;
    justify-items: end;
  }

  body.rtl .form-detail-panel div {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  body.rtl .form-detail-panel i {
    grid-column: 2;
  }

  body.rtl .investment-metric {
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  body.rtl .investment-metric i {
    grid-column: 2;
  }
}

@media (max-width: 420px) {
  .nav-container {
    padding: 0 22px;
  }

  .apply-sec .apply-grid,
  .story-panel,
  .investment .investment-board {
    border-radius: 16px;
  }

  .apply-info .section-title,
  body.ltr .apply-info .section-title {
    font-size: clamp(2.15rem, 10.8vw, 3rem);
  }

  .apply-value div {
    min-height: 78px;
  }

  .story-brand-mark {
    min-height: 188px;
  }

  .story-metrics div {
    min-height: 86px;
  }

  .investment-range-panel strong,
  body.ltr .investment-range-panel strong {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }
}

@media (max-width: 390px) {
  .investment-range-panel {
    padding: 22px 14px;
  }

  .investment-range-panel span,
  .investment-range-panel small {
    font-size: 0.68rem;
  }

  .investment-range-panel strong,
  body.ltr .investment-range-panel strong {
    font-size: clamp(1.55rem, 7.4vw, 2rem);
  }

  .investment-range-panel .btn-primary {
    width: min(100%, 210px);
    min-height: 52px;
  }

  .investment-metric {
    min-height: 76px;
    padding: 11px 12px;
  }

  .investment-metric strong {
    font-size: 0.95rem;
  }
}

/* ═══════════════════════════════════════════════════
   RTL MOBILE FIXES — Arabic right-to-left on mobile
   ═══════════════════════════════════════════════════ */

/*
 * 0. Global RTL overflow guard.
 * body already has overflow-x:hidden, but html does not — in RTL mode
 * browsers can still create a horizontal scroll axis at the html level,
 * shifting the initial viewport position and clipping right-edge content.
 * Adding overflow-x:hidden to html locks the axis completely.
 */
html {
  overflow-x: hidden;
}

/* 1. Flip directional arrow icons for RTL (all screen sizes) */
body.rtl .form-next .fa-arrow-right,
body.rtl .form-back .fa-arrow-left {
  display: inline-block;
  transform: scaleX(-1);
}

/* 1b. Fix RTL slide-in animation specificity bug.
 *
 * Root cause: The rule
 *   body.rtl [data-animate="slide-in"] { transform: translateX(24px); }
 * has specificity 0-2-1, which is HIGHER than
 *   [data-animate].visible { transform: none; }  (specificity 0-2-0).
 *
 * This permanently locks every RTL "slide-in" element at translateX(24px)
 * even after the JS adds .visible — meaning .about-text and .apply-info
 * are stuck 24 px to the right, clipping their right edges against
 * overflow:hidden on .about/.apply-sec.
 *
 * Fix: add a higher-specificity rule (0-3-1) that wins once .visible
 * is present, restoring transform:none and opacity:1 as intended.
 */
body.rtl [data-animate].visible {
  transform: none;
  opacity: 1;
}

/* 2. Hero section: right-align in RTL on tablet/mobile */
@media (max-width: 1080px) {
  body.rtl .hero-copy {
    text-align: right;
    margin-right: 0;
    margin-left: auto;
  }

  body.rtl .hero-title,
  body.rtl .hero-subtitle,
  body.rtl .hero-badge {
    text-align: right;
    margin-inline-start: 0;
    margin-inline-end: 0;
  }

  body.rtl .hero-actions {
    justify-content: flex-start;
    align-items: flex-end;
  }
}

/* 3. FAQ section: keep right-aligned in RTL on mobile */
@media (max-width: 900px) {
  body.rtl .faq .section-header {
    text-align: right;
  }

  body.rtl .faq .section-subtitle {
    margin-inline: 0;
    margin-right: 0;
  }

  body.rtl .faq-help-card {
    text-align: right;
    direction: rtl;
  }
}

/* 4. Apply section: right-align text in RTL on mobile */
@media (max-width: 900px) {
  body.rtl .apply-info {
    text-align: right;
  }

  body.rtl .apply-info .section-label,
  body.rtl .apply-info .section-label.light,
  body.rtl .apply-info .section-title,
  body.rtl .apply-info .section-body {
    text-align: right;
    margin-left: 0;
    margin-right: 0;
  }

  body.rtl .apply-benefits div {
    justify-content: flex-start;
    text-align: right;
  }

  body.rtl .apply-sec .apply-contact-item {
    justify-content: flex-start;
    text-align: right;
  }
}

/* 5. Mobile-specific RTL layout fixes (≤ 768px) */
@media (max-width: 768px) {

  /* ── NAV ── */
  body.rtl .nav-links a {
    justify-content: flex-end;
    text-align: right;
  }

  /* ── HERO ── */
  body.rtl .hero-copy,
  body.rtl .hero-title,
  body.rtl .hero-subtitle,
  body.rtl .hero-badge {
    text-align: right !important;
  }
  body.rtl .hero-actions {
    justify-content: flex-start !important;
    align-items: flex-end !important;
  }

  /* ── ABOUT SECTION ──────────────────────────────────────────────────────
   * Root cause: body.rtl .about-grid { direction: rtl } (line 407) causes
   * the grid container itself to be in RTL, which can push the grid
   * wider than the viewport and clip the right edge content under
   * about's overflow:hidden.
   *
   * Fix: neutralise direction on the grid container → ltr (so no layout
   * expansion), then restore direction:rtl on the about-text child so
   * Arabic text still renders right-to-left.
   * ──────────────────────────────────────────────────────────────────── */
  body.rtl .about-grid {
    direction: ltr !important;
  }
  body.rtl .about-text {
    direction: rtl !important;
    text-align: right !important;
  }
  body.rtl .about-text .section-label,
  body.rtl .about-text .section-title,
  body.rtl .about-text .section-body {
    text-align: right !important;
  }
  body.rtl .story-points {
    text-align: right !important;
  }

  /* "تقدم الآن" button pushed to the physical RIGHT.
   * We must use !important on display to beat inline-flex from .btn-primary.
   * margin-left:auto (physical, not logical) fills the left gap → right-aligned. */
  body.rtl .about-text .btn-primary {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  /* ── APPLY SECTION ──────────────────────────────────────────────────────
   * Root cause: direction:rtl on the apply-grid reverses the 2-column
   * minmax layout, causing the apply-info to appear at the wrong width
   * and the title to overflow beyond the container's right edge.
   *
   * Fix: force direction:ltr on apply-grid (neutralises column reversal
   * and ensures grid-template-columns:1fr actually gives 1 column on
   * mobile), then restore direction:rtl inside apply-info so Arabic text
   * still renders correctly.
   * ──────────────────────────────────────────────────────────────────── */
  body.rtl .apply-sec .apply-grid {
    direction: ltr !important;
    grid-template-columns: 1fr !important;
  }
  body.rtl .apply-sec .apply-info {
    direction: rtl !important;
    text-align: right !important;
    overflow: hidden !important;
    max-width: 100% !important;
  }
  body.rtl .apply-info .section-title {
    text-align: right !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
    font-size: clamp(1.85rem, 9vw, 3rem) !important;
    line-height: 1.12 !important;
  }

  /* ── INVESTMENT RANGE PANEL ── */
  body.rtl .investment-range-panel {
    text-align: right !important;
    justify-items: end !important;
  }

  /* ── INVESTMENT METRICS ──────────────────────────────────────────────
   * Same direction:rtl grid column-reversal bug: set ltr on the metric
   * container, restore rtl on text children.
   * ──────────────────────────────────────────────────────────────────── */
  body.rtl .investment-metric {
    direction: ltr !important;
    grid-template-columns: minmax(0, 1fr) 38px !important;
    text-align: right !important;
    justify-items: end !important;
  }
  body.rtl .investment-metric i {
    grid-column: 2 !important;
    grid-row: span 2 !important;
  }
  body.rtl .investment-metric span,
  body.rtl .investment-metric strong {
    direction: rtl !important;
    text-align: right !important;
    justify-self: stretch !important;
  }

  /* ── PROCESS SECTION ──────────────────────────────────────────────────
   * Same direction:rtl grid column-reversal bug as investment metrics.
   * ──────────────────────────────────────────────────────────────────── */
  body.rtl .process .process-step {
    direction: ltr !important;
    grid-template-columns: minmax(0, 1fr) 70px !important;
  }
  body.rtl .process .step-icon {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    margin: 18px 0 0 !important;
  }
  body.rtl .process .process-step h3,
  body.rtl .process .process-step p {
    direction: rtl !important;
    text-align: right !important;
  }
  body.rtl .process .process-steps::before {
    left: auto !important;
    right: 34px !important;
  }
  body.rtl .process .step-num {
    left: auto !important;
    right: 34px !important;
    transform: translateX(50%) !important;
  }

  /* ── SECTION HEADERS (non-centered) ── */
  body.rtl .section-header:not(.center) {
    text-align: right !important;
  }
  body.rtl .section-header:not(.center) .section-title,
  body.rtl .section-header:not(.center) .section-subtitle,
  body.rtl .section-header:not(.center) .section-body {
    text-align: right !important;
  }

  /* ── FORM ── */
  body.rtl .form-steps { direction: rtl; }
  body.rtl .form-step span { text-align: right; }

  /* ── MOBILE BOTTOM NAV ── */
  body.rtl .mobile-bottom-nav { direction: rtl; }
  body.rtl .mob-nav-item span { direction: rtl; }
}

/* Final mobile RTL polish: center marketing copy, keep Arabic form input RTL */
@media (max-width: 768px) {
  body.rtl .hero-copy,
  body.rtl .hero-title,
  body.rtl .hero-subtitle,
  body.rtl .hero-badge,
  body.rtl .about-text,
  body.rtl .about-text .section-label,
  body.rtl .about-text .section-title,
  body.rtl .about-text .section-body,
  body.rtl .section-header:not(.center),
  body.rtl .section-header:not(.center) .section-title,
  body.rtl .section-header:not(.center) .section-subtitle,
  body.rtl .section-header:not(.center) .section-body {
    direction: rtl !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.rtl .hero-actions {
    justify-content: center !important;
    align-items: center !important;
  }

  body.rtl .about-text .btn-primary {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.rtl .story-points {
    direction: rtl !important;
    text-align: center !important;
  }

  body.rtl .story-points div {
    justify-content: center !important;
    text-align: center !important;
  }

  body.rtl .apply-form,
  body.rtl .form-page,
  body.rtl .form-row,
  body.rtl .form-group {
    direction: rtl !important;
  }

  body.rtl .form-group label {
    text-align: right !important;
  }

  body.rtl .form-group input,
  body.rtl .form-group select,
  body.rtl .form-group textarea,
  body.rtl .form-group input[type="email"],
  body.rtl .form-group input[type="tel"] {
    direction: rtl !important;
    text-align: right !important;
    unicode-bidi: plaintext;
  }

  body.rtl .form-group input::placeholder,
  body.rtl .form-group textarea::placeholder {
    direction: rtl !important;
    text-align: right !important;
  }
}


/* ── Hamburger navbar — desktop & mobile same style ── */
/* Nav links: always hidden, shown as dropdown on click */
.nav-links {
  display: none !important;
}
.nav-links.open {
  display: grid !important;
}
/* Dropdown link styles */
.nav-links a {
  padding: 10px 16px !important;
  border-radius: 12px !important;
  background: rgba(24,160,88,0.05) !important;
  color: var(--text-2) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  white-space: normal !important;
  justify-content: center !important;
}
.nav-links a:hover {
  color: var(--green-dk) !important;
  background: rgba(24,160,88,0.12) !important;
}
.nav-links .btn-nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
}
.nav-links .btn-nav-cta:hover {
  background: var(--green-dk) !important;
  transform: none !important;
}
/* Hamburger: always visible */
.nav-hamburger {
  display: inline-flex !important;
}

@media (max-width: 1080px) {
  .navbar {
    width: min(calc(100% - 28px), 1760px) !important;
    padding: 0 18px !important;
  }

  .nav-container {
    max-width: 100% !important;
    gap: 14px !important;
  }

  .nav-logo {
    min-width: 150px !important;
  }

  .nav-links {
    gap: 12px !important;
  }

  .nav-links a,
  .btn-lang-opt,
  .nav-links .btn-nav-cta {
    font-size: 0.86rem !important;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 12px !important;
    width: min(calc(100% - 24px), 1760px) !important;
    padding: 0 14px !important;
  }

  .nav-container {
    height: 56px !important;
    min-height: 56px !important;
    position: relative !important;
  }

  .nav-logo {
    position: absolute !important;
    left: 14px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    min-width: 0 !important;
  }

  .navbar .logo-img {
    height: 31px !important;
    max-width: 112px !important;
  }

  .nav-hamburger {
    position: absolute !important;
    right: 12px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    background: rgba(63, 150, 86, 0.1) !important;
  }

  .nav-links {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: 0 !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 250, 0.98) !important;
    border: 1px solid rgba(24, 75, 45, 0.08) !important;
    box-shadow: 0 24px 64px rgba(30, 55, 42, 0.16) !important;
  }

  .nav-links.open {
    display: grid !important;
  }

  .nav-links li {
    width: 100% !important;
  }

  .nav-links a,
  .btn-lang-opt {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    width: 100% !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    background: rgba(63, 150, 86, 0.06) !important;
    font-size: 0.95rem !important;
  }

  .nav-links .btn-nav-cta {
    min-height: 48px !important;
    width: 100% !important;
  }
}
