/* ============================================
   QUEEN MARY - GROUPE SCOLAIRE BILINGUE
   Charte officielle : Bleu marine + Jaune + Blanc
   Devise : Discipline - Travail - Succès
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ===== CHARTE OFFICIELLE QUEEN MARY ===== */
  --brand-blue: #1F3A6E;          /* Bleu marine du logo */
  --brand-blue-dark: #142855;
  --brand-blue-light: #2E5396;
  --brand-yellow: #FFB627;        /* Jaune accent */
  --brand-yellow-dark: #E89E0F;
  --brand-yellow-light: #FFCB5C;

  /* Alias pour cohérence */
  --primary: #1F3A6E;             /* Bleu marine = couleur principale */
  --primary-dark: #142855;
  --secondary: #FFB627;           /* Jaune = accent énergique */
  --secondary-dark: #E89E0F;
  --accent: #5DADE2;              /* Bleu ciel - pour variété douce */
  --accent-dark: #3498DB;

  /* Couleurs secondaires - utilisées avec modération */
  --soft-coral: #FF8A65;
  --soft-mint: #81C5BC;
  --soft-pink: #F8B8C8;

  /* Neutres */
  --dark: #0F1F3D;
  --gray-dark: #3D4F6B;
  --gray: #6B7C9A;
  --gray-light: #B8C2D2;
  --bg-light: #F5F8FC;
  --bg-blue-soft: #EAF1FA;
  --bg-cream: #FFF8E7;
  --white: #FFFFFF;

  /* Typographie */
  --font-heading: 'Fredoka', 'Quicksand', -apple-system, sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm: 0 4px 12px rgba(31, 58, 110, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 58, 110, 0.12);
  --shadow-lg: 0 16px 40px rgba(31, 58, 110, 0.18);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; position: relative; }
.section-sm { padding: 50px 0; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-blue);
  background: rgba(255, 182, 39, 0.15);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 182, 39, 0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 58, 110, 0.3);
}
.btn-primary:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 58, 110, 0.4);
}

.btn-secondary {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  box-shadow: 0 8px 20px rgba(255, 182, 39, 0.4);
}
.btn-secondary:hover {
  background: var(--brand-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 182, 39, 0.5);
}

.btn-accent {
  background: var(--white);
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}
.btn-accent:hover {
  background: var(--brand-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}
.btn-outline:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1FAB54;
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 40px; font-size: 1.125rem; }

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  padding: 14px 0;
  border-bottom: 1px solid rgba(31, 58, 110, 0.06);
}

.header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(31, 58, 110, 0.15);
  transition: var(--transition);
}

.header.scrolled .nav-logo-image {
  width: 52px;
  height: 52px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--brand-blue);
  letter-spacing: 0.5px;
}

.nav-logo-text span {
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--gray-dark);
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--brand-blue);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--brand-yellow);
  border-radius: 3px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: var(--transition);
}

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

/* ===== HERO SECTION ===== */
.hero {
  padding: 160px 0 100px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 182, 39, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(93, 173, 226, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, #F5F8FC 0%, #EAF1FA 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--brand-yellow);
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(80px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: var(--brand-blue);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(80px);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.hero-badge.badge-primary {
  background: var(--brand-yellow);
  color: var(--brand-blue);
}

.hero-badge.badge-accent {
  background: var(--brand-blue);
  color: var(--white);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-title .highlight {
  color: var(--brand-blue);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 12px;
  background: rgba(255, 182, 39, 0.5);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-dark);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px dashed rgba(31, 58, 110, 0.15);
}

.hero-stat strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--brand-blue);
  display: block;
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-top: 4px;
  display: block;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-display {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(31, 58, 110, 0.2);
  animation: gentle-float 4s ease-in-out infinite;
  border: 8px solid var(--brand-yellow);
}

.hero-logo-display img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  border-radius: 50%;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  animation: float 4s ease-in-out infinite;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.hero-deco-1 {
  top: 5%; left: 0;
  width: 70px; height: 70px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  animation-delay: 0s;
  border-radius: 50%;
}

.hero-deco-2 {
  top: 50%; right: -5%;
  width: 60px; height: 60px;
  background: var(--brand-blue);
  animation-delay: 1.5s;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-deco-3 {
  bottom: 5%; left: 10%;
  width: 65px; height: 65px;
  background: var(--accent);
  animation-delay: 2.5s;
  border-radius: 50%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===== DEVISE BANNER ===== */
.devise-banner {
  background: var(--brand-blue);
  color: var(--white);
  padding: 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.devise-banner::before,
.devise-banner::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, var(--brand-blue), transparent);
  z-index: 1;
}

.devise-banner::before { left: 0; }
.devise-banner::after {
  right: 0;
  background: linear-gradient(270deg, var(--brand-blue), transparent);
}

.devise-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.devise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
}

.devise-item i {
  width: 40px;
  height: 40px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.devise-separator {
  width: 6px;
  height: 6px;
  background: var(--brand-yellow);
  border-radius: 50%;
}

/* ===== FEATURES SECTION ===== */
.features { background: var(--white); }

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

.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-yellow);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--white);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  background: var(--brand-blue);
}

.feature-card:nth-child(even) .feature-icon { background: var(--brand-yellow); color: var(--brand-blue); }

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--brand-blue);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--gray);
  margin: 0;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--bg-blue-soft);
  position: relative;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}

