/* ═══════════════════════════════════════════════════
   JUSOOR GLOBAL — Premium CSS v4.0
   World-class corporate design system
═══════════════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --navy:    #171d48;
  --navy-d:  #0d1235;
  --navy-l:  #1e2760;
  --gold:    #be9a30;
  --gold-l:  #d4af45;
  --gold-d:  #9a7c22;

  /* UI Colors */
  --white:   #ffffff;
  --cream:   #faf9f6;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-400:#94a3b8;
  --gray-600:#475569;
  --gray-800:#1e293b;

  /* Accents */
  --teal:    #0891b2;
  --teal-l:  #22d3ee;
  --violet:  #7c3aed;
  --mint:    #059669;
  --coral:   #e11d48;
  --amber:   #d97706;

  /* Semantic */
  --bg:      #f8fafc;
  --surface: #ffffff;
  --border:  #e2e8f0;
  --text:    #0f172a;
  --text-sub:#64748b;
  --ok:      #059669;
  --err:     #e11d48;

  /* Spacing & Shape */
  --r-sm:    8px;
  --r:       14px;
  --r-lg:    20px;
  --r-xl:    28px;
  --r-full:  999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:     0 4px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-md:  0 8px 32px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.05);
  --shadow-lg:  0 20px 60px rgba(15,23,42,.12), 0 8px 24px rgba(15,23,42,.06);
  --shadow-gold:0 8px 32px rgba(190,154,48,.25);
  --shadow-navy:0 8px 32px rgba(23,29,72,.25);

  /* Typography */
  --font:    'Cairo', 'Segoe UI', sans-serif;

  /* Transitions */
  --ease:    cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ── RESET & BASE ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.lang-ar * { line-height: 1.9; letter-spacing: 0 !important; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
::selection { background: rgba(190,154,48,.25); color: var(--navy); }

/* ── SCROLL REVEAL ────────────────────── */
@keyframes fadeInUp    { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }
@keyframes fadeInLeft  { from{opacity:0;transform:translateX(-22px)} to{opacity:1;transform:none} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(22px)}  to{opacity:1;transform:none} }
.sr    { animation: fadeInUp    .7s var(--ease) both; }
.sr.vis { animation-play-state: running; }
.sr-l  { animation: fadeInLeft  .7s var(--ease) both; }
.sr-l.vis { animation-play-state: running; }
.sr-r  { animation: fadeInRight .7s var(--ease) both; }
.sr-r.vis { animation-play-state: running; }
.sr-d1 { animation-delay: .1s; }
.sr-d2 { animation-delay: .2s; }
.sr-d3 { animation-delay: .3s; }
.sr-d4 { animation-delay: .4s; }
.sr-d5 { animation-delay: .5s; }

/* ── NAVBAR ───────────────────────────── */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: 76px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(23,29,72,.06);
  transition: height .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
#nav.scrolled {
  height: 62px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 30px rgba(23,29,72,.08);
  border-bottom-color: rgba(23,29,72,.08);
}
.nav-inner {
  max-width: 1300px; margin: 0 auto; height: 100%;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; object-fit: contain; transition: height .35s var(--ease); }
#nav.scrolled .nav-logo img { height: 40px; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text strong { color: var(--navy); font-size: 1.35rem; font-weight: 900; line-height: 1; }
.nav-logo-text em { color: var(--gold); font-style: normal; font-size: .72rem; letter-spacing: .2em; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  color: var(--gray-600); font-size: .84rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--r-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.nav-links a.active { color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  padding: 7px 16px; border-radius: var(--r-full);
  background: var(--navy); color: var(--white);
  font-family: var(--font); font-size: .78rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: all .25s var(--ease);
}
.lang-btn:hover { background: var(--teal); transform: translateY(-1px); }

/* ── BUTTONS ──────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: var(--r-full);
  font-family: var(--font); font-size: .88rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-navy {
  background: var(--navy); color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-l); transform: translateY(-2px);
  box-shadow: var(--shadow-navy);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  color: var(--navy);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--gray-600);
}
.btn-outline-dark:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(8,145,178,.04);
}
.btn-lg { padding: 14px 36px; font-size: .96rem; }
.btn-sm { padding: 8px 18px; font-size: .8rem; }
.btn-xs { padding: 5px 12px; font-size: .74rem; }
.nav-cta { font-size: .82rem !important; padding: 9px 22px !important; }

/* ── MOBILE NAV ───────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: .3s;
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 800;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a { font-size: 1.35rem; font-weight: 700; color: var(--navy); transition: color .2s; }
.mobile-nav a:hover { color: var(--teal); }
.mobile-close {
  position: absolute; top: 22px;
  background: none; border: 1px solid var(--border); cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.lang-ar .mobile-close { left: 22px; }
.lang-en .mobile-close { right: 22px; }
.mobile-close:hover { background: var(--gray-100); }

/* ── HERO ─────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #0a0f2e 0%, #171d48 35%, #0e2154 65%, #071230 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 40px 80px;
}
/* Animated gradient orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; will-change: transform;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(8,145,178,.18) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orbFloat1 15s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.14) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  animation: orbFloat2 12s ease-in-out infinite;
}
.hero-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(190,154,48,.12) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation: orbFloat3 18s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-30px,20px) scale(1.05)} 66%{transform:translate(20px,-30px) scale(.95)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(25px,-20px) scale(1.08)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(0,0)} 40%{transform:translate(-20px,15px)} 70%{transform:translate(15px,-10px)} }

/* Hero grid overlay */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Hero bg image overlay */
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .12;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,15,46,.95) 0%, rgba(23,29,72,.88) 50%, rgba(7,18,48,.95) 100%);
}

/* DOODLES / SCRIBBLES */
.hero-doodle {
  position: absolute; pointer-events: none; opacity: .18;
  animation: doodlePulse 4s ease-in-out infinite;
}
.hero-doodle-1 { top: 15%; right: 8%; width: 280px; animation-delay: 0s; }
.hero-doodle-2 { bottom: 20%; left: 5%; width: 200px; animation-delay: 1.5s; }
.hero-doodle-3 { top: 60%; right: 20%; width: 120px; animation-delay: .8s; }
.hero-doodle-4 { top: 25%; left: 12%; width: 90px; animation-delay: 2.2s; }
@keyframes doodlePulse {
  0%,100% { opacity: .18; transform: scale(1) rotate(0deg); }
  50% { opacity: .28; transform: scale(1.04) rotate(1deg); }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 920px; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8,145,178,.15);
  border: 1px solid rgba(8,145,178,.3);
  color: var(--teal-l); font-size: .75rem; font-weight: 700;
  padding: 8px 20px; border-radius: var(--r-full);
  margin-bottom: 28px;
  animation: fadeSlideDown .8s var(--ease) both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-l);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }
@keyframes fadeSlideDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:none} }
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.hero-h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 900; color: var(--white);
  margin-bottom: 22px; line-height: 1.2;
  animation: fadeSlideUp .9s var(--ease) .2s both;
}
.lang-ar .hero-h1 { line-height: 1.4; }
.hero-h1 em { color: var(--gold-l); font-style: normal; position: relative; }
.hero-h1 em::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal-l));
  border-radius: 2px;
  animation: expandLine .8s var(--ease) 1.1s both;
  transform-origin: left;
}
.lang-ar .hero-h1 em::after { transform-origin: right; }
@keyframes expandLine { from{transform:scaleX(0)} to{transform:scaleX(1)} }

.hero-sub {
  font-size: clamp(.92rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,.62);
  max-width: 680px; margin: 0 auto 44px;
  font-weight: 300; line-height: 1.9;
  animation: fadeSlideUp .9s var(--ease) .35s both;
}
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeSlideUp .9s var(--ease) .5s both;
}
.hero-stats {
  display: flex; align-items: stretch; justify-content: center;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 36px; gap: 0;
  animation: fadeIn 1s var(--ease) .7s both;
}
.hstat {
  flex: 1; max-width: 180px; padding: 0 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}
.lang-en .hstat { border-right: none; border-left: 1px solid rgba(255,255,255,.07); }
.hstat:last-child { border: none; }
.hstat-num {
  font-size: 2.4rem; font-weight: 900;
  color: var(--gold-l); display: block; line-height: 1;
}
.hstat-lbl { font-size: .74rem; color: rgba(255,255,255,.45); margin-top: 5px; }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.25); font-size: .66rem;
  animation: bounce 2.8s ease-in-out infinite;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(9px)} }

/* ── MARQUEE ──────────────────────────── */
.marquee-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%);
  padding: 14px 0; overflow: hidden;
  border-top: 1px solid rgba(190,154,48,.15);
  border-bottom: 1px solid rgba(190,154,48,.08);
}
.marquee-track {
  display: flex; animation: marqueeRTL 30s linear infinite;
  width: max-content;
}
.lang-en .marquee-track { animation-direction: reverse; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.38); font-size: .8rem; font-weight: 600;
  padding: 0 32px; white-space: nowrap;
}
.marquee-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; opacity: .7;
}
@keyframes marqueeRTL { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTIONS ─────────────────────────── */
section { padding: 96px 40px; }
.section-inner { max-width: 1300px; margin: 0 auto; }
.section-header { margin-bottom: 56px; }
.label-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; padding: 5px 14px; border-radius: var(--r-full);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--navy); margin-bottom: 12px;
  line-height: 1.25;
}
.lang-ar .section-title { line-height: 1.45; }
.section-sub { font-size: .97rem; color: var(--text-sub); max-width: 560px; }
.gold-bar {
  width: 44px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal-l));
  border-radius: 2px; margin: 14px 0 20px;
}

/* ── ABOUT ────────────────────────────── */
#about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--navy-l));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-geo-icon { font-size: 5rem; opacity: .4; }
/* Decorative frame */
.about-img-wrap::before {
  content: '';
  position: absolute; inset: -8px;
  border: 2px solid rgba(190,154,48,.2);
  border-radius: calc(var(--r-xl) + 8px);
  pointer-events: none;
}
.about-badge {
  position: absolute; bottom: -22px;
  background: var(--white);
  border-radius: var(--r); padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border);
  min-width: 240px;
}
.lang-ar .about-badge { left: -22px; }
.lang-en .about-badge { right: -22px; }
.about-badge-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--teal), var(--teal-l));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.about-badge strong { display: block; font-size: .9rem; font-weight: 700; color: var(--navy); }
.about-badge span { font-size: .72rem; color: var(--text-sub); margin-top: 1px; display: block; }
.value-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.vpill {
  display: flex; align-items: center; gap: 6px;
  background: var(--gray-50); border: 1px solid var(--border);
  color: var(--gray-600); font-size: .78rem; font-weight: 600;
  padding: 7px 14px; border-radius: var(--r-full);
  transition: all .2s;
}
.vpill:hover { border-color: var(--teal); color: var(--teal); background: rgba(8,145,178,.04); }
.vpill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ── SERVICES ─────────────────────────── */
#services { background: var(--gray-50); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 32px 28px; position: relative; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .35s var(--ease);
  cursor: pointer; text-decoration: none; display: block;
  color: var(--text);
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: var(--r-lg) var(--r-lg) 0 0;
  transition: height .35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.svc-card:hover::before { height: 4px; }
.svc-icon {
  width: 56px; height: 56px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px; overflow: hidden;
  transition: transform .35s var(--ease-spring);
}
.svc-card:hover .svc-icon { transform: scale(1.1); }
.svc-icon img { width: 100%; height: 100%; object-fit: cover; }
.svc-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.svc-card p { font-size: .86rem; color: var(--text-sub); line-height: 1.7; }
.svc-card .read-more {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--teal); font-size: .8rem; font-weight: 700;
  margin-top: 16px; transition: gap .25s var(--ease);
}
.svc-card:hover .read-more { gap: 8px; }

