/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
  --emerald:       #043927;
  --emerald-mid:   #0a5c3d;
  --emerald-light: #0f7a52;
  --gold:          #D4AF37;
  --gold-light:    #e8c84a;
  --gold-pale:     rgba(212,175,55,0.12);
  --bone:          #F9F9F9;
  --bone-dark:     #f0f0eb;
  --white:         #ffffff;
  --charcoal:      #2D2D2D;
  --charcoal-mid:  #4a4a4a;
  --charcoal-lite: #777;
  --border:        rgba(4,57,39,0.09);
  --border-gold:   rgba(212,175,55,0.22);
  --shadow-sm:     0 4px 16px rgba(4,57,39,0.08);
  --shadow-md:     0 16px 48px rgba(4,57,39,0.11);
  --shadow-lg:     0 28px 80px rgba(4,57,39,0.14);
  --radius:        22px;
  --radius-sm:     14px;
  --radius-xs:     8px;
  --ease:          cubic-bezier(0.4,0,0.2,1);
  --t:             all 0.32s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bone);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

[lang="ar"], .ar { font-family: 'IBM Plex Sans Arabic', sans-serif; direction: rtl; }

/* ═══════════════════════════════════════
   UTILITY
═══════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
section { padding: 100px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--gold); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.section-title em { font-style: italic; color: var(--emerald); }
.section-sub {
  font-size: 16px;
  color: var(--charcoal-lite);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 540px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; letter-spacing: 0.055em;
  cursor: pointer; transition: var(--t);
  text-decoration: none;
}
.btn-emerald {
  background: var(--emerald); color: var(--white);
  padding: 13px 30px; font-size: 13px;
}
.btn-emerald:hover {
  background: var(--emerald-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(4,57,39,0.28);
}
.btn-gold {
  background: var(--gold); color: var(--emerald);
  padding: 15px 36px; font-size: 14px;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(212,175,55,0.38);
}
.btn-ghost {
  background: transparent; color: var(--white);
  padding: 14px 30px; font-size: 14px;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(255,255,255,0.05);
}
.btn-outline-dark {
  background: transparent; color: var(--emerald);
  padding: 12px 26px; font-size: 13px;
  border: 1.5px solid var(--emerald);
}
.btn-outline-dark:hover {
  background: var(--emerald); color: var(--white);
}

/* Scroll Reveal */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }


/* ═══════════════════════════════════════
   TOP BAR
═══════════════════════════════════════ */
.top-bar {
  background: var(--emerald);
  padding: 9px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.top-bar-left {
  display: flex; align-items: center; gap: 8px;
  color: rgba(249,249,249,0.65);
  font-weight: 500; letter-spacing: 0.04em;
}
.top-bar-right { display: flex; align-items: center; gap: 16px; }

.wa-link {
  display: flex; align-items: center; gap: 7px;
  color: rgba(249,249,249,0.7);
  font-weight: 600; letter-spacing: 0.05em;
  transition: var(--t);
}
.wa-link:hover { color: var(--gold); }
.wa-link svg { fill: #25D366; }

.lang-toggle {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 30px; padding: 3px;
}
.lang-btn {
  padding: 3px 12px;
  border: none; background: transparent;
  color: rgba(255,255,255,0.55);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; border-radius: 20px;
  cursor: pointer; transition: var(--t);
}
.lang-btn.active {
  background: var(--gold); color: var(--emerald);
  box-shadow: 0 2px 8px rgba(212,175,55,0.3);
}
.lang-btn:not(.active):hover { color: var(--gold); }


/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 800;
  background: rgba(249,249,249,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,175,55,0.14);
  transition: box-shadow 0.3s var(--ease);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
/* LOGO */
.logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}
.logo-svg {
  height: 46px; width: auto; flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(4,57,39,0.18));
  transition: transform 0.3s var(--ease);
}
.logo:hover .logo-svg { transform: scale(1.04); }
.logo-text { line-height: 1.18; }
.logo-text .l1 {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700;
  color: var(--emerald); letter-spacing: 0.01em;
  display: block; white-space: nowrap;
}
.logo-text .l2 {
  font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); display: block;
}
/* NAV LINKS */
.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal-mid);
  position: relative; transition: var(--t);
  white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: var(--gold); transition: var(--t);
}
.nav-links a:hover { color: var(--emerald); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-size: 13px; white-space: nowrap; }
/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none;
  border: none; padding: 8px; border-radius: 8px;
  transition: var(--t);
}
.hamburger:hover { background: rgba(4,57,39,0.07); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--emerald); border-radius: 2px;
  transition: var(--t); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* MOBILE DRAWER */
