/* ==========================================================================
   EDUEME RESEARCH LABS — MOBILE-FIRST DESIGN SYSTEM
   Palette: Deep Tech Navy (#0e1628), Amber Gold (#f5a623), Clean Whites & Slates
   ========================================================================== */

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

:root {
  --primary-navy: #0e1628;
  --primary-navy-dark: #070d18;
  --primary-navy-light: #18233c;
  --accent-gold: #f5a623;
  --accent-gold-hover: #e09419;
  --accent-gold-soft: #fff8eb;
  --accent-blue: #0284c7;
  --accent-cyan: #06b6d4;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --status-new-bg: #fef9c3;
  --status-new-text: #854d0e;
  --status-contacted-bg: #e0f2fe;
  --status-contacted-text: #0369a1;
  --status-converted-bg: #dcfce7;
  --status-converted-text: #15803d;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --header-height: 62px;
  --bottom-nav-height: 60px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 15px;
  padding-bottom: calc(var(--bottom-nav-height) + 16px);
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   APP HEADER (Exact Mobile App Level UI Standards)
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 68px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Genuine Edueme logo: 100% crystal clear, cropped to artwork with transparent background */
.app-logo {
  height: 38px;
  width: auto;
  max-width: 275px;
  object-fit: contain;
  display: block;
}

.app-logo-wrap {
  display: flex;
  align-items: center;
  height: 38px;
  position: relative;
  text-decoration: none;
}

.app-logo-e {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transform-origin: 49.4638% 35.3084%;
  animation: logoESpinOnce 1.35s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
  will-change: transform;
}

.app-logo-text {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
  animation: logoTextStepReveal 1.35s step-end forwards;
  will-change: clip-path;
}

@keyframes logoESpinOnce {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes logoTextStepReveal {
  0% { clip-path: inset(0 100% 0 0); }
  5% { clip-path: inset(0 94.8% 0 0); }   /* d */
  11% { clip-path: inset(0 89.0% 0 0); }  /* u */
  17% { clip-path: inset(0 83.2% 0 0); }  /* e */
  23% { clip-path: inset(0 75.6% 0 0); }  /* M */
  29% { clip-path: inset(0 69.8% 0 0); }  /* e */
  35% { clip-path: inset(0 61.5% 0 0); }  /* R */
  41% { clip-path: inset(0 56.4% 0 0); }  /* e */
  47% { clip-path: inset(0 51.7% 0 0); }  /* s */
  53% { clip-path: inset(0 46.3% 0 0); }  /* e */
  59% { clip-path: inset(0 40.8% 0 0); }  /* a */
  65% { clip-path: inset(0 36.4% 0 0); }  /* r */
  71% { clip-path: inset(0 31.8% 0 0); }  /* c */
  77% { clip-path: inset(0 26.1% 0 0); }  /* h */
  83% { clip-path: inset(0 17.7% 0 0); }  /* L */
  88% { clip-path: inset(0 12.3% 0 0); }  /* a */
  93% { clip-path: inset(0 6.3% 0 0); }   /* b */
  97% { clip-path: inset(0 1.5% 0 0); }   /* s */
  100% { clip-path: inset(0 0% 0 0); }
}

@media (min-width: 768px) {
  .app-header {
    height: 74px;
  }
  .app-logo {
    height: 44px;
    max-width: 315px;
  }
  .app-logo-wrap {
    height: 44px;
  }
  .app-logo-e,
  .app-logo-text {
    height: 44px;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-nav {
  display: none;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .nav-item {
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    padding: 6px 4px;
    transition: color 0.15s ease;
    cursor: pointer;
  }
  .nav-item:hover, .nav-item.active {
    color: var(--primary-navy);
    border-bottom: 2px solid var(--accent-gold);
  }
}

.header-cta-btn {
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.header-cta-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.hamburger-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--primary-navy);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--primary-navy);
  border-radius: 2px;
  transition: all 0.2s ease;
}

@media (min-width: 992px) {
  .hamburger-btn {
    display: none;
  }
}

/* ==========================================================================
   OFF-CANVAS MOBILE MENU DRAWER (Screen 2 Reference)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 22, 40, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: #111a2e;
  color: #ffffff;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.drawer-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-menu-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
}

.drawer-menu-item a.active, .drawer-menu-item a:hover {
  background: rgba(245, 166, 35, 0.12);
  color: var(--accent-gold);
}

.drawer-cta-card {
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(2, 132, 199, 0.15));
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 16px;
  border-radius: 14px;
}

.drawer-cta-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.drawer-cta-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.drawer-cta-btn {
  width: 100%;
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: center;
  display: block;
}

.drawer-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  gap: 16px;
}

.drawer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 16px;
  transition: all 0.2s;
}

.drawer-social-icon:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

/* ==========================================================================
   MOBILE PERSISTENT BOTTOM NAV (Screen 1 Reference)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 990;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}

@media (min-width: 992px) {
  .bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.15s;
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.bottom-nav-item.active {
  color: var(--accent-gold-hover);
}

.bottom-nav-item.active svg {
  stroke: var(--accent-gold-hover);
}

/* ==========================================================================
   FLOATING QUICK ACTIONS (Click-to-call & WhatsApp)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 14px);
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 980;
}

@media (min-width: 992px) {
  .floating-actions {
    bottom: 24px;
    right: 24px;
  }
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #ffffff;
  font-size: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-whatsapp {
  background: #25d366;
}

.float-call {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

/* ==========================================================================
   PAGE LAYOUT & CONTAINER
   ========================================================================== */
.app-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-spacing {
  padding: 28px 0;
}

@media (min-width: 768px) {
  .section-spacing {
    padding: 44px 0;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 12px 0;
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumbs a {
  color: var(--accent-blue);
  font-weight: 500;
}

.breadcrumbs span {
  color: var(--text-light);
}

/* ==========================================================================
   IMAGE-LED INNER-PAGE HERO SYSTEM (Courses, Services, Detail Pages, etc.)
   ========================================================================== */
.inner-page-hero {
  position: relative;
  width: 100%;
  min-height: 200px;
  height: 32vh;
  max-height: 250px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 6px 0 20px 0;
  box-shadow: 0 6px 20px rgba(14, 22, 40, 0.12);
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .inner-page-hero {
    /* Full-bleed touching sides on mobile - eliminates blank boxed margins */
    width: calc(100% + 32px);
    margin: 0 -16px 18px -16px;
    border-radius: 0 0 20px 20px;
    min-height: 210px;
    height: 33vh;
    max-height: 255px;
  }
}

@media (min-width: 768px) {
  .inner-page-hero {
    border-radius: var(--radius-lg);
    margin: 12px 0 26px 0;
    min-height: 270px;
    height: 36vh;
    max-height: 330px;
    box-shadow: 0 10px 30px rgba(14, 22, 40, 0.18);
  }
}

.inner-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.inner-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.inner-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(14, 22, 40, 0.5) 0%,
    rgba(14, 22, 40, 0.65) 40%,
    rgba(14, 22, 40, 0.94) 100%
  );
  pointer-events: none;
}

.inner-hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px 16px 16px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .inner-hero-content {
    padding: 24px 32px 26px 32px;
  }
}

.inner-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: auto;
}

