/* ═══════════════════════════════════════
   ROOT & RESET
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --gold:        #ac9a27;
  --gold-light:  #c8b53a;
  --gold-dark:   #8a7b1f;

  /* Layout backgrounds */
  --bg-white:    #ffffff;
  --bg-light:    #f5f7fc;
  --bg-cream:    #faf8ef;
  --bg-pale:     #f0f4fb;
  --bg-hero:     #1a2744;        /* kept dark for hero contrast */
  --bg-footer:   #111d30;

  /* Text */
  --text-head:   #1a2744;
  --text-body:   #3d4f6b;
  --text-muted:  #7a8aaa;

  /* Cards */
  --card-bg:     #ffffff;
  --shadow-sm:   0 2px 12px rgba(0,0,0,.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,.1);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.13);
  --shadow-gold: 0 8px 32px rgba(172,154,39,.22);

  /* Borders */
  --border:      rgba(0,0,0,.08);
  --border-gold: rgba(172,154,39,.28);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg-white);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Gold gradient text */
.gold-text {
  background: linear-gradient(135deg, #ac9a27, #d4a820, #8a7b1f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(3deg); }
}
@keyframes float-logo {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 30px rgba(255,255,255,.4); }
  50%      { box-shadow: 0 0 80px rgba(255,255,255,.8), 0 0 120px rgba(255,255,255,.3); }
}
@keyframes dot-bounce {
  0%,80%,100% { transform: scale(.7); opacity:.4; }
  40%          { transform: scale(1.2); opacity:1; }
}
@keyframes shine {
  0%   { left: -80%; }
  50%  { left: 130%; }
  100% { left: 130%; }
}

/* Scroll-reveal */
.fade-up, .fade-left, .fade-right, .scale-in {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up   { transform: translateY(40px); }
.fade-left  { transform: translateX(40px); }
.fade-right { transform: translateX(-40px); }
.scale-in  { transform: scale(.87); }
.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.scale-in.visible { opacity: 1; transform: none; }

/* Shine overlay */
.shine-btn { position: relative; overflow: hidden; }
.shine-btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -80%;
  width: 50%; height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════
   LOADING SCREEN  — gold background
════════════════════════════════════════ */
#loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity .7s ease;
}
#loading-screen.fade-out { opacity: 0; pointer-events: none; }

#loading-circle {
  position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  filter: blur(6px);
  animation: glow-pulse 2s ease-in-out infinite;
  transition: transform .8s ease, opacity .8s ease;
}
#loading-logo {
  position: relative; z-index: 10;
  width: 200px; object-fit: contain;
  animation: float-logo 2s ease-in-out infinite;
  transition: opacity .6s ease, transform .6s ease;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.15));
}
#loading-dots {
  position: absolute; bottom: 64px;
  display: flex; gap: 8px;
  transition: opacity .5s ease;
}
#loading-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.85); display: block;
  animation: dot-bounce 1.2s ease-in-out infinite;
}
#loading-dots span:nth-child(2) { animation-delay: .2s; }
#loading-dots span:nth-child(3) { animation-delay: .4s; }

/* ═══════════════════════════════════════
   HEADER
════════════════════════════════════════ */
#header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, transform .7s ease, opacity .7s ease;
  transform: translateY(-100%); opacity: 0;
  background-color: #fff;
  padding: 10px 0;
}
#header.visible { transform: translateY(0); opacity: 1; }

/* Scrolled = white glass */
#header.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  direction: rtl; /* lock physical positions — same layout in both languages */
}
.header-logo { height: 90px; width: auto; object-fit: contain; }

/* Left group: contact + language switcher */
.header-actions {
  display: flex; align-items: center; gap: 12px;
}

/* Language switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 2px;
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: .75rem; font-weight: 700;
  padding: 4px 9px; border-radius: 7px;
  cursor: pointer; font-family: inherit;
  letter-spacing: .06em;
  transition: color .2s, border-color .2s, background .2s;
}
.lang-btn:hover  { color: var(--gold); border-color: rgba(172,154,39,.35); }
.lang-btn.active { color: var(--gold); border-color: rgba(172,154,39,.5); background: rgba(172,154,39,.1); }
.lang-sep { color: var(--text-muted); font-size: .7rem; padding: 0 1px; user-select: none; }
.lang-switcher-mobile { margin-top: 12px; justify-content: center; }

/* Hero is now light — nav links are always dark */
#main-nav { display: flex; gap: 28px; }
.nav-link {
  font-size: .875rem; font-weight: 600;
  position: relative;
  color: var(--text-head);
  transition: color .3s;
}

.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; right: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .3s ease; border-radius: 1px;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

.btn-contact {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 50px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .8rem; font-weight: 600;
  transition: background .3s, color .3s;
}
.btn-contact:hover { background: var(--gold); color: #fff; }

#hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
#hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-head); border-radius: 2px;
  transition: all .3s;
}
#hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

#mobile-nav {
  display: none; flex-direction: column; gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-gold);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
}
#mobile-nav.open { display: flex; }
#mobile-nav .nav-link { color: var(--text-head); }
#mobile-nav .btn-contact { border-color: var(--gold); color: var(--gold); width: fit-content; }