.mobile-drawer {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1200;
  pointer-events: none;
}
.mobile-drawer.open { pointer-events: all; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(4,57,39,0.45);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.32s var(--ease);
}
.mobile-drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(80vw, 320px);
  background: var(--white);
  border-left: 1px solid rgba(212,175,55,0.15);
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-close {
  width: 36px; height: 36px;
  background: rgba(4,57,39,0.06);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--t);
  font-size: 18px; color: var(--emerald);
}
.drawer-close:hover { background: rgba(4,57,39,0.12); }
.drawer-nav {
  list-style: none; padding: 16px 0; flex: 1;
}
.drawer-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  font-size: 15px; font-weight: 600;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(4,57,39,0.04);
  transition: var(--t); text-decoration: none;
}
.drawer-nav li a:hover {
  color: var(--emerald);
  background: rgba(4,57,39,0.03);
  padding-left: 28px;
}
.drawer-nav li a .dn-icon {
  width: 32px; height: 32px;
  background: rgba(4,57,39,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.drawer-footer {
  padding: 20px 24px 32px;
  border-top: 1px solid var(--border);
}
.drawer-cta {
  display: block; width: 100%;
  background: var(--emerald); color: var(--white);
  border: none; border-radius: 50px;
  padding: 15px; text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; cursor: pointer;
  transition: var(--t); text-decoration: none;
}
.drawer-cta:hover { background: var(--emerald-mid); }
.drawer-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px;
  font-size: 13px; font-weight: 600;
  color: var(--charcoal-lite); text-decoration: none;
  transition: var(--t);
}
.drawer-wa:hover { color: #25D366; }


/* ═══════════════════════════════════════
   TICKER
═══════════════════════════════════════ */
.ticker-bar {
  background: #021f15;
  padding: 11px 0; overflow: hidden;
  position: relative;
}
.ticker-bar::before, .ticker-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.ticker-bar::before { left: 0; background: linear-gradient(to right, #021f15, transparent); }
.ticker-bar::after  { right: 0; background: linear-gradient(to left, #021f15, transparent); }
.ticker-track {
  display: flex; width: max-content;
  animation: tickerAnim 38s linear infinite;
}
.ticker-item {
  display: flex; align-items: center; gap: 9px;
  padding: 0 48px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.84);
  white-space: nowrap;
}
.ticker-item strong { color: var(--gold); }
.ticker-dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; opacity: 0.6; flex-shrink: 0; }
@keyframes tickerAnim {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex; align-items: center;
  background: var(--emerald);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 40%, rgba(10,92,61,0.55) 0%, transparent 65%),
    linear-gradient(155deg, #011810 0%, #043927 45%, #065c3a 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4AF37' fill-opacity='0.035' fill-rule='evenodd'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 42h-2v-2zm4 0L80 4v2L46 42h-2v-2zm4 0L80 8v2L50 42h-2v-2zm4 0L80 12v2L54 42h-2v-2zm4 0L80 16v2L58 42h-2v-2zm4 0L80 20v2L62 42h-2v-2zm4 0L80 24v2L66 42h-2v-2zm4 0L80 28v2L70 42h-2v-2zm4 0L80 32v2L74 42h-2v-2zm4 0L80 36v2L78 42h-2v-2zm4 0L80 40v2h-2v-2z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-ring {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 720px; height: 720px;
  border: 1px solid rgba(212,175,55,0.1); border-radius: 50%;
}
.hero-ring::before {
  content: ''; position: absolute; inset: 60px;
  border: 1px solid rgba(212,175,55,0.07); border-radius: 50%;
}
.hero-ring::after {
  content: ''; position: absolute; inset: 120px;
  border: 1px solid rgba(212,175,55,0.05); border-radius: 50%;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 50px; padding: 6px 18px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  animation: fadeUp 0.7s both;
}
.pulse-dot {
  width: 7px; height: 7px; background: var(--gold);
  border-radius: 50%; animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(1.5); } }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 700; color: var(--white);
  line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 10px;
  animation: fadeUp 0.7s 0.1s both;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-bridge {
  font-family: 'Playfair Display', serif;
  font-size: clamp(14px, 1.5vw, 18px);
  font-style: italic;
  color: rgba(212,175,55,0.65);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
  animation: fadeUp 0.7s 0.15s both;
}
.hero p {
  font-size: 16.5px; font-weight: 400;
  color: rgba(249,249,249,0.65);
  line-height: 1.78; max-width: 480px;
  margin-bottom: 40px;
  animation: fadeUp 0.7s 0.2s both;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.28s both;
}
.hero-stats {
  display: flex; gap: 28px;
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeUp 0.7s 0.36s both;
  flex-wrap: nowrap;
}
.hero-stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 34px; font-weight: 700; color: var(--white); line-height: 1;
}
.hero-stat-l {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-top: 4px;
}

/* Hero right — Dashboard preview card */
.hero-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(14px);
  animation: fadeUp 0.8s 0.22s both;
}
.hcard-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.hcard-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: var(--white); font-weight: 600;
}
.hcard-badge {
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 20px; padding: 4px 12px;
  font-size: 10px; font-weight: 700;
  color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase;
}
.lesson-list { display: flex; flex-direction: column; gap: 10px; }
.lesson-row {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  transition: var(--t); cursor: pointer;
}
.lesson-row:hover { background: rgba(212,175,55,0.07); border-color: rgba(212,175,55,0.2); }
.lesson-row.done { border-color: rgba(212,175,55,0.25); background: rgba(212,175,55,0.08); }
.lesson-ico {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.lesson-row.done .lesson-ico { background: rgba(212,175,55,0.18); }
.lesson-info { flex: 1; }
.lesson-nm { font-size: 12.5px; font-weight: 600; color: var(--white); }
.lesson-mt { font-size: 10.5px; color: rgba(255,255,255,0.38); margin-top: 2px; }
.check-circle {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: transparent; flex-shrink: 0;
}
.lesson-row.done .check-circle {
  background: var(--gold); border-color: var(--gold);
  color: var(--emerald); font-weight: 800;
}
.prog-wrap {
  margin-top: 18px; padding: 15px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
}
.prog-labels {
  display: flex; justify-content: space-between;
  font-size: 10.5px; font-weight: 600;
  color: rgba(255,255,255,0.4); margin-bottom: 10px;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.prog-labels span:last-child { color: var(--gold); }
.prog-bar { height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.prog-fill {
  height: 100%; width: 72%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 3px;
  animation: growFill 1.5s 0.9s ease both;
  transform-origin: left;
}
@keyframes growFill { from { width: 0; } to { width: 72%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }


/* ═══════════════════════════════════════
   PEDIGREE
═══════════════════════════════════════ */
.pedigree { background: var(--white); }
.pedigree-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
  margin-bottom: 60px;
}
.pedigree-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ped-card {
  background: var(--bone);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px 30px;
  text-align: center;
  position: relative; overflow: hidden;
  transition: var(--t);
}
.ped-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--emerald), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: var(--t);
}
.ped-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.ped-card:hover::after { transform: scaleX(1); }
.ped-icon {
  width: 70px; height: 70px;
  background: rgba(4,57,39,0.06);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
  transition: var(--t);
}
.ped-card:hover .ped-icon { background: var(--emerald); transform: scale(1.06); }
.ped-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 11px;
}
.ped-card p { font-size: 13.5px; color: var(--charcoal-lite); line-height: 1.7; }