/* Integrated Hero Breadcrumb */
.inner-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(14, 22, 40, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.inner-hero-breadcrumb::-webkit-scrollbar {
  display: none;
}

.inner-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.15s ease;
}

.inner-hero-breadcrumb a:hover {
  color: var(--accent-gold);
}

.inner-hero-breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.inner-hero-breadcrumb .breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Inner Hero Text Area */
.inner-hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inner-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.inner-hero-kicker::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.inner-hero-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .inner-hero-title {
    font-size: 32px;
  }
}

.inner-hero-subtitle {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .inner-hero-subtitle {
    font-size: 14.5px;
  }
}

/* Detail Page Action Bar (Immediately Below Hero) */
.detail-action-bar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .detail-action-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
  }
}

.detail-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.detail-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-navy);
}

.detail-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-size: 14px;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.25);
}

.detail-primary-cta:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35);
}

/* ==========================================================================
   CONSISTENT SECTION-HEADING SYSTEM
   Micro-label / Eyebrow (11–12px uppercase, accent line, no pills)
   Single-line main heading (24–28px bold modern)
   Single-line muted subheading (13–15px)
   ========================================================================== */
.section-header {
  margin-bottom: 18px;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.section-header-main {
  min-width: 0;
  flex: 1;
}

.section-header-link {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 13px;
  padding-bottom: 2px;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.section-header-link:hover {
  color: #0284c7;
  transform: translateX(2px);
}

/* Eyebrow / Micro-Label (11–12px uppercase with letter spacing & minimal accent bar) */
.section-eyebrow,
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  margin-bottom: 5px;
  line-height: 1;
}

.section-eyebrow::before,
.section-badge::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 999px;
  flex-shrink: 0;
}

/* Centered section headers */
.section-header.text-center,
.section-header-center {
  text-align: center;
}

.section-header.text-center .section-eyebrow,
.section-header.text-center .section-badge,
.section-header-center .section-eyebrow,
.section-header-center .section-badge {
  justify-content: center;
}

.section-header.text-center .section-eyebrow::after,
.section-header.text-center .section-badge::after,
.section-header-center .section-eyebrow::after,
.section-header-center .section-badge::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 999px;
  flex-shrink: 0;
}

/* Single-Line Main Heading (24–28px, bold modern) */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(23px, 5.5vw, 25px);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 28px;
    letter-spacing: -0.025em;
  }
}

/* Single-Line Subheading (13–15px, muted) */
.section-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 14.5px;
  }
}

/* Short supporting narrative content below section headers (2–4 lines, spacious & readable) */
.section-intro-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  margin: 8px 0 16px 0;
  max-width: 720px;
}

@media (min-width: 768px) {
  .section-intro-text {
    font-size: 14.5px;
    line-height: 1.6;
    margin: 10px 0 20px 0;
  }
}

.detail-card .section-header {
  margin-bottom: 12px;
}

.detail-card .section-title {
  font-size: 18px;
}

@media (min-width: 768px) {
  .detail-card .section-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   IMAGE-LED MOBILE HERO (Touches mobile screen edges - No box)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 480px;
  height: 72vh;
  max-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

@media (max-width: 767px) {
  .hero-section {
    /* Full-bleed edge-to-edge: touches left, right, and top header with no box margins */
    width: calc(100% + 32px);
    margin: 0 -16px 20px -16px;
    border-radius: 0 0 20px 20px;
    min-height: 460px;
    height: 74vh;
    box-shadow: 0 6px 20px rgba(14, 22, 40, 0.15);
  }
}

@media (min-width: 768px) {
  .hero-section {
    border-radius: var(--radius-lg);
    margin: 16px 0 28px 0;
    box-shadow: 0 10px 25px -5px rgba(14, 22, 40, 0.2);
  }
}

.hero-image-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Natural gradient scrim: keeps image bright & clear, smoothly darkens at bottom for 100% text readability */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 22, 40, 0.08) 0%,
    rgba(14, 22, 40, 0.25) 35%,
    rgba(14, 22, 40, 0.72) 65%,
    rgba(14, 22, 40, 0.94) 100%
  );
  z-index: 2;
}

