/* ==========================================================================
   Groupe Scolaire Bilingue NISSI — Design System Premium v2.0
   ========================================================================== */

/* 1. Global Custom Properties */
:root {
  /* Brand Colors */
  --color-violet: #5B2D8E;
  --color-violet-light: #7E4BB6;
  --color-violet-dark: #3F1D66;
  --color-sky: #2FA8D8;
  --color-sky-light: #5EC0E8;
  --color-sky-dark: #1E7EA7;
  --color-blue: #1A5FA8;
  --color-dark: #1A1825;
  --color-dark-2: #2D2B3B;
  --color-light: #F6F8FC;
  --color-light-2: #EEF2FA;
  --color-white: #FFFFFF;
  --color-gray: #6B7280;
  --color-gray-light: #9CA3AF;
  --color-border: #E5E7EB;
  --color-success: #10B981;
  --color-danger: #EF4444;

  /* Gradients */
  --grad-violet-sky: linear-gradient(135deg, var(--color-violet) 0%, var(--color-sky) 100%);
  --grad-sky-blue: linear-gradient(135deg, var(--color-sky) 0%, var(--color-blue) 100%);
  --grad-violet-dark: linear-gradient(135deg, var(--color-violet-dark) 0%, var(--color-violet) 100%);
  --grad-glass: rgba(255, 255, 255, 0.7);

  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.16);
  --shadow-glass: 0 8px 32px 0 rgba(91, 45, 142, 0.1);
  --shadow-violet: 0 8px 24px rgba(91, 45, 142, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --header-height: 78px;
  --announcement-height: 40px;
  --border-radius-sm: 10px;
  --border-radius-md: 18px;
  --border-radius-lg: 28px;
  --border-radius-xl: 40px;
}

/* 2. Global Resets */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-dark);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
}

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

/* 3. Bilingual System — CSS-first + JS-driven class approach */
/* Before JS runs: EN elements are hidden by default to prevent bilingual flash on load */
:not(html):not(option)[lang="en"] { display: none; }
/* Once JS runs and adds .lang-ready to body, restore display then JS manages via lang-hidden */
/* Block elements: restored to block */
body.lang-ready p[lang],
body.lang-ready h1[lang], body.lang-ready h2[lang], body.lang-ready h3[lang],
body.lang-ready h4[lang], body.lang-ready h5[lang], body.lang-ready h6[lang] { display: block; }
/* List items */
body.lang-ready li[lang] { display: list-item; }
/* Generic divs: block (section-tag overridden below) */
body.lang-ready div[lang] { display: block; }
/* Inline elements: restored to inline */
body.lang-ready span[lang], body.lang-ready a[lang] { display: inline; }
/* Form/interactive elements */
body.lang-ready button[lang] { display: inline-flex; }
body.lang-ready label[lang] { display: inline-block; }
body.lang-ready option[lang] { display: block; }
/* Section-tag divs are inline-flex — restore their specific display */
body.lang-ready div.section-tag[lang] { display: inline-flex; }
body.lang-ready .lang-hidden { display: none !important; }
/* Fallback: ensure lang-hidden always works globally */
.lang-hidden { display: none !important; }




