/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  --navy:       #071a2e;
  --navy-mid:   #0d2d4a;
  --navy-light: #124d73;
  --blue:       #1a6fa3;
  --gold:       #f0b429;
  --red:        #d91924;
  --gold-dark:  #c8921a;
  --coral:      #e8614a;
  --teal:       #2bb5a0;
  --white:      #ffffff;
  --off-white:  #f0f5fa;
  --text-muted: #5f7688;
  --card-bg:    rgba(255,255,255,0.04);
  --glass-bg:   rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.13);

  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-card: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 40px rgba(240,180,41,0.25);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: all 0.45s var(--ease);

  /* Light-theme tokens (used for body + main content sections).
     Hero, navbar, footer and modals keep the dark navy tokens above. */
  --bg-page:     #f6f8fb;
  --bg-alt:      #eef2f7;
  --surface:     #ffffff;
  --ink:         #0e2438;
  --ink-soft:    #33475a;
  --muted:       #5b7488;
  --card-border-l: rgba(14,36,56,0.09);
  --card-bg-l:   rgba(14,36,56,0.03);
  --shadow-card-l: 0 8px 28px rgba(14,36,56,0.07);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--ink-soft);
  overflow-x: hidden;
  line-height: 1.65;
}

h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }
a { text-decoration: none; transition: var(--t); }
img { display: block; max-width: 100%; }
ul { list-style: none; }

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

/* ==========================================================================
   REUSABLE: TEXT COLORS
   ========================================================================== */
.text-gold { color: var(--gold); }
.coral     { color: var(--coral); }

/* ==========================================================================
   REUSABLE: BUTTONS
   ========================================================================== */
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--r-xl);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(240,180,41,0.45);
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.btn-primary-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--t);
}
.btn-primary-hero:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(240,180,41,0.6); }
.btn-primary-hero:hover::before { background: rgba(255,255,255,0.1); }
.btn-primary-hero i { width: 18px; height: 18px; stroke-width: 2.5; }

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--glass-bg);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--glass-border);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--t);
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
}
.btn-outline-hero i { width: 18px; height: 18px; }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-pill {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 100px;
  background: rgba(240,180,41,0.12);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(240,180,41,0.2);
}
.pill-light {
  background: rgba(240,180,41,0.12);
  color: var(--gold-dark);
  border-color: rgba(240,180,41,0.3);
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 52px;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--t);
}
.navbar-wrapper.scrolled {
  background: rgba(7,26,46,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-logo { height: 50px; width: auto; object-fit: contain; }
.logo-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.18);
}
.nav-certifications { height: 70px; width: auto; object-fit: contain; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.lang-btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.lang-btn i { width: 16px; height: 16px; }
.btn-cta-nav {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(240,180,41,0.4);
  transition: var(--t);
}
.btn-cta-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(240,180,41,0.5); }

/* ==========================================================================
   HERO — CENTERED CINEMATIC
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Full-bleed background image + gradient overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7,26,46,0.65) 0%,
    rgba(7,26,46,0.78) 45%,
    rgba(7,26,46,0.92) 100%
  );
}

/* Floating Particles */
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(240,180,41,0.15);
  animation: floatParticle 10s ease-in-out infinite alternate;
}
.p1 { width: 300px; height: 300px; top: -80px; right: 10%; animation-delay: 0s; }
.p2 { width: 180px; height: 180px; bottom: 5%; right: 30%; animation-delay: 1.5s; animation-duration: 8s; }
.p3 { width: 80px;  height: 80px;  top: 25%; left: 5%;   animation-delay: 3s;  background: rgba(42,181,160,0.12); }
.p4 { width: 120px; height: 120px; bottom: 15%; left: 20%; animation-delay: 2s;  animation-duration: 12s; background: rgba(26,111,163,0.18); }
.p5 { width: 50px;  height: 50px;  top: 60%; right: 5%;  animation-delay: 0.5s; }
.p6 { width: 220px; height: 220px; top: 40%; right: -60px; animation-delay: 4s; background: rgba(7,26,46,0.3); }

@keyframes floatParticle {
  from { transform: translate(0, 0) scale(1); opacity: 0.6; }
  to   { transform: translate(30px, -30px) scale(1.1); opacity: 0.9; }
}

/* Hero Centered Content */
.hero-center-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 110px 28px 40px;
}

/* Hero badge */
.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 50px;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.25);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero-badge-top i { width: 16px; height: 16px; }

