/* ============================================
   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(180deg, #ffffff 0%, #fdfaf1 100%);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -20px rgba(14,56,48,0.45), 0 0 0 1px rgba(201,162,39,0.1);
  color: var(--green-darker);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 2px;
  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(184,134,11,0.18));
}
.hero-card-emblem {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  color: var(--gold-deep);
}
.hero-card-title {
  text-align: center;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
  font-weight: 600;
}
.hero-card-arabic {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--green-darker);
}
.hero-card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.45), 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-deep);
  line-height: 1;
}
.hero-card-meta-item .lbl {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  color: var(--muted);
  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); }

/* ============================================
   PAGE BANNER — for inner pages
   ============================================ */
.page-banner {
  position: relative;
  padding: 100px 0 80px;
  background:
    linear-gradient(135deg, rgba(14, 56, 48, 0.92) 0%, rgba(27, 107, 90, 0.85) 60%, rgba(14, 56, 48, 0.95) 100%),
    url('assets/school-building.png') center/cover;
  color: white;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.page-banner.banner-img-stages {
  background-image:
    linear-gradient(135deg, rgba(14, 56, 48, 0.88) 0%, rgba(27, 107, 90, 0.82) 60%, rgba(14, 56, 48, 0.95) 100%),
    url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=2000&q=80');
}
.page-banner.banner-img-admission {
  background-image:
    linear-gradient(135deg, rgba(14, 56, 48, 0.9) 0%, rgba(184, 134, 11, 0.65) 100%),
    url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?w=2000&q=80');
}
.page-banner.banner-img-news {
  background-image:
    linear-gradient(135deg, rgba(14, 56, 48, 0.9) 0%, rgba(27, 107, 90, 0.82) 100%),
    url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=2000&q=80');
}
.page-banner.banner-img-videos {
  background-image:
    linear-gradient(135deg, rgba(14, 56, 48, 0.92) 0%, rgba(14, 56, 48, 0.88) 100%),
    url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=2000&q=80');
}
.page-banner.banner-img-gallery {
  background-image:
    linear-gradient(135deg, rgba(14, 56, 48, 0.88) 0%, rgba(27, 107, 90, 0.82) 100%),
    url('https://images.unsplash.com/photo-1562774053-701939374585?w=2000&q=80');
}
.page-banner.banner-img-contact {
  background-image:
    linear-gradient(135deg, rgba(14, 56, 48, 0.92) 0%, rgba(184, 134, 11, 0.55) 100%),
    url('https://images.unsplash.com/photo-1577896851231-70ef18881754?w=2000&q=80');
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  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.10) 0%, transparent 50%);
  pointer-events: none;
}
.page-banner-emblem {
  position: absolute;
  top: 50%;
  inset-inline-end: -120px;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.06;
  pointer-events: none;
}
.page-banner-emblem img { width: 100%; height: 100%; object-fit: contain; }
.page-banner > .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}
.page-banner .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.page-banner .breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.page-banner .breadcrumb a:hover { color: var(--gold); }
.page-banner .breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }
[dir="rtl"] .page-banner .breadcrumb svg,
[dir="rtl"] .article-breadcrumb svg { transform: scaleX(-1); }
.article-breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; color: var(--muted); }

.page-banner h1 {
  font-family: var(--f-arabic);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: white;
}
.page-banner 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;
}
.page-banner p {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto;
}

/* Highlight active nav link */
.nav-menu a.current,
.nav-menu a[aria-current="page"] {
  color: var(--green);
}
.nav-menu a.current::before,
.nav-menu a[aria-current="page"]::before {
  transform: scaleX(1);
}

@media (max-width: 720px) {
  .page-banner { padding: 64px 0 56px; min-height: 280px; }
  .page-banner h1 { font-size: 36px; }
  .page-banner p { font-size: 15px; }
  .page-banner-emblem { width: 320px; height: 320px; inset-inline-end: -80px; opacity: 0.04; }
}
/* ============================================
   ACCREDITATIONS GRID
   ============================================ */
