/* ============================================
   AL-ABEER PRIVATE SCHOOLS — Premium Site CSS
   Brand: Dark Green #1B6B5A | Gold #C9A227 | White
   ============================================ */

:root {
  --green: #1B6B5A;
  --green-deep: #134B40;
  --green-darker: #0E3830;
  --gold: #C9A227;
  --gold-soft: #D4B250;
  --gold-deep: #B8860B;
  --cream: #F8F4E9;
  --paper: #FAF8F2;
  --ink: #0E2A24;
  --muted: #6B7B77;
  --line: rgba(27, 107, 90, 0.12);

  --f-arabic: 'Cairo', 'Tajawal', sans-serif;
  --f-display: 'Cormorant Garamond', 'Cairo', serif;
  --f-mono: 'JetBrains Mono', monospace;

  --container: 1320px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-card: 0 1px 2px rgba(14, 42, 36, 0.04), 0 12px 40px -12px rgba(14, 42, 36, 0.18);
  --shadow-hover: 0 4px 8px rgba(14, 42, 36, 0.06), 0 30px 60px -20px rgba(14, 42, 36, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-arabic);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
section { position: relative; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ============================================
   HEADER / NAV
   ============================================ */
.topbar {
  background: var(--green-darker);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar-info { display: flex; gap: 20px; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { width: 14px; height: 14px; color: var(--gold); }
.topbar-actions { display: flex; gap: 16px; align-items: center; }
.topbar-actions a:hover { color: var(--gold); }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 12px rgba(14, 42, 36, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; height: 100%; }
.nav-logo img { height: 64px; width: auto; max-width: 320px; object-fit: contain; }
.nav-logo .logo-square { display: none; height: 56px; }
.nav-logo .logo-wide { display: block; }
@media (max-width: 860px) {
  .nav-logo .logo-wide { display: none; }
  .nav-logo .logo-square { display: block; }
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--green-darker);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--r-sm);
  transition: color 0.2s;
}
.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px; right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.nav-menu a:hover { color: var(--green); }
.nav-menu a:hover::before { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  transition: all 0.2s;
}
.lang-toggle:hover { background: var(--green); color: white; border-color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  transition: all 0.25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 8px 20px -8px rgba(27, 107, 90, 0.5);
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(27, 107, 90, 0.6);
}
.btn-gold {
  background: var(--gold);
  color: var(--green-darker);
  box-shadow: 0 8px 20px -8px rgba(201, 162, 39, 0.5);
}
.btn-gold:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: white;
}
.btn-ghost:hover { background: white; color: var(--green); border-color: white; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 720px;
  background: linear-gradient(135deg, #0e3830 0%, #134B40 100%);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
}
.hero-bg-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.05);
}
.hero-bg-slide.active {
  opacity: 1;
  animation: hero-ken-burns 12s ease-out forwards;
}
@keyframes hero-ken-burns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2%, -1.5%); }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(14, 56, 48, 0.88) 0%, rgba(27, 107, 90, 0.78) 60%, rgba(14, 56, 48, 0.92) 100%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Hero slider */
.hero-slider {
  position: relative;
  min-height: 380px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}