.hero-overlay-content {
  position: relative;
  z-index: 3;
  padding: 24px 20px;
  width: 100%;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-overlay-content {
    padding: 36px 32px;
    max-width: 640px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 166, 35, 0.25);
  border: 1px solid rgba(245, 166, 35, 0.5);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 38px;
  }
}

.hero-subtitle {
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.45;
  margin-bottom: 18px;
  max-width: 520px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-primary-btn {
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
  transition: all 0.2s;
}

.hero-primary-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.hero-secondary-btn {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.2s;
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   ENHANCED VALUE PILLARS (Mobile High Priority & Dedicated Desktop Grid)
   ========================================================================== */
.value-pillars-microgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px 8px 18px;
  margin: 12px 0 24px;
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(14, 22, 40, 0.04);
}

.value-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 2px;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.value-pillar-item:hover {
  transform: translateY(-3px);
}

.value-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.18) 0%, rgba(2, 132, 199, 0.12) 100%);
  border: 1.5px solid rgba(245, 166, 35, 0.35);
  color: #b45309;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.14);
  transition: all 0.25s ease;
}

.value-pillar-item:hover .value-pillar-icon {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.28) 0%, rgba(2, 132, 199, 0.22) 100%);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.24);
}

.value-pillar-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
  text-align: center;
}

@media (min-width: 768px) {
  .value-pillars-microgrid {
    gap: 20px;
    padding: 24px 20px 28px;
    margin: 16px 0 32px;
  }
  .value-pillar-icon {
    width: 68px;
    height: 68px;
    font-size: 32px;
    margin-bottom: 10px;
  }
  .value-pillar-label {
    font-size: 14px;
    line-height: 1.3;
  }
}

@media (min-width: 1024px) {
  .value-pillars-microgrid {
    gap: 32px;
    padding: 28px 36px;
  }
  .value-pillar-icon {
    width: 76px;
    height: 76px;
    font-size: 36px;
  }
  .value-pillar-label {
    font-size: 15px;
  }
}

/* ==========================================================================
   PARTNER SCHOOLS HORIZONTAL SCROLL CAROUSEL (Category-Style Rounded Badges)
   ========================================================================== */
.partner-schools-spotlight-section {
  margin: 16px 0 28px;
  padding: 24px 16px 28px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  overflow: visible;
}

.partner-schools-header {
  margin-bottom: 14px;
  text-align: center;
}

.partner-schools-header .schools-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b45309;
  margin-bottom: 6px;
  line-height: 1;
}

.partner-schools-header .schools-kicker::before,
.partner-schools-header .schools-kicker::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: #f59e0b;
  border-radius: 999px;
  flex-shrink: 0;
}

.partner-schools-header .schools-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.partner-schools-header .schools-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

/* Scroll Container Wrap with Navigation Arrows */
.schools-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 14px;
}

.schools-scroll-track {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 6px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.schools-scroll-track::-webkit-scrollbar {
  display: none;
}

/* Individual School Category Item (All Active, Large Proportions) */
.school-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 115px;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
  text-decoration: none;
}

.school-category-item:hover {
  transform: translateY(-5px);
}

.school-logo-disc {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.school-category-item:hover .school-logo-disc {
  border-color: var(--accent-gold);
  box-shadow: 0 8px 22px rgba(245, 166, 35, 0.35);
}

.school-logo-disc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.school-label-name {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.3;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 32px;
}

/* Scroll Navigation Arrows (Desktop / Tablet) */
.schools-scroll-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  font-size: 18px;
  font-weight: 800;
  user-select: none;
}

.schools-scroll-arrow:hover {
  background: var(--accent-gold);
  color: #0e1628;
  border-color: var(--accent-gold);
  transform: translateY(-50%) scale(1.08);
}

.schools-scroll-arrow.prev {
  left: -14px;
}

.schools-scroll-arrow.next {
  right: -14px;
}

@media (min-width: 768px) {
  .school-category-item {
    width: 135px;
  }
  .school-logo-disc {
    width: 104px;
    height: 104px;
    padding: 14px;
  }
  .school-label-name {
    font-size: 13px;
  }
}

/* ==========================================================================
   HOMEPAGE COURSES & SERVICES: CENTERED SECTIONS WITH LIGHT PREMIUM TINTS
   Style matching reference image: centered heading, subheading, quote block
   ========================================================================== */
.home-courses-section {
  background: #f6f8fd;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  margin-top: 28px;
  margin-bottom: 24px;
  padding: 24px 16px 28px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.025);
  position: relative;
}

.home-services-section {
  background: #f8f7fd;
  border-top: 1px solid #e5e8f2;
  border-bottom: 1px solid #e5e8f2;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  margin-top: 24px;
  margin-bottom: 28px;
  padding: 26px 16px 28px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.025);
  position: relative;
}

@media (min-width: 768px) {
  .home-courses-section,
  .home-services-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 36px;
    margin-bottom: 40px;
    padding: 38px calc((100vw - 1100px) / 2) 40px;
  }
}

/* Pencil-Art / Color Robot Decoration (Popular Courses) */
.courses-pencil-robot-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto 6px auto;
  width: 100%;
  max-width: 290px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  background: transparent;
}

.courses-pencil-robot-container.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .courses-pencil-robot-container {
    max-width: 330px;
    margin-bottom: 10px;
  }
}

.courses-pencil-robot-art {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
  background: transparent;
}

.pencil-robot-body {
  width: 100%;
  height: auto;
  max-height: 165px;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  display: block;
  mix-blend-mode: multiply;
  background: transparent;
  animation: robotGentleFloat 4s ease-in-out infinite;
}

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