.accreditations { background: var(--paper); }
.accred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.accred-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.3s ease;
}
.accred-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}
.accred-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.accred-icon svg { width: 28px; height: 28px; }
.accred-card strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 6px;
}
.accred-card span {
  font-size: 14px;
  color: var(--muted);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison { background: white; }
.compare-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.compare-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  background: var(--green-darker);
  color: white;
}
.compare-header > div {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
}
.compare-header > .compare-h-us {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--green-darker);
  position: relative;
}
.compare-header > .compare-h-us::before {
  content: '⭐';
  position: absolute;
  top: -10px;
  right: 50%;
  transform: translateX(50%);
  background: var(--green-darker);
  color: var(--gold);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.compare-h img {
  width: 32px; height: 32px;
  object-fit: contain;
}
.compare-h svg { width: 22px; height: 22px; opacity: 0.6; }

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-top: 1px solid var(--line);
}
.compare-row:nth-child(even) { background: var(--paper); }
.compare-label {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--green-darker);
  background: rgba(27, 107, 90, 0.04);
  display: flex;
  align-items: center;
}
.compare-cell {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 15px;
}
.compare-cell.good {
  color: var(--green-darker);
  background: rgba(201, 162, 39, 0.06);
  font-weight: 800;
  position: relative;
}
.compare-cell.good::before {
  content: '✓';
  margin-inline-end: 8px;
  color: var(--gold-deep);
  font-weight: 900;
}
.compare-cell.muted {
  color: var(--muted);
  opacity: 0.75;
}

@media (max-width: 720px) {
  .accred-grid { grid-template-columns: 1fr; }
  .compare-header, .compare-row { grid-template-columns: 1fr; }
  .compare-label {
    background: var(--green-darker);
    color: white;
    font-size: 13px;
    padding: 14px 20px;
  }
  .compare-cell {
    padding: 14px 20px;
    justify-content: flex-start;
    text-align: start;
  }
  .compare-cell.good {
    background: rgba(201, 162, 39, 0.12);
    border-inline-start: 4px solid var(--gold);
  }
  .compare-cell:not(.good)::before {
    content: 'المدرسة التقليدية';
    margin-inline-end: 8px;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(0,0,0,0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
  }
  .compare-cell.good::before {
    content: '✓ العبير';
    color: var(--gold-deep);
    margin-inline-end: 8px;
    background: rgba(201,162,39,0.15);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
  }
  .compare-header > div { padding: 16px; font-size: 14px; }
}

/* End accreditations + comparison */

/* ============================================
   STAGE DETAIL SECTIONS
   ============================================ */
.stage-detail { background: white; padding: 90px 0; }
.stage-detail-alt { background: var(--paper); }
.stage-detail-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}
.stage-detail-grid.reversed { direction: ltr; }
[dir="rtl"] .stage-detail-grid.reversed { direction: rtl; }
.stage-detail-grid.reversed .stage-detail-visual { order: 2; }
.stage-detail-grid.reversed .stage-detail-text { order: 1; }
.stage-detail-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-hover);
}
.stage-detail-label {
  position: absolute;
  top: 24px;
  inset-inline-start: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(201,162,39,0.4);
}
.stage-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0;
}
.stage-fact {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stage-detail-alt .stage-fact { background: white; }
.stage-fact strong {
  display: block;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.stage-fact span {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--green-darker);
}
.stage-sub-title {
  font-family: var(--f-arabic);
  font-size: 19px;
  font-weight: 800;
  color: var(--green-darker);
  margin: 24px 0 14px;
}
.stage-bullets {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.stage-bullets li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
}
.stage-bullets li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.15);
}

/* ============================================
   DAILY LIFE TIMELINE
   ============================================ */