/* 4. Layout Containers */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2-equal { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .grid-2-equal { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.gap-sm { gap: 1rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2.5rem; }
.gap-xl { gap: 3.5rem; }
.items-center { align-items: center; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Utility Classes */
.bg-light { background-color: var(--color-light); }
.bg-light-2 { background-color: var(--color-light-2); }
.bg-violet { background-color: var(--color-violet) !important; }
.bg-sky { background-color: var(--color-sky) !important; }
.bg-blue { background-color: var(--color-blue) !important; }
.bg-dark { background-color: var(--color-dark) !important; }
.bg-white { background-color: var(--color-white) !important; }
.text-violet { color: var(--color-violet); }
.text-sky { color: var(--color-sky); }
.text-blue { color: var(--color-blue); }
.text-gray { color: var(--color-gray); }
.text-white { color: var(--color-white) !important; }
.text-dark { color: var(--color-dark) !important; }
.text-danger { color: var(--color-danger); }
.text-success { color: var(--color-success); }

.section-padding { padding: 6rem 0; }
.section-padding-top { padding-top: 5rem; }
.section-padding-sm { padding: 4rem 0; }

.margin-top-xs { margin-top: 0.5rem; }
.margin-top-sm { margin-top: 1rem; }
.margin-top-md { margin-top: 1.5rem; }
.margin-top-lg { margin-top: 2.5rem; }
.margin-top-xl { margin-top: 4rem; }

.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.shadow-xs { box-shadow: var(--shadow-xs); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.italic { font-style: italic; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.small { font-size: 0.85rem; }
.inline-block { display: inline-block; }
.width-full { width: 100%; }
.hidden { display: none !important; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.img-responsive { width: 100%; height: auto; object-fit: cover; }

.p-sm { padding: 1rem; }
.p-md { padding: 1.5rem; }
.p-lg { padding: 2rem; }
.border { border: 1px solid var(--color-border); }
.border-top-none { border-top: none; }
.border-top-violet { border-top: 4px solid var(--color-violet); }

/* Rounded variants */
.rounded-top { border-top-left-radius: var(--border-radius-md); border-top-right-radius: var(--border-radius-md); }
.rounded-bottom { border-bottom-left-radius: var(--border-radius-md); border-bottom-right-radius: var(--border-radius-md); }
.text-muted { color: var(--color-gray); }

/* 5. Typography Components */
.section-header { margin-bottom: 4rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(91, 45, 142, 0.08);
  color: var(--color-violet);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-dark);
  line-height: 1.15;
}

.header-divider {
  width: 50px;
  height: 4px;
  background: var(--grad-violet-sky);
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

.sub-section-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

/* 6. Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 7. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.85rem;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.82rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--grad-violet-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-violet);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(91, 45, 142, 0.4);
  filter: brightness(1.1);
}
.btn-secondary {
  background: var(--grad-sky-blue);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(47, 168, 216, 0.3);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 168, 216, 0.4);
  filter: brightness(1.1);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  background-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-violet);
  border-color: var(--color-white);
}
.btn-outline-violet {
  border-color: var(--color-violet);
  color: var(--color-violet);
  background-color: transparent;
}
.btn-outline-violet:hover {
  background-color: var(--color-violet);
  color: var(--color-white);
}
.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  background-color: transparent;
}
.btn-outline-white:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.15);
}

.text-link {
  color: var(--color-sky-dark);
  font-family: var(--font-headings);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}
.text-link:hover { color: var(--color-violet); gap: 0.55rem; }

/* 8. Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, var(--color-violet-dark) 0%, var(--color-dark-2) 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
  height: var(--announcement-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bar-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.announcement-text { display: flex; align-items: center; gap: 0.5rem; }
.announcement-text i { color: var(--color-sky); }
.announcement-contact { display: flex; gap: 1.5rem; }
.announcement-contact a { display: flex; align-items: center; gap: 0.35rem; transition: color var(--transition-fast); }
.announcement-contact a:hover { color: var(--color-sky-light); }
@media (max-width: 768px) {
  .announcement-contact { display: none; }
  .announcement-bar { font-size: 0.72rem; }
}

/* 9. Main Header */
.main-header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: box-shadow var(--transition-fast);
}
.main-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

.header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

/* Premium Brand Identity Header Logo Lockup */
.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  position: relative;
}
.main-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 15px rgba(91, 45, 142, 0.12);
  border: 1px solid rgba(91, 45, 142, 0.15);
  transition: all var(--transition-normal);
  background: var(--color-white);
  padding: 2px;
}
.logo-area:hover .main-logo {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 6px 20px rgba(91, 45, 142, 0.2);
  border-color: var(--color-sky-light);
}

/* Elegant Gradient vertical separator line */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  border-left: 2px solid;
  border-image: linear-gradient(to bottom, var(--color-violet) 0%, var(--color-sky) 100%) 1;
  padding-left: 0.85rem;
  position: relative;
}

/* Branding Subtitle */
.logo-title-top {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.15rem;
  opacity: 0.9;
  transition: color var(--transition-fast);
}
.logo-area:hover .logo-title-top {
  color: var(--color-sky-dark);
}

/* Striking Brand Title with Gradient and glowing dot */
.logo-title-main {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-headings);
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--color-violet-light) 0%, var(--color-violet) 50%, var(--color-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-flex;
  align-items: center;
  position: relative;
  text-shadow: 0 2px 10px rgba(91, 45, 142, 0.05);
}
/* Premium glowing brand dot */
.logo-title-main::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #F59E0B; /* Gold dot */
  border-radius: 50%;
  margin-left: 4px;
  box-shadow: 0 0 8px #F59E0B, 0 0 15px rgba(245, 158, 11, 0.6);
  animation: goldPulse 2s infinite alternate;
}