.hero-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero h1 span[data-i18n] { display: block; margin-top: 18px; }
.hero h1 em { display: block; margin-top: 14px; }
.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  align-items: center;
}
.hero-dot {
  width: 28px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 4px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  background: var(--gold);
  width: 56px;
  box-shadow: 0 0 12px rgba(201,162,39,0.6);
}
.hero-dot:hover { background: rgba(255,255,255,0.5); }
.hero-dot.active:hover { background: var(--gold); }
.hero-emblem-bg {
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  color: rgba(201, 162, 39, 0.08);
  pointer-events: none;
  animation: floatY 8s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-20px); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
}
.hero h1 {
  font-family: var(--f-arabic);
  font-size: clamp(44px, 5.5vw, 76px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 .gold-accent {
  display: block;
  color: var(--gold);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.55em;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  opacity: 0.95;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  position: relative;
  padding: 44px 36px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-card-emblem-img {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
}
.hero-card-emblem {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  color: var(--gold);
}
.hero-card-title {
  text-align: center;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 500;
}
.hero-card-arabic {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
}
.hero-card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.35), transparent);
  margin: 0 0 28px;
}
.hero-card-meta { display: flex; justify-content: space-around; text-align: center; }
.hero-card-meta-item .num {
  display: block;
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hero-card-meta-item .lbl {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
}

/* Stats Bar */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: -70px;
  margin-bottom: 80px;
}
.stats-bar-inner {
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hover);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  overflow: hidden;
}
.stats-bar-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
}
.stat {
  text-align: center;
  padding: 16px 12px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%; bottom: 20%; left: 0;
  width: 1px;
  background: var(--line);
}
[dir="rtl"] .stat:not(:last-child)::after { left: auto; right: 0; }
.stat-num {
  font-family: var(--f-display);
  font-size: 56px;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num .plus { color: var(--gold); font-size: 0.7em; }
.stat-lbl {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  color: var(--green-darker);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.marquee-item .dot {
  width: 8px; height: 8px;
  background: var(--green-darker);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
[dir="rtl"] .marquee-track { animation-name: scrollRtl; }
@keyframes scrollRtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section { padding: 120px 0; }
.section-eyebrow {
  font-size: 22px !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-family: var(--f-display);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--f-arabic);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--green-darker);
}
.section-title em {
  font-style: normal;
  color: var(--gold-deep);
}
.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.75;
}
.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-head.center .section-eyebrow::before { display: none; }
.section-head.center .section-eyebrow { justify-content: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--paper);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14,56,48,0.15) 0%, rgba(14,56,48,0.45) 100%),
    url('https://images.unsplash.com/photo-1577896851231-70ef18881754?w=1400&q=80') center/cover;
  box-shadow: var(--shadow-hover);
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  pointer-events: none;
}
.about-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: var(--gold);
  color: var(--green-darker);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 40px -10px rgba(201, 162, 39, 0.6);
  border: 4px solid white;
  z-index: 2;
}
[dir="rtl"] .about-badge { right: auto; left: 28px; }
.about-badge .num {
  font-family: var(--f-display);
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
}
.about-badge .lbl { font-size: 19px; margin-top: 4px; }

.about-features {
  list-style: none;
  margin-top: 40px;
  display: grid;
  gap: 18px;
}
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.about-features li svg {
  flex-shrink: 0;
  width: 24px; height: 24px;
  color: var(--gold-deep);
  margin-top: 2px;
}
.about-quote {
  margin-top: 40px;
  padding: 24px 28px;
  border-right: 3px solid var(--gold);
  background: rgba(201, 162, 39, 0.06);
  border-radius: 8px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--green-darker);
}
[dir="ltr"] .about-quote { border-right: none; border-left: 3px solid var(--gold); }

/* ============================================
   WHY US
   ============================================ */
.why {
  background: var(--green-darker);
  color: white;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(201, 162, 39, 0.06) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(201, 162, 39, 0.05) 0%, transparent 35%);
  pointer-events: none;
}
.why .section-title { color: white; }
.why .section-eyebrow { color: var(--gold); }
.why .section-sub { color: rgba(255,255,255,0.75); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  position: relative;
  padding: 36px 32px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  transition: all 0.4s ease;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: left 0.7s ease;
}
.why-card:hover::before { left: 100%; }
.why-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-6px);
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.08) 0%, rgba(255,255,255,0.02) 100%);
}
.why-card-num {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 28px;
  font-weight: 500;
}
.why-card-icon {
  width: 56px; height: 56px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
  transition: all 0.3s;
}
.why-card:hover .why-card-icon {
  background: var(--gold);
  color: var(--green-darker);
  border-color: var(--gold);
}
.why-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
}
.why-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
}

/* ============================================
   STAGES
   ============================================ */