.daily-life { background: var(--green-darker); color: white; padding: 100px 0; }
.daily-life::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;
}
.daily-life .section-title { color: white; }
.daily-life .section-eyebrow { color: var(--gold); }
.daily-life .section-sub { color: rgba(255,255,255,0.75); }
.day-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  position: relative;
}
.day-timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.3), rgba(201,162,39,0.3), transparent);
}
.day-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
}
.day-time {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}
.day-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green-darker);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.day-icon svg { width: 22px; height: 22px; }
.day-step strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
.day-step span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .stage-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .stage-detail-grid.reversed .stage-detail-visual { order: 0; }
  .stage-detail-grid.reversed .stage-detail-text { order: 1; }
  .day-timeline { grid-template-columns: 1fr; gap: 0; }
  .day-timeline::before { display: none; }
  .day-step {
    flex-direction: row;
    text-align: start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .day-time { font-size: 18px; margin-bottom: 0; min-width: 56px; }
  .day-icon { margin-bottom: 0; flex-shrink: 0; }
  .day-step strong { margin-bottom: 2px; }
}
@media (max-width: 720px) {
  .stage-facts { grid-template-columns: 1fr; }
}
/* End stages */

/* ============================================
   DOCS GRID
   ============================================ */
.docs-section { background: var(--paper); }
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.3s ease;
}
.doc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,39,0.4);
  box-shadow: var(--shadow-hover);
}
.doc-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,162,39,0.1), rgba(201,162,39,0.05));
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.doc-icon svg { width: 32px; height: 32px; }
.doc-card strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 6px;
}
.doc-card span {
  font-size: 14px;
  color: var(--muted);
}

/* ============================================
   TUITION CARDS
   ============================================ */
.tuition-section { background: white; }
.tuition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.tuition-card {
  position: relative;
  padding: 40px 32px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.tuition-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.tuition-card.featured {
  background: linear-gradient(160deg, var(--green-darker) 0%, var(--green-deep) 100%);
  color: white;
  border-color: var(--gold);
  box-shadow: 0 24px 60px -20px rgba(14,56,48,0.5);
  transform: translateY(-12px);
}
.tuition-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--green-darker);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 18px rgba(201,162,39,0.4);
  white-space: nowrap;
}
.tuition-tag {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.tuition-card.featured .tuition-tag { color: var(--gold); }
.tuition-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 18px;
}
.tuition-card.featured h3 { color: white; }
.tuition-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.tuition-card.featured .tuition-price { border-bottom-color: rgba(255,255,255,0.15); }
.price-currency {
  font-family: var(--f-display);
  font-size: 16px;
  color: var(--gold-deep);
  font-weight: 600;
}
.tuition-card.featured .price-currency { color: var(--gold); }
.price-num {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--green-darker);
  letter-spacing: -0.02em;
  line-height: 1;
}
.tuition-card.featured .price-num { color: white; }
.price-period {
  font-size: 14px;
  color: var(--muted);
}
.tuition-card.featured .price-period { color: rgba(255,255,255,0.6); }
.tuition-features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  flex-grow: 1;
}
.tuition-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}
.tuition-card.featured .tuition-features li { color: rgba(255,255,255,0.88); }
.tuition-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201,162,39,0.15);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}
.tuition-card.featured .tuition-features li::before {
  background: var(--gold);
  color: var(--green-darker);
}

.tuition-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  padding: 22px 28px;
  background: linear-gradient(90deg, rgba(201,162,39,0.08), rgba(201,162,39,0.02));
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}
.tuition-note svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--gold-deep);
}
.tuition-note strong { color: var(--green-darker); }

/* ============================================
   IMPORTANT DATES
   ============================================ */