/* ── PROGRAMS ─────────────────────────── */
#programs {
  background: linear-gradient(160deg, var(--navy-d) 0%, var(--navy) 60%, #0d2150 100%);
  padding: 96px 0; overflow: hidden; position: relative;
}
#programs::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.programs-header { padding: 0 40px 44px; max-width: 1300px; margin: 0 auto; position: relative; z-index: 1; }
.prog-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 40px; max-width: 1300px; margin: 0 auto 36px; position: relative; z-index: 1; }
.prog-tab {
  padding: 8px 20px; border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.12);
  background: transparent; color: rgba(255,255,255,.5);
  font-family: var(--font); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all .25s var(--ease);
}
.prog-tab:hover { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.8); }
.prog-tab.active { background: var(--teal); border-color: var(--teal); color: var(--white); }
.prog-scroll {
  overflow-x: auto; padding: 0 40px 32px;
  scrollbar-width: thin; scrollbar-color: var(--gold) rgba(255,255,255,.08);
  position: relative; z-index: 1;
}
.prog-scroll::-webkit-scrollbar { height: 4px; }
.prog-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 2px; }
.prog-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.prog-grid { display: flex; gap: 18px; min-width: max-content; }
.prog-card {
  flex: 0 0 264px; border-radius: var(--r);
  padding: 26px 22px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  transition: all .3s var(--ease);
  cursor: pointer; text-decoration: none; display: block;
  color: var(--white);
}
.prog-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(190,154,48,.3);
  transform: translateY(-5px);
}
.prog-card .pc-num { font-size: .66rem; color: rgba(255,255,255,.28); font-weight: 700; margin-bottom: 10px; }
.prog-card .pc-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.prog-card h4 { font-size: .96rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.prog-card p { font-size: .8rem; color: rgba(255,255,255,.48); line-height: 1.7; }
.prog-card .pc-tag {
  display: inline-block; margin-top: 16px;
  font-size: .68rem; font-weight: 700;
  padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(8,145,178,.18); color: var(--teal-l);
  border: 1px solid rgba(8,145,178,.25);
}
/* Special tag for new programs */
.prog-card.prog-new .pc-tag {
  background: rgba(190,154,48,.18); color: var(--gold-l);
  border-color: rgba(190,154,48,.25);
}
.prog-new-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .62rem; font-weight: 700; color: var(--gold-l);
  background: rgba(190,154,48,.12); border: 1px solid rgba(190,154,48,.2);
  padding: 2px 8px; border-radius: var(--r-full); margin-bottom: 6px;
}

/* ── DESTINATIONS ─────────────────────── */
#destinations { background: var(--white); }
.dest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.dest-card {
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .35s var(--ease);
  text-decoration: none; display: block; color: var(--text);
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dest-visual {
  height: 230px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.dest-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dest-card:hover .dest-visual img { transform: scale(1.05); }
.dest-visual-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.dest-accred {
  position: absolute; bottom: 14px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
  color: var(--white); font-size: .68rem; font-weight: 700;
  padding: 5px 14px; border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.2);
}
.lang-ar .dest-accred { right: 16px; }
.lang-en .dest-accred { left: 16px; }
.dest-body { padding: 26px; }
.dest-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.dest-body p { font-size: .86rem; color: var(--text-sub); margin-bottom: 18px; line-height: 1.7; }
.dest-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.dest-tag {
  font-size: .7rem; font-weight: 700; padding: 4px 12px;
  border-radius: var(--r-full); background: var(--gray-50);
  border: 1px solid var(--border); color: var(--gray-600);
}
.dest-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--teal); font-size: .82rem; font-weight: 700;
  transition: gap .2s var(--ease);
}
.dest-card:hover .dest-link { gap: 9px; }

/* ── COUNTERS ─────────────────────────── */
#counters {
  padding: 72px 40px;
  background: linear-gradient(135deg, var(--teal) 0%, #0e7490 50%, var(--navy-l) 100%);
  position: relative; overflow: hidden;
}
#counters::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.04) 0%, transparent 50%);
}
.counters-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.ctr { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,.15); }
.lang-en .ctr { border-right: none; border-left: 1px solid rgba(255,255,255,.15); }
.ctr:last-child { border: none; }
.ctr-num { font-size: 3rem; font-weight: 900; color: var(--white); display: block; line-height: 1; }
.ctr-lbl { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 7px; }

/* ── WHY JUSOOR ───────────────────────── */
#why {
  background: var(--navy);
  padding: 80px 40px; position: relative; overflow: hidden;
}
#why::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(8,145,178,.08) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.why-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg); padding: 28px 22px; text-align: center;
  transition: all .3s var(--ease);
}
.why-card:hover { background: rgba(8,145,178,.08); border-color: rgba(8,145,178,.2); transform: translateY(-4px); }
.why-icon { font-size: 2.4rem; margin-bottom: 14px; }
.why-card h4 { color: var(--white); font-size: .96rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { color: rgba(255,255,255,.45); font-size: .82rem; line-height: 1.7; }

/* ── TESTIMONIALS ─────────────────────── */
#testimonials { background: var(--gray-50); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1300px; margin: 0 auto; }
.testi-card {
  background: var(--white); border-radius: var(--r-lg); padding: 32px 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--gold); font-size: .88rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-quote { font-size: 3rem; color: var(--gold); line-height: .8; margin-bottom: 14px; opacity: .4; }
.testi-text { font-size: .9rem; color: var(--gray-600); margin-bottom: 24px; line-height: 1.8; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.testi-name { font-size: .88rem; font-weight: 700; color: var(--navy); }
.testi-role { font-size: .74rem; color: var(--text-sub); margin-top: 1px; }

/* ── GALLERY ──────────────────────────── */
#gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; gap: 14px;
  max-width: 1300px; margin: 0 auto;
}
.g-item { border-radius: var(--r); overflow: hidden; cursor: pointer; position: relative; transition: transform .3s var(--ease); }
.g-item:hover { transform: scale(1.02); }
.g-item.wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.g-icon { font-size: 2.2rem; opacity: .65; }
.g-lbl { color: rgba(255,255,255,.55); font-size: .76rem; text-align: center; padding: 0 12px; }
.g-overlay { position: absolute; inset: 0; background: rgba(23,29,72,.45); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; font-size: 1.5rem; color: var(--white); }
.g-item:hover .g-overlay { opacity: 1; }

/* ── BLOG ─────────────────────────────── */
#blog { background: var(--gray-50); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1300px; margin: 0 auto; }
.blog-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease); text-decoration: none; display: block; color: var(--text);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb { height: 200px; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-thumb-icon { font-size: 2.8rem; opacity: .6; }
.blog-body { padding: 24px; }
.blog-cat { display: inline-block; font-size: .68rem; font-weight: 700; padding: 4px 12px; border-radius: var(--r-full); margin-bottom: 12px; background: rgba(8,145,178,.08); color: var(--teal); border: 1px solid rgba(8,145,178,.15); }
.blog-card h3 { font-size: .96rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.5; }
.blog-card p { font-size: .83rem; color: var(--text-sub); margin-bottom: 18px; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; }
.blog-date { font-size: .72rem; color: var(--text-sub); }
.blog-read { font-size: .74rem; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 4px; }

/* ── CONTACT ──────────────────────────── */
#contact {
  background: linear-gradient(160deg, var(--navy-d) 0%, var(--navy) 60%, #0d2150 100%);
  padding: 96px 40px; position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 10% 50%, rgba(8,145,178,.1) 0%, transparent 60%);
  pointer-events: none;
}
.contact-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
.contact-left h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.lang-ar .contact-left h2 { line-height: 1.45; }
.gold-bar-w { width: 44px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--teal-l)); border-radius: 2px; margin: 14px 0 22px; }
.contact-left .sub { color: rgba(255,255,255,.55); font-size: .97rem; margin-bottom: 44px; font-weight: 300; line-height: 1.9; }
.cinfo { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.cinfo-icon { width: 42px; height: 42px; border-radius: var(--r-sm); flex-shrink: 0; background: rgba(8,145,178,.15); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.cinfo-text span { display: block; font-size: .71rem; color: rgba(255,255,255,.38); font-weight: 600; margin-bottom: 2px; }
.cinfo-text strong { color: var(--white); font-size: .92rem; font-weight: 600; }
.cinfo-text a { color: var(--white); transition: color .2s; }
.cinfo-text a:hover { color: var(--teal-l); }
.form-wrap {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: 44px 40px;
  backdrop-filter: blur(20px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; color: rgba(255,255,255,.5); font-size: .75rem; font-weight: 600; margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); padding: 12px 16px;
  color: var(--white); font-family: var(--font); font-size: .88rem;
  outline: none; transition: border .2s, background .2s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); background: rgba(8,145,178,.08); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--navy); color: var(--white); }
