/* ==========================================================================
   4ACHIEVERS JUNIOR - COMPLETE STYLESHEET
   Pixel-Perfect Replication of IMG-20261109-WA0004
   ========================================================================== */

/* Design Tokens */
:root {
  --primary-orange: #ea580c;
  --primary-orange-hover: #c2410c;
  --accent-orange-gradient: linear-gradient(135deg, #ff6b26 0%, #ff4b1a 100%);
  --navy-dark: #0f172a;
  --navy-header: #1e1b4b;
  --navy-sub: #334155;
  --text-muted: #64748b;
  --bg-topbar: #181636;
  --bg-footer: #0c132c;
  --bg-footer-sub: #080d20;
  --border-light: #f1f5f9;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.07);
  --shadow-hover: 0 10px 25px rgba(234, 88, 12, 0.14);
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  background-color: #ffffff;
  color: var(--navy-sub);
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}

/* Common Section Container */
.container,
.section-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.navy-word {
  color: #111827;
}

.orange-word {
  color: var(--primary-orange);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.45rem;
  font-size: 0.9rem;
  line-height: 1.25;
  background: var(--accent-orange-gradient);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* ================= 1. TOP UTILITY / ANNOUNCEMENT BAR ================= */
.top-bar {
  background-color: var(--bg-topbar);
  color: #e2e8f0;
  font-size: 0.72rem;
  padding-block: 0.38rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  flex-shrink: 0;
}

.trophy-emoji {
  font-size: 0.85rem;
}

.top-bar-center {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: #cbd5e1;
  white-space: nowrap;
}

.check-mark {
  color: #f97316;
  font-weight: 700;
  margin-right: 0.15rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #242145;
  border: 1px solid #363261;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}

.login-badge:hover {
  background: #312c5e;
}

.login-badge .sep {
  opacity: 0.4;
  margin-inline: 0.15rem;
}

/* ================= 2. MAIN HEADER & NAVBAR ================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding-block: 0.6rem;
}

.nav-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.brand-logo .logo-img {
  height: 38px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  list-style: none;
}

.nav-link {
  font-size: 0.81rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.32rem 0.5rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-orange);
}

.nav-link.active {
  color: var(--primary-orange);
  border: 1.5px solid var(--primary-orange);
  padding-inline: 0.85rem;
}

.dropdown-arrow {
  font-size: 0.72rem;
  color: #64748b;
  margin-left: 0.15rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.search-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  transition: all 0.2s;
}

.search-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background: #fff7ed;
}

.btn-demo {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background-color: #1e293b;
  border-radius: 2px;
}

/* ================= 3. HERO SECTION ================= */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 75% 38%, #fef3e9 0%, #ffffff 68%);
  padding-top: 1.6rem;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  align-items: center;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
}

.hero-title-highlight {
  background: linear-gradient(90deg, #ea580c 0%, #ff4b1a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 0.94rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 1.6rem;
}

.hero-subtitle .pipe {
  color: #cbd5e1;
  margin-inline: 0.35rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 0.72rem 1.65rem;
  font-size: 0.92rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.72rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #cbd5e1;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background: #fff7ed;
}

.play-triangle {
  color: var(--primary-orange);
  font-size: 0.82rem;
}

.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-img {
  width: 100%;
  max-width: 660px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* Hero Feature Strip */
.hero-features-strip {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding-block: 0.85rem;
  margin-top: 1.25rem;
}

.features-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-inline: 0.5rem;
  border-right: 1px solid #f1f5f9;
}

.feature-item:last-child {
  border-right: none;
}

.feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  line-height: 1.25;
}

.feature-text strong {
  color: #0f172a;
  font-weight: 700;
}

.feature-text span {
  color: #64748b;
  font-size: 0.76rem;
}

/* ================= 4. FIND BY GRADE SECTION ================= */
.grade-section {
  padding-block: 1.25rem;
  background-color: #ffffff;
}

.grade-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.grade-badge-ribbon {
  background: linear-gradient(135deg, #42357a 0%, #302462 100%);
  color: #ffffff;
  padding: 0.7rem 1.6rem 0.7rem 1.2rem;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: 0 4px 12px rgba(66, 53, 122, 0.25);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
  flex-shrink: 0;
}

.ribbon-text {
  display: flex;
  flex-direction: column;
  font-size: 0.84rem;
  line-height: 1.25;
  white-space: nowrap;
}

.ribbon-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
}

.grade-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  flex: 1;
}

.grade-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.grade-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.grade-card.grade-orange {
  background: linear-gradient(90deg, #fff7ed 0%, #ffffff 80%);
  border-color: #ffedd5;
}

.grade-card.grade-blue {
  background: linear-gradient(90deg, #eff6ff 0%, #ffffff 80%);
  border-color: #dbeafe;
}

.grade-card.grade-pink {
  background: linear-gradient(90deg, #fdf2f8 0%, #ffffff 80%);
  border-color: #fce7f3;
}

.grade-card.grade-cyan {
  background: linear-gradient(90deg, #ecfeff 0%, #ffffff 80%);
  border-color: #cffafe;
}

.grade-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.grade-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grade-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.grade-label {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.grade-number {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
}

.grade-desc {
  font-size: 0.74rem;
  color: #475569;
  font-weight: 600;
}

.grade-arrow-circle {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.grade-card:hover .grade-arrow-circle {
  transform: translateX(4px);
}

.arrow-orange { color: #ea580c; }
.arrow-blue { color: #2563eb; }
.arrow-pink { color: #db2777; }
.arrow-cyan { color: #0284c7; }

/* ================= 5. OUR LEARNING PROGRAMS ================= */
.programs-section {
  padding-block: 2rem 1.6rem;
  background-color: #ffffff;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.3rem;
  gap: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.7vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.25rem;
}

.view-all-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--primary-orange-hover);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.85rem;
}

.program-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.15rem 0.95rem 1.25rem;
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.program-orange { background: linear-gradient(180deg, #fff7ed 0%, #ffffff 85%); border-color: #fed7aa; }
.program-blue { background: linear-gradient(180deg, #eff6ff 0%, #ffffff 85%); border-color: #bfdbfe; }
.program-purple { background: linear-gradient(180deg, #faf5ff 0%, #ffffff 85%); border-color: #e9d5ff; }
.program-green { background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 85%); border-color: #bbf7d0; }
.program-pink { background: linear-gradient(180deg, #fdf2f8 0%, #ffffff 85%); border-color: #fbcfe8; }
.program-cyan { background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 85%); border-color: #bae6fd; }
.program-amber { background: linear-gradient(180deg, #fffbeb 0%, #ffffff 85%); border-color: #fde68a; }

.program-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 0.9rem;
}

.program-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.program-details {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.card-bottom-arrow {
  margin-top: auto;
  align-self: flex-end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.2s;
}

.program-card:hover .card-bottom-arrow {
  transform: translateX(3px);
}

.icon-orange { color: #ea580c; }
.icon-blue { color: #2563eb; }
.icon-purple { color: #7c3aed; }
.icon-green { color: #16a34a; }
.icon-pink { color: #db2777; }
.icon-cyan { color: #0284c7; }
.icon-amber { color: #d97706; }

/* ================= 6. WHY & ECOSYSTEM & PASSPORT ================= */
.why-ecosystem-section {
  padding-block: 2rem 1.6rem;
  background-color: #ffffff;
}

.why-ecosystem-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 0.88fr;
  gap: 1.75rem;
  align-items: stretch;
}

.column-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.column-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Why Column */
.why-content-wrapper {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.why-girl-box {
  flex-shrink: 0;
  width: 110px;
  height: 130px;
  border-radius: 20px 20px 0 20px;
  overflow: hidden;
  background: #fdf2f8;
}

.why-girl-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.why-benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
}

.benefit-icon-svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ecosystem Column */
.ecosystem-diagram-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 2.5rem);
}

.ecosystem-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
}

/* Passport Column */
.passport-card {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.passport-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.laptop-box {
  flex-shrink: 0;
  width: 110px;
}

.laptop-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.passport-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1.15;
}

.passport-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

.btn-passport {
  padding: 0.65rem 1.15rem;
  font-size: 0.86rem;
  align-self: flex-start;
}

/* ================= 7. AI LAB BANNER ================= */
.ai-lab-section {
  padding-block: 0.9rem 1.6rem;
}

.ai-lab-banner {
  background: linear-gradient(90deg, #f5f3ff 0%, #faf5ff 40%, #ffffff 100%);
  border: 1px solid #e9d5ff;
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ai-robot-wrapper {
  flex-shrink: 0;
  width: 120px;
}

.ai-robot-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ai-lab-info {
  flex: 1;
}

.ai-lab-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1e1b4b;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.ai-lab-desc {
  font-size: 0.84rem;
  color: #475569;
  margin-bottom: 0.4rem;
}

.explore-lab-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.explore-lab-link:hover {
  color: var(--primary-orange-hover);
}

.ai-steps-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ai-step-pill {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-full);
  padding: 0.45rem 0.95rem 0.45rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.step-text strong {
  font-size: 0.82rem;
  color: #0f172a;
}

.step-text span {
  font-size: 0.72rem;
  color: #64748b;
  white-space: nowrap;
}

/* ================= 8. MEET OUR EXPERT TRAINERS ================= */
.trainers-section {
  padding-block: 1.8rem;
  background-color: #ffffff;
}

.header-right-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s;
}

.arrow-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background: #fff7ed;
}

.trainers-carousel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.95rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.trainers-carousel::-webkit-scrollbar {
  display: none;
}

.trainer-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trainer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trainer-header-bg {
  position: relative;
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.bg-lavender { background: linear-gradient(180deg, #ede9fe 0%, #f5f3ff 100%); }
.bg-peach { background: linear-gradient(180deg, #ffedd5 0%, #fff7ed 100%); }
.bg-mint { background: linear-gradient(180deg, #dcfce7 0%, #f0fdf4 100%); }
.bg-rose { background: linear-gradient(180deg, #fce7f3 0%, #fdf2f8 100%); }
.bg-amber { background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 100%); }
.bg-coral { background: linear-gradient(180deg, #ffe4e6 0%, #fff1f2 100%); }

.trainer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-body {
  padding: 0.75rem 0.65rem 0.95rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trainer-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.trainer-role {
  font-size: 0.76rem;
  color: #475569;
  font-weight: 600;
  margin-top: 0.15rem;
  margin-bottom: 0.55rem;
  min-height: 2.2em;
}

.exp-badge {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  color: #ea580c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

/* ================= 9. STUDENT SHOWCASE & INNOVATION HUB ================= */
.showcase-hub-section {
  padding-block: 1.8rem;
  background-color: #ffffff;
}

.showcase-hub-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.column-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.projects-carousel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.projects-carousel::-webkit-scrollbar {
  display: none;
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.project-thumb {
  height: 85px;
  background: #f8fafc;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-info {
  padding: 0.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.project-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
}

.project-tag {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.15rem;
}

/* School Innovation Hub Card */
.school-hub-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hub-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.hub-content-box {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 1;
}

.hub-image-box {
  flex-shrink: 0;
  width: 140px;
  height: 95px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.school-hub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-features-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hub-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hub-checklist li {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.check-icon {
  color: var(--primary-orange);
  font-weight: 800;
}

.btn-partner {
  padding: 0.5rem 1.15rem;
  font-size: 0.82rem;
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* ================= 10. OUR IMPACT IN NUMBERS ================= */
.impact-section {
  padding-block: 1.4rem;
}

.impact-banner {
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.impact-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.18;
  white-space: nowrap;
}

.impact-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.stat-icon {
  flex-shrink: 0;
}

.stat-data {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.stat-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.stat-label {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 34px;
  background-color: #e2e8f0;
}

/* ================= 11. WHAT PARENTS & STUDENTS SAY ================= */
.testimonials-section {
  padding-block: 1.8rem;
  background-color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr 1.35fr 0.9fr;
  gap: 1.15rem;
  align-items: stretch;
}

.testimonials-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.22;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
}

.quote-text {
  font-size: 0.79rem;
  color: #334155;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.quote-mark {
  color: var(--primary-orange);
  font-weight: 800;
  font-size: 0.9rem;
}

.quote-author {
  font-size: 0.76rem;
  color: #0f172a;
  font-weight: 700;
}

.star-rating {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-top: 0.15rem;
}

/* Rating Summary Box */
.rating-box-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 1.25rem;
}

.rating-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.rating-big-score {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ea580c;
  line-height: 1;
}

.rating-big-score span {
  font-size: 1.15rem;
  color: #78350f;
}

.rating-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-block: 0.2rem;
  letter-spacing: 2px;
}

.rating-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

.rating-sub {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.rating-arrow-btn {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.2s;
  z-index: 2;
}

.rating-arrow-btn:hover {
  transform: translateY(-50%) translateX(3px);
}

/* ================= 12. PRE-FOOTER CTA BANNER ================= */
.prefooter-cta-section {
  padding-block: 1.8rem;
}

.prefooter-banner {
  background: linear-gradient(90deg, #581c87 0%, #7e22ce 30%, #c2410c 70%, #ea580c 100%);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.6rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  box-shadow: 0 10px 30px rgba(126, 34, 206, 0.25);
  position: relative;
  overflow: visible;
}

.cta-rocket-box {
  flex-shrink: 0;
  width: 60px;
}

.cta-rocket-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.cta-headline-box {
  flex-shrink: 0;
}

.cta-headline {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.yellow-text {
  color: #fde047;
}

.cta-v-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
}

.cta-checks-box {
  flex: 1;
}

.cta-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.cta-checklist li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cta-check-badge {
  color: #ffffff;
  background: #f97316;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.btn-cta-large {
  padding: 0.75rem 1.5rem;
  font-size: 0.88rem;
  background: #ff5e14;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-students-box {
  flex-shrink: 0;
  width: 155px;
  align-self: flex-end;
  margin-top: -15px;
  margin-bottom: -10px;
}

.cta-students-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ================= 13. SITE FOOTER ================= */
.site-footer {
  background-color: var(--bg-footer);
  color: #94a3b8;
  padding-top: 2.8rem;
  font-size: 0.82rem;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 0.9fr 1.1fr 1.1fr 1.4fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.brand-col .footer-logo {
  margin-bottom: 0.85rem;
}

.footer-about-text {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 1.2rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.social-circle:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-list li a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links-list li a::before {
  content: '›';
  color: #64748b;
  font-size: 1rem;
  line-height: 1;
}

.footer-links-list li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.contact-details-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-details-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Sub-Footer */
.sub-footer {
  background-color: var(--bg-footer-sub);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1rem;
}

.sub-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: #64748b;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.legal-links a {
  color: #94a3b8;
}

.legal-links a:hover {
  color: #ffffff;
}

.legal-links .sep {
  opacity: 0.3;
}

/* ================= 14. MODAL DIALOGS ================= */
.demo-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  background: transparent;
  max-width: 550px;
  width: 90%;
  margin: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.demo-dialog::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
}

.dialog-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.close-dialog {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: 700;
  transition: all 0.2s;
}

.close-dialog:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.dialog-badge {
  display: inline-block;
  background: #fff7ed;
  color: var(--primary-orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.dialog-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.dialog-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.4rem;
}

.dialog-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
}

.form-group input,
.form-group select {
  font-family: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.radio-options {
  display: flex;
  gap: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-submit-modal {
  margin-top: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  width: 100%;
}

.video-dialog {
  max-width: 720px;
}

.video-card {
  padding: 1.25rem;
}

.video-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
}

.video-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.video-info p {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* ================= 15. RESPONSIVE DESIGN (MEDIA QUERIES) ================= */
@media (max-width: 1100px) {
  .programs-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-ecosystem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .passport-column {
    grid-column: span 2;
  }

  .ai-steps-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual-wrapper {
    justify-content: center;
  }

  .grade-container {
    flex-direction: column;
    align-items: stretch;
  }

  .grade-badge-ribbon {
    clip-path: none;
    border-radius: var(--radius-md);
    text-align: center;
    padding-right: 1.4rem;
  }

  .grade-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-hub-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-heading-box {
    grid-column: span 2;
  }

  .rating-box-wrapper {
    grid-column: span 2;
  }

  .rating-arrow-btn {
    right: 20px;
  }

  .prefooter-banner {
    flex-direction: column;
    text-align: center;
    padding-bottom: 2rem;
  }

  .cta-v-divider {
    display: none;
  }

  .cta-students-box {
    margin-top: 10px;
    align-self: center;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .ai-lab-banner {
    flex-direction: column;
    text-align: center;
  }

  .ai-steps-row {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .top-bar-center {
    display: none;
  }

  .grade-cards-grid {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .passport-column {
    grid-column: span 1;
  }

  .why-content-wrapper {
    flex-direction: column;
  }

  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-banner {
    flex-direction: column;
    text-align: center;
  }

  .impact-stats-row {
    flex-direction: column;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-heading-box,
  .rating-box-wrapper {
    grid-column: span 1;
  }

  .footer-content-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}


/* ================= 16. SUB-PAGE COMMON STYLES & DROPDOWNS ================= */

/* Navigation Dropdowns */
.nav-list li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid #f1f5f9;
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 150;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background: #fff7ed;
  color: var(--primary-orange);
  padding-left: 1.35rem;
}

/* Sub-Page Hero */
.page-hero {
  background: radial-gradient(circle at 80% 40%, #fef3e9 0%, #ffffff 70%);
  padding-block: 2.2rem 2.8rem;
  border-bottom: 1px solid #f1f5f9;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #64748b;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--primary-orange);
}

.breadcrumb .sep {
  opacity: 0.4;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  gap: 2.5rem;
}

.page-hero-content {
  display: flex;
  flex-direction: column;
}

.page-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.page-hero-subtitle {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.page-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-hero-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(234, 88, 12, 0.08);
  width: 100%;
  max-width: 440px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hero-card-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.hero-card-header span {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

.hero-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-highlights-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
}

.hero-highlights-list li svg {
  color: #ea580c;
  flex-shrink: 0;
}

/* Tools / Technologies Bar */
.tools-bar-section {
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  padding-block: 1rem;
}

.tools-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.tools-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tools-pills {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  flex-wrap: balance;
}

.tool-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* Curriculum & Modules Section */
.curriculum-section {
  padding-block: 1.75rem;
  background: #ffffff;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.curriculum-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.curriculum-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #fed7aa;
}

.curr-level-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.curr-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.curr-target {
  font-size: 0.78rem;
  color: var(--primary-orange);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.curr-topics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 1.25rem;
  flex: 1;
}

.curr-topics-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.curr-topics-list li::before {
  content: '✓';
  color: #ea580c;
  font-weight: 800;
}

.curr-outcome {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.76rem;
  color: #1e293b;
  border-left: 3px solid var(--primary-orange);
}

/* Feature Split Section (Left/Right alternating) */
.feature-split-section {
  padding-block: 1.75rem;
  background: #fcfdfe;
  border-top: 1px solid #f1f5f9;
}

.feature-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.25rem;
  margin-bottom: 2rem;
}

.feature-split-grid:last-child {
  margin-bottom: 0;
}

.feature-split-grid.reverse {
  direction: rtl;
}

.feature-split-grid.reverse > * {
  direction: ltr;
}

.split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
}

.split-content h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.split-content p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.split-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.split-points-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}

.split-points-list li svg {
  color: #ea580c;
  flex-shrink: 0;
}

/* FAQs Section */
.faq-section {
  padding-block: 1.75rem;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.faq-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  transition: all 0.2s ease;
}

.faq-card:hover {
  background: #ffffff;
  border-color: #fed7aa;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.faq-answer {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
}

/* Contact Page Specifics */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.contact-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.centers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.center-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all 0.2s;
}

.center-card:hover {
  background: #fff7ed;
  border-color: #fed7aa;
}

.center-city {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.center-address {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.center-phone {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-orange);
}

/* Responsive adjustments for sub-pages */
@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .breadcrumb {
    justify-content: center;
  }

  .page-hero-visual {
    justify-content: center;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .feature-split-grid,
  .feature-split-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BESPOKE RICH COMPONENTS (Coding, Academic, AI & Subpages)
   ============================================================ */

/* Code Mockup Window (Desktop IDE feel) */
.code-mockup-card {
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  position: relative;
  width: 100%;
}
.code-mockup-header {
  background: #1e293b;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}
.code-window-dots {
  display: flex;
  gap: 6px;
}
.code-window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.code-tabs {
  display: flex;
  gap: 4px;
}
.code-tab {
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  color: #94a3b8;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.code-tab.active {
  color: #38bdf8;
  background: #0f172a;
  font-weight: 600;
}
.code-badge-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #10b981;
}
.code-badge-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.code-mockup-body {
  padding: 1.25rem 1.25rem 1rem;
  color: #f8fafc;
  font-size: 0.85rem;
  line-height: 1.65;
  overflow-x: auto;
}
.code-line {
  display: flex;
  gap: 1.25rem;
}
.line-num {
  color: #475569;
  user-select: none;
  width: 20px;
  text-align: right;
  flex-shrink: 0;
}
.token-keyword { color: #f43f5e; font-weight: 600; }
.token-def { color: #38bdf8; font-weight: 600; }
.token-string { color: #34d399; }
.token-comment { color: #64748b; font-style: italic; }
.token-num { color: #fbbf24; }
.token-var { color: #e2e8f0; }

.code-mockup-console {
  background: #020617;
  border-top: 1px solid #1e293b;
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cbd5e1;
}
.console-output {
  display: flex;
  align-items: center;
  gap: 8px;
}
.console-tag {
  color: #ff6b26;
  font-weight: 700;
}
.console-run-btn {
  background: linear-gradient(135deg, #ff6b26 0%, #ff4b1a 100%);
  color: #fff;
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Floating Hero Badges */
.hero-floating-stat {
  position: absolute;
  background: #ffffff;
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  animation: floatStat 4s ease-in-out infinite;
}
.stat-pos-top-left {
  top: -15px;
  left: -20px;
}
.stat-pos-bottom-right {
  bottom: -20px;
  right: -15px;
  animation-delay: 2s;
}
@keyframes floatStat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-floating-stat .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.stat-icon-orange { background: #fff7ed; color: #ea580c; }
.stat-icon-blue { background: #eff6ff; color: #2563eb; }
.stat-text h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.1;
}
.stat-text p {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
}

/* Curriculum Level Cards with Deep Details */
.curriculum-detailed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1080px) {
  .curriculum-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .curriculum-detailed-grid {
    grid-template-columns: 1fr;
  }
}
.curriculum-detailed-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.4rem 1.1rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.curriculum-detailed-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border-color: #ff6b26;
}
.curriculum-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.badge-grade35 { background: #ecfdf5; color: #059669; }
.badge-grade68 { background: #eff6ff; color: #2563eb; }
.badge-grade910 { background: #fdf4ff; color: #c026d3; }
.badge-grade1112 { background: #fff7ed; color: #ea580c; }

.curriculum-level-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.curriculum-level-platform {
  font-size: 0.85rem;
  color: #ff6b26;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.curriculum-modules-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.curriculum-modules-list li {
  font-size: 0.86rem;
  color: #334155;
  display: block;
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.5;
}
.curriculum-modules-list li > svg:first-child,
.curriculum-modules-list li > span:first-child {
  position: absolute;
  left: 0;
  top: 2px;
  color: #10b981;
  font-weight: 800;
}
.curriculum-capstone-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.capstone-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}
.capstone-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Rich Comparison Table */
.comparison-section {
  padding: 2.35rem 0;
  background: #ffffff;
}
.comparison-table-wrapper {
  overflow-x: auto;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  text-align: left;
}
.comparison-table th {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}
.comparison-table th.highlight-col {
  background: #fff7ed;
  color: #ea580c;
  font-size: 1.05rem;
  border-bottom: 2px solid #ff6b26;
  position: relative;
}
.comparison-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.88rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.comparison-table tr:hover td {
  background: #fcfcfd;
}
.comparison-table td.highlight-col {
  background: #fffcf9;
  font-weight: 700;
  color: #0f172a;
}
.comp-feature-name {
  font-weight: 700;
  color: #0f172a;
  display: block;
}
.comp-feature-desc {
  font-size: 0.78rem;
  color: #64748b;
}
.comp-check {
  color: #10b981;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.comp-cross {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Project Cards */
.project-card-interactive {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.project-card-interactive:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  border-color: #ff6b26;
}
.project-img-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #1e293b;
}
.project-card-content {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-author-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.author-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ff6b26;
}
.author-meta h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.author-meta p {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
}
.project-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.project-card-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}
.project-tech-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  background: #f1f5f9;
  color: #334155;
  border-radius: 6px;
}

/* How It Works Steps */
.step-number-bubble {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff6b26 0%, #ff4b1a 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 18px rgba(255, 107, 38, 0.35);
}

/* FAQ Accordions */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 850px;
  margin: 0 auto;
}
.faq-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-accordion-item[open] {
  border-color: #ff6b26;
  box-shadow: 0 6px 20px rgba(255, 107, 38, 0.08);
}
.faq-accordion-summary {
  padding: 1.2rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-accordion-summary::-webkit-details-marker {
  display: none;
}
.faq-accordion-summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #ff6b26;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-accordion-item[open] .faq-accordion-summary::after {
  content: '−';
  font-weight: 700;
}
.faq-accordion-body {
  padding: 0 1.5rem 1.35rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
}

/* ============================================================
   GLOBAL COMPATIBILITY & UNIFIED SUBPAGE SYSTEM
   ============================================================ */

/* Top Bar & Header Aliases */
.top-bar-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.top-link:hover {
  color: #ffffff;
}

.separator {
  color: rgba(255, 255, 255, 0.25);
  margin-inline: 0.35rem;
  font-size: 0.72rem;
}

.header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
}

.nav-item {
  position: relative;
  list-style: none;
}

.dropdown-bullet {
  color: var(--primary-orange);
  font-weight: 800;
  margin-right: 0.35rem;
}

.dropdown-active {
  color: var(--primary-orange) !important;
  background-color: #fff7ed !important;
  font-weight: 700 !important;
}

/* Breadcrumb Navigation */
.breadcrumb-bar {
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  padding-block: 0.75rem;
}

.breadcrumb-sep {
  color: #cbd5e1;
  font-size: 0.8rem;
  margin-inline: 0.35rem;
  user-select: none;
}

.breadcrumb-active {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.82rem;
}

/* Subpage Badges & Tags */
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 1rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ea580c;
}

.badge-icon {
  font-size: 0.9rem;
}

.icon-user {
  vertical-align: middle;
}

/* Form Controls & Contact Inputs */
.form-input,
.form-select {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  border: 1px solid #94a3b8;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: max(1rem, 0.95em);
  color: #0f172a;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus-visible,
.form-select:focus-visible {
  outline: 3px solid #ea580c;
  outline-offset: 2px;
  border-color: var(--primary-orange);
}

.form-input:user-invalid,
.form-select:user-invalid {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.btn-submit-lead {
  width: 100%;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ff6b26 0%, #ff4b1a 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

.btn-submit-lead:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
}

.btn-watch {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-watch:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.info-card:hover {
  border-color: #fed7aa;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Pre-Footer Banner Compatibility Aliases */
.cta-banner-section {
  padding-block: 2rem;
  background: transparent;
}

.cta-banner {
  background: linear-gradient(90deg, #581c87 0%, #7e22ce 30%, #c2410c 70%, #ea580c 100%);
  border-radius: var(--radius-lg);
  padding: 1.4rem 2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(126, 34, 206, 0.25);
  position: relative;
  flex-wrap: wrap;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  min-width: 280px;
}

.cta-badge-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.cta-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.cta-checks {
  font-size: 0.85rem;
  color: #fde047;
  font-weight: 600;
}

.cta-action-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cta-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ff5e14;
  color: #ffffff;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-cta-banner:hover {
  background: #e04803;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 94, 20, 0.4);
}

/* Footer Compatibility Aliases */
.main-footer {
  background-color: var(--bg-footer);
  color: #94a3b8;
  padding-top: 2.8rem;
  font-size: 0.82rem;
}

.footer-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 0.9fr 1.1fr 1.4fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand-col .footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 0.85rem;
}

.footer-desc {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 1.2rem;
}

.footer-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s, transform 0.2s;
}

.footer-links li a::before {
  content: '›';
  color: #64748b;
  font-size: 1rem;
  line-height: 1;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.contact-item svg {
  flex-shrink: 0;
  color: #ea580c;
  margin-top: 2px;
}

.contact-item a {
  color: #cbd5e1;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-bottom {
  background-color: var(--bg-footer-sub);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1rem;
  font-size: 0.75rem;
  color: #64748b;
}

.footer-bottom-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-legal a {
  color: #64748b;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* Dialog & Modal Aliases */
.app-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  background: transparent;
  max-width: 550px;
  width: 90%;
  margin: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.app-dialog::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
}

.dialog-content {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.dialog-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.dialog-video {
  max-width: 800px;
}

.dialog-video-content {
  padding: 1.5rem;
  background: #0f172a;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Miscellaneous utility classes */
.arrow-prev,
.arrow-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.arrow-prev:hover,
.arrow-next:hover {
  background: var(--primary-orange);
  color: #ffffff;
  border-color: var(--primary-orange);
}

.copyright-text {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Responsive Overrides */
@media (max-width: 1040px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cta-banner-content {
    flex-direction: column;
  }
  .cta-action-group {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Zero-warning layout utilities */
.logo-container {
  display: flex;
  align-items: center;
}
.footer-col {
  display: flex;
  flex-direction: column;
}
.contact-col {
  display: flex;
  flex-direction: column;
}
.dialog-header {
  margin-bottom: 1.5rem;
}
.cta-button-box {
  flex-shrink: 0;
}
.hero-content {
  display: flex;
  flex-direction: column;
}
.showcase-column,
.school-hub-column,
.why-column,
.ecosystem-column {
  display: flex;
  flex-direction: column;
}
.impact-title-box {
  margin-bottom: 1rem;
}
.open-demo-modal,
.open-video-modal {
  cursor: pointer;
}

/* ============================================================
   LARGE HD HERO & SHOWCASE MEDIA STYLES
   ============================================================ */

.hero-hd-visual-box {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  border: 4px solid #ffffff;
  background: #0f172a;
}

.hero-hd-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-hd-visual-box:hover .hero-hd-img {
  transform: scale(1.03);
}

.hero-hd-badge-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-hd-badge-overlay .badge-text {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-hd-badge-overlay .badge-pill {
  background: #f97316;
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.card-img-top {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  display: block;
}

.rich-media-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rich-media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  border-color: #fed7aa;
}

.rich-media-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}


/* ==========================================================================
   PRO UNIFIED COMPONENT SYSTEM (Zero Emojis, High-Polish Design System)
   ========================================================================== */

.pro-section {
  padding: 1.8rem 0;
  position: relative;
}

.pro-section-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pro-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 1.35rem;
}

.pro-section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.pro-tag-orange { color: #ea580c; }
.pro-tag-blue   { color: #2563eb; }
.pro-tag-purple { color: #7c3aed; }
.pro-tag-green  { color: #059669; }

.pro-section-title {
  font-size: clamp(1.5rem, 1.2rem + 1.15vw, 2.08rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.pro-section-desc {
  font-size: 0.98rem;
  color: #475569;
  margin-top: 0.45rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Grids */
.pro-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

.pro-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(285px, 100%), 1fr));
  gap: 1.4rem;
}

.pro-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr));
  gap: 1.25rem;
}

.pro-grid-2 > *,
.pro-grid-3 > *,
.pro-grid-4 > *,
.page-hero-grid > * {
  min-inline-size: 0;
}

@media (min-width: 900px) {
  .pro-grid-3.subgrid-rows {
    grid-auto-rows: auto;
  }
  @supports (grid-template-rows: subgrid) {
    .pro-grid-3.subgrid-rows > .pro-card {
      display: grid;
      grid-template-rows: auto 1fr auto;
    }
  }
}

/* Cards */
.pro-card {
  container-type: inline-size;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  position: relative;
}

.pro-card:has(> .card-img-top) {
  padding-top: 0;
  overflow: hidden;
}

.pro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.pro-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.75rem 0 0.5rem;
  line-height: 1.35;
}

.pro-card-text {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* Icon Boxes */
.pro-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.pro-icon-box svg {
  width: 24px;
  height: 24px;
}

.icon-box-orange { background: #fff7ed; color: #ea580c; border: 1px solid #ffedd5; }
.icon-box-blue   { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.icon-box-purple { background: #faf5ff; color: #7c3aed; border: 1px solid #f3e8ff; }
.icon-box-green  { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.icon-box-pink   { background: #fdf2f8; color: #db2777; border: 1px solid #fce7f3; }
.icon-box-amber  { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }

/* Badges */
.pro-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.pro-pill-orange { background: #fff7ed; color: #ea580c; }
.pro-pill-blue   { background: #eff6ff; color: #2563eb; }
.pro-pill-purple { background: #faf5ff; color: #7c3aed; }
.pro-pill-green  { background: #f0fdf4; color: #16a34a; }

/* Numbered Steps */
.pro-step-badge {
  width: fit-content;
  min-width: 44px;
  height: 44px;
  padding: 0 0.7rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.step-bg-orange { background: linear-gradient(135deg, #ff8a00, #e52e71); }
.step-bg-blue   { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.step-bg-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.step-bg-green  { background: linear-gradient(135deg, #059669, #10b981); }

/* Checklist */
.pro-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pro-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
}

.pro-checklist li svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}


/* ==========================================================================
   AGE-PERSONALIZED THEMES, COMPACT HEROES & INTERACTIVE WIDGET COMPONENTS
   ========================================================================== */

.pro-section-alt {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.pro-section-tint-warm {
  background: linear-gradient(180deg, #fffaf5 0%, #fff7ed 100%);
  border-top: 1px solid #ffedd5;
  border-bottom: 1px solid #ffedd5;
}

.pro-section-tint-blue {
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e2e8f0;
}

.hero-metric-val {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.hero-metric-lbl {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
}

.hero-quick-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-quick-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.hero-right-compact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  margin-top: 0.85rem;
}

/* Kids Playground Theme (Grades 3 - 5) */
.kids-theme .page-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(251, 191, 36, 0.24) 0%, transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(56, 189, 248, 0.2) 0%, transparent 34%),
    linear-gradient(180deg, #fffbeb 0%, #f0f9ff 100%) !important;
  border-bottom: 3px dashed #fde68a;
}

.kids-btn-chunky {
  box-shadow: 0 4px 0 #b45309 !important;
  border-radius: 16px !important;
  border: 2px solid #f59e0b !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.kids-btn-chunky:hover {
  transform: translateY(-2px);
}

.kids-card-playful {
  border-radius: 22px !important;
  border: 2px solid #fde68a !important;
  box-shadow: 0 6px 0 #fef3c7, 0 12px 24px rgba(217, 119, 6, 0.08) !important;
  background: #ffffff;
}

.kids-card-sky {
  border-color: #bae6fd !important;
  box-shadow: 0 6px 0 #e0f2fe, 0 12px 24px rgba(2, 132, 199, 0.08) !important;
}

.kids-card-mint {
  border-color: #a7f3d0 !important;
  box-shadow: 0 6px 0 #d1fae5, 0 12px 24px rgba(5, 150, 105, 0.08) !important;
}

.kids-card-pink {
  border-color: #fbcfe8 !important;
  box-shadow: 0 6px 0 #fce7f3, 0 12px 24px rgba(219, 39, 119, 0.08) !important;
}

/* Scratch Visual Puzzle Stack */
.scratch-stack {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.scratch-block {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  width: fit-content;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

.scratch-event   { background: #f59e0b; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.scratch-control { background: #ffab19; margin-left: 0.75rem; }
.scratch-motion  { background: #4c97ff; margin-left: 1.5rem; }
.scratch-looks   { background: #9966ff; margin-left: 1.5rem; }
.scratch-sound   { background: #cf63cf; margin-left: 0.75rem; }

/* Badge Vault Cards */
.badge-vault-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
  border: 2px solid #fde68a;
  border-radius: 20px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 5px 0 #fef3c7;
}

.badge-vault-medallion {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Senior Secondary Dark Engineering Theme (Grades 11 - 12) */
.senior-dev-theme .page-hero {
  background:
    linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #0b1120 0%, #172554 55%, #1e1b4b 100%) !important;
  background-size: 28px 28px, 28px 28px, 100% 100% !important;
  border-bottom: 1px solid #334155 !important;
  color: #f8fafc;
}

.senior-dev-theme .page-hero h1 {
  color: #ffffff !important;
}

.senior-dev-theme .page-hero p {
  color: #cbd5e1 !important;
}

.senior-dev-theme .hero-metrics-strip {
  border-top-color: rgba(148, 163, 184, 0.25);
}

.senior-dev-theme .hero-metric-val {
  color: #38bdf8;
}

.senior-dev-theme .hero-metric-lbl {
  color: #94a3b8;
}

.senior-ide-card {
  background: #020617;
  border: 1px solid #334155;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  margin-top: 0.75rem;
}

.senior-ide-bar {
  background: #0f172a;
  padding: 0.45rem 0.9rem;
  border-bottom: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 0.72rem;
  color: #94a3b8;
}

.senior-ide-body {
  padding: 0.85rem 1rem;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #e2e8f0;
  overflow-x: auto;
}

/* Blocks -> Python Code Split Widget (Grades 6 - 8 & Coding) */
.code-bridge-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.code-panel-dark {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid #334155;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Impact Dark Strip (About Us / Schools / Competitions) */
.impact-dark-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 1.85rem 0;
}

.impact-band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 1.25rem;
  text-align: center;
}

.impact-band-num {
  font-size: clamp(1.65rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 800;
  color: #fb923c;
  line-height: 1.15;
}

.impact-band-label {
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* WhatsApp & Parent Report Preview Card */
.mock-report-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.whatsapp-bubble {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 14px 14px 14px 4px;
  padding: 1rem 1.15rem;
  font-size: 0.86rem;
  color: #14532d;
  line-height: 1.5;
}

/* Responsive Data Tables (Modern Web Guidance: sticky headers + @container stacked cards) */
.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(520px, 78vh);
  container-type: inline-size;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.table-wrapper:focus-visible {
  outline: 3px solid #ff6b26;
  outline-offset: 2px;
}

.pro-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.88rem;
}

.pro-data-table caption {
  text-align: left;
  padding: 0.95rem 1.25rem;
  font-weight: 800;
  font-size: 0.98rem;
  color: #0f172a;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.pro-data-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
}

.pro-data-table thead th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.85rem 1.15rem;
  white-space: nowrap;
}

.pro-data-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
}

.pro-data-table tbody td {
  padding: 0.9rem 1.15rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  line-height: 1.5;
}

.pro-data-table tbody tr:hover th,
.pro-data-table tbody tr:hover td {
  background: #fffaf5;
}

@container (width < 600px) {
  .pro-data-table,
  .pro-data-table caption,
  .pro-data-table thead,
  .pro-data-table tbody,
  .pro-data-table tr,
  .pro-data-table th,
  .pro-data-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .pro-data-table caption {
    position: static;
    text-align: left;
    padding: 0.55rem 0.2rem 0.75rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
  }

  .pro-data-table thead {
    display: none;
  }

  .pro-data-table tbody tr {
    margin: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
  }

  .pro-data-table tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: #f1f5f9;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .pro-data-table tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .pro-data-table tbody td:nth-child(2)::before {
    content: var(--label-2, "Track") ": ";
    font-weight: 800;
    color: #0f172a;
  }

  .pro-data-table tbody td:nth-child(3)::before {
    content: var(--label-3, "Details") ": ";
    font-weight: 800;
    color: #0f172a;
  }

  .pro-data-table tbody td:nth-child(4)::before {
    content: var(--label-4, "Outcome") ": ";
    font-weight: 800;
    color: #0f172a;
  }

  .pro-data-table tbody td:nth-child(5)::before {
    content: var(--label-5, "Notes") ": ";
    font-weight: 800;
    color: #0f172a;
  }
}

@media (max-width: 900px) {
  .hero-metrics-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .hero-quick-features {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
  }
  .page-hero-content,
  .page-hero-visual,
  .page-hero-grid > div {
    min-inline-size: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container,
  .section-container {
    padding-inline: 0.9rem;
    max-width: 100%;
  }

  .top-bar-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    padding-inline: 0.75rem;
  }

  .top-bar-left {
    white-space: normal;
    flex-shrink: 1;
    text-align: center;
    justify-content: center;
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .nav-container {
    padding-inline: 0.75rem;
    gap: 0.45rem;
  }

  .brand-logo .logo-img {
    height: 29px;
    width: auto;
    max-width: 155px;
  }

  .nav-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .search-btn {
    width: 32px;
    height: 32px;
  }

  .main-header .btn-demo {
    padding: 0.42rem 0.72rem;
    font-size: 0.72rem;
  }

  .breadcrumb {
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.75rem;
    justify-content: flex-start;
  }

  .page-hero {
    padding-block: 1rem 1.4rem;
  }

  .page-hero-grid {
    text-align: left;
  }

  .hero-metrics-strip {
    gap: 0.55rem;
  }

  .hero-metric-box {
    min-inline-size: 0;
  }

  .hero-metric-val {
    font-size: 0.96rem;
  }

  .hero-metric-lbl {
    font-size: 0.68rem;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .scratch-b1,
  .scratch-b2,
  .scratch-b3,
  .scratch-motion,
  .scratch-looks,
  .scratch-sound {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .scratch-b3 {
    margin-left: 1.25rem;
  }

  .scratch-motion,
  .scratch-looks {
    margin-left: 0.85rem;
  }

  .senior-ide-card {
    max-width: 100%;
    min-inline-size: 0;
  }

  .senior-ide-body pre {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.72rem;
  }

  .code-bridge-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .table-wrapper {
    max-block-size: none;
    overflow-x: hidden;
    overflow-y: visible;
  }
}

/* ==========================================================================
   HIGH-CONVERSION LEAD SYSTEM, VIBRANT CARD TINTS & INTERACTIVE WIDGETS
   ========================================================================== */

body {
  accent-color: #ea580c;
}

h1, h2, h3, .pro-section-title {
  text-wrap: balance;
}

.pro-card-text,
.pro-section-desc {
  text-wrap: pretty;
}

/* Split Header Layout (Eliminates wide empty side blanks like index.html) */
.pro-section-header.split-header {
  max-width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.pro-section-header.split-header .pro-section-desc {
  max-width: 680px;
}

/* Pastel Section Surfaces */
.pro-section-warm {
  background: linear-gradient(180deg, #fffaf3 0%, #fff7ed 100%);
  border-top: 1px solid #ffedd5;
  border-bottom: 1px solid #ffedd5;
}

.pro-section-sky {
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}

.pro-section-mint {
  background: linear-gradient(180deg, #f5fdf9 0%, #ecfdf5 100%);
  border-top: 1px solid #d1fae5;
  border-bottom: 1px solid #d1fae5;
}

.pro-section-lavender {
  background: linear-gradient(180deg, #faf8ff 0%, #f5f3ff 100%);
  border-top: 1px solid #ede9fe;
  border-bottom: 1px solid #ede9fe;
}

/* Vibrant Pastel Card Tints (Matches Home Program Cards) */
.card-tint-orange {
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
  border-color: #fed7aa;
}
.card-tint-blue {
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border-color: #bfdbfe;
}
.card-tint-purple {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  border-color: #ddd6fe;
}
.card-tint-green {
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
  border-color: #a7f3d0;
}
.card-tint-amber {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
  border-color: #fde68a;
}
.card-tint-pink {
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f8 100%);
  border-color: #fbcfe8;
}
.card-tint-teal {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  border-color: #99f6e4;
}

/* Dark Trust & NEP Authority Strip */
.authority-ribbon {
  background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  color: #f8fafc;
  padding: 0.7rem 0;
  border-bottom: 1px solid #334155;
}

.authority-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
}

.authority-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #e2e8f0;
}

.authority-item strong {
  color: #fbbf24;
}

/* Dark High-Converting Inline Lead Capture Band */
.conversion-band-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 1.75rem 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.conversion-band-dark h2,
.conversion-band-dark h3,
.conversion-band-dark .pro-section-title {
  color: #ffffff;
}

.conversion-band-dark .pro-section-desc {
  color: #cbd5e1;
}

.conversion-band-dark .pro-section-tag {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.55rem;
}

.conversion-band-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  margin-top: 1rem;
}

.conversion-band-bullets li {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.quick-lead-box {
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px;
  padding: 1.35rem 1.45rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.conversion-band-dark .quick-lead-box h3 {
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.lead-grid-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.lead-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.25rem;
}

.lead-trust-micro {
  font-size: 0.74rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.55rem;
  font-weight: 600;
}

.lead-status-msg {
  display: none;
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

.lead-status-msg.is-visible {
  display: block;
}

/* Gamified Student Arena & Quest Puzzle */
.arena-countdown-bar {
  background: linear-gradient(90deg, #7c3aed 0%, #db2777 50%, #ea580c 100%);
  color: #ffffff;
  padding: 0.7rem 0;
  font-size: 0.85rem;
  font-weight: 800;
}

.arena-countdown-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quest-challenge-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #f8fafc;
  border-radius: 20px;
  padding: 1.65rem 1.85rem;
  border: 1px solid #4338ca;
  box-shadow: 0 18px 40px rgba(30, 27, 75, 0.22);
}

.quest-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.quest-opt-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(196, 181, 253, 0.35);
  color: #ffffff;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-family: 'Consolas', monospace;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quest-opt-btn:hover {
  background: rgba(124, 58, 237, 0.35);
  border-color: #c4b5fd;
  transform: translateY(-2px);
}

.quest-opt-btn.is-correct {
  background: #059669;
  border-color: #6ee7b7;
  color: #ffffff;
}

.quest-opt-btn.is-wrong {
  background: #be123c;
  border-color: #fda4af;
}

.badge-unlock-card {
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  position: relative;
  border: 1.5px solid #ddd6fe;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-unlock-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.14);
}

.badge-unlock-tag {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  background: #ede9fe;
  color: #6d28d9;
}

/* Trainer Earnings Calculator & 7-Day Timeline */
.payout-calc-card {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 1.65rem 1.85rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
  box-shadow: 0 18px 40px rgba(6, 78, 59, 0.2);
}

.payout-calc-result {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.35);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
}

.payout-range-input {
  width: 100%;
  accent-color: #10b981;
  cursor: pointer;
  margin-block: 0.65rem;
}

@supports not (accent-color: #ea580c) {
  .payout-range-input {
    background: #10b981;
    height: 6px;
    border-radius: 6px;
  }
}

/* Floating High-Conversion Quick Dock */
.floating-conv-dock {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.55rem;
  border-radius: 9999px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.dock-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.dock-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #ff6b26 0%, #ff4b1a 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .conversion-band-dark,
  .payout-calc-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.35rem;
    gap: 1.25rem;
  }
  .conversion-band-bullets {
    grid-template-columns: 1fr;
  }
  .quest-options-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pro-section {
    padding: 1.35rem 0;
  }
  .lead-grid-inline {
    grid-template-columns: 1fr;
  }
  .floating-conv-dock {
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.35rem;
  }
  .dock-wa-btn,
  .dock-demo-btn {
    font-size: 0.72rem;
    padding: 0.45rem 0.72rem;
  }
}

/* Soft tinted wash for any remaining alt sections so nothing reads bare grey-white */
.pro-section.pro-section-alt {
  background: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
  border-top: 1px solid #e0e7ff;
  border-bottom: 1px solid #e0e7ff;
}

/* Keep split-header titles constrained so right CTAs stay aligned on row 1 */
.pro-section-header.split-header > div {
  flex: 1 1 500px;
  min-width: 0;
}

.authority-ribbon-inner {
  gap: 0.45rem 0.65rem;
  font-size: 0.74rem;
  flex-wrap: wrap;
}

.trainer-photo {
  object-position: top center;
}

.hero-hd-img {
  object-position: center 22%;
}

.hub-features-box,
.showcase-hub-grid > * {
  min-width: 0;
}

.pro-grid-2 .card-img-top {
  height: 240px;
}

@media (max-width: 900px) {
  .trainers-carousel {
    grid-template-columns: repeat(3, 1fr);
  }
  .projects-carousel {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(175px, 44%);
    scroll-snap-type: x mandatory;
  }
  .projects-carousel .project-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .section-header,
  .column-header-row {
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: flex-start;
  }
  .section-header > div:first-child,
  .column-header-row > div:first-child {
    flex: 1 1 100%;
  }
  .hub-content-box {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-image-box {
    width: 100%;
    height: 155px;
  }
  .trainers-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-carousel {
    grid-auto-columns: minmax(172px, 64%);
  }
  .project-thumb {
    height: 105px;
  }
}

/* Safe dock clearance over bottom legal bar */
.sub-footer,
.footer-bottom {
  padding-bottom: 4.5rem;
}

/* Mobile Responsive Nav Drawer & Accordion Submenus */
@media (max-width: 1040px) {
  .nav-menu.is-mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 0.85rem 1.25rem 1.25rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
    border-top: 1px solid #f1f5f9;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-menu.is-mobile-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    width: 100%;
  }
  .nav-menu.is-mobile-open .nav-link {
    justify-content: space-between;
    padding: 0.65rem 0.5rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  .nav-menu.is-mobile-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid #fed7aa;
    margin: 0.25rem 0 0.5rem 0.75rem;
    padding: 0.25rem 0 0.25rem 0.5rem;
    background: #fffaf5;
    display: none;
    border-radius: 0 10px 10px 0;
  }
  .nav-menu.is-mobile-open .has-dropdown.is-open > .dropdown-menu {
    display: block;
  }
}

/* Accessible Native Modal Scroll Containment & Utility Dialogs */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(4px);
}

.utility-dialog {
  border: 0;
  padding: 0;
  margin: auto;
  border-radius: 20px;
  max-width: min(560px, calc(100vw - 1.5rem));
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.utility-dialog-head {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-dialog-head h2 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.utility-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.utility-close-btn:hover {
  background: #ea580c;
}

.utility-dialog-body {
  padding: 1.25rem 1.35rem 1.45rem;
  max-height: 75dvh;
  overflow-y: auto;
}

.search-results-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.search-result-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.86rem;
  transition: border-color 0.2s, background 0.2s;
}

.search-result-link:hover {
  border-color: #ea580c;
  background: #fff7ed;
}

.search-result-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ea580c;
  background: #ffedd5;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.portal-tab-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.portal-tab-btn {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-weight: 700;
  font-size: 0.84rem;
  color: #334155;
  background: #f8fafc;
}

.portal-tab-btn.is-active {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
}