/* Main Title */
.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  color: var(--white);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-subtitle strong { color: var(--gold); font-weight: 700; }

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   HERO BOTTOM — Stats Bar
   ========================================================================== */
.hero-stats-bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 28px 40px;
  background: rgba(7,26,46,0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 48px;
}
.hs-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hs-icon i { width: 22px; height: 22px; color: var(--gold); stroke-width: 2; }

.hs-text { display: flex; flex-direction: column; }
.hs-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hs-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.hs-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* Scroll Indicator */
.scroll-indicator {
  display: none;
}
.scroll-dot {
  width: 30px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 15px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  70%       { top: 26px; opacity: 0.3; }
}

/* ==========================================================================
   TRUST BAR — Marquee
   ========================================================================== */
.trust-bar {
  background: var(--bg-alt);
  padding: 28px 0 20px;
  border-top: 1px solid var(--card-border-l);
  border-bottom: 1px solid var(--card-border-l);
}
.trust-label {
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 20px;
}
.marquee-outer {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.marquee-outer::before,
.marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee-outer::before { left: 0;  background: linear-gradient(to right, var(--bg-alt), transparent); }
.marquee-outer::after  { right: 0; background: linear-gradient(to left,  var(--bg-alt), transparent); }

.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
  gap: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 32px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  border-right: 1px solid var(--card-border-l);
}
.m-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ==========================================================================
   COURSES SECTION
   ========================================================================== */
.courses-section {
  position: relative;
  padding: 120px 0;
  background: var(--surface);
  overflow: hidden;
}

/* Animated background mesh */
.courses-bg-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
}
.b1 { width: 500px; height: 500px; background: var(--blue); top: -100px; right: -100px; animation: blobMove 14s ease-in-out infinite alternate; }
.b2 { width: 380px; height: 380px; background: var(--gold); bottom: -80px; left: -80px;  animation: blobMove 10s ease-in-out infinite alternate 2s; }
.b3 { width: 260px; height: 260px; background: var(--teal); top: 50%; left: 40%;         animation: blobMove 12s ease-in-out infinite alternate 1s; }
@keyframes blobMove {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.15); }
}

/* Carousel Nav Buttons */
.carousel-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  box-shadow: var(--shadow-card-l);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t);
}
.carousel-btn:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-btn i { width: 20px; height: 20px; }

/* Course Cards Carousel */
.courses-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 16px;
  margin-bottom: 40px;
}
.courses-grid::-webkit-scrollbar { display: none; }
.courses-grid { counter-reset: course; }
.course-card::after {
  counter-increment: course;
  content: counter(course, decimal-leading-zero);
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: var(--font-head);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(14,36,56,0.05);
  letter-spacing: -2px;
  pointer-events: none;
  z-index: 0;
  transition: var(--t);
}
.course-card:hover::after { color: rgba(240,180,41,0.12); }
.course-card {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  box-shadow: var(--shadow-card-l);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: var(--t);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c, #4f46e5), transparent);
  opacity: 0;
  transition: var(--t);
  border-radius: inherit;
}
.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14,36,56,0.16);
  box-shadow: 0 16px 40px rgba(14,36,56,0.12);
}
.course-card:hover::before { opacity: 0.06; }

.course-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c, #4f46e5), transparent);
  border: 1px solid rgba(14,36,56,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.course-icon-wrap i { width: 24px; height: 24px; stroke-width: 2; }

.course-card h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.course-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.course-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--card-border-l);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* Course CTA Banner */
.course-cta-banner {
  background: linear-gradient(135deg, rgba(240,180,41,0.1), rgba(26,111,163,0.1));
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: var(--r-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.course-cta-left h3 {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.course-cta-left p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   WHY US SECTION — V2 Premium Redesign
   ========================================================================== */
.why-section {
  padding: 120px 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border-l), transparent);
}
.why-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,180,41,0.06) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

/* Top Row — split header */
.why-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.why-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.why-title {
  line-height: 1.15;
}
.why-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.why-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
}
.why-cta-btn {
  padding: 12px 28px !important;
  font-size: 0.9rem !important;
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1.5px solid var(--card-border-l) !important;
  box-shadow: var(--shadow-card-l);
}
.why-cta-btn:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
  border-color: var(--ink) !important;
}

/* Cards Grid V2 */
.why-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card-v2 {
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  box-shadow: var(--shadow-card-l);
  border-radius: var(--r-md);
  padding: 36px 28px 32px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.why-card-v2:hover {
  transform: translateY(-10px);
  border-color: rgba(14,36,56,0.16);
  background: var(--surface);
  box-shadow: 0 20px 40px rgba(14,36,56,0.12);
}

/* Accent bar at bottom */
.why-card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t);
}
.why-card-v2:hover .why-card-accent { transform: scaleX(1); }