/* ═══════════════════════════════════════
   HERO  — light / white
════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: #655803;
}

#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/bg.jpg') center center / cover no-repeat;
  opacity: 0.03;
  pointer-events: none;
}

.hero-bg {
  position: absolute; inset: 0;
  background: none; will-change: transform;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .22)  0%,
    rgba(0, 0, 0, .06)  35%,
    transparent         60%
  );
}

.hero-circle { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-circle-1 {
  width: 600px; height: 600px; top: -160px; left: -160px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%);
  animation: float 9s ease-in-out infinite;
}
.hero-circle-2 {
  width: 380px; height: 380px; top: 25%; right: -100px;
  background: radial-gradient(circle, rgba(13,26,46,.18), transparent 65%);
  animation: float 7s ease-in-out 2s infinite;
}
.hero-circle-3 {
  width: 240px; height: 240px; bottom: 8%; left: 28%;
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 65%);
  animation: float 6s ease-in-out 1s infinite;
}

.hero-grid { position: absolute; inset: 0; opacity: .09; pointer-events: none; }

.particle {
  position: absolute; width: 6px; height: 6px;
  border-radius: 50%; background: #fff; opacity: .5;
  animation: float 5s ease-in-out infinite;
}
.line-bottom-right {
  position: absolute; bottom: 0; right: 0;
  width: 33%; height: 1px;
  background: linear-gradient(to left, rgba(255,255,255,.35), transparent);
}
.line-top-left {
  position: absolute; top: 0; left: 0;
  width: 33%; height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,.35), transparent);
}

.hero-content {
  position: relative; z-index: 10;
  padding-top: 100px; padding-bottom: 80px;
  max-width: 1200px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px;
  direction: rtl; /* lock column positions — matches Arabic/image layout in both languages */
}

/* Text column: badge · headline · CTAs · stats */
.hero-col-right {
  flex: 0 0 56%; max-width: 56%;
}

/* Video demo column */
.hero-video-col {
  flex: 0 0 36%; max-width: 36%;
  display: flex; align-items: center; justify-content: center;
}

.hero-video-frame {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}

.video-glow {
  position: absolute;
  width: 300px; height: 430px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.18) 0%, transparent 70%);
  filter: blur(28px);
  z-index: 1;
  pointer-events: none;
}

.video-device-frame {
  position: relative; z-index: 2;
  width: 260px;
  border-radius: 32px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.7);
  box-shadow:
    0 0 0 6px rgba(255,255,255,.08),
    0 0 0 12px rgba(255,255,255,.04),
    0 32px 80px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.2);
  background: #060a18;
}

.video-device-frame::before {
  content: '';
  display: block; height: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, rgba(13,26,46,.3) 100%);
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.video-device-frame video {
  width: 100%; height: auto; display: block;
}

.video-demo-badge {
  position: absolute;
  bottom: 6px; left: 50%; transform: translateX(-50%);
  z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(13,26,46,.88);
  backdrop-filter: blur(8px);
  color: #fff; font-size: .72rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  white-space: nowrap; letter-spacing: .03em;
}

.video-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; flex-shrink: 0;
  animation: dot-bounce 1.5s ease-in-out infinite;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(13,26,46,.22);
  color: #fff; font-size: .85rem; font-weight: 700;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; animation: dot-bounce 2s ease-in-out infinite;
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900; line-height: 1.2;
  color: #fff; margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.82);
  max-width: 640px; margin-bottom: 40px; line-height: 1.9;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
  color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: var(--shadow-gold);
  transition: transform .3s, box-shadow .3s;
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(172,154,39,.5); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 14px;
  border: 1px solid rgba(37,211,102,.6);
  background: rgba(37,211,102,.14); color: #3ddc7a;
  font-weight: 700; font-size: .95rem;
  transition: transform .3s, background .3s;
}
.btn-whatsapp:hover { transform: translateY(-3px); background: rgba(37,211,102,.26); }

.hero-pdf-row { margin-top: 4px; }
.btn-pdf-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid rgba(172,154,39,.4);
  color: var(--gold-dark); font-size: .85rem; font-weight: 600;
  text-decoration: none; transition: border-color .2s, background .2s, color .2s;
}
.btn-pdf-link:hover { border-color: var(--gold); background: rgba(172,154,39,.07); color: var(--gold); }
#hero .btn-pdf-link { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
#hero .btn-pdf-link:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); color: #fff; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat { text-align: start; }
.hero-stat-val { font-size: 2rem; font-weight: 900; }
.hero-stat-lbl { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 4px; }

.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.6); font-size: .75rem;
  z-index: 10; pointer-events: none;
}
.scroll-line {
  width: 2px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: dot-bounce 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════
   HERO GOLD BG — colour overrides
════════════════════════════════════════ */

/* Gold-gradient text becomes dark navy on gold bg so it stays visible */
#hero h1 .gold-text {
  background: none;
  -webkit-text-fill-color: #f3d921d9;
  color: #0d1a2e;
}

/* Stat numbers: white instead of gold-gradient */
#hero .hero-stat-val {
  -webkit-text-fill-color: #fff;
  color: #fff;
}

/* Primary CTA: dark navy on gold bg */
#hero .btn-gold {
  background: rgba(13,26,46,.88);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
#hero .btn-gold:hover {
  background: rgba(13,26,46,1);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transform: translateY(-3px) scale(1.02);
}

/* WhatsApp CTA: frosted on gold bg */
#hero .btn-whatsapp {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
#hero .btn-whatsapp:hover {
  background: rgba(255,255,255,.25);
}

/* ═══════════════════════════════════════
   HERO DECORATIVE SVG LINE + ELEMENTS
════════════════════════════════════════ */

.hero-deco-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
  overflow: visible;
}

/* Animated connection line */
.deco-line-main {
  fill: none;
  stroke: rgba(255,255,255,.6);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-hero-line 2.4s cubic-bezier(.4,0,.2,1) forwards 2s;
}

