@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --red: #df0f12;
  --red-hover: #bf0b0e;
  --red-light: #fff2f2;
  --red-tint: #ffe3e3;
  --black: #111111;
  --white: #ffffff;
  --grey: #5c626a;
  --light-grey: #f8f9fa;
  --border: #f3d5d5;
  --border-light: #f1f3f5;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.08);
  --shadow-red: 0 12px 24px rgba(223, 15, 18, 0.2);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.mobile-br {
  display: none;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background: 
    radial-gradient(circle at 5% 15%, rgba(223, 15, 18, 0.04) 0%, transparent 25%),
    radial-gradient(circle at 95% 35%, rgba(223, 15, 18, 0.06) 0%, transparent 30%),
    radial-gradient(circle at 15% 75%, rgba(223, 15, 18, 0.03) 0%, transparent 20%),
    #ffffff;
}

.container {
  width: calc(100% - 48px);
  margin: 0 auto;
}

/* Typography Utility */
.mobile-br {
  display: none;
}
.package-content {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 12px;
  padding: 15px 10px;
  margin: 0 5px 10px 5px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.pkg-intro { font-size: 12.5px; font-weight: 700; color: #2b3629; line-height: 1.5; margin-bottom: 18px; border-bottom: 1px dashed rgba(0,0,0,0.1); padding-bottom: 16px; padding-left: 10px; padding-right: 10px; text-align: left; }
.pkg-features { list-style: none; padding: 0 10px; margin: 0 0 24px 0; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.pkg-features li { display: flex; align-items: flex-start; justify-content: flex-start; flex-direction: row; font-size: 12px; color: #4a5548; line-height: 1.45; gap: 12px; text-align: left; }
.pkg-check { display: inline-block; width: 18px; height: 18px; min-width: 18px; background-color: #10b981; border-radius: 50%; position: relative; margin-top: 1px; box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2); }
.pkg-check::after { content: ''; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pkg-best-for { margin-top: auto; background: rgba(255,255,255,0.9); border: 1px solid rgba(16, 185, 129, 0.2); border-left: 4px solid #10b981; border-radius: 8px; padding: 14px 15px; margin-left: 10px; margin-right: 10px; font-size: 11.5px; color: #3b4639; line-height: 1.5; box-shadow: 0 4px 12px rgba(0,0,0,0.02); text-align: left; }
.pkg-best-for strong { color: #10b981; font-weight: 800; display: block; margin-bottom: 4px; }
.pkg-track-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: #7a8a76; font-weight: 700; margin-bottom: 12px; text-align: left; padding: 0 10px; }
.pkg-track { background: rgba(255,255,255,0.9); border: 1px solid rgba(0,0,0,0.05); border-radius: 10px; padding: 16px 15px; margin-bottom: 16px; margin-left: 10px; margin-right: 10px; text-align: left; }
.pkg-track .track-title { font-size: 12.5px; font-weight: 800; color: #10b981; margin-bottom: 12px; display: flex; align-items: center; justify-content: flex-start; flex-direction: row; gap: 8px; }
.pkg-track .track-title::before { content: ''; display: inline-block; width: 6px; height: 6px; background-color: #10b981; border-radius: 50%; }
.pkg-track .pkg-features { margin-bottom: 0; padding: 0; }
.desktop-br {
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.15;
}

.text-red {
  color: var(--red);
}

/* Header & Sticky Navbar */
.navbar-wrapper {
  padding: 20px 0 8px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(223, 15, 18, 0.08);
  box-shadow: var(--shadow-md);
  border-radius: 24px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 42px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  letter-spacing: 2px;
}

.logo-main {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
}

.logo-sub {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 7px;
  padding-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 600;
  font-size: 15px;
}

.nav-links a {
  position: relative;
  color: var(--grey);
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a.active {
  color: var(--red);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4px;
  width: 14px;
  height: 3px;
  border-radius: 99px;
  background: var(--red);
  animation: scaleUp 0.3s forwards;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Button */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.burger-bar {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--black);
  border-radius: 3px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-red:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(223, 15, 18, 0.3);
}

.btn-red:active {
  transform: translateY(0);
}

.btn-outline {
  background: var(--white);
  border-color: var(--red);
  color: var(--black);
}

.btn-outline:hover {
  background: var(--red-light);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border: none;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.3);
}

.btn-yellow {
  background: #FFD22E;
  color: var(--black);
  box-shadow: 0 12px 24px rgba(255, 210, 46, 0.3);
}

.btn-yellow:hover {
  background: #f0c010;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 210, 46, 0.4);
}

.btn-yellow:active {
  transform: translateY(0);
}

/* Hero Section */
.hero {
  padding: 110px 0 30px;
  margin-top: -110px;
  margin-bottom: -60px;
  position: relative;
  background: linear-gradient(to right, var(--red) 0%, var(--red) 40%, transparent 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: auto auto auto;
  column-gap: 48px;
  align-items: center;
  min-height: 500px;
}

.badge-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}



.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  color: var(--red);
  background: var(--red-light);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 0;
  letter-spacing: 0.5px;
  font-family: var(--font-title);
  box-shadow: var(--shadow-sm);
}



.hero h1 {
  grid-column: 1;
  grid-row: 1;
  padding-left: 130px;
  align-self: end;
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 5px;
  font-weight: 900;
  color: var(--black);
  white-space: nowrap;
  position: relative;
  top: 30px;
}

.hero p {
  grid-column: 1;
  grid-row: 2;
  padding-left: 130px;
  font-size: 18px;
  color: var(--black);
  max-width: 650px;
  margin-bottom: 16px;
  line-height: 1.6;
  white-space: nowrap;
}

.hero-actions {
  grid-column: 1;
  grid-row: 3;
  padding-left: 130px;
  align-self: start;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 19px 38px;
  font-size: 18px;
}



.red-blob {
  position: absolute;
  width: 440px;
  height: 340px;
  background: var(--red-tint);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  right: 10px;
  top: 60px;
  z-index: 0;
  animation: morphBlob 12s ease-in-out infinite alternate;
}

.soft-blob {
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(223, 15, 18, 0.05);
  border-radius: 50%;
  left: 20px;
  bottom: 40px;
  z-index: 0;
}

.student-card {
  grid-column: 2;
  grid-row: 1 / 4;
  justify-self: center;
  align-self: center;
  position: relative;
  z-index: 2;
  width: 540px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: var(--transition);
}

.student-card:hover {
  transform: translateY(-5px);
}

.student-img-container {
  width: 100%;
  height: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  position: relative;
}

.student-img-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Floating Badges */
.floating-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(223, 15, 18, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  transition: var(--transition);
  animation: float 6s ease-in-out infinite;
}

.floating-card:hover {
  transform: scale(1.05) translateY(-2px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.fc-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  stroke-width: 2.5;
  fill: none;
}

.fc-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
}

.fc-text span {
  display: block;
  font-size: 11px;
  color: var(--grey);
  font-weight: 500;
  font-family: var(--font-body);
}

.floating-card.square-card {
  width: 56px;
  height: 56px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-card.square-card svg {
  width: 100%;
  height: 100%;
  stroke: var(--red);
}

.code-card {
  left: -20px;
  top: 60px;
  animation-delay: 0s;
}

.robot-card {
  right: -20px;
  top: 180px;
  animation-delay: 2s;
}

.chart-card {
  left: -30px;
  bottom: 80px;
  animation-delay: 4s;
}

/* Vector Shapes and Dots */
.fun-dot-grid {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--red) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.25;
}

.dot-1 {
  left: 40%;
  top: 20px;
}

.dot-2 {
  right: 10%;
  bottom: 30px;
}

.star-shape {
  position: absolute;
  width: 24px;
  height: 24px;
  fill: var(--red);
  opacity: 0.6;
}

.star-1 {
  right: 80px;
  top: 40px;
  animation: pulse 2s infinite alternate;
}

.star-2 {
  left: 20px;
  top: 260px;
  animation: pulse 2.5s infinite alternate;
}

/* Value Strip */
.value-strip-section {
  padding: 20px 100px 60px;
}

.value-strip {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(223, 15, 18, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.value-item {
  padding: 30px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
}

.value-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(223, 15, 18, 0.12);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
}

.value-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}

.value-text p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.4;
}

/* Section Common */
section {
  padding: 60px 0;
  position: relative;
}

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

.section-title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  color: var(--black);
}

.testi-title-override {
  font-size: clamp(32px, 6vw, 82px);
  letter-spacing: -2px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--grey);
}

/* Intro Video Section */
.video-section {
  padding: 80px 0 20px;
}

.video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  position: relative;
}

.video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  pointer-events: none;
}

.mirai-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Custom Mute Button */
.mute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.mute-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}
.mute-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Who We Teach */
.teach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.teach-card {
  background: var(--white);
  border: 1px solid rgba(223, 15, 18, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.teach-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(223, 15, 18, 0.15);
}

.teach-header {
  margin-bottom: 16px;
}

.teach-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 28px;
  color: var(--red);
  letter-spacing: 1px;
}

.teach-age {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
  margin-bottom: 12px;
}

.teach-card p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.teach-img {
  flex: 0 0 45%;
  position: relative;
  background: transparent;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teach-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: var(--transition);
}

.teach-card:hover .teach-img img {
  transform: scale(1.05);
}

/* Programme Finder / Lead Quiz Widget */
.quiz-section {
  background: var(--red);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.quiz-header {
  text-align: center;
  margin-bottom: 40px;
}

.quiz-header h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--white);
}

.quiz-header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.quiz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(223, 15, 18, 0.05);
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.quiz-step {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.quiz-step.active {
  display: block;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-title);
  color: var(--black);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.quiz-option {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.quiz-option:hover {
  border-color: var(--border);
  background: var(--red-light);
}

.quiz-option.selected {
  border-color: var(--red);
  background: var(--red-light);
  box-shadow: var(--shadow-sm);
}

.option-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-grey);
  color: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.quiz-option.selected .option-icon {
  background: var(--red);
  color: var(--white);
}

.option-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.option-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
}

.option-desc {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.3;
}

/* Quiz Controls */
.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.quiz-progress {
  display: flex;
  gap: 8px;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  transition: var(--transition);
}

.progress-dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}

.progress-dot.completed {
  background: var(--red-tint);
}

.quiz-nav-btns {
  display: flex;
  gap: 12px;
}

.btn-quiz-nav {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 12px;
}

/* Quiz Result */
.quiz-result {
  text-align: center;
  padding: 10px 0;
}

.result-celebration {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.result-celebration svg {
  width: 32px;
  height: 32px;
  stroke: var(--red);
  stroke-width: 2.5;
  fill: none;
}

.quiz-result h4 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.quiz-result .recommended-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 18px;
  padding: 8px 20px;
  border-radius: 99px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-red);
}