.dates-section { background: var(--paper); }
.dates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.date-card {
  background: white;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all 0.3s ease;
}
.date-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.date-card.highlight {
  background: linear-gradient(160deg, var(--gold) 0%, #b89020 100%);
  color: var(--green-darker);
  border-color: var(--gold);
  box-shadow: 0 14px 40px -12px rgba(201,162,39,0.5);
}
.date-month {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.date-card.highlight .date-month { color: var(--green-darker); opacity: 0.85; }
.date-day {
  font-family: var(--f-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--green-darker);
  margin-bottom: 14px;
}
.date-card.highlight .date-day { color: var(--green-darker); }
.date-card strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 4px;
}
.date-card span {
  font-size: 13px;
  color: var(--muted);
}
.date-card.highlight strong, .date-card.highlight span { color: var(--green-darker); }

/* ============================================
   APPLY FORM
   ============================================ */
.apply-form-section { background: white; }
.apply-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.apply-contact {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}
.apply-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.apply-contact-item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold-deep);
}
.apply-contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.apply-contact-item span {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-darker);
}

.apply-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 18px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-darker);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: white;
  transition: all 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.12);
}
.form-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
  font-size: 16px;
  padding: 16px 24px;
}
.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.form-note a { color: var(--gold-deep); text-decoration: underline; }