.stages { background: var(--paper); }
.stages-tabs-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 56px;
}
.stages-tabs {
  display: inline-flex;
  gap: 0;
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(14,56,48,0.05);
}
.stages-tab {
  border: 0;
  background: transparent;
  padding: 14px 32px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text);
  transition: all 0.3s ease;
  font-family: inherit;
}
.stages-tab-ar {
  font-family: var(--f-arabic);
  font-weight: 700;
  font-size: 18px;
}
.stages-tab-en {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.stages-tab:hover { background: rgba(14,56,48,0.04); }
.stages-tab.active {
  background: var(--green-darker);
  color: white;
  box-shadow: 0 6px 20px rgba(14,56,48,0.25);
}
.stages-tab.active .stages-tab-en { opacity: 0.85; color: var(--gold); }

.stages-grid[data-track="international"] .stage-card:not([data-tracks~="international"]) {
  display: none;
}
.stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stage-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4.2;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-card);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
}
.stage-card {
  background-size: cover;
  background-position: center;
}
.stage-card:nth-child(1) {
  background-image: linear-gradient(180deg, rgba(14, 56, 48, 0.35) 0%, rgba(14, 56, 48, 0.95) 100%),
                    url('https://images.unsplash.com/photo-1587654780291-39c9404d746b?w=900&q=80');
}
.stage-card:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(14, 56, 48, 0.35) 0%, rgba(14, 56, 48, 0.95) 100%),
                    url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=900&q=80');
}
.stage-card:nth-child(3) {
  background-image: linear-gradient(180deg, rgba(14, 56, 48, 0.35) 0%, rgba(14, 56, 48, 0.95) 100%),
                    url('https://images.unsplash.com/photo-1509062522246-3755977927d7?w=900&q=80');
}
.stage-card:nth-child(4) {
  background-image: linear-gradient(180deg, rgba(14, 56, 48, 0.35) 0%, rgba(14, 56, 48, 0.95) 100%),
                    url('https://images.unsplash.com/photo-1571260899304-425eee4c7efc?w=900&q=80');
}
.stage-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.stage-card-num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--f-display);
  font-size: 64px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
}
[dir="rtl"] .stage-card-num { right: auto; left: 28px; }
.stage-card-icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}
.stage-card h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.stage-card-age {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.stage-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 20px;
}
.stage-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: auto;
  transition: gap 0.2s;
}
.stage-card-link:hover { gap: 14px; }
.stage-card-link svg { width: 16px; height: 16px; }
[dir="rtl"] .stage-card-link svg { transform: scaleX(-1); }

/* ============================================
   ADMISSION TIMELINE
   ============================================ */
.admission { background: white; }
.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.admission-info { position: sticky; top: 120px; }
@media (max-width: 1100px) {
  .admission-info { position: static; top: auto; }
}
.admission-info .btn { margin-top: 32px; }
.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 8px; bottom: 8px;
  right: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201,162,39,0.2) 100%);
}
[dir="ltr"] .timeline::before { right: auto; left: 22px; }
.timeline-item {
  position: relative;
  padding-right: 64px;
  padding-bottom: 36px;
}
[dir="ltr"] .timeline-item { padding-right: 0; padding-left: 64px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  right: 8px;
  top: 4px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--gold-deep);
  font-size: 14px;
  z-index: 2;
}
[dir="ltr"] .timeline-dot { right: auto; left: 8px; }
.timeline-step {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--paper);
}
.test-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.test-side { display: grid; gap: 24px; }
.test-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  border: 1px solid var(--line);
}
.test-card.featured {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-darker) 100%);
  color: white;
  padding: 56px;
  border: none;
}
.test-card-quote {
  font-family: var(--f-display);
  font-size: 84px;
  line-height: 0.6;
  color: var(--gold);
  position: absolute;
  top: 32px; right: 40px;
  opacity: 0.5;
}
[dir="rtl"] .test-card-quote { right: auto; left: 40px; }
.test-card.featured .test-card-quote { color: var(--gold); opacity: 0.7; }
.test-card blockquote {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 28px;
  font-weight: 500;
}
.test-card.featured blockquote { font-size: 24px; line-height: 1.7; }
.test-author { display: flex; align-items: center; gap: 14px; }
.test-author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.test-card.featured .test-author-avatar { background: var(--gold); color: var(--green-darker); }
.test-author-name { font-weight: 800; font-size: 15px; }
.test-author-role {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.test-card.featured .test-author-role { color: rgba(255,255,255,0.7); }
.test-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--gold);
}

/* ============================================
   NEWS
   ============================================ */
.news { background: white; }
.news-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}
.news-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 162, 39, 0.3);
}
.news-card-img {
  aspect-ratio: 16/10;
  background-color: var(--green);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-card.featured .news-card-img { aspect-ratio: 16/12; }
.news-card-tag {
  font-size: 20px;
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--green-darker);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  z-index: 2;
}
[dir="rtl"] .news-card-tag { right: auto; left: 16px; }
.news-card-body { padding: 28px; flex-grow: 1; display: flex; flex-direction: column; }
.news-card.featured .news-card-body { padding: 36px; }
.news-card-meta {
  font-family: var(--f-display);
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.news-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-darker);
  line-height: 1.4;
  margin-bottom: 12px;
}
.news-card.featured h3 { font-size: 26px; line-height: 1.3; }
.news-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  margin-top: auto;
}
.news-card-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.news-card:hover .news-card-link svg { transform: translateX(4px); }
[dir="rtl"] .news-card:hover .news-card-link svg { transform: translateX(-4px); }