/* Top row: number + icon */
.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.why-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(14,36,56,0.06);
  line-height: 1;
  transition: var(--t);
}
.why-card-v2:hover .why-num {
  color: rgba(240,180,41,0.35);
}

.why-icon-v2 {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon-v2 i { width: 24px; height: 24px; stroke-width: 2; color: var(--white); }
.why-icon-v2.blue  { background: linear-gradient(135deg, #1a6fa3, #0d4a75); }
.why-icon-v2.gold  { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.why-icon-v2.coral { background: linear-gradient(135deg, var(--coral), #c44b35); }
.why-icon-v2.teal  { background: linear-gradient(135deg, var(--teal), #1e8a78); }
.why-icon-v2.gold i { color: var(--navy); }

.why-card-v2 h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.why-card-v2 p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   MEET OUR STAFF
   ========================================================================== */
.staff-section {
  padding: 120px 0;
  background: var(--surface);
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.staff-card {
  background: var(--bg-alt);
  border: 1px solid var(--card-border-l);
  border-radius: var(--r-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--t);
}
.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-l);
  border-color: rgba(240,180,41,0.35);
  background: var(--surface);
}
.staff-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 18px;
}
.staff-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.staff-role {
  display: block;
  font-size: 0.74rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}
.staff-exp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.staff-exp i { width: 12px; height: 12px; }
.staff-bio { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

/* ==========================================================================
   RESULTS
   ========================================================================== */
.results-section {
  padding: 120px 0;
  background: var(--bg-alt);
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.results-card {
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  box-shadow: var(--shadow-card-l);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.results-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 22px;
}
.results-card h3 i { color: var(--gold); width: 22px; height: 22px; }
.results-list { display: flex; flex-direction: column; gap: 14px; }
.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--card-border-l);
}
.result-item:last-child { border-bottom: none; padding-bottom: 0; }
.result-name { font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.result-school { font-size: 0.78rem; color: var(--text-muted); }
.result-grade {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: rgba(240,180,41,0.12);
  padding: 5px 12px;
  border-radius: 50px;
  white-space: nowrap;
}
.results-more {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 18px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 120px 0;
  background: var(--surface);
}
.testimonials-wrapper { position: relative; }
.testimonials-track {
  position: relative;
  min-height: 360px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px) scale(0.97);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.testimonial-slide.active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.testimonial-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-l);
}
.t-video-side { position: relative; min-height: 280px; }
.t-thumbnail {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,26,46,0.5);
  transition: var(--t);
}
.t-thumbnail:hover::before { background: rgba(7,26,46,0.35); }

.t-play-btn {
  position: relative;
  z-index: 2;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  /* box-shadow: 0 4px 20px rgba(240,180,41,0.5); */
  transition: var(--t);
}
.t-play-btn i { width: 24px; height: 24px; fill: var(--navy); margin-left: 3px; }
.t-play-btn:hover { transform: scale(1.1); }

.t-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(7,26,46,0.8);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.t-tag i { width: 12px; height: 12px; }

.t-text-side {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-alt);
}
.t-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.t-stars i { width: 18px; height: 18px; }
.star-fill { color: var(--gold); fill: var(--gold); }

.t-text-side blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.t-author h4 { font-size: 0.98rem; color: var(--ink); margin-bottom: 4px; }
.t-author p  { font-size: 0.78rem; color: var(--text-muted); }

.t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.t-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  box-shadow: var(--shadow-card-l);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: var(--t);
}
.t-arrow i { width: 20px; height: 20px; }
.t-arrow:hover { background: var(--red); color: var(--white); border-color: var(--red); transform: scale(1.05); }
.t-dots { display: flex; gap: 8px; align-items: center; }
.t-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(14,36,56,0.18);
  cursor: pointer;
  transition: var(--t);
}
.t-dots .dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--surface) 100%);
  overflow: hidden;
}
.stats-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(240,180,41,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 50%, rgba(26,111,163,0.08) 0%, transparent 60%);
}
/* Dot grid */
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14,36,56,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 32px 20px;
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  box-shadow: var(--shadow-card-l);
  border-radius: var(--r-md);
  transition: var(--t);
}
.stat-item:hover { transform: translateY(-6px); border-color: rgba(240,180,41,0.4); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}
.stat-icon i { width: 24px; height: 24px; stroke-width: 2; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 2.2vw + 1.4rem, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 0;
}
.stat-suffix {
  font-size: clamp(1.3rem, 1.5vw + 0.9rem, 2rem);
  font-weight: 900;
  color: var(--gold);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #071a2e, #0d2d4a, #124d73, #071a2e);
  background-size: 400% 400%;
  animation: bgShift 12s ease infinite;
}
@keyframes bgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}
.cta-icon-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(240,180,41,0.4);
  background: rgba(240,180,41,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto 24px;
  animation: ringPulse 3s ease-in-out infinite;
}
.cta-icon-ring i { width: 30px; height: 30px; stroke-width: 1.8; }
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,180,41,0.3); }
  50%       { box-shadow: 0 0 0 18px rgba(240,180,41,0); }
}
.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  background: var(--bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

/* Info Panel */
.contact-info { display: flex; flex-direction: column; }
.contact-info h2 { font-size: 2.4rem; color: var(--ink); margin-bottom: 14px; }
.contact-info > p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.7; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.c-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.c-icon i { width: 20px; height: 20px; }
.contact-item h4 { font-size: 0.9rem; color: var(--ink); margin-bottom: 4px; }
.contact-item p  { font-size: 0.88rem; color: var(--text-muted); }
.clink { color: var(--gold); font-weight: 600; }
.clink:hover { color: var(--gold-dark); }

.map-frame {
  width: 100%; height: 200px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--card-border-l);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Form Panel */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  border-radius: var(--r-lg);
  padding: 48px;
  box-shadow: var(--shadow-card-l);
}
.form-header { margin-bottom: 32px; }
.form-header h3 { font-size: 1.9rem; color: var(--ink); margin-bottom: 6px; }
.form-header p  { font-size: 0.92rem; color: var(--text-muted); }