@media (max-width: 960px) {
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .tuition-grid { grid-template-columns: 1fr; }
  .tuition-card.featured { transform: none; }
  .dates-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .docs-grid { grid-template-columns: 1fr; }
  .dates-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .apply-form { padding: 28px 20px; }
}
/* End admission */

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-quick { background: white; padding-bottom: 60px; }
.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.quick-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: white;
  box-shadow: var(--shadow-hover);
}
.quick-card-whatsapp {
  background: linear-gradient(160deg, rgba(34,197,94,0.08), rgba(34,197,94,0.02));
  border-color: rgba(34,197,94,0.3);
}
.quick-card-whatsapp:hover {
  background: linear-gradient(160deg, rgba(34,197,94,0.15), rgba(34,197,94,0.05));
  border-color: rgba(34,197,94,0.6);
}
.quick-card-whatsapp .quick-icon {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
}
.quick-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,162,39,0.12), rgba(201,162,39,0.05));
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.quick-icon svg { width: 26px; height: 26px; }
.quick-card strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 6px;
}
.quick-card > span {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 600;
}
.quick-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--green-darker);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  transition: all 0.2s ease;
}
.quick-card:hover .quick-cta {
  background: var(--gold);
  color: var(--green-darker);
}
.quick-card-whatsapp .quick-cta { background: #22c55e; }
.quick-card-whatsapp:hover .quick-cta { background: #16a34a; color: white; }

/* Departments */
.dept-section { background: var(--paper); }
.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dept-card {
  background: white;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
  transition: all 0.3s ease;
}
.dept-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 32px;
  bottom: 32px;
  width: 4px;
  background: var(--gold);
  border-radius: 0 4px 4px 0;
}
[dir="ltr"] .dept-card::before { border-radius: 4px 0 0 4px; }
.dept-card:hover {
  border-color: rgba(201,162,39,0.4);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.dept-tag {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.dept-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 4px;
}
.dept-role {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.dept-contacts {
  display: grid;
  gap: 10px;
}
.dept-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}
.dept-contact-line svg {
  width: 18px;
  height: 18px;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.dept-contact-line span { font-weight: 600; }

/* Form + Map */
.form-map-section { background: white; }
.form-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form-wrap .apply-form { margin-top: 32px; }

.map-wrap {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--paper);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-info {
  padding: 28px 32px 32px;
}
.map-info h4 {
  font-family: var(--f-arabic);
  font-size: 20px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 18px;
}
.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.map-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-deep);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Social CTA */
.social-cta { background: white; }
.social-cta-card {
  background: linear-gradient(135deg, var(--green-darker) 0%, var(--green-deep) 100%);
  border-radius: var(--r-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.social-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(201, 162, 39, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.social-cta-text { position: relative; z-index: 2; }
.social-cta-text .section-eyebrow { color: var(--gold); }
.social-cta-text .section-eyebrow::before { background: var(--gold); }
.social-cta-text .transport-sub { color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.85; margin-top: 16px; }
.social-cta-links {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}
.social-link:hover {
  background: var(--gold);
  color: var(--green-darker);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.social-link svg { width: 22px; height: 22px; flex-shrink: 0; }

@media (max-width: 960px) {
  .contact-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: 1fr; }
  .form-map-grid { grid-template-columns: 1fr; }
  .social-cta-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
}
@media (max-width: 720px) {
  .contact-quick-grid { grid-template-columns: 1fr; }
  .social-cta-links { grid-template-columns: 1fr; }
}
/* End contact */

/* ============================================
   LISTING PAGES (news, gallery, videos)
   ============================================ */
.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green-darker);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.chip:hover { border-color: var(--gold); background: rgba(201,162,39,0.06); }
.chip.active {
  background: var(--green-darker);
  border-color: var(--green-darker);
  color: white;
}
.chip.active span {
  background: var(--gold);
  color: var(--green-darker);
}

.listing-search {
  position: relative;
  display: flex;
  align-items: center;
}
.listing-search svg {
  position: absolute;
  inset-inline-start: 16px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.listing-search input {
  padding: 12px 48px 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14.5px;
  width: 280px;
  background: white;
  transition: all 0.2s ease;
}
[dir="rtl"] .listing-search input { padding: 12px 48px 12px 18px; }
.listing-search input:focus {
  outline: none;
  border-color: var(--gold);
  width: 320px;
  box-shadow: 0 0 0 4px rgba(201,162,39,0.12);
}

/* Featured news card */
.featured-news {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: white;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}
.featured-news:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201,162,39,0.4);
}
.featured-news-img {
  position: relative;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.featured-pill {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  background: linear-gradient(135deg, var(--gold) 0%, #b89020 100%);
  color: var(--green-darker);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(201,162,39,0.4);
}
.featured-news-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-news-body h2 {
  font-family: var(--f-arabic);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--green-darker);
  margin: 14px 0 16px;
  transition: color 0.2s;
}
.featured-news:hover .featured-news-body h2 { color: var(--gold-deep); }
.featured-news-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 24px;
}
.featured-news-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-darker);
  font-weight: 800;
  font-size: 15px;
  transition: gap 0.2s ease;
}
.featured-news-cta svg { width: 16px; height: 16px; }
[dir="rtl"] .featured-news-cta svg { transform: scaleX(-1); }
.featured-news:hover .featured-news-cta { gap: 14px; color: var(--gold-deep); }

/* News grid (listing - 3 cols) */
.news-grid-full {
  grid-template-columns: repeat(3, 1fr);
}
.news-card a.news-card-img {
  display: block;
  text-decoration: none;
}
.news-card h3 a {
  color: inherit;
  text-decoration: none;
}
.news-card h3 a:hover { color: var(--gold-deep); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.page-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: white;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--green-darker);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page-btn svg { width: 18px; height: 18px; }
[dir="rtl"] .page-btn svg { transform: scaleX(-1); }
.page-btn:hover:not(:disabled) {
  background: var(--green-darker);
  color: white;
  border-color: var(--green-darker);
}
.page-btn.active {
  background: var(--gold);
  color: var(--green-darker);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(201,162,39,0.4);
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-dots { color: var(--muted); font-weight: 700; padding: 0 6px; }

@media (max-width: 960px) {
  .featured-news { grid-template-columns: 1fr; }
  .featured-news-body { padding: 32px; }
  .news-grid-full { grid-template-columns: repeat(2, 1fr); }
  .listing-toolbar { gap: 16px; }
  .listing-search input { width: 100%; }
}
@media (max-width: 720px) {
  .news-grid-full { grid-template-columns: 1fr; }
  .listing-toolbar { flex-direction: column; align-items: stretch; }
  .filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    margin: 0 -20px;
    padding: 0 20px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .listing-search { width: 100%; }
  .listing-search input, .listing-search input:focus { width: 100%; }
  .pagination { gap: 4px; }
  .page-btn { width: 40px; height: 40px; }
}
/* End listing */

/* ============================================
   ARTICLE DETAIL PAGE
   ============================================ */
.article-head {
  background: var(--paper);
  padding: 50px 0 32px;
}
.article-breadcrumb {
  margin-bottom: 32px;
  color: var(--muted) !important;
  font-size: 12px !important;
}
.article-breadcrumb a { color: var(--muted) !important; }
.article-breadcrumb a:hover { color: var(--gold-deep) !important; }
.article-breadcrumb span { color: var(--green-darker); font-weight: 700; }

.article-tag-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--muted);
}
.article-tag-row .news-card-tag {
  font-size: 13px !important;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--green-darker);
  border-radius: 999px;
  font-weight: 800;
}
.article-date, .article-read { color: var(--muted); font-weight: 600; }
.article-dot { color: rgba(0,0,0,0.2); }