/* ═══════════════════════════════════════
   FOUNDER'S CORNER
═══════════════════════════════════════ */
.founder { background: var(--emerald); position: relative; overflow: hidden; }
.founder::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4AF37' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.founder-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: center;
}
.founder-portrait {
  position: relative;
}
.portrait-frame {
  width: 100%; max-width: 360px;
  aspect-ratio: 3/4;
  background: linear-gradient(155deg, rgba(255,255,255,0.07), rgba(212,175,55,0.06));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
  position: relative; overflow: hidden;
}
.portrait-frame::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(4,57,39,0.8), transparent);
}
.portrait-name {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  z-index: 2;
  background: rgba(4,57,39,0.85);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
}
.portrait-name .pn1 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; color: var(--white);
}
.portrait-name .pn2 {
  font-size: 11px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.08em;
  text-transform: uppercase; margin-top: 3px;
}
.portrait-name .pn3 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.founder-content .eyebrow { color: var(--gold); }
.founder-content .section-title { color: var(--white); }
.founder-content .section-title em { color: var(--gold); }
.founder-quote {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 28px 0;
}
.founder-bio {
  font-size: 15px; color: rgba(255,255,255,0.6);
  line-height: 1.78; margin-bottom: 28px;
}
.credentials-list {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 36px;
}
.cred-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; color: rgba(255,255,255,0.7); font-weight: 500;
}
.cred-item::before {
  content: '✦';
  color: var(--gold); font-size: 10px; flex-shrink: 0;
}


/* ═══════════════════════════════════════
   DASHBOARD PREVIEW
═══════════════════════════════════════ */
.dashboard { background: var(--bone-dark); }
.dash-header { text-align: center; margin-bottom: 60px; }
.dash-header .section-sub { margin: 0 auto; text-align: center; }
.dash-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 1000px; margin: 0 auto;
}
.dash-topbar {
  background: var(--emerald);
  padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
}
.dash-topbar-dots { display: flex; gap: 7px; }
.dash-dot { width: 11px; height: 11px; border-radius: 50%; }
.dash-dot:nth-child(1) { background: #ff5f57; }
.dash-dot:nth-child(2) { background: #febc2e; }
.dash-dot:nth-child(3) { background: #28c840; }
.dash-breadcrumb {
  flex: 1; text-align: center;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}
.dash-body {
  display: grid; grid-template-columns: 220px 1fr;
}
.dash-sidebar {
  background: #f4f4ef;
  border-right: 1px solid var(--border);
  padding: 24px 0;
}
.dash-nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 22px;
  font-size: 12.5px; font-weight: 600;
  color: var(--charcoal-lite);
  transition: var(--t); cursor: pointer;
}
.dash-nav-item.active {
  background: rgba(4,57,39,0.07);
  color: var(--emerald);
  border-right: 2.5px solid var(--emerald);
}
.dash-nav-item:hover:not(.active) { background: rgba(4,57,39,0.04); }
.dash-nav-icon { font-size: 15px; }
.dash-main { padding: 28px; }
.dash-greeting {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 4px;
}
.dash-subtitle { font-size: 12px; color: var(--charcoal-lite); margin-bottom: 24px; }
.dash-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.dash-metric {
  background: var(--bone);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.dm-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal-lite); }
.dm-value {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  color: var(--emerald); margin: 4px 0 2px;
}
.dm-note { font-size: 10.5px; color: var(--charcoal-lite); }
.dash-progress-section { margin-bottom: 20px; }
.dps-title { font-size: 12px; font-weight: 700; color: var(--charcoal); margin-bottom: 14px; letter-spacing: 0.04em; }
.module-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.module-row:last-child { border-bottom: none; }
.module-name { font-size: 12px; font-weight: 600; color: var(--charcoal); flex: 1; }
.module-bar-wrap { flex: 2; height: 5px; background: rgba(4,57,39,0.07); border-radius: 3px; overflow: hidden; }
.module-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(to right, var(--emerald), var(--emerald-light)); }
.module-pct { font-size: 11px; font-weight: 700; color: var(--emerald); width: 34px; text-align: right; }
.dash-certs {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.cert-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 30px; padding: 7px 14px;
  font-size: 11px; font-weight: 600; color: var(--charcoal);
}
.cert-pill .icon { font-size: 13px; }