.about-image-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 182, 39, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--brand-yellow);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-image-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--brand-blue);
  line-height: 1;
  font-weight: 700;
}

.about-image-badge span {
  font-size: 0.875rem;
  color: var(--brand-blue);
  margin-top: 4px;
  display: block;
  font-weight: 600;
}

.about-content .section-tag { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 24px; }
.about-content p {
  font-size: 1.0625rem;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

.about-features {
  list-style: none;
  margin: 24px 0 32px;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--dark);
}

.about-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== PROGRAMS SECTION ===== */
.programs { background: var(--white); }

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid var(--bg-blue-soft);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-yellow);
}

.program-header {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.program-card:nth-child(1) .program-header {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  color: var(--white);
}

.program-card:nth-child(2) .program-header {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-yellow-light) 100%);
  color: var(--brand-blue);
}

.program-icon {
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  color: var(--brand-blue);
}

.program-header h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: inherit;
}

.program-card:nth-child(1) .program-header h3 { color: var(--white); }
.program-card:nth-child(2) .program-header h3 { color: var(--brand-blue); }

.program-age {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  color: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.program-card:nth-child(2) .program-age {
  background: rgba(31, 58, 110, 0.15);
  color: var(--brand-blue);
}

.program-body {
  padding: 32px 40px 40px;
}

.program-body p {
  color: var(--gray-dark);
  margin-bottom: 20px;
}

.program-features {
  list-style: none;
  margin-bottom: 24px;
}

.program-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--gray-dark);
  font-size: 0.9375rem;
}

.program-features li::before {
  content: '★';
  color: var(--brand-yellow);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== TUTORING BANNER ===== */
.tutoring-banner {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  border-radius: var(--radius-xl);
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.tutoring-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: var(--brand-yellow);
  border-radius: 50%;
  opacity: 0.15;
}

.tutoring-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.tutoring-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.tutoring-tag {
  display: inline-block;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tutoring-content h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.tutoring-content p {
  font-size: 1.0625rem;
  opacity: 0.95;
  margin-bottom: 24px;
}

.tutoring-info {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tutoring-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.tutoring-info-item i { color: var(--brand-yellow); }

.tutoring-visual {
  font-size: 8rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-yellow);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border-top: 4px solid var(--brand-yellow);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--brand-yellow);
  font-size: 1.125rem;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -8px;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--brand-yellow);
  opacity: 0.4;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-blue-soft);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--brand-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-yellow);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--brand-blue);
  font-size: 0.9375rem;
}

.testimonial-info span {
  font-size: 0.8125rem;
  color: var(--gray);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: var(--brand-yellow);
  opacity: 0.15;
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  color: var(--white);
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--brand-yellow);
  color: var(--brand-blue);
}

.cta-section .btn-primary:hover {
  background: var(--white);
  color: var(--brand-blue);
}

/* ===== BLOG SECTION ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-yellow);
}

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-yellow);
  font-size: 3rem;
  position: relative;
}

.blog-card:nth-child(2) .blog-image {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
  color: var(--brand-blue);
}

.blog-card:nth-child(3) .blog-image {
  background: linear-gradient(135deg, var(--accent), var(--brand-blue));
  color: var(--brand-yellow);
}

.blog-content {
  padding: 24px;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--brand-yellow-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--brand-blue);
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.blog-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-link:hover {
  gap: 12px;
  color: var(--brand-yellow-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--gray-light);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-yellow) 0%, var(--brand-yellow-dark) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .nav-logo-image {
  width: 60px;
  height: 60px;
  background: white;
}

.footer-brand strong {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--white);
  display: block;
  line-height: 1.2;
}

.footer-brand span {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-devise {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--brand-yellow);
  font-size: 0.875rem;
  margin: 12px 0;
  font-weight: 600;
}

.footer-about p {
  font-size: 0.9375rem;
  opacity: 0.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-yellow);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--brand-yellow);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  opacity: 0.8;
}

.footer-contact-item i {
  color: var(--brand-yellow);
  font-size: 1rem;
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.6;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover { transform: scale(1.1); }

@keyframes pulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-container,
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual { order: -1; }
  .hero-logo-display { max-width: 320px; }

  .programs-grid { grid-template-columns: 1fr; }

  .tutoring-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .tutoring-info { justify-content: center; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .devise-content { gap: 16px; }
}

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

  .nav-menu {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    border-top: 1px solid var(--bg-blue-soft);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle { display: flex; }

  .nav-cta .btn:not(.btn-whatsapp-mobile) { display: none; }

  .nav-logo-image { width: 48px !important; height: 48px !important; }
  .nav-logo-text strong { font-size: 1rem; }
  .nav-logo-text span { font-size: 0.65rem; }

  .hero { padding: 130px 0 60px; }
  .hero-deco-1, .hero-deco-2, .hero-deco-3 { display: none; }

  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 1.5rem; }

  .tutoring-content h2 { font-size: 1.75rem; }
  .tutoring-visual { font-size: 5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand .nav-logo-image { width: 50px; height: 50px; }

  .about-image-badge { bottom: 10px; right: 10px; padding: 16px; }
  .about-image-badge strong { font-size: 1.75rem; }

  .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 20px; right: 20px; }

  .devise-content { flex-direction: column; gap: 16px; }
  .devise-separator { display: none; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}