.field-group { display: flex; flex-direction: column; margin-bottom: 22px; }
.field-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.req { color: var(--coral); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.fi {
  position: absolute;
  left: 14px;
  width: 17px; height: 17px;
  color: var(--text-muted);
  stroke-width: 2;
  pointer-events: none;
  z-index: 1;
}
.field-wrap input,
.field-wrap select {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: var(--bg-page);
  border: 1px solid var(--card-border-l);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--t);
  outline: none;
  appearance: none;
}
.field-wrap input::placeholder { color: #93a4b3; }
.field-wrap input:focus,
.field-wrap select:focus {
  border-color: var(--gold);
  background: rgba(240,180,41,0.06);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.12);
}
.field-wrap select option { background: var(--surface); color: var(--ink); }
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.85rem;
}

/* ===== Multi-select dropdown (Subject / Course-Interest) ===== */
.multiselect-wrap { position: relative; }
.multiselect-toggle {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: var(--bg-page);
  border: 1px solid var(--card-border-l);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  transition: var(--t);
  display: flex;
  align-items: center;
}
.multiselect-toggle::after {
  content: '▾';
  position: absolute;
  right: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}
.multiselect-wrap.open .multiselect-toggle::after { transform: rotate(180deg); }
.multiselect-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.multiselect-toggle span.ms-placeholder { color: #93a4b3; }
.multiselect-wrap.open .multiselect-toggle,
.multiselect-toggle:focus {
  border-color: var(--gold);
  background: rgba(240,180,41,0.06);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.12);
  outline: none;
}
.multiselect-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--card-border-l);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-card-l);
  padding: 6px;
  z-index: 40;
}
.multiselect-wrap.open .multiselect-panel { display: block; }
.ms-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease;
}
.ms-option:hover { background: var(--bg-alt); }
.ms-option:has(input:checked) {
  background: rgba(240,180,41,0.1);
  color: var(--ink);
  font-weight: 600;
}
.ms-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}
textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-page);
  border: 1px solid var(--card-border-l);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: none;
  outline: none;
  transition: var(--t);
}
textarea::placeholder { color: #93a4b3; }
textarea:focus {
  border-color: var(--gold);
  background: rgba(240,180,41,0.06);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.12);
}
.ferr {
  font-size: 0.75rem;
  color: var(--coral);
  font-weight: 600;
  margin-top: 5px;
  display: none;
}
.field-group.has-err .ferr { display: block; }
.field-group.has-err input,
.field-group.has-err select { border-color: var(--coral); }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(240,180,41,0.4);
  transition: var(--t);
  margin-top: 8px;
}
.btn-submit i { width: 18px; height: 18px; transition: transform 0.3s; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(240,180,41,0.55); }
.btn-submit:hover i { transform: translateX(4px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.submit-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: rgba(217,25,36,0.08);
  border: 1px solid rgba(217,25,36,0.25);
  border-radius: var(--r-sm);
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  padding: 28px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Left: Logo + Copyright */
.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-logo { height: 40px; }
.footer-left p {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Center: Social Icons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--t);
}
.footer-socials a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer-socials a i { width: 18px; height: 18px; }

/* Right: Arabic Button */
.footer-right {
  display: flex;
  align-items: center;
}
.footer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--t);
}
.footer-lang-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.footer-lang-btn i { width: 16px; height: 16px; }