/* ═══════════════════════════════════════
   PROGRAMS / PATHWAYS
═══════════════════════════════════════ */
.pricing { background: linear-gradient(180deg, #f5f8f6 0%, var(--white) 100%); }
.prog-hero-headline { text-align: center; max-width: 680px; margin: 0 auto; }
.prog-hero-headline h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700; color: var(--charcoal);
  line-height: 1.18; letter-spacing: -0.025em; margin-bottom: 18px;
}
.prog-hero-headline h2 em { color: var(--emerald); font-style: italic; }
.prog-hero-headline p { font-size: 16px; color: var(--charcoal-lite); line-height: 1.78; max-width: 540px; margin: 0 auto; }
.toggle-wrap {
  display: inline-flex; background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px; padding: 5px; gap: 4px;
  margin: 38px auto 0;
}
.tog-btn {
  background: transparent; border: none;
  border-radius: 40px; padding: 11px 30px;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--charcoal-lite); cursor: pointer; transition: var(--t);
  letter-spacing: 0.03em; white-space: nowrap;
}
.tog-btn.active { background: var(--emerald); color: var(--white); box-shadow: 0 4px 16px rgba(4,57,39,0.24); }
.pathways-grid {
  display: grid; grid-template-columns: 1fr 1fr 0.85fr;
  gap: 24px; margin-top: 52px; align-items: start;
}
.pathway-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px 36px;
  position: relative; transition: var(--t);
  display: flex; flex-direction: column;
}
.pathway-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(4,57,39,0.15); }
.pathway-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--emerald), var(--gold));
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.pathway-card:hover::before { transform: scaleX(1); }
.pathway-card.elite-card {
  background: linear-gradient(160deg, #0b1f16 0%, #021a0f 100%);
  border: 1px solid rgba(212,175,55,0.25);
}
.pathway-card.elite-card:hover { box-shadow: 0 28px 72px rgba(0,0,0,0.38); border-color: rgba(212,175,55,0.45); }
.pathway-card.elite-card::before { background: linear-gradient(to right, var(--gold), var(--gold-light)); }
.path-num { font-size: 9.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }
.elite-card .path-num { color: rgba(212,175,55,0.7); }
.path-name { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--charcoal); line-height: 1.15; margin-bottom: 6px; }
.elite-card .path-name { color: var(--white); }
.path-sub { font-size: 11.5px; font-weight: 700; color: var(--emerald); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 18px; }
.elite-card .path-sub { color: var(--gold); }
.path-desc { font-size: 13.5px; color: var(--charcoal-lite); line-height: 1.68; margin-bottom: 28px; }
.elite-card .path-desc { color: rgba(255,255,255,0.55); }
.intensity-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal-mid); margin-bottom: 10px; }
.elite-card .intensity-label { color: rgba(255,255,255,0.45); }
.path-select {
  width: 100%; padding: 13px 40px 13px 16px;
  background-color: var(--bone); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif; font-size: 13.5px; font-weight: 600;
  color: var(--charcoal); outline: none; cursor: pointer; transition: var(--t);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23043927' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; margin-bottom: 28px;
}
.path-select:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(4,57,39,0.07); }
.path-divider { height: 1px; background: var(--border); margin-bottom: 22px; }
.elite-card .path-divider { background: rgba(212,175,55,0.12); }
.path-features { list-style: none; flex: 1; margin-bottom: 30px; }
.path-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--charcoal-lite);
  padding: 7px 0; border-bottom: 1px solid rgba(4,57,39,0.05);
  font-weight: 500; line-height: 1.5;
}
.path-features li:last-child { border-bottom: none; }
.elite-card .path-features li { color: rgba(255,255,255,0.65); border-bottom-color: rgba(212,175,55,0.08); }
.chk {
  width: 17px; height: 17px; background: rgba(4,57,39,0.07);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 8.5px; color: var(--emerald); font-weight: 800; flex-shrink: 0; margin-top: 2px;
}
.elite-card .chk { background: rgba(212,175,55,0.15); color: var(--gold); }
.path-cta {
  border: none; border-radius: 50px; padding: 15px;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.055em; cursor: pointer; width: 100%; transition: var(--t);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.path-cta.em { background: var(--emerald); color: var(--white); }
.path-cta.em:hover { background: var(--emerald-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(4,57,39,0.28); }
.path-cta.gd { background: var(--gold); color: var(--emerald); }
.path-cta.gd:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,175,55,0.38); }
.elite-note { font-size: 11px; color: rgba(255,255,255,0.3); text-align: center; margin-top: 12px; font-style: italic; letter-spacing: 0.04em; }
.by-application { text-align: center; margin-bottom: 28px; }
.by-app-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50px; padding: 8px 20px;
  font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase;
}
.by-app-badge .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s ease infinite; }