/* Centered Visual Group for Courses & Services */
.section-center-group {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 22px auto;
  padding: 0 6px;
  position: relative;
  z-index: 2;
}

.section-center-group .section-title {
  font-family: var(--font-heading);
  font-size: clamp(23px, 5.5vw, 26px);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-center-group .section-subtitle {
  font-size: 13.5px;
  color: var(--accent-blue);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-center-group .section-quote-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
  font-style: italic;
  margin: 0 auto;
  max-width: 440px;
}

.section-center-group .section-quote-author {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-navy);
  font-style: normal;
  display: block;
  margin-top: 4px;
}

.popular-courses-tinted-wrap {
  background: #f6f8fd;
  margin: 18px -16px 24px;
  padding: 24px 16px 28px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.batch-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ==========================================================================
   FLOATING LAYERED TESTIMONIALS (Clean Background + Coverflow Stacked Cards)
   Center-focused Coverflow carousel with 3D stacked depth, mascot animation
   ========================================================================== */
.testimonials-mobile-section {
  position: relative;
  background: transparent;
  border: none;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 32px;
  padding: 16px 0 20px;
  overflow: visible;
}

@media (min-width: 768px) {
  .testimonials-mobile-section {
    width: 100%;
    position: relative;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 28px;
    margin-bottom: 36px;
    padding: 20px 0 24px;
  }
}

/* Floating Mascot Header Row */
.testimonials-mascot-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 8px;
  padding: 0 12px;
  position: relative;
  z-index: 2;
}

.testimonials-mascot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.testimonials-mascot-stars {
  color: #f59e0b;
  font-size: 11px;
  letter-spacing: 1px;
}

.testimonials-mascot-text {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.02em;
}

/* Floating Mascot Animation */
.testimonials-floating-robot {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  animation: floatMascot 3.2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.1));
  object-fit: contain;
}

@keyframes floatMascot {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

/* Center-Focused Coverflow Stage (Stacked Cards Layout) */
.testimonials-coverflow-stage {
  position: relative;
  width: 100%;
  height: 172px;
  margin: 6px 0 16px 0;
  perspective: 900px;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  z-index: 3;
}

@media (min-width: 768px) {
  .testimonials-coverflow-stage {
    height: 182px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Floating Coverflow Card Item (Enlarged & Roomier) */
.testimonial-card-item {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(280px, 80vw, 330px);
  height: 166px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 13px 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.44s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.44s ease,
              box-shadow 0.44s ease,
              border-color 0.35s ease;
  will-change: transform, opacity;
}

/* 1. Center Active Card (Larger, fully visible, elevated shadow) */
.testimonial-card-item.card-active {
  transform: translateX(-50%) translateZ(0) scale(1);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

/* 2. Previous Left Card (Partially visible behind on the left) */
.testimonial-card-item.card-prev {
  transform: translateX(calc(-50% - 95px)) translateZ(-45px) scale(0.85) rotateY(6deg);
  opacity: 0.42;
  z-index: 5;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

/* 3. Next Right Card (Partially visible behind on the right) */
.testimonial-card-item.card-next {
  transform: translateX(calc(-50% + 95px)) translateZ(-45px) scale(0.85) rotateY(-6deg);
  opacity: 0.42;
  z-index: 5;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

/* 4. Other cards (hidden offstage) */
.testimonial-card-item.card-hidden {
  transform: translateX(-50%) translateZ(-90px) scale(0.7);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .testimonial-card-item {
    width: 360px;
    height: 176px;
    padding: 15px 20px 14px;
  }
  .testimonial-card-item.card-prev {
    transform: translateX(calc(-50% - 150px)) translateZ(-45px) scale(0.88) rotateY(5deg);
  }
  .testimonial-card-item.card-next {
    transform: translateX(calc(-50% + 150px)) translateZ(-45px) scale(0.88) rotateY(-5deg);
  }
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.testimonial-quote-icon {
  font-size: 20px;
  line-height: 1;
  color: #7dd3fc;
  font-family: Georgia, serif;
}

/* Roomier quote text (3 clean readable lines) */
.testimonial-quote-text {
  font-size: 12.5px;
  line-height: 1.42;
  color: #334155;
  margin: 0 0 6px 0;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #f1f5f9;
  padding-top: 7px;
}

.testimonial-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonial-author-info {
  min-width: 0;
  flex: 1;
}

.testimonial-author-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
  line-height: 1.25;
}

.testimonial-author-info p {
  font-size: 11px;
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.25;
}

/* Pagination indicator dots */
.testimonials-dots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  position: relative;
  z-index: 4;
}

.testimonials-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.testimonials-dot.active {
  width: 18px;
  border-radius: 999px;
  background: #0e1628;
}


.testimonial-verified-badge {
  font-size: 10px;
  font-weight: 700;
  color: #0f766e;
  background: #ccfbf1;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
}

/* ==========================================================================
   STAT COUNTER CARDS (Screen 3 & Brochure)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 32px;
  }
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   2x2 STATISTIC CARDS (Free-standing buttons/cards - No Outer Box)
   ========================================================================== */
.edueme-stats-section {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 18px 0 24px;
  box-shadow: none;
}

@media (min-width: 768px) {
  .edueme-stats-section {
    padding: 0;
    margin: 24px 0 32px;
  }
}

.edueme-stats-shape-1,
.edueme-stats-shape-2 {
  display: none;
}

.edueme-stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 768px) {
  .edueme-stats-grid {
    gap: 16px;
  }
}

.edueme-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
}

@media (max-width: 370px) {
  .edueme-stat-card {
    padding: 11px 8px;
    gap: 7px;
  }
}

@media (min-width: 768px) {
  .edueme-stat-card {
    padding: 20px 18px;
    gap: 16px;
  }
}

.edueme-stat-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.edueme-stat-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 370px) {
  .edueme-stat-icon-wrap {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 768px) {
  .edueme-stat-icon-wrap {
    width: 50px;
    height: 50px;
  }
}

.edueme-stat-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.edueme-stat-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.edueme-stat-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #0e1628;
  line-height: 1.1;
  margin-bottom: 2px;
  letter-spacing: -0.3px;
}

@media (min-width: 768px) {
  .edueme-stat-num {
    font-size: 30px;
  }
}

.edueme-stat-label {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  line-height: 1.25;
  word-break: normal;
}

@media (max-width: 370px) {
  .edueme-stat-label {
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .edueme-stat-label {
    font-size: 13.5px;
  }
}

/* ==========================================================================
   PREMIUM MOBILE APP CARD SYSTEM (CourseCard & ServiceCard)
   Visual Hierarchy: Dominant ~60% Image / ~40% Content Balance
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
  }
}

@media (min-width: 1280px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.edueme-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.07), 0 3px 8px -2px rgba(0, 0, 0, 0.04);
  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);
  position: relative;
}

.edueme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.11), 0 6px 14px -2px rgba(0, 0, 0, 0.05);
}

/* 60% IMAGE SECTION */
.edueme-card-media-wrap {
  position: relative;
  width: 100%;
  height: 245px;
  background: #0e1628;
  overflow: hidden;
}

@media (min-width: 480px) {
  .edueme-card-media-wrap {
    height: 260px;
  }
}

.edueme-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}

.edueme-card:hover .edueme-card-img {
  transform: scale(1.03);
}

.edueme-card-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(14, 22, 40, 0.72) 0%, rgba(14, 22, 40, 0.12) 42%, rgba(14, 22, 40, 0.68) 100%);
}