.form-submit {
  width: 100%; background: linear-gradient(135deg, var(--teal), #0e7490);
  color: var(--white); border: none; padding: 14px; border-radius: var(--r-sm);
  font-family: var(--font); font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all .3s var(--ease); margin-top: 4px;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(8,145,178,.35); }
.form-success { display: none; text-align: center; padding: 48px 20px; }
.form-success.show { display: block; }
.form-success .ok-icon { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 { color: var(--teal-l); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,.5); font-size: .9rem; }

/* ── FOOTER — PREMIUM BRIGHT ──────────── */
#footer {
  background: linear-gradient(180deg, #f8f9fe 0%, #eef0fa 100%);
  border-top: 4px solid var(--gold);
  padding: 64px 40px 0;
  position: relative;
}
#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(23,29,72,.1);
  margin-bottom: 0;
}
.footer-logo-link { display: inline-block; margin-bottom: 16px; }
.footer-brand img { height: 52px; object-fit: contain; }
.footer-logo-text strong { color: var(--navy); font-size: 1.3rem; font-weight: 900; }
.footer-logo-text em { color: var(--gold); font-style: normal; font-size: .72rem; display: block; letter-spacing: .18em; }
.footer-brand p {
  color: #4a5568; font-size: .86rem;
  font-weight: 400; max-width: 280px; line-height: 1.85; margin-bottom: 18px;
}
.footer-contact-mini { display: flex; flex-direction: column; gap: 9px; }
.footer-contact-mini a {
  display: flex; align-items: center; gap: 8px;
  color: #2d3748; font-size: .84rem; font-weight: 500; transition: color .2s;
}
.footer-contact-mini a:hover { color: var(--navy); }
.footer-col { padding-top: 6px; }
.footer-col h4 {
  color: var(--navy); font-size: .73rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  color: #4a5568; font-size: .85rem; font-weight: 400;
  transition: all .2s; display: block;
}
.footer-col ul li a:hover { color: var(--navy); font-weight: 600; }
.footer-bottom {
  max-width: 1300px; margin: 0 auto; padding: 20px 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-copy { color: #718096; font-size: .78rem; }
.footer-copy a { color: var(--navy); font-weight: 600; transition: color .2s; }
.footer-copy a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid rgba(23,29,72,.15); background: white;
  color: var(--navy); font-size: .78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.footer-socials a:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(190,154,48,.08); transform: translateY(-2px);
}

/* Footer responsive */
@media(max-width:1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media(max-width:640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  #footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 14px; }
}

/* ── HEADING HIERARCHY FIX ─── */
/* Program cards use h4 for correct nesting under section h2 */
.prog-card h4 { font-size: .96rem; }
/* Why cards use h4 - correct hierarchy */
.why-card h4 { font-size: .96rem; }
/* Footer h4 labels */
.footer-col h4 { font-size: .72rem; }

/* ── PERFORMANCE: Reduce animation on slow devices ─── */
@media (prefers-reduced-motion: reduce) {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-orb { animation: none !important; }
  .marquee-track { animation: none !important; }
}

/* ── LCP IMAGE HINTS ─── */
.hero-slide { content-visibility: auto; }

/* ── BRIGHTNESS FIX: Make website less dark ─── */
:root {
  --bg: #f5f7fa;
  --gray-50: #f0f4f8;
}
#about { background: #ffffff; }
#services { background: var(--gray-50); }
#blog { background: var(--gray-50); }
#testimonials { background: var(--gray-50); }

/* Brighter section backgrounds */
.svc-card { background: #ffffff; box-shadow: 0 2px 16px rgba(15,23,42,.06); }
.testi-card { background: #ffffff; }
.blog-card { background: #ffffff; }

/* ── ACCESSIBILITY: Focus visible ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #0891b2;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── FOOTER IMPROVED CONTRAST ─── */
#footer { background: #080d28; }
.footer-col h4 { color: #d4af45; }
.footer-col ul li a { color: rgba(255,255,255,.65); }
.footer-col ul li a:hover { color: #67e8f9; }

/* ── ARABIC / RTL SCROLL REVEAL FIX ─── */
/* Ensure sr elements are visible in all contexts */

/* Sections that should always show regardless of scroll */
#hero .hero-content,
#hero .hero-badge,
#hero .hero-h1,
#hero .hero-sub,
#hero .hero-btns,
#hero .hero-stats {
  opacity: 1 !important;
  transform: none !important;
}

/* Programs section on dark background - ensure visibility */
#programs .programs-header.sr,
#programs .programs-header.sr-l,
#programs .programs-header.sr-r {
  /* Override for always-dark section */
}

/* Prevent any section from being permanently invisible */
  animation: none; /* No animation - just opacity+transform */
}



/* ── BREADCRUMBS ──────────────────── */
.breadcrumbs {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(23,29,72,.08);
  padding: 10px 40px;
  margin-top: 76px; /* push below fixed nav */
}
.breadcrumbs ol {
  max-width: 1300px; margin: 0 auto;
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center;
}
.breadcrumbs li { font-size: .8rem; color: var(--sub); }
.breadcrumbs li a { color: var(--navy); font-weight: 600; text-decoration: none; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin: 0 4px; color: var(--sub); }
[dir="rtl"] .breadcrumbs li:not(:last-child)::after { content: "‹"; }

/* ════════════════════════════════════
   SUBPAGE STYLES
   ════════════════════════════════════ */

/* Page Hero */
.page-hero {
  min-height: 42vh;
  background: linear-gradient(160deg, #07091f, #171d48, #0e2154);
  display: flex; align-items: center; justify-content: center;
  padding: 72px 40px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .18;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,15,46,.9), rgba(23,29,72,.85));
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 820px; color: var(--white);
}
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8,145,178,.15); border: 1px solid rgba(8,145,178,.3);
  color: #22d3ee; font-size: .76rem; font-weight: 700;
  padding: 7px 18px; border-radius: 999px; margin-bottom: 20px;
}
.page-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
  color: var(--white); margin-bottom: 14px; line-height: 1.2;
}
.page-hero-content .lead {
  font-size: clamp(.92rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,.65); font-weight: 300;
  max-width: 620px; margin: 0 auto; line-height: 1.75;
}