@keyframes goldPulse {
  0% { transform: scale(0.8); box-shadow: 0 0 4px #F59E0B; }
  100% { transform: scale(1.2); box-shadow: 0 0 12px #F59E0B, 0 0 20px rgba(245, 158, 11, 0.8); }
}

@media (max-width: 768px) { 
  .main-logo { height: 42px; }
  .logo-text { padding-left: 0.65rem; }
  .logo-title-top { font-size: 0.5rem; letter-spacing: 0.06em; }
  .logo-title-main { font-size: 1.25rem; }
  .logo-title-main::after { width: 4px; height: 4px; }
}
@media (max-width: 420px) {
  .logo-title-top { display: none; }
  .logo-text { border-left: none; padding-left: 0; }
}


/* Navigation */
.nav-menu ul { display: flex; gap: 0.25rem; align-items: center; }
.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-gray);
  position: relative;
  padding: 0.5rem 0.85rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}
.nav-link:hover { color: var(--color-violet); background-color: rgba(91, 45, 142, 0.05); }
.nav-link.active { color: var(--color-violet); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--grad-violet-sky);
  border-radius: 1px;
}
.parent-btn {
  background: linear-gradient(135deg, rgba(91,45,142,0.1) 0%, rgba(47,168,216,0.08) 100%);
  color: var(--color-violet) !important;
  border: 1px solid rgba(91, 45, 142, 0.2) !important;
  border-radius: var(--border-radius-sm) !important;
}
.parent-btn:hover { background: var(--grad-violet-dark) !important; color: var(--color-white) !important; border-color: transparent !important; }
.parent-btn.active::after { display: none !important; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.lang-toggle-btn {
  background: var(--color-light);
  border: 1.5px solid var(--color-border);
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
  font-family: var(--font-headings);
  transition: all var(--transition-fast);
}
.lang-toggle-btn:hover { border-color: var(--color-violet); }
.lang-text { color: var(--color-gray); transition: var(--transition-fast); }
.lang-text.active { color: var(--color-violet); }
.lang-divider { color: var(--color-border); font-weight: 300; }

.mobile-menu-trigger {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--color-dark);
  cursor: pointer;
  display: none;
  padding: 0.5rem;
}
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-menu-trigger { display: block; }
}

/* 10. Mobile Nav Panel */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: -100%;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 999;
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-slow);
  overflow-y: auto;
}
.mobile-nav-panel.open { left: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.mobile-close-btn { background: var(--color-light); border: none; font-size: 1.2rem; color: var(--color-dark); cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; }
.mob-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-gray);
  display: block;
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}
.mob-link:hover { color: var(--color-violet); background: rgba(91,45,142,0.05); }
.mob-link.active { color: var(--color-violet); background: rgba(91,45,142,0.08); }
.mob-parent-btn { color: var(--color-violet); background: rgba(91,45,142,0.06); margin-top: 0.5rem; border: 1px dashed rgba(91,45,142,0.25); }
.mobile-nav-footer { margin-top: auto; border-top: 1px solid var(--color-border); padding-top: 1.5rem; font-size: 0.73rem; color: var(--color-gray); font-weight: 500; }

/* 11. Main View Routing */
.view-container { flex: 1; position: relative; }
.view { display: none; opacity: 0; transform: translateY(20px); transition: opacity 0.45s ease, transform 0.45s ease; }
.view.active { display: block; opacity: 1; transform: translateY(0); }