.quiz-result p {
  color: var(--grey);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.result-card-details {
  background: var(--light-grey);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.result-card-details ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-card-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.result-card-details li svg {
  width: 16px;
  height: 16px;
  stroke: var(--red);
  stroke-width: 3;
  fill: none;
}

/* MIRAI Starter Custom Card */
.course-card {
  --theme-bubble-1: rgba(111, 182, 63, 0.18);
  --theme-bubble-2: rgba(111, 182, 63, 0.12);
  --theme-grad-1: #f7fff1;
  --theme-grad-2: #ecf9df;
  --theme-grad-3: #d3efb7;
  --theme-border: #b9e089;
  --theme-shadow: rgba(61, 117, 40, 0.16);
  --theme-desc-border: #dbeec3;
  --theme-feat-border: #e2efd4;
  --theme-icon-grad-1: #86d04f;
  --theme-icon-grad-2: #4caf50;
  --theme-title-color: #1d5a18;

  width: 100%;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle 90px at calc(100% - 30px) 30px, var(--theme-bubble-1) 99%, transparent 100%),
    radial-gradient(circle 60px at 40px calc(100% - 30px), var(--theme-bubble-2) 99%, transparent 100%),
    radial-gradient(circle at top left, rgba(255,255,255,0.7), transparent 30%),
    linear-gradient(180deg, var(--theme-grad-1) 0%, var(--theme-grad-2) 35%, var(--theme-grad-3) 100%);
  border: 2px solid var(--theme-border);
  box-shadow: 0 14px 40px var(--theme-shadow);
  position: relative;
  padding: 3px 3px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card.theme-explorer {
  --theme-bubble-1: rgba(255, 138, 0, 0.18);
  --theme-bubble-2: rgba(255, 138, 0, 0.12);
  --theme-grad-1: #fffaf0;
  --theme-grad-2: #ffeccc;
  --theme-grad-3: #ffd199;
  --theme-border: #ffad66;
  --theme-shadow: rgba(179, 96, 0, 0.16);
  --theme-desc-border: #ffe0b2;
  --theme-feat-border: #ffe0b2;
  --theme-icon-grad-1: #ffb74d;
  --theme-icon-grad-2: #ff8a00;
  --theme-title-color: #995200;
}

.course-card.theme-builder {
  --theme-bubble-1: rgba(255, 210, 46, 0.18);
  --theme-bubble-2: rgba(255, 210, 46, 0.12);
  --theme-grad-1: #fffdf5;
  --theme-grad-2: #fff8cc;
  --theme-grad-3: #ffed99;
  --theme-border: #ffe066;
  --theme-shadow: rgba(179, 147, 32, 0.16);
  --theme-desc-border: #fff0b3;
  --theme-feat-border: #fff0b3;
  --theme-icon-grad-1: #ffe570;
  --theme-icon-grad-2: #ffd22e;
  --theme-title-color: #806600;
}

.course-card.theme-innovator {
  --theme-bubble-1: rgba(107, 43, 217, 0.18);
  --theme-bubble-2: rgba(107, 43, 217, 0.12);
  --theme-grad-1: #f9f5fd;
  --theme-grad-2: #eedcff;
  --theme-grad-3: #d1a8ff;
  --theme-border: #ad70ff;
  --theme-shadow: rgba(59, 20, 128, 0.16);
  --theme-desc-border: #e2ccff;
  --theme-feat-border: #e2ccff;
  --theme-icon-grad-1: #9a67ff;
  --theme-icon-grad-2: #6b2bd9;
  --theme-title-color: #3b1480;
}

/* Removed ::before and ::after since they are now in the background property */

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f6ffe9;
  border: 1.5px solid #c7e59e;
  color: #2f6e26;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.top-badge .leaf {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #7ac943, #4caf50);
  border-radius: 100% 0 100% 0;
  transform: rotate(-25deg);
  display: inline-block;
}

.card-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  margin-top: -20px;
}

