/* =============================================
   APEX ENGLISH SCHOOL — Shared Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
  --ink: #1a1035;
  --cream: #f5f0e8;
  --creams: #fffef7;
  --cream-dark: #ede7d9;

  /* Oxford Blue palette */
  --gold: #0b3d91;
  /* основной Oxford Blue */
  --gold-light: #4f79c6;
  /* светлый университетский синий */

  --white: #ffffff;
  --muted: #666666;
  --border: rgba(0, 0, 0, 0.09);

  /* New accent colors */
  --indigo: #1a1035;
  --indigo-mid: #2d1f5e;
  --indigo-light: #3d2b80;
  --indigo-glow: rgba(77, 52, 163, 0.35);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Utility ── */
.section-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem; display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.1;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--muted);
  max-width: 540px; line-height: 1.75; margin-bottom: 3rem;
}
.btn-primary {
  display: inline-block;
  background: var(--ink); color: var(--cream);
  padding: 1rem 2.2rem; font-size: 0.9rem; font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--ink);
  padding: 1rem 2.2rem; font-size: 0.9rem; font-weight: 500;
  border: 2px solid var(--ink); cursor: pointer; text-decoration: none;
  transition: all 0.25s;
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem 5%;
  background: rgba(245,240,232,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.25);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 900; letter-spacing: -0.5px;
  text-decoration: none; color: var(--ink);
}
.logo span { color: var(--gold); }
nav ul { list-style: none; display: flex; gap: 2.4rem; align-items: center; }
nav ul li a {
  text-decoration: none; color: var(--ink);
  font-size: 0.83rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.2s;
}
nav ul li a:hover,
nav ul li a.active { color: var(--gold); }
.nav-cta {
  background: var(--ink) !important; color: var(--cream) !important;
  padding: 0.55rem 1.4rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--ink) !important; }