/* Endpoint dot at device top */
.deco-dot-end {
  fill: #fff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: fade-in-el .3s ease forwards 4.2s;
}

/* Pulsing rings around endpoint dot */
.deco-ring-1 {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: fade-in-el .3s ease forwards 4.2s, pulse-ring 2.4s ease-in-out infinite 4.5s;
}
.deco-ring-2 {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: fade-in-el .3s ease forwards 4.2s, pulse-ring 2.4s ease-in-out 0.6s infinite 4.5s;
}

/* Network nodes */
.deco-node {
  opacity: 0;
  animation: fade-in-el .5s ease forwards 3s;
}

@keyframes draw-hero-line {
  to { stroke-dashoffset: 0; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: .55; }
  50%  { transform: scale(1.9); opacity: .08; }
  100% { transform: scale(1);   opacity: .55; }
}

@keyframes fade-in-el {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════
   SECTION COMMON
════════════════════════════════════════ */
section { padding: 88px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 900; color: var(--text-head); margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 520px; margin: 0 auto; line-height: 1.85;
}

.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 50px;
  border: 1px solid var(--border-gold);
  background: rgba(172,154,39,.08);
  color: var(--gold); font-size: .8rem; font-weight: 700;
  margin-bottom: 18px; letter-spacing: .3px;
}

.section-divider {
  width: 80px; height: 3px;
  background: linear-gradient(to left, var(--gold), transparent);
  border-radius: 2px; margin: 20px auto 0;
}



.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.stat-card {
  text-align: center; padding: 40px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-icon { font-size: 2.2rem; margin-bottom: 14px; }
.stat-num { font-size: 2.8rem; font-weight: 900; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat-lbl { color: var(--text-muted); font-weight: 500; font-size: .9rem; }

/* ═══════════════════════════════════════
   TRAINING AREAS CTA BANNER
════════════════════════════════════════ */
#training-areas {
  position: relative; overflow: hidden;
  padding: 88px 0;
}

.ta-bg {
  position: absolute; inset: 0;
  /* background: linear-gradient(135deg, #0f1b35 0%, #1a2744 55%, #0d1728 100%); */
}

.ta-circle {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(172,154,39,.18), transparent 65%);
}
.ta-circle-1 { width: 520px; height: 520px; top: -180px; right: -80px; }
.ta-circle-2 { width: 380px; height: 380px; bottom: -120px; left: -60px; }

.ta-grid {
  position: absolute; inset: 0; opacity: .04; pointer-events: none;
  background-image:
    linear-gradient(rgba(172,154,39,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172,154,39,.6) 1px, transparent 1px);
  background-size: 60px 60px;
}

.ta-inner {
  position: relative; z-index: 10;
  text-align: center;
  max-width: 700px; margin: 0 auto;
}

.ta-icon {
  font-size: 3.2rem; display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 16px rgba(172,154,39,.45));
}

.ta-badge {
  display: inline-flex; align-items: center;
  padding: 7px 20px; border-radius: 50px;
  border: 1px solid rgba(172,154,39,.4);
  background: rgba(172,154,39,.14);
  color: var(--gold-light);
  font-size: .82rem; font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: .02em;
}

#training-areas h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  font-weight: 900; line-height: 1.25;
  color: #6b6b6b; margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}

#training-areas p {
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  color: rgb(45 38 38 / 72%);
  max-width: 580px; margin: 0 auto 36px;
  line-height: 1.9;
}

.btn-ta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 40px; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
  color: #fff; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 32px rgba(172,154,39,.38), 0 2px 8px rgba(0,0,0,.25);
  transition: transform .3s, box-shadow .3s;
}
.btn-ta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 44px rgba(172,154,39,.55);
}
.btn-ta svg { flex-shrink: 0; }

/* ═══════════════════════════════════════
   FEATURES — light blue-gray
════════════════════════════════════════ */
#features {
  background: var(--bg-pale);
}

.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.feature-card {
  padding: 32px 26px; border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s, border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 0; height: 3px;
  background: linear-gradient(to left, var(--gold), transparent);
  border-radius: 1px; transition: width .5s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }
.feature-card:hover::after { width: 100%; }