/* Course Card Overlay Graphics */
.edueme-card-overlay-top {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  color: #ffffff;
}

.edueme-course-kicker {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.kicker-accent-bar {
  width: 2.5px;
  background: #38bdf8;
  border-radius: 2px;
}

.kicker-content {
  display: flex;
  flex-direction: column;
}

.kicker-type {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
  margin-bottom: 2px;
}

.kicker-heading {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.edueme-course-keywords {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 8px;
  padding-left: 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.edueme-card-overlay-bottom {
  position: absolute;
  bottom: 14px;
  left: 18px;
  z-index: 3;
}

.edueme-script-tag {
  font-style: italic;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  font-family: Georgia, 'Times New Roman', serif;
}

/* Service Card Overlay Graphics */
.edueme-service-kicker {
  display: flex;
  flex-direction: column;
}

.service-kicker-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.service-dash {
  color: #f5a623;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.service-kicker-type {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #f5a623;
}

.service-kicker-heading {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.service-kicker-tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  max-width: 210px;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.edueme-card-overlay-top-right {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  text-align: right;
}

.service-stamp-words {
  display: flex;
  flex-direction: column;
  gap: 0px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: rgba(186, 230, 253, 0.9);
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* 40% CONTENT SECTION */
.edueme-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
}

.edueme-card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: #0b192c;
  line-height: 1.25;
  margin-bottom: 6px;
}

.edueme-card-desc {
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

/* Metadata Grid */
.edueme-meta-grid {
  display: grid;
  align-items: center;
  margin-bottom: 18px;
  padding: 4px 0;
}

.meta-grid-3 {
  grid-template-columns: 1.15fr 1.35fr 1.15fr;
  gap: 2px;
}

.meta-grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.edueme-meta-col {
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  padding: 0 4px;
  min-width: 0;
}

.meta-grid-3 .edueme-meta-col + .edueme-meta-col::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #e2e8f0;
}

.edueme-meta-icon-wrap {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.edueme-meta-icon-wrap.icon-blue {
  color: #2563eb;
}

.edueme-meta-icon-wrap.icon-green {
  color: #059669;
}

.edueme-meta-icon-wrap.icon-purple {
  color: #7c3aed;
}

.service-meta-col {
  gap: 10px;
}

.meta-grid-2 .service-meta-col + .service-meta-col::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #e2e8f0;
}

.service-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ea580c;
  flex-shrink: 0;
}

.edueme-meta-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.edueme-meta-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.meta-grid-2 .edueme-meta-val {
  font-size: 13px;
}

.edueme-meta-lbl {
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-grid-2 .edueme-meta-lbl {
  font-size: 11px;
}

/* Action Row (Buttons) */
.edueme-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.edueme-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 13px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
}

.btn-course {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
}

.btn-course:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.38);
  color: #ffffff;
}

.btn-service {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
}

.btn-service:hover {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.38);
  color: #ffffff;
}

.edueme-bookmark-btn {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.bookmark-course {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
}

.bookmark-course:hover {
  background: #dbeafe;
  border-color: #bfdbfe;
}

.bookmark-course.saved {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
}

.bookmark-service {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  color: #ea580c;
}

.bookmark-service:hover {
  background: #ffedd5;
  border-color: #fed7aa;
}

.bookmark-service.saved {
  background: #ea580c;
  border-color: #c2410c;
  color: #ffffff;
}

/* Compatibility alias for existing .item-card */
.item-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px -3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.1);
}

.card-img-wrap {
  position: relative;
  height: 180px;
  background: #e2e8f0;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(14, 22, 40, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.3;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-btn {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 13px;
  padding: 9px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.card-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-navy);
}