/* ============================================
   GALLERY
   ============================================ */
.gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s;
}
.gallery-item:hover { transform: scale(0.98); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }

.gallery-img {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,56,48,0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-content { color: white; }
.gallery-overlay-tag {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.gallery-overlay-title { font-size: 17px; font-weight: 800; }

/* ============================================
   VIDEOS
   ============================================ */
.videos { background: white; }
.btn-ghost-dark {
  background: transparent;
  color: var(--green-darker);
  border: 1.5px solid var(--green-darker);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}
.btn-ghost-dark:hover {
  background: var(--green-darker);
  color: white;
  transform: translateY(-2px);
}
.videos-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}
.videos-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.video-card {
  cursor: pointer;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(14,56,48,0.06);
  border: 1px solid var(--line);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(14,56,48,0.18);
}
.video-card:hover .video-play { transform: translate(-50%,-50%) scale(1.12); }
.video-card:hover .video-thumb-img { transform: scale(1.06); }
.video-card-featured .video-thumb { aspect-ratio: 16/10; }
.videos-side .video-card { flex-direction: row; align-items: stretch; }
.videos-side .video-thumb { aspect-ratio: auto; width: 180px; flex-shrink: 0; min-height: 110px; }
.videos-side .video-body { padding: 20px 22px; flex-grow: 1; display: flex; align-items: center; }
.videos-side .video-body h3 { font-size: 18px; line-height: 1.4; margin: 0; }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 0 rgba(201,162,39,0.5);
  transition: transform 0.4s ease;
  animation: video-pulse 2.4s infinite;
}
.video-card-featured .video-play { width: 96px; height: 96px; }
.video-play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-card-featured .video-play svg { width: 36px; height: 36px; }
@keyframes video-pulse {
  0%   { box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 0 rgba(201,162,39,0.5); }
  70%  { box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 22px rgba(201,162,39,0); }
  100% { box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 0 rgba(201,162,39,0); }
}
.video-duration {
  position: absolute;
  bottom: 14px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  background: rgba(14, 56, 48, 0.85);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(6px);
  right: 14px;
}
[dir="rtl"] .video-duration { right: auto; left: 14px; }
.video-tag {
  position: absolute;
  top: 14px;
  font-size: 18px;
  font-weight: 700;
  background: var(--gold);
  color: var(--green-darker);
  padding: 6px 14px;
  border-radius: 999px;
  right: 14px;
}
[dir="rtl"] .video-tag { right: auto; left: 14px; }
.video-body { padding: 24px 26px 28px; }
.video-card-featured .video-body { padding: 32px 32px 36px; }
.video-body h3 {
  font-family: var(--f-arabic);
  font-size: 26px;
  font-weight: 700;
  color: var(--green-darker);
  margin-bottom: 10px;
  line-height: 1.4;
}
.video-card-featured .video-body h3 { font-size: 32px; }
.video-body p {
  color: var(--text-light);
  line-height: 1.75;
  font-size: 15px;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.video-modal.open { opacity: 1; pointer-events: auto; }
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
}
.video-modal-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  background: #000;
}
.video-modal-frame iframe { width: 100%; height: 100%; }
.video-modal-close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.video-modal-close svg { width: 22px; height: 22px; }
.video-modal-close:hover { background: var(--gold); color: var(--green-darker); transform: rotate(90deg); }
[dir="rtl"] .video-modal-close { right: auto; left: 0; }

@media (max-width: 980px) {
  .videos-grid { grid-template-columns: 1fr; }
  .videos-side .video-card { flex-direction: column; }
  .videos-side .video-thumb { width: 100%; aspect-ratio: 16/9; }
}

/* ============================================
   TRANSPORT SECTION (تطبيق التوصيل المدرسي)
   ============================================ */
.transport-section {  background: linear-gradient(180deg, #FAF6EE 0%, white 100%);
}

.transport-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: linear-gradient(135deg, #0E4A3D 0%, #1B6B5A 50%, #144F44 100%);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(14, 74, 61, 0.45);
  min-height: 560px;
}

.transport-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.transport-pattern svg { width: 100%; height: 100%; }

/* Visual side */
.transport-visual {
  position: relative;
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,162,39,0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(201,162,39,0.10), transparent 50%);
}

.transport-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  opacity: 0.35;
  pointer-events: none;
  animation: slow-spin 60s linear infinite;
}
.transport-emblem svg { width: 100%; height: 100%; }