.title-area {
  margin-left: 20px;
}

.title-area h3.card-title {
  font-size: 41px;
  line-height: 0.95;
  color: var(--theme-title-color);
  letter-spacing: -2px;
  margin-bottom: 5px;
  font-weight: 900;
}

.title-area .price {
  font-size: 19px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 0px;
}

.journey-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid #ffb7b8;
  color: var(--red);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 18px;
}

.journey-pill .rocket {
  font-size: 15px;
}

.mascot-area {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  min-height: 220px;
}

.mascot-area img {
  max-width: 270px;
  width: 140%;
  margin-left: -20%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  margin-top: -50px;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.12));
  transform-origin: bottom center;
}

.course-card.theme-innovator .mascot-area img {
  max-width: 290px;
  width: calc(140% + 25px);
  margin-left: -25%;
  transform: translateX(10px);
}

.course-card .sparkle {
  position: absolute;
  color: #ffd22e;
  font-size: 26px;
  font-weight: bold;
  z-index: 1;
}

.course-card .sparkle.s1 { top: 12px; right: 26px; }
.course-card .sparkle.s2 { top: 56px; left: 10px; font-size: 18px; color: #a7de72; }

.course-card .description-box {
  margin-top: 15px;
  margin-left: 20px;
  margin-right: 20px;
  background: rgba(255,255,255,0.72);
  border: 1.5px solid var(--theme-desc-border);
  border-radius: 22px;
  padding: 10px 10px;
  color: #2a3627;
  font-size: 11px;
  line-height: 1.55;
  position: relative;
  z-index: 2;
}

.course-card .feature-list {
  margin-top: 22px;
  margin-left: 20px;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.course-card .feature-item {
  background: transparent;
  border: none;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: none;
}

.course-card .feature-icon {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: transparent;
  color: #10b981;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
}

.course-card .feature-text h3 {
  font-size: 16px;
  color: #1b2519;
  margin-bottom: 0px;
  font-weight: 500;
}

.course-card .feature-text p {
  font-size: 7px;
  color: #566252;
  line-height: 1.4;
  margin-bottom: 0;
}

.course-card .card-cta {
  margin-top: 16px;
  margin-left: 20px;
  margin-right: 20px;
  position: relative;
  z-index: 2;
}

.course-card .card-cta button {
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  background: linear-gradient(180deg, #ff3131 0%, #df0f12 100%);
  color: white;
  font-size: 15px;
  font-weight: 900;
  padding: 14px 24px;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(223, 15, 18, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card .card-cta button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(223, 15, 18, 0.3);
}

.course-card .leaf-deco {
  position: absolute;
  bottom: 18px;
  width: 60px;
  height: 80px;
  background: linear-gradient(180deg, #8dd95d, #5fb53e);
  border-radius: 60% 0 60% 0;
  opacity: 0.55;
  z-index: 1;
}

.course-card .leaf-left {
  left: 10px;
  transform: rotate(-18deg);
}

.course-card .leaf-right {
  right: 10px;
  transform: rotate(18deg);
}

/* GLOBAL IMPACT SECTION */
.mirai-global-impact {
  position: relative;
  padding: 88px 0 78px;
  background:
    radial-gradient(circle at 10% 10%, rgba(223, 15, 18, 0.05), transparent 24%),
    radial-gradient(circle at 90% 80%, rgba(223, 15, 18, 0.06), transparent 26%),
    #ffffff;
  overflow: hidden;
  font-family: Inter, Poppins, Arial, sans-serif;
}

.mirai-global-impact::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 240px;
  height: 180px;
  background-image:
    linear-gradient(90deg, rgba(223, 15, 18, .25) 1px, transparent 1px),
    linear-gradient(rgba(223, 15, 18, .25) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .18;
}

.mirai-global-impact::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 210px;
  height: 160px;
  background-image: radial-gradient(rgba(223, 15, 18, .35) 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: .35;
}

.impact-container {
  width: min(1360px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
}

/* LEFT */

.impact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #df0f12;
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: 22px;
  box-shadow: 0 12px 22px rgba(223, 15, 18, .18);
}

.impact-copy h2 {
  font-size: clamp(22px, 4vw, 52px);
  line-height: .98;
  letter-spacing: -2.6px;
  font-weight: 950;
  color: #070707;
  margin-bottom: 30px;
}

.impact-copy h2 span {
  display: inline-block;
  position: relative;
}

.impact-copy h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: -8px;
  bottom: -6px;
  height: 6px;
  background: #df0f12;
  border-radius: 999px;
  transform: rotate(-1.5deg);
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.impact-stat-card {
  background: #ffffff;
  border: 1px solid rgba(223, 15, 18, .12);
  border-radius: 18px;
  padding: 30px 18px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .07);
}

.impact-stat-card h3 {
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
  color: #df0f12;
  margin-bottom: 14px;
}

.impact-stat-card p {
  font-size: 26px;
  font-weight: 800;
  color: #111111;
}

.impact-desc {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: #171717;
  margin-bottom: 32px;
}

.impact-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #df0f12;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(223, 15, 18, .28);
  transition: .22s ease;
}

.impact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(223, 15, 18, .34);
}

/* MAP */

.impact-map-wrap {
  position: relative;
  min-height: 570px;
}

.map-card {
  position: relative;
  height: 550px;
  border-radius: 38px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(223, 15, 18, .08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .08);
  overflow: hidden;
}

.world-map {
  position: absolute;
  inset: 58px 36px 44px 36px;
  width: calc(100% - 72px);
  height: calc(100% - 102px);
  object-fit: contain;
  opacity: .38;
  filter: grayscale(100%);
}

/* PINS */

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #df0f12;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 8px rgba(223, 15, 18, .14);
  z-index: 4;
}

.pin-us { left: 13%; top: 36%; }
.pin-uk { left: 48%; top: 34%; }
.pin-africa { left: 51%; top: 58%; }
.pin-sabah { left: 73%; top: 56%; }
.pin-malaysia { left: 74%; top: 61%; }
.pin-singapore { left: 76%; top: 64%; }

/* FLAGS */

.flag {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 5px solid #ffffff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, .16);
  z-index: 5;
}

.flag-cambodia { left: 68%; top: 21%; }
.flag-vietnam { left: 61%; top: 29%; }
.flag-singapore { left: 73%; top: 36%; width: 86px; height: 86px; }
.flag-brunei { left: 88%; top: 42%; }
.flag-malaysia { left: 80%; top: 54%; }
.flag-thailand { left: 77%; top: 68%; }
.flag-india { left: 58%; top: 49%; width: 86px; height: 86px; }
.flag-nepal { left: 69%; top: 50%; border-radius: 14px; object-fit: contain; padding: 6px; }
.flag-indonesia { left: 66%; top: 74%; width: 92px; height: 92px; }
.flag-hongkong { left: 84%; top: 30%; }
.flag-uganda { left: 55%; top: 68%; }

/* TECH BUBBLES */

.tech-bubble {
  position: absolute;
  z-index: 8;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(223, 15, 18, .16);
  box-shadow: 0 16px 36px rgba(223, 15, 18, .12);
  color: #df0f12;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 950;
}

.tech-bubble svg {
  width: 34px;
  height: 34px;
  fill: #df0f12;
}

.ai-bubble {
  left: 10%;
  top: 4%;
}

.code-bubble {
  right: 4%;
  top: 12%;
}

.bot-bubble {
  left: 4%;
  bottom: 7%;
}

/* MASCOTS */

.mascot {
  position: absolute;
  z-index: 10;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .14));
  pointer-events: none;
}