/* Page Content */
.page-content {
  max-width: 860px; margin: 0 auto;
  padding: 56px 40px;
}
.page-content h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--navy);
  margin: 36px 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(23,29,72,.08);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
  font-size: .96rem; line-height: 1.85; color: var(--text);
  margin-bottom: 16px;
}
.page-content ul {
  margin: 14px 0 22px; padding-right: 22px; padding-left: 22px;
}
[dir="rtl"] .page-content ul { padding-right: 22px; padding-left: 0; }
[dir="ltr"] .page-content ul { padding-left: 22px; padding-right: 0; }
.page-content ul li {
  font-size: .93rem; line-height: 1.75; color: var(--text);
  margin-bottom: 10px;
}
.page-content ul li::marker { color: var(--gold); font-weight: 700; }

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(8,145,178,.05), rgba(23,29,72,.03));
  border: 1px solid rgba(8,145,178,.15);
  border-radius: 14px; padding: 26px 30px; margin: 24px 0;
}
[dir="rtl"] .highlight-box { border-right: 4px solid var(--teal); border-left: none; }
[dir="ltr"] .highlight-box { border-left: 4px solid var(--teal); border-right: none; }
.highlight-box h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 10px;
}
.highlight-box p { font-size: .92rem; color: var(--sub); line-height: 1.75; margin: 0; }