/* Filter pills (Screen 4 & Screen 10) */
.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.filter-pill.active, .filter-pill:hover {
  background: var(--primary-navy);
  border-color: var(--primary-navy);
  color: #ffffff;
}

/* Search Box */
.search-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s;
}

.search-input:focus {
  border-color: var(--accent-blue);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 16px;
}

/* ==========================================================================
   DETAIL PAGES (Course Detail, Service Detail, Sub-Service Detail)
   ========================================================================== */
.detail-hero {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.detail-img-wrap {
  height: 220px;
  background: #e2e8f0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .detail-img-wrap {
    height: 320px;
  }
}

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

.detail-header-body {
  padding: 20px;
}

@media (min-width: 768px) {
  .detail-header-body {
    padding: 28px;
  }
}

.detail-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .detail-title {
    font-size: 28px;
  }
}

.detail-tagline {
  font-size: 14px;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 14px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.detail-badge-pill {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-navy);
}

.detail-cta-btn {
  width: 100%;
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 800;
  font-size: 15px;
  padding: 13px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
  transition: all 0.2s;
}

.detail-cta-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

@media (min-width: 640px) {
  .detail-cta-btn {
    width: auto;
    display: inline-flex;
    padding: 12px 28px;
  }
}

.detail-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.detail-card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  line-height: 1.45;
}

.check-icon {
  color: #10b981;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   UNIFIED ENQUIRY FORM & CONTACT SCREEN (Screen 8 & 9 Reference)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.enquiry-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

/* Enquiry Tab Selector (Course Enquiry | Service Enquiry) */
.enquiry-tabs {
  display: flex;
  background: var(--bg-main);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  border: 1px solid var(--border-color);
}

.enquiry-tab-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.enquiry-tab-btn.active {
  background: #ffffff;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.form-label .req {
  color: #ef4444;
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

.submit-btn {
  width: 100%;
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 800;
  font-size: 15px;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.submit-btn:hover {
  background: var(--accent-gold-hover);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Contact Info Card */
.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.contact-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-item-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-top: 2px;
}

.contact-item-val a:hover {
  color: var(--accent-blue);
}

.action-buttons-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.action-btn {
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: 1px solid transparent;
}

.action-btn-call {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.action-btn-wa {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

.action-btn-email {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

/* ==========================================================================
   GALLERY LIGHTBOX & GRID (Screen 10 Reference)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 160px;
  background: #e2e8f0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.gallery-card:hover {
  transform: scale(1.02);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
}

/* ==========================================================================
   TEAM MEMBERS (About Us Page)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 520px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 860px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: 0 8px 24px rgba(14, 22, 40, 0.08);
}

.leader-logo-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(245, 166, 35, 0.35);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin: 0 auto 12px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.team-card:hover .leader-logo-wrap {
  transform: scale(1.05);
  border-color: #f5a623;
}

.school-logo-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--accent-gold-soft);
  display: block;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.team-role {
  font-size: 12px;
  color: var(--accent-blue);
  font-weight: 600;
  line-height: 1.35;
}

.team-bio {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.app-footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 40px 0 24px;
  font-size: 13px;
  margin-top: 40px;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.footer-desc {
  line-height: 1.5;
  color: #cbd5e1;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

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

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   EMPTY STATES & ALERTS
   ========================================================================== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.empty-state-icon {
  font-size: 40px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.empty-state-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-navy);
}

.empty-state-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Status Badges */
.status-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-new {
  background: var(--status-new-bg);
  color: var(--status-new-text);
}

.status-contacted {
  background: var(--status-contacted-bg);
  color: var(--status-contacted-text);
}

.status-converted {
  background: var(--status-converted-bg);
  color: var(--status-converted-text);
}

.status-active {
  background: #dcfce7;
  color: #166534;
}

.status-inactive {
  background: #f1f5f9;
  color: #64748b;
}

/* Notification Toast */
.toast-msg {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #0e1628;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  border-left: 4px solid var(--accent-gold);
  z-index: 3000;
  display: none;
  animation: slideInToast 0.25s ease forwards;
}

@keyframes slideInToast {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   NURTURED SKILLS SECTION (Exact Match to Reference Image 1)
/* ==========================================================================
   NURTURED SKILLS (Static 4-Card Grid - Clean In-Container Layout)
   ========================================================================== */
.nurtured-skills-reference-section {
  position: relative;
  background: linear-gradient(175deg, #f5f0ff 0%, #ede5fd 50%, #e8ddfb 100%);
  border-radius: 24px;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 32px;
  padding: 26px 18px 24px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .nurtured-skills-reference-section {
    padding: 32px 28px 28px;
    margin: 32px 0 38px;
    border-radius: 28px;
  }
}

@media (min-width: 992px) {
  .nurtured-skills-reference-section {
    padding: 36px 36px 32px;
    margin: 36px 0 44px;
  }
}

/* Decorative wave in bottom-left */
.nurtured-decor-wave {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 240px;
  height: 200px;
  pointer-events: none;
  z-index: 1;
}

/* Header & Robot Row */
.nurtured-header-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nurtured-header-text {
  flex: 1;
  max-width: 480px;
}

.nurtured-kicker {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #63559c;
  text-transform: uppercase;
  display: block;
}

.nurtured-kicker-bar {
  width: 36px;
  height: 4px;
  background: #a594e0;
  border-radius: 999px;
  margin: 6px 0 10px;
}

.nurtured-subtitle {
  font-size: 14px;
  line-height: 1.48;
  color: #55627a;
  font-weight: 500;
  margin: 0;
}

@media (min-width: 768px) {
  .nurtured-subtitle {
    font-size: 15.5px;
  }
}

/* Robot Character Wrap */
.nurtured-robot-wrap {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 4;
}

@media (min-width: 768px) {
  .nurtured-robot-wrap {
    width: 140px;
  }
}

.nurtured-sparks-robot {
  position: absolute;
  top: -10px;
  left: 14px;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.nurtured-robot-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(99, 85, 156, 0.16));
}

/* Static 4-Card Grid System */
.nurtured-static-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 580px) {
  .nurtured-static-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .nurtured-static-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.nurtured-static-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 20px 20px;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(139, 92, 246, 0.14);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nurtured-static-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.12);
  border-color: rgba(139, 92, 246, 0.35);
}

.nurtured-static-card .nurtured-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.nurtured-static-card .nurtured-step-counter {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.nurtured-static-card .nurtured-step-current {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #2b2158;
}

.nurtured-static-card .nurtured-step-total {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.nurtured-static-card .nurtured-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nurtured-static-card .nurtured-card-title {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.nurtured-static-card .nurtured-card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #55627a;
  margin: 0;
  flex: 1;
}

/* ==========================================================================
   COHESIVE PREMIUM MOTION SYSTEM
   ========================================================================== */

/* 1. Scroll-Triggered Reveal Classes */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger, 0) * 95ms);
  will-change: transform, opacity;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger, 0) * 95ms);
  will-change: transform, opacity;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger, 0) * 95ms);
  will-change: transform, opacity;
}