/* ═══════════════════════════════════════
   FAMILY & REFERRAL DISCOUNTS
═══════════════════════════════════════ */
.discounts-section {
  background: linear-gradient(180deg, var(--white) 0%, #f0f5f2 100%);
  padding: 72px 0 80px;
  position: relative; overflow: hidden;
}
.discounts-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,55,0.3), transparent);
}
.discounts-head {
  text-align: center; max-width: 640px; margin: 0 auto 56px;
}
.discounts-head .eyebrow { justify-content: center; }
.discounts-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700; color: var(--charcoal);
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.discounts-head h2 em { color: var(--emerald); font-style: italic; }
.discounts-head p {
  font-size: 15px; color: var(--charcoal-lite); line-height: 1.75;
}
/* Grid of 4 discount cards */
.discounts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; max-width: 1200px; margin: 0 auto;
}
.disc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  position: relative; overflow: hidden;
  transition: var(--t);
  display: flex; flex-direction: column;
}
.disc-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--emerald), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.disc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.disc-card:hover::after { transform: scaleX(1); }
/* Icon badge */
.disc-icon {
  width: 60px; height: 60px;
  background: linear-gradient(145deg, rgba(4,57,39,0.07), rgba(4,57,39,0.04));
  border: 1.5px solid rgba(4,57,39,0.1);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 22px;
  transition: var(--t);
}
.disc-card:hover .disc-icon {
  background: linear-gradient(145deg, rgba(4,57,39,0.12), rgba(4,57,39,0.06));
  transform: scale(1.06);
}
/* Label pill */
.disc-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 30px; padding: 4px 13px;
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #a07c15; margin-bottom: 14px;
  width: fit-content;
}
.disc-label .dl-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.disc-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--charcoal); line-height: 1.25;
  margin-bottom: 10px;
}
.disc-desc {
  font-size: 13.5px; color: var(--charcoal-lite);
  line-height: 1.72; flex: 1; margin-bottom: 24px;
}
/* Discount tiers list */
.disc-tiers { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.disc-tier {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bone);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  transition: var(--t);
}
.disc-card:hover .disc-tier { border-color: rgba(4,57,39,0.12); }
.disc-tier-label {
  font-size: 12.5px; color: var(--charcoal-mid); font-weight: 600;
}
.disc-tier-pct {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700;
  color: var(--emerald);
}
.disc-tier-pct span { font-size: 11px; font-weight: 600; color: var(--charcoal-lite); font-family: 'Montserrat', sans-serif; }
/* CTA link */
.disc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  color: var(--emerald); letter-spacing: 0.04em;
  cursor: pointer; border: none; background: none;
  padding: 0; transition: var(--t);
  text-decoration: none;
}
.disc-cta:hover { color: var(--emerald-mid); gap: 10px; }
.disc-cta svg { transition: var(--t); }
/* Referral pill highlight */
.disc-card.referral-card {
  border-color: rgba(212,175,55,0.22);
  background: linear-gradient(160deg, #fffef8, var(--white));
}
.disc-card.referral-card .disc-icon {
  background: linear-gradient(145deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
  border-color: rgba(212,175,55,0.25);
}
/* Bottom note */
.discounts-note {
  text-align: center; margin-top: 44px;
  font-size: 13px; color: var(--charcoal-lite);
  line-height: 1.7; max-width: 620px; margin-left: auto; margin-right: auto;
}
.discounts-note strong { color: var(--emerald); }

/* Loyalty card — gold accent */
.disc-card.loyalty-card {
  border-color: rgba(212,175,55,0.28);
  background: linear-gradient(160deg, #fffdf5 0%, var(--white) 60%);
}
.disc-card.loyalty-card::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.disc-card.loyalty-card .disc-icon {
  background: rgba(212,175,55,0.12);
}
.disc-card.loyalty-card .dl-dot {
  background: var(--gold);
}
.disc-card.loyalty-card .disc-label {
  color: var(--gold);
  border-color: rgba(212,175,55,0.3);
  background: rgba(212,175,55,0.08);
}
.disc-card.loyalty-card .disc-cta {
  color: var(--gold);
}
.disc-card.loyalty-card .disc-tier-pct {
  color: var(--gold);
}
@media (max-width: 960px) {
  .discounts-grid { grid-template-columns: repeat(2,1fr); max-width: 640px; }
}

/* ═══════════════════════════════════════
   STORE
═══════════════════════════════════════ */
.store { background: var(--bone); }
.store-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end;
  margin-bottom: 56px;
}
.store-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.store-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--t); cursor: pointer;
}
.store-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 32px 72px rgba(4,57,39,0.13);
  border-color: var(--border-gold);
}
.book-stage {
  height: 250px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.book-bg-1 { background: radial-gradient(ellipse at 60% 40%, #0a5c3d, #021f15); }
.book-bg-2 { background: radial-gradient(ellipse at 60% 40%, #1e4570, #0b1e38); }
.book-bg-3 { background: radial-gradient(ellipse at 60% 40%, #5c2a14, #280f05); }
.book-3d {
  width: 130px; position: relative;
  transform: perspective(600px) rotateY(-16deg) rotateX(6deg);
  transition: transform 0.5s var(--ease);
  filter: drop-shadow(22px 24px 28px rgba(0,0,0,0.45));
}
.store-card:hover .book-3d { transform: perspective(600px) rotateY(-8deg) rotateX(3deg) scale(1.06); }
.book-sp {
  position: absolute; left: -15px; top: 2px; bottom: 2px; width: 15px;
  border-radius: 2px 0 0 2px;
  transform: rotateY(-90deg); transform-origin: right;
}
.book-sp-1 { background: #011d10; }
.book-sp-2 { background: #071428; }
.book-sp-3 { background: #1c0800; }
.book-fr {
  width: 130px; min-height: 172px;
  border-radius: 0 4px 4px 0;
  padding: 18px 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.08);
}
.book-fr-1 { background: linear-gradient(155deg, #043927, #0a5c3d); }
.book-fr-2 { background: linear-gradient(155deg, #1a3a5c, #2a6098); }
.book-fr-3 { background: linear-gradient(155deg, #4a1a0a, #7c2d14); }
.bk-badge {
  display: inline-block;
  background: var(--gold); color: var(--emerald);
  font-size: 6.5px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 3px;
  margin-bottom: 7px;
}
.bk-title {
  font-family: 'Playfair Display', serif;
  font-size: 12px; font-weight: 700; color: var(--white); line-height: 1.3;
}
.bk-sub {
  font-size: 7.5px; font-weight: 600;
  color: rgba(255,255,255,0.45); letter-spacing: 0.08em;
  text-transform: uppercase; margin-top: 4px;
}
.bk-divider { height: 1px; background: rgba(212,175,55,0.2); margin: 8px 0; }
.bk-author { font-size: 6.5px; font-weight: 700; color: var(--gold); letter-spacing: 0.07em; line-height: 1.4; text-transform: uppercase; }
.book-decor-ring {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 50%; opacity: 0.4;
}
.store-body { padding: 24px 26px 26px; }
.store-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 7px;
}
.store-body p { font-size: 13px; color: var(--charcoal-lite); line-height: 1.62; margin-bottom: 20px; }
.store-footer { display: flex; align-items: center; justify-content: space-between; }
.store-price { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--emerald); }
.store-price-note { font-size: 10px; color: var(--charcoal-lite); margin-top: 2px; }
.btn-sm-em {
  background: var(--emerald); color: var(--white);
  border: none; border-radius: 50px;
  padding: 9px 20px; font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  cursor: pointer; transition: var(--t);
}
.btn-sm-em:hover { background: var(--emerald-mid); transform: translateY(-1px); }
.founders-picks {
  margin-top: 64px; padding-top: 56px;
  border-top: 1px solid var(--border);
}
.fp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 32px; }
.fp-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px;
  transition: var(--t);
}
.fp-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.fp-emoji { font-size: 26px; margin-bottom: 10px; }
.fp-title { font-size: 13px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.fp-desc { font-size: 11.5px; color: var(--charcoal-lite); line-height: 1.5; }


/* ═══════════════════════════════════════
   BLOG
═══════════════════════════════════════ */
.blog { background: var(--white); }
.blog-head {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--bone);
  border: 1px solid var(--border);
  border-radius: 50px; padding: 11px 22px;
  min-width: 280px; transition: var(--t);
}
.search-bar:focus-within {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(4,57,39,0.07);
}
.search-bar input {
  background: none; border: none; outline: none;
  font-family: 'Montserrat', sans-serif; font-size: 13px;
  color: var(--charcoal); width: 100%;
}
.search-bar input::placeholder { color: rgba(45,45,45,0.32); }
.blog-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto; gap: 22px;
}
.blog-feat {
  grid-row: span 2;
  background: var(--bone); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--t); cursor: pointer;
}
.blog-feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-img {
  position: relative; overflow: hidden;
}
.blog-feat .blog-img { height: 320px; }
.blog-card .blog-img { height: 160px; }
.blog-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; transition: transform 0.6s var(--ease);
}
.blog-feat:hover .blog-img-inner,
.blog-card:hover .blog-img-inner { transform: scale(1.05); }
.bi-1 { background: linear-gradient(145deg, #043927, #0a5c3d); }
.bi-2 { background: linear-gradient(145deg, #1a3a52, #2d5f85); }
.bi-3 { background: linear-gradient(145deg, #3d2a14, #6b4a22); }
.blog-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 50%); }
.blog-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--emerald);
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
}
.blog-lang {
  position: absolute; top: 16px; right: 16px;
  background: rgba(4,57,39,0.75); color: rgba(255,255,255,0.7);
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
  backdrop-filter: blur(6px);
}
.blog-body { padding: 26px; }
.blog-feat .blog-body { padding: 30px; }
.blog-meta { font-size: 10.5px; font-weight: 700; color: var(--gold); letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 9px; }
.blog-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700; color: var(--charcoal); line-height: 1.35; margin-bottom: 9px;
}
.blog-feat .blog-body h3 { font-size: 23px; }
.blog-card .blog-body h3 { font-size: 16px; }
.blog-body p { font-size: 13px; color: var(--charcoal-lite); line-height: 1.65; }
.blog-card {
  background: var(--bone); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--t); cursor: pointer;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }


/* ═══════════════════════════════════════
   PLACEMENT FORM
═══════════════════════════════════════ */
.placement { background: var(--bone-dark); }
.placement-wrap {
  max-width: 700px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.form-head {
  background: var(--emerald);
  padding: 40px 48px 32px;
  position: relative; overflow: hidden;
}
.form-head::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.form-head-inner { position: relative; z-index: 2; }
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; color: var(--white);
  margin-bottom: 6px;
}
.form-subtitle { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.progress-track {
  display: flex; align-items: center; gap: 0;
  margin-top: 28px;
}
.prog-step {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; position: relative;
}
.prog-step:not(:last-child)::after {
  content: ''; position: absolute;
  top: 14px; left: 50%; right: -50%;
  height: 2px; background: rgba(255,255,255,0.15);
  z-index: 0; transition: background 0.3s;
}
.prog-step.done:not(:last-child)::after { background: var(--gold); }
.step-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5);
  z-index: 1; position: relative; transition: var(--t);
}
.prog-step.active .step-circle { background: var(--gold); border-color: var(--gold); color: var(--emerald); box-shadow: 0 0 0 4px rgba(212,175,55,0.25); }
.prog-step.done .step-circle { background: rgba(212,175,55,0.25); border-color: var(--gold); color: var(--gold); }
.step-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-top: 6px; text-align: center;
  transition: var(--t);
}
.prog-step.active .step-label { color: var(--gold); }
.form-body { padding: 40px 48px; }
.form-step { display: none; }
.form-step.active { display: block; }
.step-heading {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: var(--charcoal);
  margin-bottom: 6px;
}
.step-desc { font-size: 13px; color: var(--charcoal-lite); margin-bottom: 28px; line-height: 1.6; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--charcoal-mid); margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 13px 16px;
  background: var(--bone); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif; font-size: 14px;
  color: var(--charcoal); outline: none; transition: var(--t);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(4,57,39,0.08);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 32px; text-align: center;
  cursor: pointer; transition: var(--t);
  background: var(--bone);
}
.upload-zone:hover { border-color: var(--emerald); background: rgba(4,57,39,0.03); }
.upload-icon { font-size: 36px; margin-bottom: 12px; }
.upload-text { font-size: 13.5px; font-weight: 600; color: var(--charcoal); }
.upload-sub { font-size: 12px; color: var(--charcoal-lite); margin-top: 4px; }
.upload-optional { font-size: 10px; color: var(--gold); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; }
.juz-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; margin-bottom: 10px; }
.juz-btn {
  background: var(--bone); border: 1.5px solid var(--border);
  border-radius: var(--radius-xs); padding: 10px 4px;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700;
  color: var(--charcoal-lite); cursor: pointer; transition: var(--t);
  text-align: center;
}
.juz-btn:hover { border-color: var(--emerald); color: var(--emerald); }
.juz-btn.selected { background: var(--emerald); border-color: var(--emerald); color: var(--white); }
.juz-note { font-size: 11.5px; color: var(--charcoal-lite); }
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.btn-back {
  background: transparent; border: 1.5px solid var(--border);
  border-radius: 50px; padding: 11px 26px;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--charcoal-lite); cursor: pointer; transition: var(--t);
}
.btn-back:hover { border-color: var(--charcoal-mid); color: var(--charcoal); }
.btn-next {
  background: var(--emerald); color: var(--white);
  border: none; border-radius: 50px;
  padding: 13px 32px; font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  cursor: pointer; transition: var(--t);
}
.btn-next:hover { background: var(--emerald-mid); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(4,57,39,0.25); }
.form-success { display: none; text-align: center; padding: 56px 40px; }
.success-icon { font-size: 56px; margin-bottom: 20px; }
.success-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; color: var(--emerald); margin-bottom: 12px;
}
.success-msg { font-size: 15px; color: var(--charcoal-lite); line-height: 1.7; max-width: 440px; margin: 0 auto 28px; }
.ijazah-extra { display: none; }
.ijazah-extra.visible { display: block; }
.req-star { color: #c0392b; font-weight: 800; margin-left: 2px; }
.form-error {
  background: #fff2f2; border: 1.5px solid #f5c6c6;
  border-radius: var(--radius-xs); padding: 11px 16px;
  font-size: 13px; font-weight: 600; color: #c0392b;
  margin-bottom: 18px; display: flex; align-items: center; gap: 9px;
}
.form-error::before { content: '⚠'; font-size: 14px; flex-shrink: 0; }
input.field-invalid, select.field-invalid, textarea.field-invalid {
  border-color: #e74c3c !important;
  background: #fff8f8 !important;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1) !important;
}
input.field-valid, select.field-valid, textarea.field-valid {
  border-color: var(--emerald-light) !important;
  background: rgba(15,122,82,0.03) !important;
}
.upload-zone.zone-valid { border-color: var(--emerald-light); background: rgba(15,122,82,0.03); }
.upload-zone.zone-invalid { border-color: #e74c3c; background: #fff8f8; }

/* ── Referral Code Field ── */
.referral-wrap {
  position: relative;
}
.referral-wrap input {
  padding-right: 44px;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
}
.referral-wrap input::placeholder {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}
.referral-status {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}
.referral-status.checking { color: var(--charcoal); opacity: 0.6; }
.referral-status.valid    { color: #27ae60; }
.referral-status.invalid  { color: #e74c3c; }
.referral-badge {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  display: none;
}
.referral-badge.valid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(39,174,96,0.1);
  color: #27ae60;
  border: 1px solid rgba(39,174,96,0.25);
}
.referral-badge.invalid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(231,76,60,0.08);
  color: #e74c3c;
  border: 1px solid rgba(231,76,60,0.2);
}


/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.cta-banner {
  background: var(--emerald); padding: 110px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4AF37' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700; color: var(--white);
  margin-bottom: 18px; position: relative; line-height: 1.15;
}
.cta-banner h2 em { font-style: italic; color: var(--gold); }
.cta-banner p {
  font-size: 17px; color: rgba(255,255,255,0.6);
  max-width: 520px; margin: 0 auto 44px;
  line-height: 1.72; position: relative;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; flex-wrap: wrap; }


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: #011810;
  padding: 76px 40px 44px;
  color: rgba(255,255,255,0.45);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 52px; margin-bottom: 60px;
}
.footer-brand p { font-size: 13.5px; line-height: 1.72; margin-top: 16px; max-width: 270px; }
.footer-arabic {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px; color: rgba(212,175,55,0.5);
  margin-top: 10px; direction: rtl;
}
.footer-col h4 {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 13.5px; color: rgba(255,255,255,0.4);
  margin-bottom: 11px; transition: var(--t);
}
.footer-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--gold); }


/* ═══════════════════════════════════════
   WHATSAPP FLOAT
═══════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 999; display: flex; align-items: flex-end; gap: 12px;
}
.wa-bubble {
  width: 60px; height: 60px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.42);
  cursor: pointer; transition: var(--t); flex-shrink: 0;
}
.wa-bubble:hover { transform: scale(1.09); box-shadow: 0 12px 40px rgba(37,211,102,0.52); }
.wa-bubble svg { width: 30px; height: 30px; fill: white; }
.wa-tooltip {
  background: var(--charcoal); color: var(--white);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 13px; font-weight: 500; max-width: 220px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15); position: relative;
  animation: fadeUp 0.4s ease;
}
.wa-tooltip::after {
  content: ''; position: absolute; right: -8px; bottom: 22px;
  border-left: 8px solid var(--charcoal);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.wa-tooltip strong { display: block; color: var(--gold); font-size: 12px; margin-bottom: 3px; letter-spacing: 0.04em; }


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  section { padding: 72px 0; }
  nav .nav-links { display: none; }
  nav .nav-cta   { display: none; }
  .hamburger     { display: flex; }
  .mobile-drawer { display: block; }
  .top-bar { padding: 9px 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .pedigree-grid { grid-template-columns: 1fr; }
  .pedigree-header { grid-template-columns: 1fr; gap: 16px; }
  .founder-inner { grid-template-columns: 1fr; gap: 48px; }
  .portrait-frame { max-width: 280px; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-cards { grid-template-columns: repeat(3,1fr); }
  .store-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 16px; scrollbar-width: none; }
  .store-grid::-webkit-scrollbar { display: none; }
  .store-card { min-width: 280px; scroll-snap-align: start; flex-shrink: 0; }
  .store-top { grid-template-columns: 1fr; gap: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-feat { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pathways-grid { grid-template-columns: 1fr; }
  .form-body { padding: 32px 24px; }
  .form-head { padding: 32px 24px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 80px 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .fp-grid { grid-template-columns: repeat(2,1fr); }
  .hero-stats { gap: 20px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .dash-cards { grid-template-columns: 1fr 1fr; }
  .juz-grid { grid-template-columns: repeat(5,1fr); }
  .wa-tooltip { display: none; }
  .top-bar-left { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}

/* ═══════════════════════════════════════
   2026 BRAND KIT & UX POLISH OVERRIDES
═══════════════════════════════════════ */
section[id] {
  scroll-margin-top: 96px;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.drawer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo-img {
  height: 76px;
  width: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Fix tight/clipped discount cards across viewports */
.discounts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.disc-card {
  min-width: 0;
}
.disc-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .discounts-grid {
    grid-template-columns: 1fr;
  }
}

/* Clean native select arrows inside Placement Form (eliminates double arrows) */
.form-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23043927' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

/* Center placement card cleanly on all desktop widths */
.placement-wrap {
  margin-left: auto;
  margin-right: auto;
}

/* Consistent Journal Read More CTA & In-Page Article Reader Modal */
.blog-read-more {
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(2, 24, 16, 0.72);
  backdrop-filter: blur(6px);
  padding: 24px 16px;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
}
.article-modal.open {
  display: flex;
}
.article-modal-card {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  position: relative;
}
.article-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.article-modal-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--emerald);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-right: 10px;
}
.article-modal-meta {
  font-size: 12px;
  color: var(--charcoal-lite);
  font-weight: 500;
}
.article-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bone);
  color: var(--emerald);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.article-modal-close:hover {
  background: rgba(4, 57, 39, 0.1);
}
.article-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--emerald);
  line-height: 1.25;
  margin-bottom: 18px;
}
.article-modal-body p {
  font-size: 14.5px;
  color: var(--charcoal-mid);
  line-height: 1.78;
  margin-bottom: 14px;
}
.article-modal-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--emerald);
  margin: 20px 0 8px;
}
.article-modal-foot {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Keep Footer Contact link completely clear of floating WhatsApp button */
footer {
  padding-bottom: 92px;
}
.footer-bottom {
  padding-right: 84px;
}

/* Real Student Portal 2-Tab Live Screenshot Showcase */
.portal-tab-bar {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(4, 57, 39, 0.06);
}
.portal-tab-btn {
  border: none;
  background: transparent;
  color: var(--charcoal-mid);
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--t);
}
.portal-tab-btn:hover {
  color: var(--emerald);
}
.portal-tab-btn.active {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(4, 57, 39, 0.24);
}
.portal-shot-stage {
  background: #faf9f5;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.portal-shot-img {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(4, 57, 39, 0.08);
  box-shadow: 0 6px 24px rgba(4, 57, 39, 0.08);
}
.portal-shot-img.active {
  display: block;
}
.portal-shot-caption {
  padding: 16px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--charcoal-mid);
  line-height: 1.65;
  text-align: center;
}
.portal-shot-caption strong {
  color: var(--emerald);
}