/* CTA Banner */
.cta-banner {
  max-width: 860px; margin: 0 auto;
  background: linear-gradient(135deg, #07091f, #171d48);
  border-radius: 20px; padding: 52px 48px; text-align: center;
  color: var(--white); box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.cta-banner h2 {
  font-size: 1.7rem; font-weight: 900; color: var(--white); margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,.6); font-size: .96rem;
  margin-bottom: 30px; line-height: 1.7;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline {
  background: transparent; border: 2px solid rgba(255,255,255,.35); color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-l); }
.btn-lg { padding: 14px 36px; font-size: .98rem; }

/* FAQ Section */
.faq-section {
  max-width: 860px; margin: 0 auto; padding: 20px 40px 56px;
}
.faq-section h2 {
  font-size: 1.4rem; font-weight: 800; color: var(--navy);
  margin-bottom: 24px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(23,29,72,.08);
}
.faq-item { border-bottom: 1px solid rgba(0,0,0,.06); }
.faq-q {
  width: 100%; text-align: right; background: none; border: none;
  padding: 16px 0; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-family: inherit; font-size: .95rem; font-weight: 700;
  color: var(--navy);
}
[dir="ltr"] .faq-q { text-align: left; flex-direction: row-reverse; }
.faq-icon { font-size: .8rem; color: var(--teal); transition: transform .3s; }
.faq-q.open .faq-icon { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 16px; }
.faq-a.open { display: block; }
.faq-a p { font-size: .9rem; color: var(--sub); line-height: 1.8; margin: 0; }

/* Footer responsive */
@media(max-width:1100px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media(max-width:640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  #footer { padding: 48px 20px 0; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}

/* Subpage responsive */
@media(max-width:768px) {
  .page-hero { padding: 64px 24px 44px; }
  .page-content { padding: 36px 24px; }
  .faq-section { padding: 16px 24px 44px; }
  .cta-banner { padding: 36px 24px; border-radius: 14px; }
  .cta-banner h2 { font-size: 1.3rem; }
  .breadcrumbs { padding: 10px 20px; }
}
/* ═══════════════════════════════════════════════════════════
   JUSOOR GLOBAL — Complete Color Redesign v2.0
   المشكلة: الأقسام الداكنة تجعل القراءة صعبة
   الحل: نظام ألوان هجين — داكن فاخر للهيرو، فاتح للمحتوى
═══════════════════════════════════════════════════════════ */

/* ══ DESIGN TOKENS ══ */
:root {
  /* Brand */
  --navy:     #171d48;
  --navy-d:   #0d1235;
  --navy-m:   #1e2760;
  --gold:     #be9a30;
  --gold-l:   #d4af45;
  --gold-d:   #9a7c22;

  /* Light UI */
  --bg:       #f4f7ff;
  --surface:  #ffffff;
  --surface-2:#f0f4fb;
  --border:   #dde4f2;

  /* Text on light */
  --text-h:   #0f1535;   /* headings */
  --text-b:   #2d3a5e;   /* body */
  --text-s:   #5a6a8a;   /* secondary */
  --text-m:   #8292b0;   /* muted */

  /* Text on dark */
  --on-dark-h: #ffffff;
  --on-dark-b: rgba(255,255,255,.85);
  --on-dark-s: rgba(255,255,255,.65);
  --on-dark-m: rgba(255,255,255,.45);

  /* Accent */
  --teal:     #0891b2;
  --teal-l:   #22d3ee;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(15,21,53,.06);
  --shadow:     0 4px 20px rgba(15,21,53,.10);
  --shadow-lg:  0 12px 40px rgba(15,21,53,.14);
  --shadow-gold:0 8px 28px rgba(190,154,48,.30);
}

/* ══════════════════════════════════════════
   SECTION 1 — HERO (داكن فاخر — صح)
   المشكلة: النصوص الفرعية باهتة جداً
══════════════════════════════════════════ */
#hero {
  background: linear-gradient(150deg,
    #0b1030 0%, #111840 30%, #171d48 65%, #0e1a50 100%) !important;
}
.hero-overlay {
  background: linear-gradient(150deg,
    rgba(11,16,48,.75) 0%,
    rgba(17,24,64,.65) 50%,
    rgba(23,29,72,.70) 100%) !important;
}

/* Hero text — أوضح */
.hero-h1 { color: #ffffff !important; }
.hero-h1 em { color: var(--gold-l) !important; }

.hero-sub {
  color: rgba(255,255,255,.88) !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
}

/* Hero stats bar */
.hero-stats {
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  backdrop-filter: blur(12px) !important;
}
.hstat-num, .hero-stat strong {
  color: var(--gold-l) !important;
}
.hstat-lbl, .hero-stat span {
  color: rgba(255,255,255,.78) !important;
}
.hstat { border-color: rgba(255,255,255,.15) !important; }

/* ══════════════════════════════════════════
   SECTION 2 — PROGRAMS (المشكلة الرئيسية)
   الكروت شبه مستحيلة القراءة
══════════════════════════════════════════ */
#programs {
  background: linear-gradient(160deg,
    #0f1640 0%, #141b4e 40%, #1a2258 100%) !important;
}
#programs::before { opacity: .4 !important; }

/* Filter tabs */
.prog-tab {
  background: rgba(255,255,255,.08) !important;
  border: 1.5px solid rgba(255,255,255,.20) !important;
  color: rgba(255,255,255,.78) !important;
  font-weight: 600 !important;
}
.prog-tab:hover {
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.35) !important;
  color: #ffffff !important;
}
.prog-tab.active {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #171d48 !important;
  font-weight: 800 !important;
}

/* Program cards — MAIN FIX */
.prog-card {
  background: rgba(255,255,255,.11) !important;
  border: 1.5px solid rgba(255,255,255,.20) !important;
  backdrop-filter: blur(8px) !important;
}
.prog-card:hover {
  background: rgba(255,255,255,.17) !important;
  border-color: rgba(190,154,48,.50) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.25) !important;
}

/* Card number */
.prog-card .pc-num {
  color: rgba(255,255,255,.40) !important;
  font-size: .65rem !important;
}
/* Card icon */
.prog-card .pc-icon { color: #ffffff !important; }

/* Card title — كان خافتاً جداً */
.prog-card h4 {
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  margin-bottom: 10px !important;
}

/* Card description — الأهم */
.prog-card p {
  color: rgba(255,255,255,.82) !important;
  line-height: 1.78 !important;
  font-size: .86rem !important;
}

/* Card tag badge */
.prog-card .pc-tag {
  background: rgba(8,145,178,.22) !important;
  color: #67e8f9 !important;
  border: 1px solid rgba(8,145,178,.35) !important;
  font-size: .72rem !important;
}
.prog-card.prog-new .pc-tag {
  background: rgba(190,154,48,.20) !important;
  color: var(--gold-l) !important;
  border-color: rgba(190,154,48,.35) !important;
}

/* Section headers in dark sections */
#programs .section-title,
#programs h2 {
  color: #ffffff !important;
}
#programs .section-sub,
#programs .gold-bar + p {
  color: rgba(255,255,255,.75) !important;
  line-height: 1.85 !important;
}

/* ══════════════════════════════════════════
   SECTION 3 — CONTACT (مظلمة جداً)
══════════════════════════════════════════ */
#contact {
  background: linear-gradient(150deg,
    #0e1338 0%, #141b4a 50%, #111840 100%) !important;
}
#contact::before {
  background: radial-gradient(ellipse 60% 50% at 10% 50%,
    rgba(8,145,178,.12) 0%, transparent 65%) !important;
}

/* Contact left text */
.contact-left h2 {
  color: #ffffff !important;
  line-height: 1.45 !important;
}
.gold-bar-w {
  background: linear-gradient(90deg, var(--gold), var(--teal-l)) !important;
}
.contact-left .sub {
  color: rgba(255,255,255,.80) !important;
  font-size: .97rem !important;
  line-height: 2.0 !important;
}

/* Contact info items */
.cinfo-icon {
  background: rgba(8,145,178,.22) !important;
  border: 1px solid rgba(8,145,178,.30) !important;
}
.cinfo-text span {
  color: rgba(255,255,255,.55) !important;
  font-size: .73rem !important;
}
.cinfo-text strong,
.cinfo-text a {
  color: rgba(255,255,255,.95) !important;
  font-size: .92rem !important;
  font-weight: 600 !important;
}
.cinfo-text a:hover { color: var(--teal-l) !important; }

/* Form wrapper */
.form-wrap {
  background: rgba(255,255,255,.10) !important;
  border: 1.5px solid rgba(255,255,255,.20) !important;
  backdrop-filter: blur(16px) !important;
}

/* Form labels */
.form-group label {
  color: rgba(255,255,255,.75) !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
}

/* Form inputs */
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,.10) !important;
  border: 1.5px solid rgba(255,255,255,.22) !important;
  color: #ffffff !important;
  font-size: .9rem !important;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.42) !important;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background: rgba(8,145,178,.15) !important;
  border-color: var(--teal-l) !important;
  box-shadow: 0 0 0 3px rgba(34,211,238,.12) !important;
}
.form-group select option {
  background: #1a2258 !important;
  color: #ffffff !important;
}

/* Form submit button */
.form-submit {
  background: linear-gradient(135deg, var(--teal), #0e7490) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
}
.form-submit:hover {
  background: linear-gradient(135deg, #0a7fa3, #0c6880) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(8,145,178,.40) !important;
}

/* ══════════════════════════════════════════
   ABOUT — فاتح ونظيف
══════════════════════════════════════════ */
#about { background: #ffffff !important; }

.about-text h2, .about-text .section-title {
  color: var(--text-h) !important;
  line-height: 1.45 !important;
}
.about-lead {
  color: var(--text-b) !important;
  line-height: 1.95 !important;
}
.vpill {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-b) !important;
}
.vpill:hover {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
}
.about-badge {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-lg) !important;
}
.about-badge strong { color: var(--text-h) !important; }
.about-badge span   { color: var(--text-s) !important; }