@keyframes slow-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.bus-illustration {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
  animation: bus-bounce 4s ease-in-out infinite;
}
.bus-illustration svg { width: 100%; height: auto; display: block; }

@keyframes bus-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Floating pills */
.float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  color: var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.3);
  z-index: 3;
  white-space: nowrap;
}
.float-pill-1 {
  top: 18%;
  inset-inline-start: 6%;
  animation: float-1 5s ease-in-out infinite;
}
.float-pill-2 {
  bottom: 22%;
  inset-inline-end: 8%;
  animation: float-2 5s ease-in-out infinite 1s;
}
@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.pill-dot-gold {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.25);
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0.05); }
}

/* Content side */
.transport-content {
  position: relative;
  padding: 70px 60px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.transport-content .section-eyebrow {
  color: var(--gold);
}
.transport-content .section-eyebrow::before,
.transport-content .section-eyebrow::after {
  background: var(--gold);
}

.section-title-light {
  color: white;
  margin-bottom: 20px;
}
.section-title-light em {
  color: var(--gold);
  font-style: normal;
}

.transport-sub {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 480px;
}

.transport-features {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.transport-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.tf-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tf-icon svg { width: 20px; height: 20px; }
.transport-features li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
}
.transport-features strong {
  color: white;
  font-size: 16px;
  font-weight: 800;
}
.transport-features span {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* Download buttons */
.transport-downloads {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.25s ease;
  min-width: 180px;
}
.dl-btn-ios {
  background: white;
  color: var(--ink);
}
.dl-btn-ios:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(0,0,0,0.4);
}
.dl-btn-android {
  background: var(--gold);
  color: var(--ink);
}
.dl-btn-android:hover {
  transform: translateY(-3px);
  background: #D9B233;
  box-shadow: 0 14px 30px -8px rgba(201,162,39,0.5);
}
.dl-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: start;
}
.dl-text small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.75;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.dl-text span {
  font-size: 16px;
  font-weight: 800;
}

/* Meta row */
.transport-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.rating-badge strong { color: white; font-weight: 800; }
.rating-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}
.meta-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 960px) {
  .transport-card {
    grid-template-columns: 1fr;
  }
  .transport-visual {
    padding: 50px 30px 30px;
    min-height: 380px;
  }
  .transport-emblem {
    width: 360px;
    height: 360px;
  }
  .transport-content {
    padding: 40px 30px 50px;
  }
}
@media (max-width: 560px) {
  .transport-card {
    border-radius: 22px;
    min-height: auto;
  }
  .transport-visual { padding: 40px 20px 20px; }
  .transport-content { padding: 30px 24px 40px; }
  .float-pill { font-size: 11px; padding: 8px 12px; }
  .float-pill-1 { top: 12%; inset-inline-start: 4%; }
  .float-pill-2 { bottom: 14%; inset-inline-end: 4%; }
  .dl-btn { min-width: 100%; }
  .transport-features strong { font-size: 15px; }
}

/* ============================================
   FAQ
   ============================================ */
.faq { background: white; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-darker);
  text-align: right;
  transition: color 0.2s;
}
[dir="ltr"] .faq-q { text-align: left; }
.faq-q:hover { color: var(--gold-deep); }
.faq-icon {
  width: 32px; height: 32px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  margin-inline-start: 16px;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--green);
  transition: transform 0.3s;
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; }
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
}
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--green-darker); }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 24px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  background:
    linear-gradient(135deg, rgba(14, 56, 48, 0.94) 0%, rgba(27, 107, 90, 0.88) 50%, rgba(184, 134, 11, 0.78) 100%),
    url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?w=2000&q=80') center/cover;
  color: white;
  overflow: hidden;
  padding: 110px 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.2) 0%, transparent 40%);
  pointer-events: none;
}
.cta-banner-emblem {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
}
[dir="rtl"] .cta-banner-emblem { left: auto; right: 5%; }
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta-content h2 {
  font-family: var(--f-arabic);
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.cta-content h2 em {
  font-style: normal;
  color: var(--gold);
}
.cta-content p {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-darker);
  color: rgba(255,255,255,0.7);
  padding: 100px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 64px;
}
.footer-col h4 {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-brand-logo img { height: 64px; width: auto; }
.footer-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: white;
  display: block;
}
.footer-brand-en {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: block;
  margin-top: 2px;
}
.footer-col p {
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col ul a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-col ul a::before {
  content: '';
  width: 6px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14.5px;
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--green-darker);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Mobile bottom navbar */
.mobile-bottombar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: linear-gradient(180deg, var(--green-darker) 0%, #0a3329 100%);
  border-top: 1px solid rgba(201,162,39,0.2);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 28px rgba(0,0,0,0.18);
  justify-content: space-around;
  align-items: stretch;
  gap: 4px;
}
.mb-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.mb-item svg { width: 22px; height: 22px; }
.mb-item:hover, .mb-item.active {
  color: var(--gold);
  background: rgba(201,162,39,0.08);
}
.mb-item.active svg { stroke: var(--gold); }
.mb-item.mb-home {
  background: transparent !important;
}
.mb-home-disc {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold) 0%, #b89020 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -22px;
  box-shadow: 0 8px 22px rgba(201,162,39,0.45), 0 0 0 4px var(--green-darker);
  transition: all 0.3s ease;
}
.mb-home-disc img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}
.mb-item.mb-home.active .mb-home-disc {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(201,162,39,0.6), 0 0 0 4px var(--green-darker);
}
.mb-item.mb-home.active { color: var(--gold); }
@media (max-width: 1100px) {
  .mobile-bottombar { display: flex; }
  body { padding-bottom: 78px; }
}
/* End mobile bottombar */