.eggy {
  width: 170px;
  right: 80px;
  top: -62px;
}

.carrie {
  width: 145px;
  right: 34px;
  bottom: 12px;
}

.peppa {
  width: 130px;
  left: -12px;
  bottom: 10px;
}

.gordo {
  width: 120px;
  left: 320px;
  bottom: 12px;
}

/* RED WAVE */

.red-wave {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -100px;
  height: 170px;
  background: linear-gradient(180deg, rgba(223, 15, 18, .10), rgba(223, 15, 18, .03));
  border-radius: 50% 50% 0 0;
  z-index: 1;
}

.cobe-sticker {
  position: absolute;
  font-size: 2rem;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.2s, filter 0.2s;
  /* CSS anchor positioning properties will be set via JS */
}

/* GLOBE MASCOTS */
.eggy-globe {
  position: absolute;
  top: -10px;
  left: -30px;
  width: 140px;
  z-index: 20;
}

.carrie-globe {
  position: absolute;
  bottom: 0px;
  right: -30px;
  width: 130px;
  z-index: 20;
}

.peppa-copy {
  position: absolute;
  top: -50px;
  left: -20px;
  width: 100px;
  z-index: 20;
}

.gordo-copy {
  position: absolute;
  top: -50px;
  right: -20px;
  width: 110px;
  z-index: 20;
}