/* 12. Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--color-white), transparent);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding-top: 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  margin-bottom: 1.75rem;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}
.hero-title span.accent { color: var(--color-sky-light); }
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.75rem;
  line-height: 1.7;
  max-width: 600px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-indicator {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-family: var(--font-headings);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero-scroll-indicator i { font-size: 1.5rem; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.hero-stats-bar {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-stat-num {
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--color-sky-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.75rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-section { min-height: 90vh; }
  .hero-stats-bar { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.75rem; }
}

/* 13. Stats/Results Banner */
.results-banner {
  background: var(--color-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.results-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(91,45,142,0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(47,168,216,0.2) 0%, transparent 60%);
}
.results-banner .container { position: relative; z-index: 1; }
.stat-item { padding: 1.5rem; position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-num {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-sky-light) 0%, var(--color-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-sublabel {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
  font-family: var(--font-headings);
  font-weight: 500;
}

/* 14. Cards */
.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}
.card-img-wrapper { position: relative; height: 240px; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.card:hover .card-img { transform: scale(1.07); }
.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--color-white);
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  letter-spacing: 0.04em;
}
.card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.card-text { color: var(--color-gray); font-size: 0.92rem; margin-bottom: 1.5rem; flex: 1; line-height: 1.65; }

.hover-up:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* 15. Image Box Overlay */
.image-box { position: relative; }
.experience-card {
  position: absolute;
  bottom: -1.5rem;
  right: 1.5rem;
  background: var(--grad-violet-sky);
  color: var(--color-white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}
.exp-number { font-family: var(--font-headings); font-weight: 900; font-size: 2.5rem; }
.exp-text { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* 16. Bullet List */
.bullet-list-squares { margin-top: 1.5rem; }
.bullet-list-squares li { position: relative; padding-left: 1.85rem; margin-bottom: 1.1rem; font-size: 0.95rem; }
.bullet-list-squares li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.45rem;
  width: 10px; height: 10px;
  background: var(--grad-violet-sky);
  border-radius: 3px;
}

/* 17. Feature Boxes (Pillars) */
.feature-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2.25rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.feature-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-violet-sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}
.feature-box:hover::before { transform: scaleX(1); }
.feature-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--border-radius-sm);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.feature-box h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.feature-box p { font-size: 0.9rem; color: var(--color-gray); line-height: 1.65; }

/* 18. Badges Grid (Atouts) */
.atouts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; margin-top: 1.5rem; }
.atout-badge {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 0.5rem;
  transition: all var(--transition-fast);
  cursor: default;
}
.atout-badge:hover { background: rgba(91,45,142,0.06); border-color: rgba(91,45,142,0.2); }
.atout-badge i { color: var(--color-violet); width: 18px; text-align: center; }

/* 19. Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--border-radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-glass);
}
.accent-border-violet { border-left: 5px solid var(--color-violet); }
.accent-border-sky { border-left: 5px solid var(--color-sky); }
.accent-border-blue { border-left: 5px solid var(--color-blue); }

/* 20. Callout Banners */
.callout-banner {
  border-radius: var(--border-radius-md);
  padding: 3rem;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.bg-gradient-violet { background: linear-gradient(135deg, var(--color-violet) 0%, var(--color-violet-dark) 100%); }
.bg-gradient-sky { background: linear-gradient(135deg, var(--color-sky) 0%, var(--color-blue) 100%); }
.callout-banner h3 { color: var(--color-white); font-size: 1.6rem; margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.6rem; }
.callout-banner p { color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; }

/* 21. Page Banner */
.page-title-banner {
  background: var(--grad-violet-sky);
  color: var(--color-white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-title-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.page-title-banner .container { position: relative; z-index: 1; }
.page-title-banner h1 { font-size: 3rem; font-weight: 900; color: var(--color-white); margin-bottom: 0.75rem; letter-spacing: -0.04em; }
.page-title-banner p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); max-width: 600px; margin: 0 auto; }

/* 22. Programs Tabs */
.tab-container {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--color-white);
  color: var(--color-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex; align-items: center; gap: 0.4rem;
}
.tab-btn:hover { border-color: var(--color-violet); color: var(--color-violet); }
.tab-btn.active { background: var(--grad-violet-sky); color: var(--color-white); border-color: transparent; box-shadow: var(--shadow-violet); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* 23. Tables */
.simple-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.simple-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-headings);
  font-weight: 700;
  background: var(--color-light);
  color: var(--color-dark);
  border-bottom: 2px solid var(--color-border);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.simple-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); color: var(--color-gray); vertical-align: middle; }
.simple-table tr:hover td { background-color: rgba(91,45,142,0.02); }
.table-responsive { overflow-x: auto; border-radius: var(--border-radius-sm); border: 1px solid var(--color-border); }
.table-responsive .simple-table { margin: 0; }
.table-bordered td, .table-bordered th { border: 1px solid var(--color-border); }

/* 24. Blog/News Cards */
.blog-card {
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-img-box { position: relative; height: 220px; overflow: hidden; }
.blog-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-img { transform: scale(1.06); }
.blog-date {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-headings);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
}
.blog-body { padding: 1.5rem; }
.blog-tag { font-family: var(--font-headings); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 0.6rem; }
.blog-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.35; }
.blog-body p { color: var(--color-gray); font-size: 0.88rem; line-height: 1.65; }