.feat-icon {
  font-size: 2rem; width: 58px; height: 58px; border-radius: 16px;
  background: rgba(172,154,39,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: background .3s;
}
.feature-card:hover .feat-icon { background: rgba(172,154,39,.2); }
.feature-card h4 { font-size: 1.05rem; font-weight: 800; color: var(--text-head); margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .85rem; line-height: 1.8; }

/* ═══════════════════════════════════════
   TESTIMONIALS — white
════════════════════════════════════════ */
#testimonials { background: var(--bg-white); }

.testimonial-wrapper { max-width: 780px; margin: 0 auto; }

.testimonial-card {
  padding: 52px 44px;
  border-radius: 24px;
  border: 1px solid var(--border-gold);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  text-align: center; min-height: 280px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

.quote-mark {
  font-size: 5rem; line-height: .8;
  color: var(--gold); opacity: .2;
  font-family: Georgia, serif; margin-bottom: 12px;
}
#t-text {
  font-size: 1.05rem; color: var(--text-body);
  line-height: 1.9; max-width: 580px;
  margin-bottom: 24px; transition: opacity .4s ease;
}
.t-stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 20px; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#t-name { display: block; font-weight: 800; font-size: .95rem; color: var(--text-head); }
#t-role { display: block; color: var(--text-muted); font-size: .8rem; }

.t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.t-dot {
  height: 8px; border-radius: 4px;
  background: var(--border); cursor: pointer;
  transition: width .35s, background .35s; width: 8px;
}
.t-dot.active { width: 32px; background: var(--gold); }

.t-thumbs { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.t-thumb {
  padding: 8px 14px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-light);
  cursor: pointer; transition: border-color .3s, background .3s;
  text-align: center; min-width: 80px;
}
.t-thumb.active { border-color: var(--gold); background: rgba(172,154,39,.08); }
.t-thumb-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  margin: 0 auto 4px;
  background: rgba(0,0,0,.08); color: var(--text-muted);
  font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.t-thumb.active .t-thumb-avatar { background: var(--gold); color: #fff; }
.t-thumb-name { font-size: .72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ═══════════════════════════════════════
   FAQ — light pale bg
════════════════════════════════════════ */
#faq { background: var(--bg-cream); }
.faq-container { max-width: 780px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--card-bg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s;
}
.faq-item:hover { border-color: var(--border-gold); box-shadow: var(--shadow-md); }

.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: var(--card-bg);
  border: none; color: var(--text-head);
  font-family: 'Cairo', sans-serif; font-size: .95rem; font-weight: 700;
  cursor: pointer; text-align: start; transition: background .3s;
}
.faq-trigger:hover { background: var(--bg-light); }

.faq-icon {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-gold); padding: 6px;
  color: var(--gold); flex-shrink: 0; margin-right: 8px;
  transition: transform .35s, background .3s, color .3s;
}
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(180deg); background: var(--gold); color: #fff; }

.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(.4,0,.2,1);
  color: var(--text-body); font-size: .9rem; line-height: 1.85;
  border-top: 1px solid var(--border); padding: 0 22px;
}
.faq-body.open { max-height: 400px; padding: 16px 22px 20px; }
.faq-link { color: var(--gold-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-link:hover { color: var(--gold); }

.faq-cta { text-align: center; margin-top: 40px; }
.faq-cta p { color: var(--text-muted); font-size: .9rem; margin-bottom: 14px; }

.btn-wa-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 14px;
  border: 1px solid rgba(37,211,102,.4); background: rgba(37,211,102,.07);
  color: #1aab4e; font-weight: 600; font-size: .9rem;
  transition: background .3s;
}
.btn-wa-outline:hover { background: rgba(37,211,102,.15); }

/* ═══════════════════════════════════════
   PRIVACY — white
════════════════════════════════════════ */
#privacy { background: var(--bg-white); border-top: 1px solid var(--border); }

.privacy-box {
  padding: 48px 40px; border-radius: 20px;
  border: 1px solid var(--border-gold);
  background: var(--card-bg); box-shadow: var(--shadow-sm);
}
.privacy-box h2 { font-size: 1.8rem; font-weight: 900; color: var(--text-head); margin-bottom: 24px; }
.privacy-content p { color: var(--text-body); font-size: .92rem; line-height: 1.95; margin-bottom: 16px; }
.privacy-content strong { color: var(--text-head); }

/* ═══════════════════════════════════════
   CONTACT — cream with gold tint
════════════════════════════════════════ */
#contact { background: var(--bg-cream); }

.contact-card {
  position: relative; padding: 64px 52px;
  border-radius: 28px; border: 1px solid var(--border-gold);
  background: var(--card-bg); box-shadow: var(--shadow-md);
  text-align: center; overflow: hidden;
}
.contact-deco {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(172,154,39,.1), transparent);
}
.contact-deco-1 { width: 300px; height: 300px; top: -80px; right: -80px; }
.contact-deco-2 { width: 220px; height: 220px; bottom: -70px; left: -70px; }
.contact-inner { position: relative; z-index: 2; }

.contact-card h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--text-head); margin-bottom: 16px; }
.contact-card > .contact-inner > p {
  color: var(--text-muted); font-size: 1rem;
  max-width: 480px; margin: 0 auto 36px; line-height: 1.85;
}

.contact-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 36px; }

.btn-wa-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 14px;
  border: 1px solid rgba(37,211,102,.45); background: rgba(37,211,102,.08);
  color: #1aab4e; font-family: 'Cairo', sans-serif; font-weight: 700; font-size: .95rem;
  transition: background .3s, transform .3s;
}
.btn-wa-contact:hover { background: rgba(37,211,102,.18); transform: scale(1.03); }

.btn-call-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 14px;
  border: 1px solid var(--border-gold); background: rgba(172,154,39,.08);
  color: var(--gold-dark); font-family: 'Cairo', sans-serif; font-weight: 700; font-size: .95rem;
  transition: background .3s, transform .3s;
}
.btn-call-contact:hover { background: rgba(172,154,39,.16); transform: scale(1.03); }

.btn-email-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg-light);
  color: var(--text-body); font-family: 'Cairo', sans-serif; font-weight: 600; font-size: .95rem;
  transition: background .3s, transform .3s;
}
.btn-email-contact:hover { background: #e8eaf2; transform: scale(1.03); }

.contact-info-strip {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.cis-label { color: var(--gold); font-size: .78rem; font-weight: 700; margin-bottom: 4px; }
.cis-val { color: var(--text-muted); font-size: .84rem; }

/* ═══════════════════════════════════════
   FOOTER — dark navy (contrast anchor)
════════════════════════════════════════ */
#footer { border-top: 3px solid var(--gold); background: var(--bg-footer); }

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding-top: 52px; padding-bottom: 36px;
}
.footer-logo { height: 48px; width: auto; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.45); font-size: .85rem; line-height: 1.85; margin-bottom: 22px; }