@media (max-width: 1100px) {
  .hero-grid, .about-grid, .admission-grid, .faq-grid { grid-template-columns: 1fr; gap: 56px; }
  .why-grid, .stages-grid, .news-grid, .test-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .nav-cta .btn-primary { display: inline-flex; padding: 8px 14px; font-size: 13px; }
  .nav-cta .lang-toggle { padding: 8px 12px; }
  .nav-burger { display: none !important; }
  .nav-menu {
    display: none;
    position: fixed !important;
    top: 72px;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw;
    background: white;
    flex-direction: column !important;
    align-items: stretch;
    padding: 24px 20px;
    gap: 4px;
    box-shadow: 0 12px 32px rgba(14,56,48,0.12);
    overflow-y: auto;
    z-index: 999;
    height: calc(100vh - 72px);
  }
  .nav-menu.open { display: flex !important; }
  .nav-menu a {
    padding: 16px 20px;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }
  .test-card.featured { padding: 36px; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .test-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile horizontal sliders for content sections */
  .why-grid, .stages-grid, .news-grid, .gallery-grid, .videos-grid, .videos-side {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 20px;
    padding: 4px 20px 24px;
    margin: 0 -20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .why-grid::-webkit-scrollbar,
  .stages-grid::-webkit-scrollbar,
  .news-grid::-webkit-scrollbar,
  .gallery-grid::-webkit-scrollbar,
  .videos-grid::-webkit-scrollbar,
  .videos-side::-webkit-scrollbar { display: none; }
  .why-grid > .why-card,
  .stages-grid > .stage-card,
  .news-grid > .news-card,
  .videos-grid > .video-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: start;
  }
  .gallery-grid > .gallery-item {
    flex: 0 0 70%;
    max-width: 280px;
    aspect-ratio: 4/5;
    scroll-snap-align: start;
  }
  /* Videos section: featured + 3 small all become a single horizontal scroll */
  .videos-grid {
    flex-direction: row;
  }
  .videos-side {
    display: contents; /* unwrap so each child becomes a slide */
  }
  .videos-side > .video-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: start;
    flex-direction: column;
  }
  .videos-side .video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    min-height: auto;
  }
  .videos-side .video-body {
    padding: 20px 22px 24px;
    display: block;
  }
  /* keep international filter working */
  .stages-grid[data-track="international"] .stage-card:not([data-tracks~="international"]) {
    display: none;
  }
  /* override gallery grid-row/col spans on mobile */
  .gallery-item:nth-child(1), .gallery-item:nth-child(4), .gallery-item:nth-child(6) {
    grid-column: auto; grid-row: auto;
  }
  .topbar { display: none; }
  .hero { min-height: auto; padding: 56px 0 80px; }
  .hero h1 { font-size: 40px; }
  .stats-bar { margin-top: -40px; }
  .stat-num { font-size: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  /* Stages tabs on mobile */
  .stages-tab { padding: 12px 22px; }
  .stages-tab-ar { font-size: 16px; }
  .stages-tab-en { font-size: 10px; }
  /* Videos modal */
  .video-modal { padding: 16px; }
  .video-modal-close { top: -52px; }
}