/* RESPONSIVE */

@media (max-width: 1080px) {
  .impact-container {
    grid-template-columns: 1fr;
  }

  .impact-map-wrap {
    min-height: 520px;
  }

  .map-card {
    height: 500px;
  }

  .gordo {
    left: 220px;
  }
}

@media (max-width: 680px) {
  .mirai-global-impact {
    padding: 60px 0;
  }

  .impact-container {
    width: min(100% - 28px, 1280px);
    gap: 20px;
  }

  .impact-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .impact-stat-card {
    padding: 31px 8px !important;
  }
  .impact-stat-card h3 {
    font-size: 24px !important;
  }
  .impact-stat-card p {
    font-size: 12px;
  }

  .impact-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .peppa-copy {
    width: 60px;
    top: -30px;
    left: 0px;
  }

  .gordo-copy {
    width: 70px;
    top: -30px;
    right: 0px;
  }
  
  .eggy-globe {
    width: 90px;
    top: -50px;
    left: 20px;
  }

  .carrie-globe {
    width: 110px;
    bottom: 0px;
    right: -20px;
  }

  .impact-copy h2 {
    font-size: 38px;
  }

  .impact-desc {
    text-align: center;
  }

  .impact-map-wrap {
    min-height: 420px;
  }

  .map-card {
    height: 390px;
    border-radius: 26px;
  }

  .flag {
    width: 48px;
    height: 48px;
    border-width: 3px;
  }

  .flag-singapore,
  .flag-india,
  .flag-indonesia {
    width: 58px;
    height: 58px;
  }

  .tech-bubble {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .eggy {
    width: 96px;
    right: 22px;
    top: -30px;
  }

  .carrie {
    width: 86px;
    right: 12px;
    bottom: 8px;
  }

  .peppa {
    width: 86px;
    left: -4px;
    bottom: 0;
  }

  .gordo {
    width: 82px;
    left: 120px;
    bottom: 0;
  }
}

/* CODING OLYMPICS GALLERY */
.olympics-section {
  width: 100%;
  background: var(--light-grey);
}

.olympics-scroll-container {
  height: 400vh;
  position: relative;
}

.olympics-sticky-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.olympics-header {
  position: absolute;
  top: calc(15vh - 20px);
  z-index: 10;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.olympics-header h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 8px;
}

.olympics-header p {
  font-size: 20px;
  color: var(--grey);
  font-weight: 500;
}

.circular-gallery-wrapper {
  perspective: 2000px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5vh;
}

.circular-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.gallery-item {
  position: absolute;
  width: 320px;
  height: 320px;
  left: 50%;
  top: 50%;
  margin-left: -160px;
  margin-top: -120px;
  transition: opacity 0.3s linear;
  will-change: transform, opacity;
}

.gallery-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  border: 4px solid var(--white);
}