/* Clean 3-column balanced Journal Grid for 6 articles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.blog-feat {
  grid-row: auto;
  grid-column: span 1;
}
.blog-feat .blog-img,
.blog-card .blog-img {
  height: 175px;
}
.blog-feat .blog-body {
  padding: 26px;
}
.blog-feat .blog-body h3 {
  font-size: 17px;
}
@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .article-modal-card {
    padding: 22px 20px;
  }
  .footer-bottom {
    padding-right: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM MODERN POLISH · SIGNATURE MOTTO · BILINGUAL JOURNAL · DU'A BOXES
═══════════════════════════════════════════════════════════════════════════ */

/* Navbar Signature Brand Stack */
.logo-brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  padding-left: 10px;
  border-left: 1px solid rgba(212, 175, 55, 0.35);
}
html[dir="rtl"] .logo-brand-stack {
  padding-left: 0;
  padding-right: 10px;
  border-left: none;
  border-right: 1px solid rgba(212, 175, 55, 0.35);
}
.logo-brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo-motto {
  font-family: 'Amiri', 'IBM Plex Sans Arabic', serif;
  font-size: 13px;
  font-weight: 700;
  color: #a88318;
  letter-spacing: 0;
  white-space: nowrap;
}
@media (max-width: 1060px) {
  .logo-brand-title { display: none; }
}
@media (max-width: 520px) {
  .logo-brand-stack { display: none; }
}