.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(172,154,39,.35); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s;
}
.social-btn:hover { background: rgba(172,154,39,.15); border-color: var(--gold); }

/* App store download badges */
.app-download { margin-top: 24px; }
.app-download-label {
  font-size: .73rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.38); text-transform: uppercase;
  margin-bottom: 10px;
}
.app-badges { display: flex; gap: 10px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 16px; border-radius: 11px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  color: #fff;
  transition: background .25s, border-color .25s, transform .2s;
  width: fit-content;
}
.app-badge:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-2px);
}
.app-badge svg { flex-shrink: 0; }
.app-badge-text {
  display: flex; flex-direction: column; line-height: 1.25;
}
.app-badge-text span {
  font-size: .62rem; color: rgba(255,255,255,.62); font-weight: 400;
}
.app-badge-text strong { font-size: .88rem; font-weight: 700; letter-spacing: .01em; }

.footer-col h4 { color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li:first-child {
    max-width: fit-content;
}
.footer-col ul a {
  color: rgba(255,255,255,.45); font-size: .85rem;
  display: flex; align-items: flex-start; gap: 8px;
  transition: color .3s;
}
.footer-col ul a::before {
  content: ''; flex-shrink: 0; width: 5px; height: 5px;
  border-radius: 50%; background: rgba(172,154,39,.5); margin-top: 8px;
}
.footer-col ul a:hover { color: var(--gold-light); }

.footer-contact li { color: rgba(255,255,255,.45); font-size: .85rem; margin-bottom: 10px; display: flex; gap: 8px; }
.footer-contact a { color: rgba(255,255,255,.45); transition: color .3s; }
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .78rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.3); font-size: .78rem; transition: color .3s; }
.footer-links a:hover { color: var(--gold); }

/* Floating WhatsApp */
#floating-wa {
  position: fixed; bottom: 24px; left: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,.5);
  transition: transform .3s;
  cursor: grab;
  touch-action: none;
  animation: float 5s ease-in-out 1s infinite;
}
#floating-wa:hover { transform: scale(1.12); }
.floating-badge {
  position: absolute; top: -2px; right: -2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #ef4444; color: #fff;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-col-right  { flex: 0 0 52%; max-width: 52%; }
  .hero-video-col  { flex: 0 0 42%; max-width: 42%; }
  .video-device-frame { width: 220px; border-radius: 26px; }
  .video-glow      { width: 260px; height: 370px; }

  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  #main-nav { display: none; }
  #hamburger { display: flex; }

  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .features-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .contact-info-strip { grid-template-columns: 1fr; }

  /* Mobile hero: video first (order -1), text below */
  #hero { align-items: center; }
  .hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,.18) 0%, transparent 45%);
  }
  .hero-content {
    flex-direction: column; align-items: center;
    padding-top: 30px; padding-bottom: 48px; gap: 20px;
  }
  #hero .badge { display: none; }       /* hide brand badge on mobile */
  .hero-col-right { flex: none; max-width: 100%; width: 100%; }
  .hero-video-col {
    order: -1;                          /* video appears first */
    flex: none; max-width: 100%; width: 100%;
    display: flex; justify-content: center;
  }
  .video-device-frame { width: 200px; border-radius: 24px; }
  .video-glow { width: 240px; height: 340px; }
  .video-demo-badge { font-size: .68rem; padding: 5px 12px; }
  .hero-video-frame { padding: 10px; }

  .hero-stats {
    grid-template-columns: repeat(3,1fr);
    padding-top: 20px; gap: 12px;
  }
  .hero-stat { text-align: center; }
  .hero-stat-val { font-size: 1.4rem; }

  .contact-card  { padding: 36px 24px; }
  .privacy-box   { padding: 28px; }
  .testimonial-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-ctas    { flex-direction: column; }
  .hero-stat-val { font-size: 1.2rem; }
  .video-device-frame { width: 192px; border-radius: 20px; }
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .t-thumbs     { gap: 6px; }
  .t-thumb      { min-width: 68px; }
}

/* ═══════════════════════════════════════
   LTR OVERRIDES  (English mode)
════════════════════════════════════════ */

/*
 * Hero section: identical visual layout in English and Arabic.
 * [dir="ltr"] #hero * has specificity 1,1,0 — beats the browser UA stylesheet's
 * [dir="ltr"] * { direction: ltr } which is only 0,1,0.
 * This locks every hero descendant (columns, text, buttons, stats) to RTL direction
 * so nothing shifts between Arabic and English.
 */
[dir="ltr"] #hero * { direction: rtl; }

/* Floating WhatsApp: move to right side in LTR */
[dir="ltr"] #floating-wa { left: auto; right: 24px; }

/* Nav underline grows left-to-right in LTR */
[dir="ltr"] .nav-link::after { left: 0; right: auto; }

/* Mobile nav lang switcher */
[dir="ltr"] .lang-switcher-mobile { justify-content: flex-start; }