/* 25. Gallery */
.gallery-filters { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: 30px;
  background: var(--color-white);
  color: var(--color-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: var(--color-violet); color: var(--color-violet); }
.filter-btn.active { background: var(--grad-violet-sky); color: var(--color-white); border-color: transparent; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.gallery-item { border-radius: var(--border-radius-md); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-item:hover .gallery-img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,24,37,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: all var(--transition-normal);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-info h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 0.25rem; }
.gallery-info p { color: rgba(255,255,255,0.75); font-size: 0.82rem; }
.gallery-action-btn {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
  opacity: 0;
}
.gallery-item:hover .gallery-action-btn { opacity: 1; }
.gallery-action-btn:hover { background: var(--color-white); color: var(--color-violet); }
.video-placeholder { position: relative; width: 100%; height: 100%; }
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,24,37,0.4);
  color: white;
  font-size: 4rem;
  transition: all var(--transition-normal);
}
.gallery-item:hover .play-overlay { background: rgba(26,24,37,0.6); }
.blur-sm { filter: blur(1px); }

/* 26. Parent Portal */
.parent-gate-card {
  max-width: 500px;
  width: 100%;
  padding: 3rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.gate-icon { font-size: 3.5rem; margin-bottom: 1.5rem; display: flex; justify-content: center; }
.gate-title { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.gate-subtitle { color: var(--color-gray); font-size: 0.95rem; line-height: 1.7; }
.error-text { color: var(--color-danger); font-size: 0.85rem; font-weight: 600; margin-top: 0.5rem; }
.parent-unlocked-content { padding: 0; }
.unlocked-header { background: var(--grad-violet-dark); border-radius: var(--border-radius-md); padding: 1.75rem 2rem; }
.doc-download-card {
  display: flex; align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  background: var(--color-white);
  transition: all var(--transition-fast);
}
.doc-download-card:hover { box-shadow: var(--shadow-md); border-color: rgba(91,45,142,0.2); }
.doc-icon { font-size: 2.5rem; flex-shrink: 0; }
.doc-details { flex: 1; }
.doc-details h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.doc-meta { font-size: 0.78rem; color: var(--color-gray); font-weight: 600; }

/* 27. Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--color-dark); margin-bottom: 0.5rem; }
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-dark);
  background-color: var(--color-white);
  transition: all var(--transition-fast);
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-violet);
  box-shadow: 0 0 0 3px rgba(91,45,142,0.1);
}
.form-control::placeholder { color: var(--color-gray-light); }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.5rem; }
.form-feedback { padding: 2rem; text-align: center; border-radius: var(--border-radius-md); }
.border-danger { border-color: var(--color-danger) !important; }
.bg-success { background-color: var(--color-success) !important; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; } }
.col-full { grid-column: 1 / -1; }

.pre-reg-box { padding: 3rem; background: var(--color-light); }
.contact-form .form-group { margin-bottom: 1.25rem; }

.info-note {
  background-color: rgba(91, 45, 142, 0.06);
  border-left: 4px solid var(--color-violet);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--color-dark);
  line-height: 1.65;
}
.tag {
  display: inline-block;
  background: rgba(91,45,142,0.08);
  color: var(--color-violet);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  letter-spacing: 0.04em;
  margin-top: 0.75rem;
}

/* 28. Testimonials */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-quote {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-violet);
  opacity: 0.2;
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
.testimonial-text { font-size: 0.95rem; color: var(--color-dark); line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-violet-sky);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--color-dark); }
.testimonial-role { font-size: 0.78rem; color: var(--color-gray); font-weight: 500; }
.testimonial-stars { color: #F59E0B; font-size: 0.8rem; margin-bottom: 0.25rem; }

/* 29. FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  transition: color var(--transition-fast);
  gap: 1rem;
}
.faq-question:hover { color: var(--color-violet); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--color-violet);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.faq-item.open .faq-icon { background: var(--color-violet); color: var(--color-white); transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding-bottom: 1.5rem; color: var(--color-gray); font-size: 0.9rem; line-height: 1.75; }

/* 30. Timeline */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-violet), var(--color-sky));
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2rem; position: relative; }
.timeline-dot {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-violet-sky);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-violet);
  z-index: 1;
}
.timeline-content { padding-top: 0.5rem; }
.timeline-year { font-family: var(--font-headings); font-weight: 700; font-size: 0.82rem; color: var(--color-sky); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.timeline-content h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.timeline-content p { font-size: 0.88rem; color: var(--color-gray); }

/* 31. Team Cards */
.team-card {
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-img-placeholder {
  height: 220px;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-light-2) 100%);
  display: flex; align-items: center; justify-content: center;
}
.team-body { padding: 1.75rem; }
.team-body h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.team-role { font-family: var(--font-headings); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 0.75rem; }
.team-desc { font-size: 0.88rem; color: var(--color-gray); line-height: 1.65; }