/* ==========================================================================
   MODAL SYSTEM
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,26,46,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.modal-box {
  position: relative;
  z-index: 2;
  background: var(--navy-mid);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transform: scale(0.88) translateY(24px);
  transition: transform 0.45s var(--ease);
  overflow: hidden;
}
.modal.open .modal-box { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.modal-close i { width: 16px; height: 16px; }
.modal-close:hover { background: var(--coral); border-color: var(--coral); }

/* Video Box */
.video-box { width: 90%; max-width: 820px; }
.mock-player { display: flex; flex-direction: column; }
.mock-screen {
  aspect-ratio: 16/9;
  background: linear-gradient(rgba(7,26,46,0.7), rgba(7,26,46,0.85)), url('https://images.unsplash.com/photo-1543269865-cbf427effbad?auto=format&fit=crop&q=80&w=800') center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  text-align: center;
  padding: 24px;
}
.mock-play-icon {
  width: 72px; height: 72px;
  color: var(--gold);
  stroke-width: 1.5;
  animation: pulse 2.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px rgba(240,180,41,0.4));
}
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.06); } }
.mock-screen h3 { font-size: 1.4rem; color: var(--white); }
.mock-screen p  { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

.mock-controls {
  height: 52px;
  background: #0a1f33;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}
.mc-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.mc-btn:hover { color: var(--white); }
.mc-btn i { width: 18px; height: 18px; }
.mc-bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  overflow: hidden;
}
.mc-fill {
  width: 32%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 3px;
}
.mc-time { font-size: 0.72rem; color: rgba(255,255,255,0.6); white-space: nowrap; }

/* Success Box */
.success-box {
  max-width: 460px;
  width: 90%;
  padding: 56px 48px;
  text-align: center;
}
.success-icon-ring {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(43,181,160,0.1);
  border: 2px solid rgba(43,181,160,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin: 0 auto 24px;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-icon-ring i { width: 36px; height: 36px; stroke-width: 3; }
@keyframes successPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
.success-box h2 { font-size: 1.7rem; color: var(--white); margin-bottom: 12px; }
.success-box p  { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 32px; line-height: 1.7; }
.success-box strong { color: var(--gold); }

/* Callback Modal */
.callback-box {
  max-width: 460px;
  width: 90%;
  padding: 48px 40px;
}
.callback-box .form-header { margin-bottom: 28px; }
.callback-box .btn-submit { margin-top: 4px; }

/* ==========================================================================
   STICKY WHATSAPP / CALL FAB
   ========================================================================== */
.fab-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fab-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.fab-option {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateY(16px) scale(0.7);
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
}
.fab-whatsapp { background: #25D366; }
.fab-call     { background: var(--gold); color: var(--navy-mid); }
.fab-option i,
.fab-option svg { width: 24px; height: 24px; }

.fab-contact:hover .fab-options,
.fab-contact.active .fab-options { pointer-events: auto; }
.fab-contact:hover .fab-option,
.fab-contact.active .fab-option {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-contact:hover .fab-option.fab-whatsapp,
.fab-contact.active .fab-option.fab-whatsapp { transition-delay: 0.06s; }
.fab-contact:hover .fab-option.fab-call,
.fab-contact.active .fab-option.fab-call { transition-delay: 0s; }

.fab-main {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(240,180,41,0.55);
  transition: transform 0.3s var(--ease);
}
.fab-main:hover { transform: scale(1.08); }
.fab-main i { width: 26px; height: 26px; }
.fab-main::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(240,180,41,0.45);
  animation: fabPulse 2.2s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  animation: none;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}
.hero.loaded .reveal-up {
  animation: revealUp 0.9s var(--ease) 0.15s forwards;
}
.hero.loaded .reveal-right {
  animation: revealRight 0.9s var(--ease) 0.4s forwards;
}
@keyframes revealUp    { to { opacity: 1; transform: translateY(0); } }
@keyframes revealRight { to { opacity: 1; transform: translateX(0); } }

/* AOS-style classes */
.aos-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.aos-scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.aos-fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.aos-fade-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.aos-fade-up.visible,
.aos-scale-in.visible,
.aos-fade-left.visible,
.aos-fade-right.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   OVERFLOW FIX — grid children default to min-width:auto which lets their
   content push wider than the viewport on small screens. Force them to
   shrink with the grid track instead (root cause of the mobile X-scroll).
   ========================================================================== */
.contact-grid > * ,
.testimonial-card > * ,
.field-row > * ,
.why-top-row > * {
  min-width: 0;
}
html { overflow-x: hidden; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-stat-item { padding: 0 32px; }
  .course-card { flex-basis: calc((100% - 40px) / 3); }
  .why-top-row { grid-template-columns: 1fr; gap: 24px; }
  .why-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-certifications { display: none; }
  .logo-divider       { display: none; }
  /* Hero: stacked layout, stats bar becomes in-flow 2x2 card grid */
  .hero {
    min-height: 100svh;
  }
  .hero-center-content { padding: 96px 28px 40px; }
  .hero-badge-top {
    font-size: 0.72rem;
    padding: 7px 16px;
    text-align: center;
    line-height: 1.4;
  }
  .hero-title { font-size: 2.2rem; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 32px; }
  .hero-stats-bar {
    position: static;
    width: 100%;
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 24px 24px;
  }
  .hero-stat-item {
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    min-width: 0;
  }
  .hs-divider { display: none; }
  .course-card { flex-basis: calc((100% - 20px) / 2); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .testimonial-card { grid-template-columns: 1fr; }
  .t-video-side { min-height: 220px; }
  .t-text-side { padding: 28px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .form-panel { padding: 28px 24px; }
  .contact-info h2 { font-size: 1.8rem; }
  .course-cta-banner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .footer-row { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .footer-left { flex-direction: column; align-items: center; text-align: center; }
  .footer-left p { white-space: normal; }
}

@media (max-width: 480px) {
  .navbar-wrapper {
    background: rgba(7,26,46,0.95) !important;
    backdrop-filter: blur(16px);
    padding: 10px 0 !important;
  }
  .nav-logo { height: 40px; }
  .btn-cta-nav { padding: 8px 16px; font-size: 0.85rem; }
  .lang-btn span { display: none; }
  .hero-center-content { padding-top: 88px; }
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary-hero, .btn-outline-hero { width: 100%; justify-content: center; }
  .hero-stats-bar { padding: 16px 20px 20px; gap: 10px; }
  .hero-stat-item { padding: 12px; gap: 10px; }
  .fab-contact { right: 16px; bottom: 16px; }
  .fab-main { width: 52px; height: 52px; }
  .fab-main i { width: 22px; height: 22px; }
  .fab-option { width: 46px; height: 46px; }
  .fab-option i, .fab-option svg { width: 20px; height: 20px; }
  .callback-box { padding: 36px 24px; }
  .hs-icon { width: 36px; height: 36px; border-radius: 10px; }
  .hs-icon i { width: 18px; height: 18px; }
  .hs-num { font-size: 1.1rem; }
  .hs-label { font-size: 0.6rem; letter-spacing: 0.3px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .container { padding: 0 20px; }
  .stats-section { padding: 56px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-item { padding: 24px 10px; }
  .stat-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
  .stat-icon i { width: 20px; height: 20px; }
  .stat-number { font-size: clamp(1.4rem, 7.5vw, 2rem); }
  .stat-suffix { font-size: clamp(1rem, 5vw, 1.4rem); }
  .stat-label { font-size: 0.7rem; letter-spacing: 0.3px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid-v2 { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .section-sub { margin-bottom: 36px; font-size: 0.95rem; }
  .carousel-nav { justify-content: center; margin-bottom: 16px; }
  .carousel-btn { width: 40px; height: 40px; }
  .courses-grid { gap: 14px; }
  .course-card { flex-basis: 76%; }
  .form-panel { padding: 24px 18px; }
  .course-cta-banner { padding: 24px 20px; }
}

@media (max-width: 340px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-stats-bar { grid-template-columns: 1fr; }
  .course-card { flex-basis: 88%; }
  .hero-title { font-size: 1.65rem; }
}

.user {
  color: var(--white) !important; 
}