/* New Teachers nav highlight */
.nav-teachers {
  color: var(--gold) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.nav-teachers:hover { color: var(--ink) !important; border-color: var(--ink); }

/* =============================================
   MARQUEE STRIP
   ============================================= */
.strip {
  background: var(--indigo-mid); color: var(--cream);
  padding: 1.1rem 0; overflow: hidden; white-space: nowrap;
}
.strip-inner {
  display: inline-flex; gap: 4rem;
  animation: marquee 30s linear infinite;
}
.strip span { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.strip span.accent { color: var(--gold); opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   HERO (HOME)
   ============================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 5%;
  padding-top: 80px;
  position: relative;
  overflow: hidden;

  /* Фон Праги + затемнение */
  background:
    linear-gradient(rgba(255, 240, 153, 0.233), rgba(10, 10, 10, 0.6)),
    url("img/prague.jpg") center/cover no-repeat;

  color: var(--white);
}

/* Золотое декоративное свечение */
.hero::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -10%;
  width: 70vw;
  height: 110vh;
  background: radial-gradient(ellipse at center, #e8d08a25 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Контент поверх фона */
.hero>* {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgb(255, 255, 255);
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s 0.4s ease both;
}

.hero-card-main {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  color: var(--cream);
  padding: 3rem;
  width: 360px;
  position: relative;
  z-index: 2;
  box-shadow: 30px 30px 0 var(--gold);
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.hero-card-main .stat {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
}

.hero-card-main .stat-label {
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  opacity: 0.65;
}

.hero-card-main hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 1.5rem 0;
}

.mini-stats {
  display: flex;
  gap: 2rem;
}

.mini-stat .n {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.mini-stat .l {
  font-size: 0.73rem;
  opacity: 0.55;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.floating-pill {
  position: absolute;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  padding: 0.75rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(77, 52, 163, 0.45);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

.pill-1 {
  top: 5%;
  right: -5%;
}

.pill-2 {
  bottom: 10%;
  left: -12%;
  animation-delay: 1.5s;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* =============================================
   COURSES
   ============================================= */
.courses { padding: 6rem 5%; }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.course-card {
  border: 1px solid var(--border);
  padding: 2rem; position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background: var(--white); cursor: pointer;
}
.course-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(11,61,145,0.13); }
.course-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.4s;
}
.course-card:hover::after { width: 100%; }
/* Glowing corner accent on hover */
.course-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(11,61,145,0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.4s ease;
  border-radius: 50%;
}
.course-card:hover::before { transform: scale(2.5); }
.course-icon { font-size: 2rem; margin-bottom: 1rem; }
.course-level {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.5rem;
}
.course-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem;
}
.course-card p { font-size: 0.88rem; color: #555; line-height: 1.65; }
.course-meta { display: flex; gap: 1.5rem; margin-top: 1.5rem; font-size: 0.78rem; color: #999; }

/* =============================================
   STATS BANNER
   ============================================= */
.stats-banner {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 50%, var(--indigo-light) 100%);
  color: var(--cream);
  padding: 5rem 5%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center; gap: 2rem;
  position: relative; overflow: hidden;
}
.stats-banner::before {
  content: '"';
  position: absolute; right: 5%; top: -2rem;
  font-family: 'Playfair Display', serif; font-size: 20rem;
  color: rgba(255,255,255,0.03); line-height: 1; pointer-events: none;
}
/* Animated orbs on stats banner */
.stats-banner::after {
  content: '';
  position: absolute; left: -10%; top: -30%;
  width: 60vw; height: 160%;
  background: radial-gradient(ellipse, rgba(79,121,198,0.2) 0%, transparent 60%);
  pointer-events: none;
  animation: pulseOrb 6s ease-in-out infinite;
}
@keyframes pulseOrb {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.6; }
  50% { transform: scale(1.15) translateY(-15px); opacity: 1; }
}
.stat-item .big {
  font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 900; color: var(--gold);
}
.stat-item .desc { font-size: 0.83rem; opacity: 0.55; letter-spacing: 0.05em; margin-top: 0.4rem; }

/* =============================================
   TEACHERS SECTION
   ============================================= */
.teachers {
  padding: 6rem 5%;
  background: var(--white);
}

/* ===== Leadership (Co-Founder / Director) ===== */

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  margin: 3rem 0 4rem;
}

.leader-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--cream);
  color: var(--ink);
  padding: 2.5rem;
  border-left: 4px solid var(--gold);
  transition: 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.leader-photo {
  width: 200px;
  height: 200px;
  overflow: hidden;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-role {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.leader-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.leader-info p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* ===== Teachers Grid ===== */

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.teacher-card {
  text-align: center;
}

.teacher-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--cream);
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.teacher-card:hover .teacher-photo img {
  transform: scale(1.04);
}

.teacher-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.teacher-card:hover .teacher-photo::after {
  transform: scaleX(1);
}

.teacher-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.teacher-role {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.teacher-bio {
  font-size: 0.82rem;
  color: #666;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { padding: 6rem 5%; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.testi-card {
  background: var(--white); padding: 2.2rem;
  border-left: 4px solid var(--gold);
  transition: transform 0.3s;
}
.testi-card:hover { transform: translateY(-4px); }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-text { font-size: 0.95rem; line-height: 1.75; color: #333; font-style: italic; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.testi-name { font-weight: 600; font-size: 0.9rem; }
.testi-info { font-size: 0.73rem; color: #999; }

/* =============================================
   ENROLL / CTA SECTION
   ============================================= */
.cta-section {
  padding: 6rem 5%; background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%); color: var(--cream);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem; align-items: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; right: -5%; bottom: -20%;
  width: 50vw; height: 150%;
  background: radial-gradient(ellipse, rgba(79,121,198,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem;
}
.cta-section h2 em { font-style: italic; color: var(--gold); }
.cta-section > div > p { opacity: 0.65; line-height: 1.75; font-size: 0.95rem; }
.cta-form { display: flex; flex-direction: column; gap: 1rem; }
.cta-form input,
.cta-form select {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); color: var(--cream);
  padding: 1rem 1.2rem; font-size: 0.9rem; font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color 0.2s, background 0.2s; -webkit-appearance: none;
}
.cta-form input:focus,
.cta-form select:focus { border-color: var(--gold-light); background: rgba(255,255,255,0.12); }
.cta-form input::placeholder { color: rgba(255,255,255,0.35); }
.cta-form select option { background: var(--indigo); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #0a0820; color: var(--cream);
  padding: 4.5rem 5% 2rem;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { font-size: 1.5rem; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: 0.83rem; opacity: 0.45; line-height: 1.75; max-width: 260px; }
.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  text-decoration: none; color: rgba(245,240,232,0.45);
  font-size: 0.85rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid #181818; padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.77rem; color: rgba(245,240,232,0.3);
}

/* =============================================
   ABOUT PAGE — Page Hero
   ============================================= */
.page-hero {
  padding: 22rem 5% 6rem;
  position: relative;
  overflow: hidden;

  /* Фото Праги + затемнение */
  background:
    linear-gradient(rgba(0, 0, 0, 0.829), rgba(0, 0, 0, 0.726)),
    url("img/prague-about.webp") center/cover no-repeat;

  color: var(--cream);
}

/* Золотое декоративное свечение */
.page-hero::before {
  content: '';
  position: absolute;
  left: -5%;
  top: -20%;
  width: 60vw;
  height: 140%;
  background: radial-gradient(ellipse at center,
      rgba(201, 168, 76, 0.12) 0%,
      transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* Контент поверх фона */
.page-hero>* {
  position: relative;
  z-index: 2;
}

.page-hero-inner {
  max-width: 800px;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.page-hero p {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.85;
  max-width: 620px;
  animation: fadeUp 0.6s 0.15s ease both;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 2rem;
  animation: fadeUp 0.5s ease both;
}

.page-hero-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.page-hero-breadcrumb a:hover {
  color: var(--gold-light);
  opacity: 1;
}

.page-hero-breadcrumb span {
  color: var(--gold);
}

/* =============================================
   ABOUT — Our Story
   ============================================= */
.about-story {
  padding: 7rem 5%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
}
.about-story-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; line-height: 1.15;
  margin-bottom: 1.5rem;
}
.about-story-text h2 em { font-style: italic; color: var(--gold); }
.about-story-text p {
  font-size: 0.96rem; line-height: 1.85; color: #444;
  margin-bottom: 1.3rem;
}
.about-story-text p:last-of-type { margin-bottom: 0; }
.story-visual { position: relative; }
.story-card-stack { position: relative; height: 420px; }
.story-card {
  position: absolute; padding: 2.2rem;
  background: var(--white); border: 1px solid var(--border);
}
.story-card-1 { top: 0; left: 0; right: 30px; }
.story-card-2 {
  bottom: 0; right: 0; left: 30px;
  background: var(--ink); color: var(--cream);
}
.story-card-1 blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-style: italic; line-height: 1.65; color: #333; margin-bottom: 1rem;
}
.story-card-1 cite { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.06em; font-style: normal; }
.story-card-2 .year {
  font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 900; color: var(--gold); line-height: 1;
}
.story-card-2 .year-label { font-size: 0.8rem; opacity: 0.5; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }
.story-card-2 p { font-size: 0.85rem; opacity: 0.65; margin-top: 1rem; line-height: 1.65; }

/* =============================================
   ABOUT — Values
   ============================================= */
.about-values {
  padding: 5rem 5% 7rem;
  background: var(--white);
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.value-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.07); }
.value-number {
  font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 900;
  color: rgba(201,168,76,0.12); line-height: 1;
  position: absolute; top: 1rem; right: 1.5rem;
}
.value-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.value-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem;
}
.value-card p { font-size: 0.87rem; color: #555; line-height: 1.7; }

/* =============================================
   ABOUT — Timeline
   ============================================= */
.about-timeline { padding: 7rem 5%; }
.timeline { margin-top: 4rem; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border); transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; margin-bottom: 4rem; position: relative;
}
.timeline-item:nth-child(odd) .tl-content { grid-column: 1; grid-row: 1; text-align: right; }
.timeline-item:nth-child(odd) .tl-empty  { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .tl-empty { grid-column: 1; grid-row: 1; }
.timeline-item:nth-child(even) .tl-content { grid-column: 2; grid-row: 1; text-align: left; }
.tl-dot {
  position: absolute; left: 50%; top: 0.4rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--cream);
  transform: translateX(-50%); z-index: 1;
}
.tl-year {
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900;
  color: var(--gold); margin-bottom: 0.5rem;
}
.tl-content h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.tl-content p { font-size: 0.88rem; color: #555; line-height: 1.7; }

/* =============================================
   ABOUT — Accreditation
   ============================================= */
.about-accreditation {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%); color: var(--cream);
  padding: 5rem 5%; text-align: center;
  position: relative; overflow: hidden;
}
.about-accreditation::before {
  content: '';
  position: absolute; right: -10%; top: -20%;
  width: 55vw; height: 160%;
  background: radial-gradient(ellipse, rgba(79,121,198,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.about-accreditation .section-title { color: var(--cream); }
.accred-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem;
}
.accred-item {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem 1.5rem;
  transition: border-color 0.3s;
}
.accred-item:hover { border-color: var(--gold); }
.accred-logo { font-size: 2.5rem; margin-bottom: 1rem; }
.accred-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.accred-desc { font-size: 0.78rem; opacity: 0.45; line-height: 1.6; }

/* =============================================
   ABOUT — Team full section
   ============================================= */
.about-team { padding: 7rem 5%; background: var(--white); }
.about-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }

/* =============================================
   ABOUT — CTA strip
   ============================================= */
.about-cta-strip {
  padding: 5rem 5%;
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: center;
  background: var(--cream-dark);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.about-cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 900; line-height: 1.2;
}
.about-cta-strip h2 em { font-style: italic; color: var(--gold); }
.about-cta-strip p { color: var(--muted); margin-top: 0.5rem; font-size: 0.95rem; }
.about-cta-btns { display: flex; gap: 1rem; flex-shrink: 0; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* =============================================
   HAMBURGER MENU BUTTON
   ============================================= */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer; background: none; border: none; padding: 4px;
  z-index: 300;
  position: relative;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s, width 0.3s, background 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span { background: var(--cream); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay — not used in fullscreen mode */
.nav-mobile-overlay { display: none; pointer-events: none; }

/* Fullscreen dark overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile full-screen menu */
nav ul.mobile-open {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  background: var(--ink);
  z-index: 200;
  padding: 2rem;
  gap: 0;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
  overflow-y: auto;
}
nav ul.mobile-open.slide-in { opacity: 1; transform: scale(1); }
nav ul.mobile-open li {
  width: 100%; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
nav ul.mobile-open li a {
  display: block; padding: 1.4rem 0;
  font-size: 1.3rem; letter-spacing: 0.06em;
  color: var(--cream) !important;
  transition: color 0.2s;
}
nav ul.mobile-open li a:hover { color: var(--gold) !important; }
nav ul.mobile-open li:last-child {
  border-bottom: none; margin-top: 2rem; width: auto;
}
nav ul.mobile-open .nav-cta {
  display: inline-block;
  background: var(--gold) !important;
  color: var(--cream) !important;
  padding: 1rem 2.5rem !important;
  font-size: 1rem !important;
  letter-spacing: 0.08em;
}
.nav-hamburger.open span { background: var(--cream); }

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay — not used in fullscreen mode */
.nav-mobile-overlay { display: none; pointer-events: none; }

/* Fullscreen dark overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile full-screen menu */
nav ul.mobile-open {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  background: var(--ink);
  z-index: 200;
  padding: 2rem;
  gap: 0;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
  overflow-y: auto;
}
nav ul.mobile-open.slide-in { opacity: 1; transform: scale(1); }
nav ul.mobile-open li {
  width: 100%; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
nav ul.mobile-open li a {
  display: block; padding: 1.4rem 0;
  font-size: 1.3rem; letter-spacing: 0.06em;
  color: var(--cream) !important;
  transition: color 0.2s;
}
nav ul.mobile-open li a:hover { color: var(--gold) !important; }
nav ul.mobile-open li:last-child {
  border-bottom: none; margin-top: 2rem; width: auto;
}
nav ul.mobile-open .nav-cta {
  display: inline-block;
  background: var(--gold) !important;
  color: var(--ink) !important;
  padding: 1rem 2.5rem !important;
  font-size: 1rem !important;
  letter-spacing: 0.08em;
}
/* Hamburger bars turn white when menu is open (dark bg) */
.nav-hamburger.open span { background: var(--cream); }

/* =============================================
   TABLET — 1024px
   ============================================= */
@media (max-width: 1024px) {
  /* About story */
  .about-story { grid-template-columns: 1fr; gap: 3rem; }
  .story-card-stack { height: 320px; }

  /* Timeline */
  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .timeline-item:nth-child(odd) .tl-content,
  .timeline-item:nth-child(even) .tl-content { grid-column: 1; text-align: left; }
  .timeline-item:nth-child(odd) .tl-empty,
  .timeline-item:nth-child(even) .tl-empty { display: none; }
  .tl-dot { display: none; }

  /* Grids */
  .accred-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { grid-template-columns: 1fr; gap: 3rem; }
  .about-cta-strip { grid-template-columns: 1fr; }
  .about-cta-btns { flex-direction: row; flex-wrap: wrap; }
}

/* =============================================
   TABLET PORTRAIT — 768px
   ============================================= */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 1rem 5%; }
  nav ul:not(.mobile-open) { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-overlay { display: block; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 5% 4rem;
    min-height: auto;
  }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .hero-lead { font-size: 1rem; margin-bottom: 2rem; }
  .hero-btns { flex-direction: column; gap: 0.8rem; }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary { width: 100%; text-align: center; padding: 1rem; }

  /* Strip */
  .strip { padding: 0.9rem 0; }

  /* Sections */
  .courses { padding: 4rem 5%; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .teachers { padding: 4rem 5%; }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .testimonials { padding: 4rem 5%; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .cta-section { padding: 4rem 5%; }
  .about-cta-btns { flex-direction: column; }
  .about-cta-btns .btn-primary,
  .about-cta-btns .btn-secondary { text-align: center; }

  /* Stats */
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem 5%; gap: 2rem;
  }
  .stat-item .big { font-size: 2.5rem; }

  /* Grids */
  .values-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .about-team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .accred-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  footer { padding: 3rem 5% 1.5rem; }

  /* About */
  .about-story { padding: 4rem 5%; }
  .about-values { padding: 4rem 5%; }
  .about-timeline { padding: 4rem 5%; }
  .about-team { padding: 4rem 5%; }
  .about-accreditation { padding: 4rem 5%; }
  .about-cta-strip { padding: 3.5rem 5%; }

  /* Page hero */
  .page-hero { padding: 7rem 5% 4rem; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .page-hero p { font-size: 1rem; }

  /* Story cards */
  .story-card-stack { height: auto; position: static; }
  .story-card { position: static; margin-bottom: 1.2rem; }
  .story-card-2 { left: 0; }
}

/* =============================================
MOBILE — 480px
============================================= */
@media (max-width: 480px) {
  /* Nav */
  nav { padding: 0.9rem 4%; }
  .logo { font-size: 1.15rem; }

  /* Hero */
  .hero { padding: 6rem 4% 3.5rem; }
  .hero-badge { font-size: 0.65rem; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.8rem); margin-bottom: 1.1rem; }
  .hero-lead { font-size: 0.95rem; }

  /* Section spacing */
  .courses,
  .teachers,
  .testimonials,
  .cta-section { padding: 3.5rem 4%; }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .section-sub { font-size: 0.92rem; margin-bottom: 2rem; }

  /* Course cards */
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .course-card { padding: 1.2rem; }
  .course-card h3 { font-size: 1rem; }

  /* Testimonials — 2 col on phones */
  .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }

  /* Teachers */
  .teachers-grid,
  .about-team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .teacher-name { font-size: 0.95rem; }
  .teacher-role { font-size: 0.68rem; }
  .teacher-bio { font-size: 0.78rem; }

  /* Stats — 2 col */
  .stats-banner { grid-template-columns: repeat(2, 1fr); padding: 2.5rem 4%; gap: 1.5rem; }
  .stat-item .big { font-size: 2rem; }
  .stat-item .desc { font-size: 0.75rem; }

  /* Testimonials */
  .testi-card { padding: 1.5rem; }
  .testi-text { font-size: 0.9rem; }

  /* CTA form */
  .cta-section { padding: 3.5rem 4%; }
  .cta-form input,
  .cta-form select { padding: 0.9rem 1rem; font-size: 0.88rem; }

  /* Values */
  .about-values,
  .about-timeline,
  .about-team,
  .about-accreditation,
  .about-story,
  .about-cta-strip { padding: 3rem 4%; }
  .values-grid { gap: 1rem; }
  .value-card { padding: 1.8rem 1.5rem; }

  /* Accreditation */
  .accred-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .accred-item { padding: 1.5rem 1rem; }
  .accred-name { font-size: 0.9rem; }

  /* Timeline */
  .tl-year { font-size: 1.6rem; }
  .timeline-item { margin-bottom: 2.5rem; }

  /* Pricing — 2 col on phones */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .pricing-card { padding: 1.3rem; }
  .pricing-rate { font-size: 1.4rem; }
  .pricing-title { font-size: 1.05rem; }
  .pricing-subtitle,
  .pricing-features li { font-size: 0.8rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  footer { padding: 3rem 4% 1.5rem; }

  /* Page hero */
  .page-hero { padding: 6rem 4% 3rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 9vw, 2.5rem); }

  /* Buttons */
  .btn-primary,
  .btn-secondary { padding: 0.9rem 1.8rem; font-size: 0.88rem; }
}


/* =============================================
   VERY SMALL — 360px
   ============================================= */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.9rem; }
  .teachers-grid,
  .about-team-grid { grid-template-columns: 1fr 1fr; }
  .stats-banner { grid-template-columns: 1fr 1fr; }
  .accred-grid { grid-template-columns: 1fr; }
}

/* =============================================
   TOUCH — improve tap targets
   ============================================= */
@media (hover: none) {
  .course-card:hover,
  .testi-card:hover,
  .value-card:hover,
  .accred-item:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { transform: none; }
  nav ul li a:hover { color: var(--ink); }
}

/* ── Teachers grid: 2 per row on PC, 1 per row on phone ── */
@media (max-width: 768px) {
  .teachers-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .teachers-grid { grid-template-columns: 1fr !important; }
  .leadership-grid { grid-template-columns: 1fr !important; }
  .leader-card { grid-template-columns: 1fr !important; text-align: center; }
  .leader-photo { width: 140px; height: 140px; margin: 0 auto 1rem; }
}

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing-section {
  padding: 6rem 5%;
  background: var(--creams);
}
.pricing-section > .reveal {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-section .section-sub {
  margin: 0.5rem auto 0;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
}
.pricing-featured {
  border-color: var(--gold);
  border-width: 2px;
  position: relative;
}
.pricing-featured::before {
  content: '★ Most Popular';
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
}
.pricing-icon { font-size: 2rem; }
.pricing-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.pricing-subtitle {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.5;
}
.pricing-rate {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.pricing-rate span {
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--muted);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.pricing-features li {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
}
.pricing-features li em {
  color: var(--muted);
  font-style: normal;
}
.pricing-highlight {
  background: var(--cream-dark);
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold);
  border-left: 3px solid var(--gold);
}

/* Discounts bar */
.pricing-discounts {
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-disc-inner {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  color: var(--white);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.pricing-disc-inner::before {
  content: '';
  position: absolute; left: -5%; top: -30%;
  width: 40vw; height: 200%;
  background: radial-gradient(ellipse, rgba(79,121,198,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.pricing-disc-icon { font-size: 2.5rem; }
.pricing-disc-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.disc-items {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.disc-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.disc-item strong {
  font-size: 1rem;
  color: #c9a84c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.disc-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.disc-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
}

/* ── Pricing responsive ── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-disc-inner { padding: 2rem 1.5rem; }
  .disc-divider { width: 60px; height: 1px; }
  .disc-items { flex-direction: column; }
  .pricing-rate { font-size: 1.6rem; }
}

/* ── Flag images ── */
.flag-img {
  width: 40px;
  height: 27px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  display: block;
}
.testi-avatar .flag-img {
  width: 44px;
  height: 30px;
}
.flag-nav {
  width: 28px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 3px;
  border-radius: 2px;
}
/* ── Footer social icons ── */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid #181818;
  border-bottom: 1px solid #181818;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-social-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(245,240,232,0.12);
  color: rgba(245,240,232,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-icon::before {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.whatsapp-icon::before {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.social-icon:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.social-icon:hover::before { opacity: 1; }

.social-icon span,
.social-icon svg {
  position: relative;
  z-index: 1;
}

.social-icon:hover svg {
  transform: scale(1.2) rotate(-5deg);
}

/* =============================================
   PARTICLE CANVAS (Hero background)
   ============================================= */
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* =============================================
   LEVEL QUIZ SECTION
   ============================================= */
.quiz-section {
  padding: 6rem 5%;
  background: linear-gradient(160deg, #f8f5ff 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.quiz-section::before {
  content: '';
  position: absolute; right: -5%; top: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at right center, rgba(11,61,145,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.quiz-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quiz-box {
  margin-top: 3rem;
  background: var(--white);
  border: 1px solid rgba(11,61,145,0.12);
  padding: 2.8rem 3rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(11,61,145,0.08);
}
.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(11,61,145,0.1);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.5s ease;
  width: 0%;
}
.quiz-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1.8rem;
  color: var(--ink);
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.quiz-option {
  padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(11,61,145,0.04);
  transform: translateX(4px);
}
.quiz-option.correct {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #065f46;
}
.quiz-option.wrong {
  background: rgba(239, 68, 68, 0.08);
  border-color: #ef4444;
  color: #991b1b;
}
.quiz-step-label {
  font-size: 0.73rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.quiz-result {
  display: none;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-mid));
  color: var(--cream);
  text-align: center;
}
.quiz-result.show { display: block; }
.quiz-result-level {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #7eb3ff;
  margin: 0.5rem 0;
}
.quiz-result p { font-size: 0.92rem; opacity: 0.8; line-height: 1.65; margin-top: 0.5rem; }
.quiz-restart {
  margin-top: 1.2rem;
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--cream);
  padding: 0.6rem 1.6rem;
  font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.quiz-restart:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}
@media (max-width: 600px) {
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-box { padding: 2rem 1.5rem; }
}

/* =============================================
   WORD-OF-THE-DAY / FLIP CARD
   ============================================= */
.word-flip-section {
  padding: 0 5% 5rem;
  background: linear-gradient(160deg, #f8f5ff 0%, var(--cream) 100%);
}
.word-flip-wrap {
  max-width: 500px;
  margin: 0 auto;
  perspective: 1000px;
}
.word-flip-card {
  width: 100%;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}
.word-flip-card.flipped { transform: rotateY(180deg); }
.word-flip-front,
.word-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px solid rgba(11,61,145,0.12);
  box-shadow: 0 8px 40px rgba(11,61,145,0.08);
}
.word-flip-front {
  background: var(--white);
}
.word-flip-back {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-mid));
  color: var(--cream);
  transform: rotateY(180deg);
}
.word-flip-front .wf-label {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.word-flip-front .wf-word {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900; color: var(--ink);
}
.word-flip-front .wf-pos {
  font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 0.3rem;
}
.word-flip-front .wf-hint {
  font-size: 0.73rem; color: rgba(11,61,145,0.5); margin-top: 1rem;
  letter-spacing: 0.08em;
}
.word-flip-back .wf-def {
  font-size: 0.98rem; line-height: 1.7; text-align: center; opacity: 0.9;
  margin-bottom: 0.8rem;
}
.word-flip-back .wf-example {
  font-size: 0.82rem; opacity: 0.55; font-style: italic; text-align: center;
}
.wf-next-btn {
  display: block;
  margin: 1.5rem auto 0;
  background: none;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 1.6rem;
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.wf-next-btn:hover {
  background: var(--gold); color: var(--white);
}

/* =============================================
   ENHANCED TESTIMONIAL CARDS
   ============================================= */
.testi-card {
  background: var(--white); padding: 2.2rem;
  border-left: 4px solid var(--gold);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '"';
  position: absolute; right: 1.5rem; top: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 5rem; color: rgba(11,61,145,0.06);
  line-height: 1; pointer-events: none;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(11,61,145,0.1); }

/* =============================================
   ENHANCED NAV SCROLL STATE
   ============================================= */
nav.scrolled {
  background: rgba(26, 16, 53, 0.96) !important;
  border-bottom-color: rgba(79, 121, 198, 0.3) !important;
}
nav.scrolled .logo,
nav.scrolled ul li a { color: var(--cream) !important; }
nav.scrolled .logo span { color: var(--gold-light) !important; }
nav.scrolled ul li a:hover,
nav.scrolled ul li a.active { color: var(--gold-light) !important; }
nav.scrolled .nav-hamburger span { background: var(--cream); }

/* =============================================
   LEADER CARD ENHANCED
   ============================================= */
.leader-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--cream);
  color: var(--ink);
  padding: 2.5rem;
  border-left: 4px solid var(--gold);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}
.leader-card::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(11,61,145,0.06) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform 0.4s;
}
.leader-card:hover::after { transform: scale(3); }


/* =============================================
   CANVAS PARTICLES (HERO)
   ============================================= */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* =============================================
   LEVEL QUIZ WIDGET
   ============================================= */
.level-quiz {
  padding: 6rem 5%;
  background: linear-gradient(160deg, #f7f4ff 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.level-quiz::before {
  content: '';
  position: absolute;
  right: -10%; top: -20%;
  width: 50vw; height: 120%;
  background: radial-gradient(ellipse, rgba(11,61,145,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.quiz-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.quiz-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  margin-top: 2.5rem;
  position: relative;
}
.quiz-progress {
  height: 4px;
  background: var(--border);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.quiz-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.75rem;
  color: var(--ink);
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.quiz-option {
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.quiz-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.quiz-option span { position: relative; z-index: 1; }
.quiz-option:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.quiz-option.selected { border-color: var(--gold); background: var(--gold); color: #fff; }
.quiz-option.correct { border-color: #22c55e; background: #22c55e; color: #fff; }
.quiz-option.wrong { border-color: #ef4444; background: #ef4444; color: #fff; }
.quiz-counter {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.quiz-result {
  text-align: center;
  padding: 2rem 0 1rem;
}
.quiz-result .result-level {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.quiz-result .result-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.quiz-result p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.quiz-restart {
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.6rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.quiz-restart:hover { background: var(--gold); color: #fff; }

/* =============================================
   ANIMATED COUNTER (stats)
   ============================================= */
.stat-item .big {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  transition: transform 0.3s;
}
.stat-item:hover .big { transform: scale(1.08); }

/* =============================================
   COURSE CARDS — enhanced hover
   ============================================= */
.course-card {
  border: 1px solid var(--border);
  padding: 2rem; position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  background: var(--white); cursor: pointer;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(11,61,145,0.12);
  border-color: rgba(11,61,145,0.2);
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.course-card:hover::before { transform: scaleX(1); }

/* =============================================
   TESTIMONIAL CARDS — glow on hover
   ============================================= */
.testi-card {
  background: var(--white); padding: 2.2rem;
  border-left: 4px solid var(--gold);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(11,61,145,0.1);
}

/* =============================================
   LEADER CARDS — indigo tint on hover
   ============================================= */
.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 16, 53, 0.18);
}

/* =============================================
   NAV — indigo shadow when scrolled
   ============================================= */
nav.scrolled {
  box-shadow: 0 4px 30px rgba(26, 16, 53, 0.12);
}

/* =============================================
   MOBILE MENU — indigo bg
   ============================================= */
nav ul.mobile-open {
  background: var(--indigo) !important;
}

/* =============================================
   ABOUT PAGE ACCREDITATION — indigo bg
   ============================================= */
.about-accreditation {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  color: var(--cream);
  padding: 5rem 5%; text-align: center;
  position: relative; overflow: hidden;
}
.about-accreditation::before {
  content: '';
  position: absolute;
  right: -5%; top: -20%;
  width: 50vw; height: 140%;
  background: radial-gradient(ellipse, rgba(79,121,198,0.2) 0%, transparent 65%);
  pointer-events: none;
}

/* =============================================
   PRICING DISCOUNT BAR — indigo
   ============================================= */
.pricing-disc-inner {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%);
  color: var(--white);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-disc-inner::before {
  content: '';
  position: absolute; left: -5%; bottom: -20%;
  width: 40vw; height: 150%;
  background: radial-gradient(ellipse, rgba(79,121,198,0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* =============================================
   SCROLL-TO-TOP BUTTON
   ============================================= */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--indigo-mid);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(26,16,53,0.3);
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

/* =============================================
   TYPING CURSOR HERO
   ============================================= */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--gold-light);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* =============================================
   QUIZ SECTION — PHOTO BACKGROUND
   ============================================= */
.quiz-section {
  position: relative;
  overflow: hidden;
}
.quiz-photo-bg {
  position: absolute;
  inset: 0;
  background: url("img/flags.jpg") center/cover no-repeat;
  z-index: 0;
}
.quiz-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,16,53,0.88) 0%, rgba(11,61,145,0.75) 100%);
  z-index: 1;
}
.quiz-section .quiz-inner {
  position: relative;
  z-index: 2;
}
/* Override old gradient bg */
.quiz-section {
  background: none !important;
}
.quiz-section::before { display: none !important; }

/* =============================================
   TESTIMONIAL SLIDER
   ============================================= */
.testimonials {
  padding: 6rem 5%;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Big decorative quote */
.testi-deco-quote {
  position: absolute;
  left: 3%;
  top: -2rem;
  font-family: 'Playfair Display', serif;
  font-size: 22rem;
  line-height: 1;
  color: rgba(11, 61, 145, 0.055);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.testi-slider-wrap {
  position: relative;
  z-index: 1;
}

/* Header row: title + nav buttons */
.testi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.testi-header .section-title { margin-bottom: 0; }

.testi-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.testi-counter {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  min-width: 42px;
  text-align: center;
}

.testi-btn {
  width: 52px;
  height: 52px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  flex-shrink: 0;
}
.testi-btn:hover {
  background: var(--ink);
  color: var(--cream);
  transform: scale(1.08);
}

/* Viewport + sliding track */
.testi-viewport {
  overflow: hidden;
  width: 100%;
}
.testi-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testi-slide {
  min-width: 100%;
  padding: 0 1px; /* prevent clipping */
}
.testi-slide-inner {
  background: var(--white);
  border: 1px solid rgba(11,61,145,0.1);
  padding: 3.5rem 4rem;
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto auto auto;
  gap: 0.5rem 2.5rem;
  align-items: start;
  box-shadow: 0 20px 60px rgba(11,61,145,0.07);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.testi-slide-inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.testi-slide-inner:hover::after { transform: scaleX(1); }
.testi-slide-inner:hover { box-shadow: 0 30px 80px rgba(11,61,145,0.12); }

/* Flag big */
.testi-flag-big {
  grid-row: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-flag-big img {
  width: 80px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

/* Stars in slide */
.testi-slide-inner .stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 3px;
  align-self: end;
}

/* Quote text */
.testi-text-big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.75;
  color: #2a2a3a;
  font-style: italic;
  grid-column: 2;
}

/* Author */
.testi-author-big {
  grid-column: 2;
  padding-top: 1rem;
  border-top: 1px solid rgba(11,61,145,0.08);
}
.testi-author-big .testi-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.testi-author-big .testi-info {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Dots */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(11,61,145,0.2);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.testi-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Mobile responsive slider */
@media (max-width: 768px) {
  .testi-slide-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 1rem;
  }
  .testi-flag-big {
    grid-row: auto;
    justify-content: flex-start;
  }
  .testi-flag-big img { width: 56px; height: 38px; }
  .testi-text-big { grid-column: 1; font-size: 0.97rem; }
  .testi-author-big { grid-column: 1; }
  .testi-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .testi-btn { width: 44px; height: 44px; font-size: 1.1rem; }
  .testi-deco-quote { font-size: 12rem; }
}

/* =============================================
   WORD OF THE DAY — SLIDER (replaces flip card)
   ============================================= */
.word-flip-section {
  padding: 6rem 5%;
  background: linear-gradient(160deg, var(--indigo) 0%, var(--indigo-mid) 60%, #1e2d6e 100%);
  position: relative;
  overflow: hidden;
}
/* Subtle orb */
.word-flip-section::before {
  content: '';
  position: absolute;
  right: -10%; top: -30%;
  width: 60vw; height: 160%;
  background: radial-gradient(ellipse, rgba(79,121,198,0.2) 0%, transparent 65%);
  pointer-events: none;
}
/* Large decorative letter */
.word-flip-section::after {
  content: 'W';
  position: absolute;
  right: 4%; bottom: -4rem;
  font-family: 'Playfair Display', serif;
  font-size: 22rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
}

.wf-slider-wrap { position: relative; z-index: 1; }

.wf-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.wf-slider-header .section-label { color: #7eb3ff; }
.wf-slider-header .section-title { color: var(--cream); margin-bottom: 0; }
.wf-slider-header .section-title em { color: #7eb3ff; }
.wf-slider-header .testi-counter { color: rgba(255,255,255,0.5); }
.wf-slider-header .testi-btn {
  border-color: rgba(255,255,255,0.3);
  color: var(--cream);
}
.wf-slider-header .testi-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  transform: scale(1.08);
}

/* Viewport */
.wf-viewport {
  overflow: hidden;
  width: 100%;
}
.wf-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.wf-slide {
  min-width: 100%;
  perspective: 1000px;
}

/* The flip card */
.wf-slide-inner {
  position: relative;
  width: 100%;
  height: 260px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.wf-slide-inner.flipped { transform: rotateY(180deg); }

.wf-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 3rem;
}
.wf-front {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.wf-back {
  background: var(--cream);
  border: 1px solid rgba(255,255,255,0.1);
  transform: rotateY(180deg);
  justify-content: center;
  gap: 0.8rem;
}

/* Front face content */
.wf-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(126,179,255,0.5);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.wf-word-big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.wf-pos-tag {
  display: inline-block;
  background: rgba(126,179,255,0.15);
  border: 1px solid rgba(126,179,255,0.3);
  color: #7eb3ff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  margin-bottom: 1.2rem;
  width: fit-content;
}
.wf-hint-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  animation: pulse-hint 2.5s ease-in-out infinite;
}
@keyframes pulse-hint {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

/* Back face content */
.wf-word-small {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.wf-def-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
}
.wf-ex-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}

/* Dots on dark bg */
.word-flip-section .testi-dots { margin-top: 2rem; }
.word-flip-section .testi-dot { background: rgba(255,255,255,0.2); }
.word-flip-section .testi-dot.active { background: #7eb3ff; }

/* Mobile */
@media (max-width: 768px) {
  .wf-face { padding: 1.8rem 1.5rem; }
  .wf-slide-inner { height: 220px; }
  .wf-word-big { font-size: clamp(2rem, 8vw, 3rem); }
  .wf-slider-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