/* ══════════════════════════════════════════
   SERVICES — بطاقات بيضاء احترافية
══════════════════════════════════════════ */
#services { background: var(--surface-2) !important; }

.svc-card {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.svc-card:hover {
  box-shadow: var(--shadow-lg) !important;
  border-color: transparent !important;
  transform: translateY(-7px) !important;
}
.svc-card h3 {
  color: var(--text-h) !important;
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
}
.svc-card p {
  color: var(--text-s) !important;
  line-height: 1.82 !important;
}
.svc-card .read-more { color: var(--teal) !important; }

/* ══════════════════════════════════════════
   DESTINATIONS
══════════════════════════════════════════ */
#destinations { background: #ffffff !important; }

.dest-card {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.dest-card:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-6px) !important;
}
.dest-body h3 {
  color: var(--text-h) !important;
  font-size: 1.15rem !important;
}
.dest-body p {
  color: var(--text-s) !important;
  line-height: 1.82 !important;
}
.dest-tag {
  background: var(--surface-2) !important;
  border-color: var(--border) !important;
  color: var(--text-b) !important;
}
.dest-link { color: var(--teal) !important; }

/* ══════════════════════════════════════════
   COUNTERS — تدرج أزرق-كحلي مقبول
══════════════════════════════════════════ */
#counters {
  background: linear-gradient(135deg,
    #0871a0 0%, #0c6d8a 40%, #1e2760 100%) !important;
}
.ctr-num { color: #ffffff !important; }
.ctr-lbl { color: rgba(255,255,255,.82) !important; }
.ctr { border-color: rgba(255,255,255,.18) !important; }

/* ══════════════════════════════════════════
   WHY JUSOOR — داكن كحلي
══════════════════════════════════════════ */
#why {
  background: linear-gradient(145deg, #131840 0%, #171d48 100%) !important;
}
.why-card {
  background: rgba(255,255,255,.08) !important;
  border: 1.5px solid rgba(255,255,255,.14) !important;
}
.why-card:hover {
  background: rgba(8,145,178,.12) !important;
  border-color: rgba(8,145,178,.30) !important;
  transform: translateY(-5px) !important;
}
.why-card h4 {
  color: #ffffff !important;
  font-size: .96rem !important;
  font-weight: 700 !important;
}
.why-card p {
  color: rgba(255,255,255,.78) !important;
  line-height: 1.80 !important;
  font-size: .84rem !important;
}
#why .section-title, #why h2 { color: #ffffff !important; }
#why .section-sub           { color: rgba(255,255,255,.72) !important; }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
#testimonials { background: var(--surface-2) !important; }

.testi-card {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.testi-card:hover { box-shadow: var(--shadow-lg) !important; }
.testi-quote { color: var(--gold) !important; opacity: .45 !important; }
.testi-text {
  color: var(--text-b) !important;
  line-height: 1.88 !important;
  font-size: .92rem !important;
}
.testi-name { color: var(--text-h) !important; }
.testi-role { color: var(--text-s) !important; }
.testi-stars{ color: var(--gold) !important; }

/* ══════════════════════════════════════════
   BLOG
══════════════════════════════════════════ */
#blog { background: #ffffff !important; }

.blog-card {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.blog-card:hover { box-shadow: var(--shadow-lg) !important; }
.blog-card h3 {
  color: var(--text-h) !important;
  line-height: 1.55 !important;
}
.blog-card p { color: var(--text-s) !important; line-height: 1.75 !important; }
.blog-cat {
  background: rgba(8,145,178,.08) !important;
  color: var(--teal) !important;
  border-color: rgba(8,145,178,.18) !important;
}
.blog-date { color: var(--text-m) !important; }
.blog-read { color: var(--teal) !important; }

/* ══════════════════════════════════════════
   FOOTER — فاتح راقٍ
══════════════════════════════════════════ */
#footer {
  background: linear-gradient(180deg, #eef2fb 0%, #e6ecf7 100%) !important;
  border-top: 4px solid var(--gold) !important;
}
.footer-brand p   { color: #455274 !important; line-height: 1.85 !important; }
.footer-contact-mini a { color: #2d3a5e !important; }
.footer-contact-mini a:hover { color: var(--navy) !important; }

.footer-col h4 {
  color: var(--navy) !important;
  border-bottom: 2px solid var(--gold) !important;
  font-size: .73rem !important;
  letter-spacing: .1em !important;
}
.footer-col ul li a { color: #455274 !important; }
.footer-col ul li a:hover { color: var(--navy) !important; font-weight: 700 !important; }

.footer-copy   { color: #7080a8 !important; }
.footer-copy a { color: var(--navy) !important; font-weight: 600 !important; }
.footer-socials a {
  background: #fff !important;
  border: 2px solid #c8d3ea !important;
  color: var(--navy) !important;
}
.footer-socials a:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: rgba(190,154,48,.07) !important;
  transform: translateY(-2px) !important;
}

/* ══════════════════════════════════════════
   SECTION HEADERS (Global)
══════════════════════════════════════════ */
.label-tag, .section-label {
  color: var(--gold) !important;
  font-weight: 800 !important;
  letter-spacing: .15em !important;
}
.section-title {
  line-height: 1.4 !important;
}
.section-sub {
  line-height: 1.85 !important;
  color: var(--text-s) !important;
}
.gold-bar {
  background: linear-gradient(90deg, var(--gold), var(--teal)) !important;
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#nav {
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid rgba(23,29,72,.07) !important;
}
#nav.scrolled {
  box-shadow: 0 3px 24px rgba(23,29,72,.10) !important;
}
.nav-links a { color: #3d4f78 !important; font-weight: 600 !important; }
.nav-links a:hover {
  color: var(--navy) !important;
  background: var(--surface-2) !important;
}
.nav-links a.active { color: var(--teal) !important; }

/* ══════════════════════════════════════════
   SUBPAGES
══════════════════════════════════════════ */
.page-hero-content .lead {
  color: rgba(255,255,255,.85) !important;
  line-height: 1.85 !important;
}
.page-content h2 { color: var(--text-h) !important; }
.page-content p  { color: var(--text-b) !important; line-height: 1.92 !important; }
.page-content ul li { color: var(--text-b) !important; }
.page-content ul li::marker { color: var(--gold) !important; }

.highlight-box {
  background: linear-gradient(135deg,
    rgba(8,145,178,.06), rgba(23,29,72,.04)) !important;
  border-color: rgba(8,145,178,.25) !important;
}
[dir="rtl"] .highlight-box { border-right-color: var(--teal) !important; }
[dir="ltr"] .highlight-box { border-left-color: var(--teal) !important; }
.highlight-box h3 { color: var(--text-h) !important; }
.highlight-box p  { color: var(--text-s) !important; }

.breadcrumbs { background: #f8faff !important; border-bottom: 1px solid #dde4f2 !important; }
.breadcrumbs li   { color: #7080a8 !important; }
.breadcrumbs li a { color: var(--navy) !important; font-weight: 600 !important; }

/* ══════════════════════════════════════════
   MARQUEE STRIP
══════════════════════════════════════════ */
.marquee-strip {
  background: linear-gradient(135deg, #171d48 0%, #1e2760 100%) !important;
  border-top: 1px solid rgba(190,154,48,.18) !important;
  border-bottom: 1px solid rgba(190,154,48,.10) !important;
}
.marquee-item { color: rgba(255,255,255,.62) !important; }
.marquee-dot  { background: var(--gold) !important; opacity: .75 !important; }

/* ══════════════════════════════════════════
   MOBILE NAV
══════════════════════════════════════════ */
.mobile-nav { background: #0f1535 !important; }
.mobile-nav a { color: rgba(255,255,255,.88) !important; }
.mobile-nav a:hover { color: var(--gold-l) !important; }

/* ══════════════════════════════════════════
   ACCESSIBILITY & SCROLLBAR
══════════════════════════════════════════ */
::-webkit-scrollbar        { width: 7px; }
::-webkit-scrollbar-track  { background: #eef2fb; }
::-webkit-scrollbar-thumb  { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }


/* ── SR FIX: prevents blank sections ── */
.sr,.sr-l,.sr-r{opacity:1!important;transform:none!important;animation:none!important}
.sr.vis{animation:fadeInUp .7s cubic-bezier(.4,0,.2,1) both!important}
.sr-l.vis{animation:fadeInLeft .7s cubic-bezier(.4,0,.2,1) both!important}
.sr-r.vis{animation:fadeInRight .7s cubic-bezier(.4,0,.2,1) both!important}
/* ── COUNTER FIX ── */
.ctr-num,.hstat-num{min-width:1ch;min-height:1em;display:block}

/* ── LOGO SIZE FIX ── */
.nav-logo img {
  height: 56px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
}
#nav.scrolled .nav-logo img {
  height: 46px !important;
}
.footer-brand img {
  height: 60px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
}
/* ── PROGRAM CARD LINK STYLE ── */
a.prog-card {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
}
a.prog-card:hover {
  background: rgba(255,255,255,.17) !important;
  border-color: rgba(190,154,48,.5) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.25) !important;
}

/* ══════════════════════════════════════
   MOBILE RESPONSIVE FIX — Complete
   Fixes: narrow cards, overflow text,
   multi-column on small screens
══════════════════════════════════════ */
@media (max-width: 767px) {
  /* ── Sections ── */
  section { padding: 48px 16px !important; }
  .section-inner { padding: 0 !important; }

  /* ── Services: 1 column on mobile ── */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .svc-card {
    padding: 24px 20px !important;
  }
  .svc-card h3 {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .svc-card p {
    font-size: .88rem !important;
    line-height: 1.75 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  /* ── Programs: 1 column ── */
  .prog-scroll { padding: 0 16px 24px !important; overflow-x: hidden !important; }
  .prog-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    min-width: unset !important;
  }
  .prog-card {
    flex: none !important;
    width: 100% !important;
  }
  .prog-card h4 {
    font-size: .96rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .prog-card p {
    font-size: .84rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  /* ── Destinations: 1 column ── */
  .dest-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .dest-body h3 { font-size: 1.05rem !important; }
  .dest-body p {
    font-size: .88rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .dest-tags { flex-wrap: wrap !important; gap: 6px !important; }
  .dest-tag { white-space: normal !important; text-align: center !important; }

  /* ── About: Stack vertically ── */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .about-text h2 {
    font-size: 1.4rem !important;
    line-height: 1.5 !important;
    word-break: normal !important;
  }
  .about-lead {
    font-size: .9rem !important;
    line-height: 1.85 !important;
  }
  .about-badge { position: static !important; margin-top: 20px !important; }
  .value-pills { flex-wrap: wrap !important; gap: 8px !important; }
  .vpill {
    font-size: .8rem !important;
    padding: 8px 14px !important;
    flex-shrink: 0 !important;
  }

  /* ── Testimonials: 1 column ── */
  .testi-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    max-width: 100% !important;
  }
  .testi-text {
    font-size: .88rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  /* ── Blog: 1 column ── */
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    max-width: 100% !important;
  }
  .blog-card h3 {
    font-size: .94rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .blog-cat {
    white-space: normal !important;
    text-align: center !important;
    display: inline-block !important;
  }

  /* ── Contact: Stack ── */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .form-wrap { padding: 28px 20px !important; }
  .contact-left h2 { font-size: 1.5rem !important; }

  /* ── Hero ── */
  .hero-content { padding: 0 16px !important; padding-top: 76px !important; }
  .hero-h1 { font-size: 2rem !important; line-height: 1.3 !important; }
  .hero-sub { font-size: .92rem !important; }
  .hero-btns { flex-direction: column !important; align-items: center !important; gap: 12px !important; }
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    padding: 16px !important;
  }
  .hstat { border: none !important; padding: 12px 8px !important; }
  .hstat-num { font-size: 1.6rem !important; }

  /* ── Counters ── */
  .counters-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .ctr { border-right: none !important; border-left: none !important; border-bottom: 1px solid rgba(255,255,255,.12) !important; padding: 16px 8px !important; }
  .ctr-num { font-size: 2rem !important; }

  /* ── Footer ── */
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  #footer { padding: 40px 16px 0 !important; }

  /* ── Global text overflow fix ── */
  * { max-width: 100%; }
  h1,h2,h3,h4,p,span,li,a {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 1.7rem !important; }
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-inner { padding: 0 14px !important; }
  .nav-logo img { height: 44px !important; }
}