/* 32. CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--grad-violet-sky);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 120%; height: 200%;
  background: radial-gradient(ellipse at 40% 40%, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title { font-size: 3rem; font-weight: 900; color: white; letter-spacing: -0.04em; margin-bottom: 1.25rem; }
.cta-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-contact { display: flex; align-items: center; gap: 1.5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.cta-contact-item { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.95rem; }
.cta-contact-item i { color: var(--color-sky-light); }

/* 33. Steps - Enrollment */
.steps-row { display: flex; gap: 1.5rem; counter-reset: step-counter; flex-wrap: wrap; }
.step-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  position: relative;
  transition: all var(--transition-normal);
}
.step-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-violet-sky);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-violet);
}
.step-item h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-item p { font-size: 0.85rem; color: var(--color-gray); line-height: 1.6; }

/* 34. Results Grid */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.result-card {
  background: var(--color-white);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-normal);
}
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.result-title { font-family: var(--font-headings); font-weight: 800; font-size: 1.15rem; color: var(--color-dark); margin-bottom: 0.35rem; }
.result-percent { font-family: var(--font-headings); font-weight: 900; font-size: 2rem; color: var(--color-violet); }
.result-sub { font-size: 0.78rem; color: var(--color-gray); font-weight: 500; margin-top: 0.25rem; }

/* 35. Contact Info */
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-info-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: var(--border-radius-sm);
  background: rgba(91,45,142,0.08);
  color: var(--color-violet);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-info-text h4 { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-gray); margin-bottom: 0.35rem; }
.contact-info-text p, .contact-info-text a { font-size: 1rem; color: var(--color-dark); font-weight: 500; }
.contact-info-text a:hover { color: var(--color-violet); }
.map-wrapper { border-radius: var(--border-radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrapper iframe { width: 100%; height: 280px; border: 0; display: block; }

/* 36. Footer */
.main-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 5rem;
}

/* 36.5 Footer Newsletter Card */
.footer-newsletter-card {
  background: linear-gradient(135deg, rgba(91, 45, 142, 0.15) 0%, rgba(26, 95, 168, 0.15) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  margin-bottom: 4rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 992px) {
  .newsletter-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
}
.newsletter-info h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.newsletter-info p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 !important;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 0.35rem;
  transition: all var(--transition-fast);
}
.newsletter-input-group:focus-within {
  border-color: var(--color-sky-light);
  box-shadow: 0 0 0 3px rgba(47, 168, 216, 0.25);
}
.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.6rem 1.2rem;
  color: var(--color-white);
  font-size: 0.95rem;
}
.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-submit-btn {
  background: var(--grad-violet-sky);
  color: var(--color-white);
  border: none;
  outline: none;
  padding: 0.7rem 1.6rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}
.newsletter-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91, 45, 142, 0.35);
}
.newsletter-options {
  padding-left: 0.5rem;
}
.newsletter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  user-select: none;
}
.newsletter-checkbox-label input[type="checkbox"] {
  accent-color: var(--color-sky-light);
}

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; }
.footer-title { font-family: var(--font-headings); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.7); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--color-sky-light); }
.footer-contact-info { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-info li { font-size: 0.88rem; display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(255,255,255,0.65); }
.footer-contact-info li i { color: var(--color-sky); margin-top: 3px; width: 14px; }
.legal-badge { display: inline-block; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 30px; margin-top: 1.25rem; letter-spacing: 0.04em; }
.social-row { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}
.social-link:hover { background: var(--color-sky); color: white; border-color: var(--color-sky); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* 37. Lightbox & Video Modal */
.lightbox-modal, .video-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox-modal.open, .video-modal.open { display: flex; }
.lightbox-close, .video-modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 1.5rem; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
.lightbox-close:hover, .video-modal-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-content { max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 80vh; border-radius: var(--border-radius-md); box-shadow: var(--shadow-xl); }
.lightbox-caption { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 1rem; font-weight: 500; }
.video-modal-content { width: 90vw; max-width: 900px; }
.iframe-wrapper { padding-top: 56.25%; position: relative; border-radius: var(--border-radius-md); overflow: hidden; }
.iframe-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 38. Toast Notifications */
.toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 10000; display: flex; flex-direction: column; gap: 0.75rem; }
.toast {
  background: var(--color-dark-2);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-gray);
  animation: toastIn 0.3s ease;
  max-width: 380px;
}
.toast-success { border-left-color: var(--color-success); }
.toast-error { border-left-color: var(--color-danger); }
.toast-info { border-left-color: var(--color-sky); }
.toast-success i { color: var(--color-success); }
.toast-error i { color: var(--color-danger); }
.toast-info i { color: var(--color-sky-light); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }

/* 39. WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  background: #25D366;
  color: white;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
  text-decoration: none;
  animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1da851; }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6); }
}

/* 40. Misc Components */
.image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-light-2) 100%);
  border-radius: var(--border-radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gray-light);
  font-size: 3rem;
}
.size-lg { font-size: 1.5rem; }
.divider { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }
.border-top-violet { border-top: 4px solid var(--color-violet); }
.bg-gradient-dark { background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 100%); }
.border-top { border-top: 1px solid var(--color-border); }

/* =============================================
   41. DESIGN FIXES & ENHANCEMENTS v2.5
   ============================================= */

/* Hero — fix scroll indicator collision with stats */
.hero-scroll-indicator {
  bottom: 2rem !important;
}

/* Page Title Banner — richer layered background */
.page-title-banner {
  background: linear-gradient(135deg, var(--color-violet-dark) 0%, var(--color-violet) 45%, var(--color-sky-dark) 100%);
  padding: 5.5rem 0 4.5rem;
}
.page-title-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}
.page-title-banner h1 {
  font-size: 3.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

/* Team Cards — richer placeholder with gradient & icon visibility */
.team-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--color-violet-dark) 0%, var(--color-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(47,168,216,0.2) 0%, transparent 70%);
}
.team-img-placeholder i {
  opacity: 0.45 !important;
  font-size: 5rem !important;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  position: relative;
  z-index: 1;
}
.team-card { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.team-card:hover { transform: translateY(-10px) scale(1.01); box-shadow: 0 30px 60px rgba(91,45,142,0.15); }

/* Tables — fix violet header class override */
.simple-table thead.bg-violet th {
  background: var(--color-violet) !important;
  color: var(--color-white) !important;
  border-bottom: none;
  font-size: 0.82rem;
}
.simple-table thead.bg-sky th {
  background: var(--color-sky) !important;
  color: var(--color-white) !important;
  border-bottom: none;
}

/* Results Grid — responsive fix */
@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Steps — add connector arrows between steps */
.steps-row {
  position: relative;
  counter-reset: step-counter;
}
.step-item {
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-violet);
  font-size: 1.4rem;
  font-weight: 900;
  z-index: 1;
  opacity: 0.4;
}
@media (max-width: 768px) {
  .step-item:not(:last-child)::after { display: none; }
  .steps-row { gap: 1rem; }
  .step-item { min-width: 140px; }
}