/* Royal Hero Motto Crest */
.hero-motto-crest {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
  padding: 10px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hmc-ar {
  font-family: 'Amiri', 'IBM Plex Sans Arabic', serif;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(212, 175, 55, 0.25);
}
.hmc-en {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* Footer Signature Motto */
.footer-motto {
  margin-top: 8px;
  font-family: 'Amiri', 'IBM Plex Sans Arabic', serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

/* Light-surface Language Toggle (Journal / Mobile Drawer / Modal) */
.lang-toggle-light {
  background: rgba(4, 57, 39, 0.06);
  border: 1px solid rgba(4, 57, 39, 0.18);
}
.lang-toggle-light .lang-btn {
  color: var(--emerald);
  opacity: 0.72;
}
.lang-toggle-light .lang-btn.active {
  background: var(--emerald);
  color: var(--gold-light);
  opacity: 1;
  box-shadow: 0 3px 10px rgba(4, 57, 39, 0.22);
}

/* Journal Controls & Category Filter Pills */
.journal-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.journal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.jf-btn {
  border: 1px solid rgba(4, 57, 39, 0.16);
  background: var(--white);
  color: var(--charcoal-mid);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  transition: var(--t);
  box-shadow: 0 2px 8px rgba(4, 57, 39, 0.04);
}
.jf-btn:hover {
  border-color: var(--gold);
  color: var(--emerald);
  transform: translateY(-1px);
}
.jf-btn.active {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%);
  color: var(--gold-light);
  border-color: var(--emerald);
  box-shadow: 0 6px 18px rgba(4, 57, 39, 0.22);
}

/* Jewel-tone Cover Gradients for Morning, Evening & Night Adhkar Articles */
.bi-4 {
  background: linear-gradient(135deg, #0b4a33 0%, #9b7320 55%, #d4af37 100%);
}
.bi-5 {
  background: linear-gradient(135deg, #07291e 0%, #1c3a57 58%, #8f6b24 100%);
}
.bi-6 {
  background: linear-gradient(135deg, #03150e 0%, #0b2c3d 55%, #164838 100%);
}

/* Mushaf-inspired Du'a Calligraphy Boxes Inside Article Reader Modal */
.dua-box {
  margin: 14px 0 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(150deg, #fcfaf2 0%, #f5efe0 100%);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-inline-start: 4px solid var(--emerald);
  box-shadow: 0 6px 20px rgba(4, 57, 39, 0.06);
}
.dua-ar {
  font-family: 'Amiri', 'IBM Plex Sans Arabic', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 2;
  color: var(--emerald);
  text-align: right;
  margin-bottom: 8px;
}
.dua-tr {
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
  color: #8a6914;
  margin-bottom: 6px;
}
.dua-en {
  font-size: 13.5px;
  color: var(--charcoal-mid);
  line-height: 1.65;
}

/* Modern Luxury Elevation & Subtle Gold Border Polish */
.ped-card,
.pathway-card,
.disc-card,
.blog-card,
.blog-feat {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease;
}
.ped-card:hover,
.pathway-card:hover,
.disc-card:hover,
.blog-card:hover,
.blog-feat:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 22px 54px rgba(4, 57, 39, 0.13);
}
.hero-card {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.25);
}

/* Full RTL Arabic Typography & Alignment Polish */
html[dir="rtl"] body,
html[dir="rtl"] .btn,
html[dir="rtl"] .section-title,
html[dir="rtl"] .hero h1,
html[dir="rtl"] .prog-hero-headline h2,
html[dir="rtl"] .discounts-head h2,
html[dir="rtl"] .cta-banner h2,
html[dir="rtl"] .article-modal-title,
html[dir="rtl"] .article-modal-body h4 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0 !important;
}
html[dir="rtl"] .eyebrow {
  letter-spacing: 0.04em;
  text-transform: none;
}
html[dir="rtl"] .hmc-en {
  letter-spacing: 0;
  text-transform: none;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 12.5px;
}
html[dir="rtl"] .blog-read-more svg {
  transform: rotate(180deg);
}
html[dir="rtl"] .article-modal-tag {
  margin-right: 0;
  margin-left: 10px;
}
html[dir="rtl"] .footer-bottom {
  padding-right: 0;
  padding-left: 84px;
}
@media (max-width: 600px) {
  html[dir="rtl"] .footer-bottom {
    padding-left: 0;
  }
}

/* Navbar Dual Action Group (Portal Login + Placement Evaluation) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-portal {
  background: transparent;
  color: var(--emerald);
  border: 1.5px solid rgba(4, 57, 39, 0.28);
  padding: 11px 20px;
  font-size: 12.5px;
  white-space: nowrap;
}
.btn-portal:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  color: var(--emerald);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .nav-actions { display: none; }
}