/* ═══════════════════════════════════════
   HERO PROGRAM CARD  (replaces video demo)
════════════════════════════════════════ */
.hero-program-card {
  width: 280px; border-radius: 24px; overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.18);
  box-shadow:
    0 0 0 6px rgba(255,255,255,.05),
    0 32px 80px rgba(0,0,0,.35);
  background: rgba(10,20,40,.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.prog-card-top {
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(172,154,39,.32), rgba(172,154,39,.12));
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.prog-card-title  { font-size: .88rem; font-weight: 900; color: #fff; line-height: 1.35; }
.prog-card-subtitle { font-size: .68rem; color: rgba(255,255,255,.55); margin-top: 4px; }
.prog-card-body   { padding: 16px 22px; display: flex; flex-direction: column; gap: 9px; }
.prog-card-item   { display: flex; align-items: center; gap: 10px; }
.prog-card-check  {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: rgba(172,154,39,.22);
  border: 1px solid rgba(200,181,58,.5);
  display: flex; align-items: center; justify-content: center;
  color: #c8b53a; font-size: .6rem;
}
.prog-card-text   { font-size: .75rem; color: rgba(255,255,255,.82); font-weight: 500; }
.prog-card-footer {
  padding: 11px 22px; border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
  display: flex; align-items: center; gap: 8px;
}
.prog-card-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #c8b53a; flex-shrink: 0;
  animation: dot-bounce 1.5s ease-in-out infinite;
}
.prog-card-label  { font-size: .65rem; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .03em; }

/* ═══════════════════════════════════════
   SUPPORT SERVICES GRID  (2 × 2)
════════════════════════════════════════ */
#testimonials { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.svc-card {
  padding: 28px 24px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s, border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 0; height: 3px;
  background: linear-gradient(to left, var(--gold), transparent);
  border-radius: 1px; transition: width .5s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }
.svc-card:hover::after { width: 100%; }
.svc-card h4 { font-size: 1.05rem; font-weight: 800; color: var(--text-head); margin-bottom: 14px; }
.svc-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.svc-card ul li {
  font-size: .83rem; color: var(--text-muted); line-height: 1.7;
  padding-right: 16px; position: relative;
}
.svc-card ul li::before {
  content: '▸'; position: absolute; right: 0;
  color: var(--gold); font-size: .7rem; top: 2px;
}
[dir="ltr"] .svc-card ul li { padding-right: 0; padding-left: 16px; }
[dir="ltr"] .svc-card ul li::before { right: auto; left: 0; }

/* ═══════════════════════════════════════
   CURRICULA GRID  (inside #privacy repurposed)
════════════════════════════════════════ */
#privacy { background: var(--bg-white); border-top: 1px solid var(--border); }
.curricula-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  margin-bottom: 20px;
}
.cur-card {
  padding: 18px 16px; border-radius: 16px;
  border: 1px solid var(--border-gold); background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-start; gap: 14px;
  transition: transform .3s, box-shadow .3s;
}
.cur-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cur-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .85rem; color: #fff;
}
.cur-name { font-size: .88rem; font-weight: 700; color: var(--text-head); margin-bottom: 3px; }
.cur-sub  { font-size: .75rem; color: var(--text-muted); line-height: 1.45; }

/* ═══════════════════════════════════════
   RESPONSIVE ADDITIONS
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .curricula-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .hero-program-card { width: 215px; }
  .prog-card-body   { gap: 7px; }
  .services-grid    { grid-template-columns: 1fr; }
  .curricula-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-program-card { width: 195px; }
  .curricula-grid   { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   HERO v2 — DRAMATIC CARD REDESIGN
   Overrides the old gold-bg hero
════════════════════════════════════════ */

/* Background: warm cream */
#hero { background: var(--bg-cream); }

/* Disable old bg.jpg pseudo-element + overlay */
#hero::before { content: none; }
.hero-overlay { display: none; }

/* Headline: dark navy, no glow shadow */
#hero h1 { color: var(--text-head); text-shadow: none; }

/* Gold gradient on the accent span — pops beautifully on cream */
#hero h1 .gold-text {
  background: linear-gradient(135deg, #c8b53a, #e8c93a, #ac9a27);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero badge: gold-accented pill */
.badge {
  border-color: rgba(172,154,39,.45);
  background: rgba(172,154,39,.1);
  color: var(--gold-dark);
}
.badge-dot { background: var(--gold); }

/* Body copy: dark */
.hero-sub { color: var(--text-body); }

/* Stats row */
.hero-stats { border-top-color: rgba(0,0,0,.09); }
.hero-stat-lbl { color: var(--text-muted); }

/* Gold CTA — stays gold gradient */
#hero .btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
  color: #fff;
  box-shadow: 0 8px 32px rgba(172,154,39,.38);
}
#hero .btn-gold:hover {
  box-shadow: 0 14px 44px rgba(172,154,39,.55);
  transform: translateY(-3px) scale(1.02);
}

/* WhatsApp CTA: dark green on cream */
#hero .btn-whatsapp {
  background: rgba(37,211,102,.1);
  border: 1.5px solid rgba(37,211,102,.55);
  color: #1a7a3c;
}
#hero .btn-whatsapp:hover { background: rgba(37,211,102,.2); }

/* Dot grid: softer on cream */
.h-dot-grid {
  background-image: radial-gradient(rgba(172,154,39,.1) 1.5px, transparent 1.5px);
}

/* Ambient glow: softer on cream */
.h-glow-orb {
  background: radial-gradient(ellipse, rgba(172,154,39,.07) 0%, transparent 65%);
}

/* Image card: soften the heavy black drop-shadow for light bg */
.h-img-card {
  box-shadow:
    0 0 0 10px rgba(254,249,240,.85),
    0 0 0 11px rgba(172,154,39,.25),
    0 24px 56px rgba(0,0,0,.18),
    0 8px 20px rgba(0,0,0,.1);
}
.h-img-card:hover {
  box-shadow:
    0 0 0 10px rgba(254,249,240,.9),
    0 0 0 11px rgba(172,154,39,.38),
    0 32px 72px rgba(0,0,0,.22),
    0 10px 28px rgba(0,0,0,.13);
}