.gallery-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

@media (max-width: 768px) {
  .gallery-item {
    width: calc(100vw - 50px);
    height: 180px;
    margin-left: calc(-50vw + 25px);
    margin-top: -90px;
  }
  
  .olympics-header {
    top: 5vh;
    z-index: 100;
    transform: translateZ(600px);
  }
  
  .circular-gallery-wrapper {
    margin-top: 40vh;
  }
}

/* Awards Section */
.awards-section {
  padding: 80px 0;
  background-color: var(--white);
  overflow: hidden;
}

.awards-header {
  margin-bottom: 40px;
}

.awards-header .section-title {
  font-size: clamp(32px, 5vw, 72px);
}

.awards-marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 24px;
}

.awards-marquee {
  display: flex;
  gap: 24px;
  min-width: 100%;
  flex-shrink: 0;
  animation: scroll-x 40s linear infinite;
}

.award-box {
  flex: 0 0 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.award-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; /* Helps with white backgrounds */
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 24px)); }
}

@media (max-width: 1024px) {
  .award-box {
    flex: 0 0 160px;
    height: 160px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .awards-section {
    padding: 60px 0;
  }
  .award-box {
    flex: 0 0 110px;
    height: 110px;
    padding: 6px;
  }
  .awards-marquee-wrapper {
    gap: 4px;
  }
  .awards-marquee {
    gap: 4px;
    animation-name: scroll-x-mobile;
  }
}

@keyframes scroll-x-mobile {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 4px)); }
}

/* Clients Love Us / Testimonials */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
  overflow: visible; /* Important for sticky to work correctly */
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.testi-left {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-color);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey);
  align-self: flex-start;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.testi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.stat-card {
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  border-top: 3px solid var(--card-color, var(--red));
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--grey);
}