.reveal-item.is-revealed,
.reveal-left.is-revealed,
.reveal-right.is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* 2. Image Reveal (Fade + Subtle Scale) */
.reveal-img {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger, 0) * 80ms);
  will-change: transform, opacity;
}

.reveal-img.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* 3. Micro-Interactions: Cards & Elements */
.item-card,
.stat-card,
.edueme-stat-card,
.team-card,
.detail-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

.item-card:hover,
.stat-card:hover,
.edueme-stat-card:hover,
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
}

.item-card:active,
.stat-card:active,
.edueme-stat-card:active,
.team-card:active {
  transform: translateY(-1px) scale(0.99);
}

/* Gallery Card Hover & Reveal Interaction */
.gallery-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s ease;
  overflow: hidden;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(2, 132, 199, 0.22);
}

.gallery-card img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.03);
}

/* Value Pillar Micro-Grid Interaction */
.value-pillar-item {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              border-color 0.2s ease;
}

.value-pillar-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
}

.value-pillar-item:active {
  transform: scale(0.98);
}

/* 4. Micro-Interactions: Buttons */
.header-cta-btn,
.hero-primary-btn,
.hero-secondary-btn,
.card-btn,
.detail-primary-cta,
.hamburger-btn,
.submit-btn,
.search-btn {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s ease,
              background-color 0.2s ease,
              color 0.2s ease;
}

.header-cta-btn:hover,
.hero-primary-btn:hover,
.detail-primary-cta:hover,
.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
}

.hero-secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.header-cta-btn:active,
.hero-primary-btn:active,
.hero-secondary-btn:active,
.card-btn:active,
.detail-primary-cta:active,
.hamburger-btn:active {
  transform: translateY(0) scale(0.97);
}

/* 5. Accessibility & Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-item,
  .reveal-left,
  .reveal-right,
  .reveal-img,
  .courses-pencil-robot-container {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .pencil-robot-hand {
    animation: none !important;
    transform: none !important;
  }

  .testimonials-floating-robot {
    animation: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   FREE ONE-DAY WORKSHOP AD BANNER (Home Page - Increased Width for High Impact)
   ========================================================================== */
.workshop-ad-banner-section {
  margin: 16px auto 28px;
  max-width: 1060px;
  padding: 0 12px;
}

@media (min-width: 768px) {
  .workshop-ad-banner-section {
    margin: 22px auto 36px;
    padding: 0 16px;
  }
}

@media (min-width: 1200px) {
  .workshop-ad-banner-section {
    padding: 0;
  }
}

.workshop-ad-banner-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(14, 22, 40, 0.12);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  background: #ffffff;
}

.workshop-ad-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(14, 22, 40, 0.18);
}

.workshop-ad-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .workshop-ad-banner-img {
    aspect-ratio: 21 / 9;
    max-height: 380px;
  }
}

/* ==========================================================================
   CLEAN PHOTO-GRID EVENTS SYSTEM (Simple 2-Line Caption, No Badges)
   ========================================================================== */
.events-clean-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .events-clean-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1100px) {
  .events-clean-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.event-photo-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 10px rgba(14, 22, 40, 0.04);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.event-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14, 22, 40, 0.12);
}

.event-photo-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0e1628;
  overflow: hidden;
}

.event-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.event-photo-caption {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #ffffff;
}

.event-caption-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.event-caption-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   DEDICATED EVENT DETAIL PAGE (/events/:slug)
   ========================================================================== */
.event-detail-container {
  padding: 20px 0 40px;
}

.event-detail-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(14, 22, 40, 0.04);
  padding: 20px 18px 28px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .event-detail-card {
    padding: 32px 30px 36px;
  }
}

.event-detail-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.event-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.event-detail-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--text-main);
}

.event-detail-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Multi-Image Event Gallery Grid */
.event-gallery-section-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 20px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   DEDICATED EVENT SINGLE FEATURED IMAGE (70% Proportions)
   ========================================================================== */
.event-featured-hero-wrap {
  width: 100%;
  margin-bottom: 22px;
}

.event-single-main-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(14, 22, 40, 0.08);
  border: 1px solid var(--border-color);
  display: block;
  cursor: pointer;
  background: #0e1628;
  transition: transform 0.25s ease;
}