/* Trust bar: dark separators + muted labels */
.h-trust-bar { border-top-color: rgba(0,0,0,.09); }
.h-trust-lbl  { color: var(--text-muted); }
.h-trust-sep  { background: rgba(0,0,0,.09); }

/* Scroll indicator: dark */
.scroll-indicator { color: var(--text-muted); }
.scroll-line { background: linear-gradient(to bottom, rgba(0,0,0,.28), transparent); }

/* ── Background decoration (unused .h-cream-panel left in HTML as empty node) ── */
.h-cream-panel { display: none; }

/* Dot grid across the whole dark section */
.h-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(172,154,39,.14) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  z-index: 0; pointer-events: none;
}

/* Large ambient gold glow behind content */
.h-glow-orb {
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(172,154,39,.09) 0%, transparent 65%);
  top: 50%; right: 8%; transform: translateY(-50%);
  filter: blur(24px);
  z-index: 0; pointer-events: none;
}

/* Horizontal accent lines (right/text side) */
.h-accent-l1 {
  position: absolute; top: 22%; right: 0;
  width: 240px; height: 1px;
  background: linear-gradient(to left, rgba(172,154,39,.55), transparent);
  z-index: 1; pointer-events: none;
}
.h-accent-l2 {
  position: absolute; bottom: 26%; right: 0;
  width: 160px; height: 1px;
  background: linear-gradient(to left, rgba(172,154,39,.3), transparent);
  z-index: 1; pointer-events: none;
}

/* ── Image column ── */

.h-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 52px;
}

/* Decorative ring arc behind the image */
.h-img-blob {
  position: absolute;
  width: 340px; height: 440px; border-radius: 50%;
  border: 1.5px solid rgba(172,154,39,.18);
  z-index: 0; pointer-events: none;
  transform: translate(-4px, 4px) rotate(-8deg);
}
/* Second ring (larger, subtler) */
.h-img-blob::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px dashed rgba(172,154,39,.1);
}
/* Gold fill glow inside rings */
.h-img-blob::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(172,154,39,.14) 0%, transparent 70%);
  filter: blur(22px);
}

/* Image card — cream-matted, tilted frame */
.h-img-card {
  position: relative; z-index: 2;
  width: 262px;
  border-radius: 22px;
  overflow: visible;   /* allow ::after bracket to show */
  border: none;        /* border on the inner wrapper instead */
  box-shadow:
    0 0 0 10px rgba(254,249,240,.06),
    0 0 0 11px rgba(172,154,39,.22),
    0 32px 80px rgba(0,0,0,.55),
    0 8px 24px rgba(0,0,0,.25);
  transform: rotate(-2deg);
  transition: transform .65s cubic-bezier(.34,1.56,.64,1), box-shadow .65s ease;
}
.h-img-card:hover {
  transform: rotate(0deg) scale(1.025);
  box-shadow:
    0 0 0 10px rgba(254,249,240,.08),
    0 0 0 11px rgba(172,154,39,.35),
    0 40px 100px rgba(0,0,0,.6),
    0 12px 32px rgba(0,0,0,.28);
}
/* Inner rounded image */
.h-img-card img {
  width: 100%; height: auto; display: block;
  border-radius: 22px;
}

/* Cream mat board effect — thin cream border inside the gold ring */
.h-img-card::before {
  content: '';
  position: absolute; inset: -9px;
  border-radius: 26px;
  background: #fef8ed;
  z-index: -1;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.08);
}

/* Corner accent brackets */
.h-img-card::after {
  content: '';
  position: absolute; top: -20px; right: -20px;
  width: 28px; height: 28px;
  border-top: 2px solid rgba(172,154,39,.8);
  border-right: 2px solid rgba(172,154,39,.8);
  border-radius: 0 8px 0 0;
  pointer-events: none;
}

/* Bottom-left bracket (needs a span, so use a wrapper pseudo) */
.h-img-wrapper::after {
  content: '';
  position: absolute; bottom: 48px; left: calc(50% - 131px - 20px);
  width: 28px; height: 28px;
  border-bottom: 2px solid rgba(172,154,39,.5);
  border-left: 2px solid rgba(172,154,39,.5);
  border-radius: 0 0 0 8px;
  pointer-events: none; z-index: 3;
}

/* Floating home-sessions badge (below image) */
.h-img-badge {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 50px;
  background: rgba(11,22,40,.92);
  border: 1px solid rgba(172,154,39,.5);
  color: rgba(255,255,255,.9); font-size: .74rem; font-weight: 700;
  box-shadow: 0 6px 22px rgba(0,0,0,.45);
  white-space: nowrap; letter-spacing: .025em;
  backdrop-filter: blur(8px);
}

/* Floating curricula pill (top-right of image) */
.h-img-pill {
  position: absolute;
  top: 14px; right: -28px; z-index: 5;
  display: flex; flex-direction: column; align-items: center;
  padding: 11px 14px; border-radius: 16px;
  background: rgba(11,22,40,.9);
  border: 1px solid rgba(172,154,39,.4);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  line-height: 1.2;
  backdrop-filter: blur(10px);
}
.h-pill-num {
  font-size: 1.55rem; font-weight: 900; line-height: 1;
  color: var(--gold-light);
}
.h-pill-lbl {
  font-size: .62rem; color: rgba(255,255,255,.5);
  font-weight: 600; margin-top: 3px;
}