.testi-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.testi-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* Extra bottom padding so last card can scroll past properly */
  padding-bottom: 60px;
}

.testi-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 4px solid var(--card-color, var(--red));
  
  /* Stacking effect purely via CSS sticky */
  position: sticky;
  z-index: 10;
  /* Added subtle transition if we wanted it to pop on hover */
  transition: transform 0.3s ease;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-color);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
}

.author-title {
  font-size: 14px;
  color: var(--grey);
}

.testi-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-num {
  font-weight: 800;
  font-size: 16px;
  color: var(--black);
}

.stars {
  letter-spacing: 2px;
  font-size: 18px;
}

.testi-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey);
  font-style: italic;
}

/* Programme Packages */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.programme-card {
  background: var(--white);
  border: 1px solid rgba(223, 15, 18, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.programme-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 120px;
  height: 120px;
  background: var(--red-light);
  border-radius: 50%;
  z-index: 0;
  transition: var(--transition);
}

.programme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(223, 15, 18, 0.15);
}

.programme-card:hover::after {
  background: var(--red-tint);
  transform: scale(1.1);
}

.programme-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-red);
}

.programme-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--black);
  position: relative;
  z-index: 1;
}

.programme-tag {
  display: inline-flex;
  background: var(--red-light);
  color: var(--red);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 20px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.programme-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.programme-card ul {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.programme-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--black);
  font-weight: 600;
}

.programme-card li svg {
  width: 14px;
  height: 14px;
  stroke: var(--red);
  stroke-width: 3;
  fill: none;
  flex-shrink: 0;
}

.small-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid var(--red);
  background: var(--white);
  color: var(--red);
  font-family: var(--font-title);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 14px;
}

.small-btn:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

/* Learning & FAQ Layout */
.learn-faq-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}

/* Learning Foundation */
.learning-block h2 {
  margin-bottom: 36px;
}

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

.learning-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.learning-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(223, 15, 18, 0.1);
}

.learning-icon {
  width: 67px;
  height: 67px;
  border-radius: var(--radius-sm);
  background: var(--red-light);
  color: var(--red);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.learning-card:hover .learning-icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(5deg);
}

.learning-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.learning-card h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

/* FAQ Accordion Styles */
.faq-block h2 {
  margin-bottom: 36px;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
  user-select: none;
}

.faq-question {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--black);
  padding-right: 16px;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-grey);
  color: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-toggle-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(223, 15, 18, 0.15);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-header {
  background: var(--red-light);
}

.faq-item.active .faq-toggle-icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
}

/* Bottom CTA Banner */
.bottom-cta {
  padding: 40px 0 80px;
}

.cta-banner {
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 25%),
    var(--red);
  color: var(--white);
  border-radius: 20px;
  padding: 12px 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: "";
  position: absolute;
  right: 40px;
  bottom: 20px;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.6;
}

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

.whatsapp-person {
  max-width: 220px;
  height: auto;
  margin-top: -5px;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 10px;
  font-weight: 800;
}

.cta-content p {
  font-size: 16px;
  max-width: 580px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

/* WhatsApp Icon Button Modification */
.btn-whatsapp-large {
  background: var(--white);
  color: var(--black);
  border: none;
  font-family: var(--font-title);
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-whatsapp-large:hover {
  background: #25d366;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-whatsapp-large:hover .whatsapp-icon-circle {
  background: var(--white);
}

.whatsapp-icon-circle::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.btn-whatsapp-large:hover .whatsapp-icon-circle::before {
  background: #25d366;
}

/* Footer Section */
footer {
  background: var(--light-grey);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--grey);
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--black);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--grey);
}

.footer-links a:hover {
  color: var(--red);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--grey);
}