.event-single-main-img:hover {
  transform: scale(1.008);
}

.event-thumbs-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.event-thumb-btn {
  width: 76px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #0e1628;
  padding: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.event-thumb-btn:hover {
  transform: translateY(-2px);
}

.event-thumb-btn.active {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.3);
}

.event-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Event Story / Description */
.event-description-text {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  white-space: pre-line;
  margin-bottom: 24px;
}

.event-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   DEDICATED DESKTOP UI DESIGN SYSTEM (min-width: 992px)
   Elevates widescreen desktop experience to a world-class education portal.
   Does NOT alter mobile styles.
   ========================================================================== */
@media (min-width: 992px) {
  /* 1. Desktop Container & Layout */
  .app-container {
    max-width: 1260px;
    padding: 0 28px;
  }

  .section-title {
    font-size: 32px;
    letter-spacing: -0.025em;
  }

  .section-subtitle {
    font-size: 15.5px;
  }

  .section-intro-text {
    font-size: 15px;
    line-height: 1.65;
    max-width: 780px;
  }

  /* 2. Desktop Hero Banner */
  .hero-section {
    min-height: 500px;
    height: 520px;
    max-height: 540px;
    border-radius: 24px;
    margin: 18px 0 32px 0;
    box-shadow: 0 12px 36px rgba(14, 22, 40, 0.18);
  }

  .hero-overlay-content {
    max-width: 740px;
    padding: 48px 44px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 5px 14px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 40px;
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 16.5px;
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 620px;
  }

  .hero-actions {
    gap: 16px;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    padding: 13px 26px;
    font-size: 14.5px;
  }

  /* 3. Desktop Value Pillars Horizontal Bar */
  .value-pillars-microgrid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 18px 24px;
    margin: 16px 0 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
  }

  .value-pillar-item {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: left;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .value-pillar-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
  }

  .value-pillar-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .value-pillar-label {
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    line-height: 1.25;
  }

  /* 4. Desktop Workshop Ad Banner */
  .workshop-ad-banner-section {
    max-width: 100%;
    margin: 20px 0 36px;
    padding: 0;
  }

  .workshop-ad-banner-card {
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(14, 22, 40, 0.12);
  }

  .workshop-ad-banner-img {
    aspect-ratio: 24 / 9;
    max-height: 360px;
    object-fit: cover;
  }

  /* 5. Desktop Popular Courses & 3-Column Course Grid */
  .cards-grid,
  .home-courses-section .cards-grid,
  .home-services-section .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 100%;
    margin: 0;
  }

  .edueme-card {
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  }

  .edueme-card-media-wrap {
    height: 235px;
  }

  /* 6. Desktop 4-Column Stats Strip */
  .edueme-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .edueme-stat-card {
    padding: 22px 20px;
    gap: 16px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  }

  .edueme-stat-num {
    font-size: 32px;
  }

  .edueme-stat-label {
    font-size: 13.5px;
  }

  /* 7. Desktop 3-Column Side-by-Side Testimonials Showcase */
  .testimonials-mobile-section {
    margin: 32px 0 40px;
    padding: 24px 0 28px;
  }

  .testimonials-mascot-row {
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 4px;
  }

  .testimonials-coverflow-stage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    height: auto;
    perspective: none;
    position: static;
    max-width: 100%;
    margin: 0;
  }

  .testimonial-card-item {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 210px !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 18px 20px 16px !important;
  }

  .testimonial-card-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1) !important;
    border-color: #cbd5e1 !important;
  }

  .testimonials-dots-wrap {
    display: none !important;
  }

  /* 8. Desktop Nurtured Skills Section */
  .nurtured-skills-reference-section {
    padding: 40px 44px;
    margin: 36px 0 44px;
    border-radius: 28px;
  }

  /* 9. Desktop Inner Page Heroes (About Us, Courses, Services, Events, Contact) */
  .inner-page-hero {
    height: 380px;
    max-height: 420px;
    border-radius: 24px;
    margin: 16px 0 36px 0;
  }

  .hero-content-pill {
    max-width: 720px;
    padding: 36px 44px;
  }

  .hero-content-pill h1 {
    font-size: 38px;
  }

  .hero-content-pill p {
    font-size: 16px;
    line-height: 1.55;
  }

  /* 10. Desktop Team & Events Grids */
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .events-clean-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1280px) {
  .app-container {
    max-width: 1320px;
    padding: 0 32px;
  }

  .hero-section {
    height: 540px;
    max-height: 580px;
  }

  .cards-grid,
  .home-courses-section .cards-grid,
  .home-services-section .cards-grid {
    gap: 32px;
  }
}

/* ==========================================================================
   ABOUT STORY CARD WITH CLEAN EDUEME "e" LOGO
   ========================================================================== */
.about-story-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-story-text {
  flex: 1 1 auto;
}

.about-story-emblem-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px auto 0 auto;
  width: 100%;
  max-width: 180px;
}

.about-story-emblem-img {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(245, 166, 35, 0.28));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  user-select: none;
}

.about-story-emblem-img:hover {
  transform: translateY(-4px) scale(1.05) rotate(2deg);
  filter: drop-shadow(0 14px 30px rgba(245, 166, 35, 0.38));
}

@media (min-width: 860px) {
  .about-story-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-right: 0;
  }

  .about-story-text {
    flex: 1 1 65%;
    max-width: 780px;
    min-width: 0;
  }

  .about-story-emblem-wrap {
    flex: 1 1 35%;
    width: auto;
    max-width: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about-story-emblem-img {
    max-width: 215px;
  }
}