.article-title {
  font-family: var(--f-arabic);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--green-darker);
  margin-bottom: 20px;
  max-width: 920px;
}
.article-lead {
  font-size: 19px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 820px;
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-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;
}
.article-author strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--green-darker);
}
.article-author span {
  font-size: 13px;
  color: var(--muted);
}
.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-share > span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  margin-inline-end: 6px;
}
.article-share a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-darker);
  transition: all 0.2s ease;
}
.article-share a svg { width: 16px; height: 16px; }
.article-share a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-darker);
  transform: translateY(-2px);
}

/* Hero image */
.article-hero-img {
  width: 100%;
  aspect-ratio: 16/8;
  background-size: cover;
  background-position: center;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hover);
  margin: 32px 0 0;
}

/* Article body section */
.article-body-section { padding: 60px 0 90px; background: white; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

.article-content {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  max-width: 760px;
}
.article-content p { margin-bottom: 1.5em; }
.article-content h2 {
  font-family: var(--f-arabic);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--green-darker);
  margin: 2em 0 0.7em;
}
.article-content h3 {
  font-family: var(--f-arabic);
  font-size: 22px;
  font-weight: 800;
  color: var(--green-darker);
  margin: 1.6em 0 0.6em;
}
.article-content ul {
  margin: 1em 0 1.5em 0;
  padding-inline-start: 0;
  list-style: none;
}
.article-content ul li {
  position: relative;
  padding-inline-start: 28px;
  margin-bottom: 12px;
  line-height: 1.8;
}
.article-content ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.15);
}
.article-content ul li strong { color: var(--green-darker); }

.article-content blockquote {
  position: relative;
  margin: 2em 0;
  padding: 28px 32px 28px 60px;
  background: linear-gradient(135deg, rgba(201,162,39,0.08) 0%, rgba(201,162,39,0.02) 100%);
  border-inline-start: 4px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
[dir="ltr"] .article-content blockquote { border-radius: var(--r-md) 0 0 var(--r-md); }
.article-content blockquote::before {
  content: '"';
  position: absolute;
  top: 0;
  inset-inline-start: 18px;
  font-family: var(--f-display);
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.article-content blockquote p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.6;
  color: var(--green-darker);
  margin-bottom: 12px;
  font-weight: 500;
}
.article-content blockquote cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-deep);
  font-family: var(--f-arabic);
}

.article-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 2em 0;
  padding: 28px;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.article-stat {
  text-align: center;
}
.article-stat strong {
  display: block;
  font-family: var(--f-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 6px;
}
.article-stat span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}

.article-img-block {
  position: relative;
  width: calc(100% + 80px);
  margin: 2em -40px;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  border-radius: var(--r-md);
  overflow: hidden;
}
.article-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(14,56,48,0.9), transparent);
  color: white;
  padding: 36px 28px 20px;
  font-size: 14px;
  font-weight: 600;
}