/* MODALS LAYOUTS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(223, 15, 18, 0.08);
  box-shadow: var(--shadow-lg);
  width: min(540px, calc(100% - 32px));
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 40px;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-grey);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--red-light);
  color: var(--red);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
}

.modal-header {
  margin-bottom: 28px;
  text-align: center;
}

.modal-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 14px;
  color: var(--grey);
}

/* Appointment Form */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--black);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(223, 15, 18, 0.08);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 48px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* Animations */
@keyframes morphBlob {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(223, 15, 18, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(223, 15, 18, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(223, 15, 18, 0);
  }
}

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

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

@keyframes scaleUp {
  from {
    transform: translateX(-50%) scaleX(0);
  }
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .mobile-br {
    display: block;
  }
  .desktop-br {
    display: none;
  }

  .hero {
    margin-top: 20px;
    padding-top: 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--red) 0%, var(--red) 50%, transparent 100%);
  }

  .badge-wrapper {
    justify-content: center;
  }

  .hero .container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 0;
  }

  .hero h1 {
    grid-column: 1;
    grid-row: 1;
    padding-left: 0;
    max-width: 680px;
    font-size: 24px;
    margin: 0 auto 39px;
    white-space: normal;
  }

  .hero p {
    grid-column: 1;
    grid-row: 2;
    padding-left: 0;
    max-width: 580px;
    margin: 0 auto 31px;
    white-space: normal;
  }

  .hero-actions {
    grid-column: 1;
    grid-row: 3;
    padding-left: 0;
    justify-content: center;
  }

  .student-card {
    grid-column: 1;
    grid-row: 4;
    justify-self: center;
    width: 340px;
    margin-top: 40px;
  }

  .student-img-container {
    height: 340px;
  }

  .red-blob {
    width: 380px;
    height: 300px;
    top: 30px;
    right: auto;
  }

  .value-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-item:nth-child(2)::after {
    display: none;
  }

  .value-item:nth-child(even)::after {
    display: none;
  }

  .programme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learn-faq-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Make the left side scroll normally on mobile so it doesn't overlap with sliding cards */
  .testi-left {
    position: static;
    z-index: 1;
    padding-bottom: 0px;
  }

  .testi-right {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .navbar-wrapper {
    padding: 12px 0 4px;
  }

  .navbar {
    padding: 10px 18px;
    border-radius: 18px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 24px;
    right: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(223, 15, 18, 0.08);
    padding: 30px;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .burger-menu {
    display: block;
  }

  .burger-menu.active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-actions .btn {
    display: none; /* Hide in navbar on mobile, mobile menu handles CTAs if needed, or we keep just header button elsewhere */
  }

  .video-section {
    padding: 30px 20px 0;
  }

  .video-wrapper {
    border-radius: var(--radius-lg);
  }

  .teach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quiz-section {
    padding: 40px 20px;
  }

  .quiz-card {
    padding: 24px;
  }

  .quiz-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-banner {
    flex-direction: column;
    padding: 60px 24px 30px;
    text-align: center;
    gap: 20px;
  }

  .cta-banner::before {
    display: none;
  }

  .whatsapp-person {
    margin-top: -90px;
    max-width: 200px;
  }

  .cta-content p {
    margin: 0 auto 28px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 53px;
  }

  .hero p {
    font-size: 13px;
  }

  .student-card {
    width: 360px;
  }

  .student-img-container {
    height: 360px;
    margin-bottom: -60px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .value-strip-section {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: -10px;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-item::after {
    display: none !important;
  }

  .value-item {
    border-bottom: 1px solid rgba(223, 15, 18, 0.08);
  }

  .value-item:last-child {
    border-bottom: none;
  }

  .programme-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    gap: 16px;
    padding-bottom: 20px;
    padding-top: 60px;
    margin-top: -60px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .programme-grid::-webkit-scrollbar {
    display: none;
  }

  .programme-grid .course-card {
    min-width: 82vw;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .programme-grid .course-card.theme-innovator .mascot-area img {
    max-width: 270px;
    width: calc(140% + 5px);
    transform: translateX(0px);
  }

  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-card {
    padding: 30px 20px;
  }
}

/* --- SITE-WIDE ANIMATIONS --- */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0) scale(1) !important;
}

.anim-fade-up {
  transform: translateY(40px);
}

.anim-scale-in {
  transform: scale(0.85) translateY(20px);
}

.anim-fade-right {
  transform: translateX(-40px);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.float-anim {
  animation: floatY 4s ease-in-out infinite;
}

/* Special float rules for mascots that already have transforms */
.course-card.theme-innovator .mascot-area img.float-anim {
  animation: floatY-innovator-desktop 4s ease-in-out infinite;
}
@keyframes floatY-innovator-desktop {
  0% { transform: translateX(10px) translateY(0); }
  50% { transform: translateX(10px) translateY(-12px); }
  100% { transform: translateX(10px) translateY(0); }
}

@media (max-width: 480px) {
  .course-card.theme-innovator .mascot-area img.float-anim {
    animation: floatY-innovator-mobile 4s ease-in-out infinite;
  }
  @keyframes floatY-innovator-mobile {
    0% { transform: translateX(0px) translateY(0); }
    50% { transform: translateX(0px) translateY(-12px); }
    100% { transform: translateX(0px) translateY(0); }
  }
}

.glow-on-hover {
  transition: all 0.3s ease;
}
.glow-on-hover:hover {
  box-shadow: 0 0 20px rgba(223, 15, 18, 0.5), 0 0 40px rgba(223, 15, 18, 0.3);
  transform: scale(1.02);
}