/* ── Trust bar (bottom of text column) ── */

.h-trust-bar {
  display: flex; align-items: center; gap: 0;
  margin-top: 40px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.h-trust-item { flex: 1; text-align: center; padding: 0 8px; }
.h-trust-num {
  display: block; font-size: 1.75rem; font-weight: 900; line-height: 1;
  color: var(--gold-light); margin-bottom: 5px;
}
.h-trust-lbl {
  display: block; font-size: .67rem; line-height: 1.45;
  color: var(--text-body); font-weight: 500;
}
.h-trust-sep {
  width: 1px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,.09);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .h-img-card { width: 228px; }
  .h-img-blob { width: 295px; height: 385px; }
  .h-img-pill { right: -18px; }
  .h-img-wrapper::after { left: calc(50% - 114px - 20px); }
}

@media (max-width: 768px) {
  .h-glow-orb { display: none; }
  .h-accent-l1, .h-accent-l2 { display: none; }
  .h-img-wrapper { padding: 16px 16px 46px; }
  .h-img-card { width: 202px; }
  .h-img-blob { width: 260px; height: 340px; }
  .h-img-pill { right: -14px; top: 10px; padding: 8px 10px; }
  .h-pill-num { font-size: 1.2rem; }
  .h-img-wrapper::after { left: calc(50% - 101px - 20px); bottom: 42px; }
  .h-trust-bar { margin-top: 28px; padding-top: 20px; }
  .h-trust-num { font-size: 1.45rem; }
  .h-trust-lbl { font-size: .62rem; }
}

@media (max-width: 480px) {
  .h-img-card { width: 178px; }
  .h-img-blob { width: 228px; height: 296px; }
  .h-img-pill { display: none; }
  .h-img-badge { font-size: .66rem; padding: 7px 13px; }
  .h-img-wrapper::after { display: none; }
  .h-trust-num { font-size: 1.25rem; }
  .h-trust-lbl { font-size: .6rem; }
  .h-trust-sep { height: 34px; }
}

/* ═══════════════════════════════════════
   NAV PAYMENT LINK
════════════════════════════════════════ */
.nav-link-pay {
  color: var(--gold) !important;
  font-weight: 800 !important;
  border: 1.5px solid rgba(172,154,39,.35);
  border-radius: 8px;
  padding: 4px 13px !important;
  transition: background .25s, color .25s, border-color .25s !important;
}
.nav-link-pay:hover,
.nav-link-pay:focus {
  background: var(--gold);
  color: #fff !important;
  border-color: var(--gold);
}

/* ═══════════════════════════════════════
   PRICING / ENROLMENT SECTION
════════════════════════════════════════ */
#pricing {
  background: #fdf0ce;
  padding: 96px 0 100px;
}

/* Card */
.pricing-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(172,154,39,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.14), 0 6px 20px rgba(0,0,0,.08), 0 0 0 1px rgba(172,154,39,.2);
  max-width: 860px;
  margin: 0 auto;
}

/* Left column: includes */
.pricing-left {
  padding: 48px 40px;
  background: #ffffff;
  border-inline-end: 1px solid rgba(172,154,39,.18);
}
.pricing-inc-label {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 22px;
}
.pricing-inc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 30px;
}
.pricing-inc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--text-body);
  font-weight: 600;
}
.pricing-inc-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(172,154,39,.12);
  border: 1.5px solid rgba(172,154,39,.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7b1f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-curr-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(172,154,39,.1);
  border: 1px solid rgba(172,154,39,.28);
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 700;
}
.pricing-curr-note svg { flex-shrink: 0; }

/* Right column: payment CTA */
.pricing-right {
  padding: 48px 40px;
  background: rgba(172,154,39,.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
}
.pricing-price-area {
  margin-bottom: 10px;
  text-align: center;
}
.pricing-price-lbl {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 6px;
}
.pricing-price-note {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Pay Now button */
.btn-pay-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(172,154,39,.4), 0 2px 8px rgba(0,0,0,.25);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  text-decoration: none;
  text-align: center;
}
.btn-pay-now:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 44px rgba(172,154,39,.55), 0 4px 12px rgba(0,0,0,.3);
}
.btn-pay-now svg { flex-shrink: 0; }

/* WhatsApp pricing button */
.btn-wa-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 14px;
  background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.45);
  color: #1a8a40;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  transition: background .25s, transform .3s;
  text-align: center;
}
.btn-wa-pricing:hover {
  background: rgba(37,211,102,.2);
  transform: translateY(-2px);
}
.btn-wa-pricing svg { flex-shrink: 0; }

.pricing-disclaimer {
  font-size: .73rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  margin-top: 2px;
}

/* Contact section Pay Now button */
.btn-pay-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(172,154,39,.38);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  border: none;
}
.btn-pay-contact:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 36px rgba(172,154,39,.5);
}
.btn-pay-contact svg { flex-shrink: 0; }

/* Responsive pricing */
@media (max-width: 768px) {
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-left {
    border-inline-end: none;
    border-bottom: 1px solid rgba(172,154,39,.18);
    padding: 36px 28px;
  }
  .pricing-right { padding: 36px 28px; }
}
@media (max-width: 480px) {
  #pricing { padding: 72px 0 80px; }
  .pricing-left { padding: 28px 20px; }
  .pricing-right { padding: 28px 20px; }
  .pricing-inc-list li { font-size: .88rem; }
  .btn-pay-now { font-size: .97rem; padding: 14px 20px; }
  .btn-wa-pricing { font-size: .88rem; padding: 12px 20px; }
}