/* Pre-Registration box — enhanced styling */
.pre-reg-box {
  padding: 3.5rem;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
  border: 1px solid rgba(91,45,142,0.1);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.pre-reg-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,45,142,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Section padding — mobile improvement */
@media (max-width: 768px) {
  .section-padding { padding: 4rem 0; }
  .section-padding-top { padding-top: 3.5rem; }
  .callout-banner { padding: 2rem 1.5rem; }
  .callout-banner h3 { font-size: 1.3rem; }
  .pre-reg-box { padding: 2rem 1.25rem; }
  .parent-gate-card { padding: 2.25rem 1.5rem; }
  .page-title-banner { padding: 4rem 0 3rem; }
  .page-title-banner h1 { font-size: 2.25rem; }
  .cta-title { font-size: 2.25rem; }
  .section-title { font-size: 2rem; }
  .sub-section-title { font-size: 1.5rem; }
  .atouts-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats-bar { gap: 1.25rem; }
}

/* Stat items — hover micro-interaction */
.stat-item {
  transition: all var(--transition-normal);
  border-radius: var(--border-radius-sm);
}
.stat-item:hover .stat-num {
  filter: brightness(1.2);
  transform: scale(1.05);
  display: inline-block;
}
.stat-num { transition: all var(--transition-normal); display: inline-block; }

/* Feature boxes — enhanced hover shadow colors */
.feature-box:hover { box-shadow: 0 20px 40px rgba(91,45,142,0.1); }

/* Glass card on light background — fix contrast */
.glass-card {
  background: var(--color-white);
  border: 1px solid rgba(91,45,142,0.1);
  box-shadow: var(--shadow-sm);
}

/* CTA Section — richer depth */
.cta-section {
  background: linear-gradient(135deg, var(--color-violet-dark) 0%, var(--color-violet) 40%, var(--color-sky-dark) 100%);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* Blog cards — improved readability */
.blog-title { font-size: 1.1rem; color: var(--color-dark); }
.blog-card:hover .blog-title { color: var(--color-violet); }

/* Testimonials — add subtle top accent */
.testimonial-card {
  border-top: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-violet-sky);
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.testimonial-card:hover::before { opacity: 1; }

/* Footer newsletter — more polished input */
.newsletter-input {
  font-family: var(--font-body);
}

/* Contact info icon hover effect */
.contact-info-icon {
  transition: all var(--transition-normal);
}
.contact-info-item:hover .contact-info-icon {
  background: var(--color-violet);
  color: var(--color-white);
  transform: rotate(5deg) scale(1.1);
}

/* FAQ — enhanced interaction */
.faq-question {
  user-select: none;
}
.faq-item.open .faq-question {
  color: var(--color-violet);
}

/* WhatsApp — improve tooltip on hover */
.whatsapp-float::after {
  content: 'Nous contacter';
  position: absolute;
  left: calc(100% + 1rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-dark);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-headings);
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}
.whatsapp-float:hover::after {
  opacity: 1;
}

/* Section-tag — allow stacking without overflow */
.section-header .section-tag { display: inline-flex; }

/* Result cards — gradient accent */
.result-card {
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-violet-sky);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.result-card:hover::before { opacity: 1; }
.result-percent { 
  background: var(--grad-violet-sky);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tab buttons — improved active state */
.tab-btn.active {
  box-shadow: 0 8px 20px rgba(91,45,142,0.3);
  transform: translateY(-2px);
}

/* Announcement bar — subtle pulse on star icon */
.announcement-text i {
  animation: starPulse 3s infinite;
}
@keyframes starPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* Header — smoother language toggle */
.lang-toggle-btn {
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-light-2) 100%);
}
.lang-toggle-btn:hover {
  background: linear-gradient(135deg, rgba(91,45,142,0.06) 0%, rgba(47,168,216,0.04) 100%);
  box-shadow: 0 4px 12px rgba(91,45,142,0.12);
}

/* Responsive — footer grid */
@media (max-width: 576px) {
  .footer-newsletter-card { padding: 1.75rem; }
  .footer-grid { gap: 2rem; padding-bottom: 2.5rem; }
  .newsletter-input-group { flex-direction: column; border-radius: var(--border-radius-sm); padding: 0.5rem; }
  .newsletter-submit-btn { width: 100%; justify-content: center; border-radius: var(--border-radius-sm); }
}

/* Responsive — gallery */
@media (max-width: 576px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

/* Scroll reveal — smoother on mobile */
@media (max-width: 768px) {
  .reveal { transform: translateY(16px); }
}

/* =============================================
   42. TARGETED UI FIXES — reported issues
   ============================================= */

/* FIX 1 — Hero bottom white blur/fade: REMOVE the gradient overlay
   It was creating a blurry white zone between hero and next section */
.hero-section::after {
  display: none;
}

/* FIX 2 — Hero top spacing: too much space under sticky header
   Original: padding-top: 4rem → pushing content too far down */
.hero-content {
  padding-top: 1.5rem;
}

/* FIX 3 — Footer top spacing: huge dark empty zone at top of footer
   Original: padding-top: 5rem → reduced to breathable 2rem */
.main-footer {
  padding-top: 2rem;
}

/* FIX 4 — Section tag gap: badge too close to main title below it
   Adds clear visual separation between pill-badge and section title */
.section-tag {
  margin-bottom: 1.75rem;
}
.section-header .section-tag {
  margin-bottom: 2rem;
}

/* FIX 5 — Scroll button: make it clearly clickable */
.hero-scroll-indicator {
  cursor: pointer;
  bottom: 1.5rem !important;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}
.hero-scroll-indicator:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  transform: translateX(-50%) translateY(-3px) !important;
}