.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 32px 0 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.article-tags-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-inline-end: 6px;
}
.article-tags .tag {
  padding: 6px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-darker);
  transition: all 0.2s ease;
}
.article-tags .tag:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-darker);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 24px;
}
.sidebar-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
.sidebar-block h4 {
  font-family: var(--f-arabic);
  font-size: 17px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 14px;
}
.toc { list-style: none; padding: 0; }
.toc li { margin-bottom: 8px; }
.toc a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  border-inline-start: 3px solid transparent;
}
.toc a:hover {
  background: white;
  color: var(--gold-deep);
  border-inline-start-color: var(--gold);
}

.sidebar-cta {
  background: linear-gradient(160deg, var(--green-darker) 0%, var(--green-deep) 100%);
  color: white;
  text-align: center;
  padding: 32px 24px;
}
.sidebar-cta h4 { color: white; }
.sidebar-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 18px;
  line-height: 1.7;
}
.sidebar-cta-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(201,162,39,0.2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-cta-icon svg { width: 24px; height: 24px; }
.sidebar-cta input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: white;
  border-radius: 10px;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 14px;
}
.sidebar-cta input::placeholder { color: rgba(255,255,255,0.5); }
.sidebar-cta input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
  .article-stats { grid-template-columns: repeat(2, 1fr); }
  .article-meta { flex-direction: column; align-items: flex-start; }
  .article-img-block { width: 100%; margin: 2em 0; }
}
@media (max-width: 720px) {
  .article-content { font-size: 16px; }
  .article-content h2 { font-size: 24px; }
  .article-content blockquote { padding: 24px 20px 24px 40px; }
  .article-content blockquote p { font-size: 18px; }
  .article-content blockquote::before { font-size: 56px; inset-inline-start: 12px; }
  .article-stats { grid-template-columns: 1fr 1fr; padding: 20px; }
  .article-stat strong { font-size: 32px; }
}
/* End article */

/* ============================================
   ALBUMS GRID (gallery listing)
   ============================================ */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.album-card {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.album-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201,162,39,0.4);
}
.album-img {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.album-card:hover .album-img { transform: scale(1.04); }
.album-photo-count {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(14,56,48,0.85);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.album-photo-count svg { width: 14px; height: 14px; }
.album-body { padding: 22px 24px 26px; }
.album-tag {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.album-body h3 {
  font-family: var(--f-arabic);
  font-size: 20px;
  font-weight: 800;
  color: var(--green-darker);
  line-height: 1.4;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.album-card:hover h3 { color: var(--gold-deep); }
.album-date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 960px) {
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .albums-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 20px 24px;
    margin: 0 -20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .albums-grid::-webkit-scrollbar { display: none; }
  .albums-grid > .album-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: start;
  }
}
/* End albums */

/* ============================================
   MASONRY PHOTO GRID + LIGHTBOX
   ============================================ */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 12px;
}
.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--paper);
  transition: transform 0.4s ease;
}
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.masonry-item:hover { transform: scale(0.985); }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,56,48,0.45) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.masonry-item:hover::after { opacity: 1; }
.masonry-item.span-2-cols { grid-column: span 2; }
.masonry-item.span-2-rows { grid-row: span 2; }

@media (max-width: 1100px) {
  .masonry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .masonry-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .masonry-item.span-2-cols { grid-column: span 2; }
  .masonry-item.span-2-rows { grid-row: span 2; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 88vh;
  display: block;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-counter {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  inset-inline-end: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.1);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-close:hover { background: var(--gold); color: var(--green-darker); transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.1);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}
.lightbox-nav svg { width: 28px; height: 28px; }
.lightbox-prev { inset-inline-start: 24px; }
.lightbox-next { inset-inline-end: 24px; }
[dir="rtl"] .lightbox-prev svg,
[dir="rtl"] .lightbox-next svg { transform: scaleX(-1); }
.lightbox-nav:hover { background: var(--gold); color: var(--green-darker); }

@media (max-width: 720px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav svg { width: 22px; height: 22px; }
  .lightbox-prev { inset-inline-start: 12px; }
  .lightbox-next { inset-inline-end: 12px; }
  .lightbox-close { top: 12px; inset-inline-end: 12px; width: 42px; height: 42px; }
}
/* End masonry + lightbox */

/* ============================================
   VIDEOS LISTING PAGE
   ============================================ */
.featured-video {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.featured-video:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201,162,39,0.4);
}
.featured-video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.featured-video-thumb .video-play { width: 100px; height: 100px; }
.featured-video-thumb .video-play svg { width: 40px; height: 40px; }
.featured-video-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-video-body h2 {
  font-family: var(--f-arabic);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--green-darker);
  margin: 12px 0 14px;
  transition: color 0.2s;
}
.featured-video:hover .featured-video-body h2 { color: var(--gold-deep); }
.featured-video-body p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
  margin-bottom: 24px;
}
.video-card-meta {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Override videos-grid for listing page: simple 3-col grid */
.videos-grid-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
.videos-grid-list .video-card {
  flex-direction: column !important;
}
.videos-grid-list .video-thumb {
  width: auto !important;
  aspect-ratio: 16/9 !important;
  min-height: auto !important;
}
.videos-grid-list .video-body {
  padding: 22px 24px 26px !important;
  display: block !important;
}
.videos-grid-list .video-body h3 {
  font-size: 18px !important;
  line-height: 1.4 !important;
  margin: 0 0 10px !important;
}
.videos-grid-list .video-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.video-card-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}
.video-card a, .video-card.is-link {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 960px) {
  .featured-video { grid-template-columns: 1fr; }
  .featured-video-body { padding: 32px; }
  .videos-grid-list { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 720px) {
  .videos-grid-list {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 20px 24px;
    margin: 0 -20px;
    gap: 16px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .videos-grid-list::-webkit-scrollbar { display: none; }
  .videos-grid-list > .video-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: start;
  }
}
/* End videos listing */

/* ============================================
   VIDEO PLAYER PAGE
   ============================================ */
.video-page-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}
.video-player {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(14,56,48,0.3);
}
.video-player iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-info { margin-top: 28px; }

.video-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.vid-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-darker);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.vid-btn svg { width: 18px; height: 18px; }
.vid-btn:hover { background: white; border-color: var(--gold); color: var(--gold-deep); }
.vid-btn-primary { background: var(--green-darker); color: white; border-color: var(--green-darker); margin-inline-start: auto; }
.vid-btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--green-darker); }
.vid-btn-count {
  background: rgba(0,0,0,0.06);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.video-desc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
.video-desc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.video-desc-head strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--green-darker);
}
.video-desc-head span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.video-desc-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 14px;
}
.video-desc-body ul {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.video-desc-body ul li {
  position: relative;
  padding-inline-start: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.75;
}
.video-desc-body ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.video-desc-body ul li strong { color: var(--green-darker); }
.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Sidebar - related videos */
.video-sidebar {
  position: sticky;
  top: 100px;
}
.video-sidebar-title {
  font-family: var(--f-arabic);
  font-size: 18px;
  font-weight: 800;
  color: var(--green-darker);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.side-video {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 6px;
  transition: all 0.2s ease;
}
.side-video:hover { background: var(--paper); }
.side-video-thumb {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.side-video-duration {
  position: absolute;
  bottom: 6px;
  inset-inline-end: 6px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  background: rgba(14, 56, 48, 0.9);
  color: white;
  padding: 3px 7px;
  border-radius: 4px;
}
.side-video-body h4 {
  font-family: var(--f-arabic);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--green-darker);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-video:hover h4 { color: var(--gold-deep); }
.side-video-body span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .video-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .video-sidebar { position: static; }
}
@media (max-width: 720px) {
  .side-video { grid-template-columns: 120px 1fr; }
  .video-actions { gap: 6px; }
  .vid-btn { padding: 8px 14px; font-size: 13px; }
  .vid-btn-primary { margin-inline-start: 0; width: 100%; justify-content: center; }
}
/* End video player */

@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; }
}
