/* ==========================================================================
   ECUBE Landing Page Stylesheet
   Exact fidelity matching Resources/E-cube/landing.png & banner.png
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header & Navigation
   -------------------------------------------------------------------------- */
.ecube-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--trans-fast);
}

.ecube-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-hex {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #1e293b;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.8px;
  margin-top: 3px;
}

/* Desktop Nav Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--trans-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #1e293b;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-coral);
  border-radius: 4px;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-login {
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-teal);
  background: transparent;
  border: 1.5px solid var(--primary-teal);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-login:hover {
  background: var(--primary-teal-light);
  transform: translateY(-1px);
}

.btn-signup {
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary-teal);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-teal-glow);
  transition: all var(--trans-fast);
}

.btn-signup:hover {
  background: var(--primary-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--primary-teal-glow);
}

/* Mobile Hamburger Button */
.mobile-hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #1e293b;
  cursor: pointer;
  transition: all var(--trans-fast);
  padding: 0;
  flex-shrink: 0;
}

.mobile-hamburger-btn svg {
  pointer-events: none;
}

.mobile-hamburger-btn:hover,
.mobile-hamburger-btn:active {
  background: var(--primary-teal-light);
  color: var(--primary-teal);
  border-color: var(--primary-teal);
}

/* Mobile Drawer Overlay & Sidebar */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 84%;
  max-width: 330px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
  z-index: 100001;
  pointer-events: auto;
}

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

.drawer-header {
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.drawer-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.drawer-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  transition: all var(--trans-fast);
}

.drawer-link svg {
  color: #94a3b8;
  transition: color var(--trans-fast);
}

.drawer-link:hover,
.drawer-link.active {
  background: #f0fdfa;
  color: var(--primary-teal);
}

.drawer-link:hover svg,
.drawer-link.active svg {
  color: var(--primary-teal);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.btn-drawer-login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-teal);
  background: #ffffff;
  border: 1.5px solid var(--primary-teal);
  text-align: center;
}

.btn-drawer-signup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary-teal);
  box-shadow: 0 4px 12px var(--primary-teal-glow);
  text-align: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-main);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   2. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4.5rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(0, 168, 150, 0.05) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 2.5rem;
}

/* Hero Content */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1.1rem;
  background-color: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 168, 150, 0.2);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

.hero-title .highlight-blue {
  color: #0284c7;
}

.hero-title .highlight-coral {
  color: #f43f5e;
}

.hero-title .highlight-gradient {
  background: var(--grad-rainbow-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-title .typing-cursor {
  display: inline-block;
  color: #f59e0b;
  font-weight: 300;
  margin-left: 2px;
  animation: ecubeBlinkCursor 0.85s infinite ease-in-out;
  vertical-align: baseline;
}

@keyframes ecubeBlinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

/* Hero Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary-teal);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(0, 168, 150, 0.3);
  transition: all var(--trans-smooth);
}

.btn-hero-primary:hover {
  background: var(--primary-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 168, 150, 0.4);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0284c7;
  background: #ffffff;
  border: 1.5px solid #bae6fd;
  border-radius: var(--radius-sm);
  transition: all var(--trans-smooth);
}

.btn-hero-secondary:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  transform: translateY(-2px);
}

/* Hero Trust Avatars */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  margin-left: -10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.35;
}

.trust-text strong {
  color: #f43f5e;
  font-weight: 700;
}

/* Hero Visual & Floating Cards */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.hero-banner-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-img-main {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
  transition: transform var(--trans-smooth);
}

.hero-banner-card:hover .hero-img-main {
  transform: scale(1.01);
}

/* Floating Glass Cards */
.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  animation: floatAnim 4s ease-in-out infinite;
  z-index: 10;
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.floating-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.floating-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.floating-info p {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

/* Position Floating Cards */
.card-top-right {
  top: 5%;
  right: -3%;
  animation-delay: 0s;
}

.card-mid-right {
  top: 30%;
  right: -5%;
  animation-delay: 1s;
}

.card-lower-right {
  top: 55%;
  right: -4%;
  animation-delay: 2s;
}

.card-bottom-right {
  top: 78%;
  right: -2%;
  animation-delay: 3s;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* --------------------------------------------------------------------------
   3. Key Feature Badges Bar
   -------------------------------------------------------------------------- */
.feature-badges-section {
  padding: 1.5rem 0 3.5rem 0;
}

.feature-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-badge-card {
  background: var(--bg-card);
  padding: 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--trans-smooth);
}

.feature-badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1), 0 4px 10px rgba(0, 168, 150, 0.08);
  border-color: #cbd5e1;
}

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

.badge-icon-box.pink {
  background: var(--accent-coral-light);
  color: var(--accent-coral);
}

.badge-icon-box.blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
}

.badge-icon-box.purple {
  background: var(--accent-purple-light);
  color: var(--accent-purple);
}

.badge-icon-box.teal {
  background: var(--primary-teal-light);
  color: var(--primary-teal);
}

.badge-content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}

.badge-content p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   4. Services Grid (6 Cards)
   -------------------------------------------------------------------------- */
.services-section {
  padding: 3rem 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 2.25rem 1.15rem 2rem 1.15rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all var(--trans-smooth);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.13), 0 6px 16px rgba(0, 168, 150, 0.1);
  border-color: #cbd5e1;
}

.service-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform var(--trans-smooth);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08);
}

.service-card.s1 .service-icon-wrap {
  background: #fff4eb;
  color: #ea580c;
}

.service-card.s2 .service-icon-wrap {
  background: #eef6ff;
  color: #0284c7;
}

.service-card.s3 .service-icon-wrap {
  /* background: #fff5f0; */
  background: #fdefe3;
  color: #c2410c;
}

.service-card.s4 .service-icon-wrap {
  background: #dbf1e3;
  color: #16a34a;
}

.service-card.s5 .service-icon-wrap {
  background: #f6edfc;
  color: #8b5cf6;
}

.service-card.s6 .service-icon-wrap {
  background: #fef1f8;
  color: #ec4899;
}

.service-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-desc {
  font-size: 0.825rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: gap var(--trans-fast);
  margin-top: auto;
}

.service-card.s1 .service-link {
  color: #f43f5e;
}

.service-card.s2 .service-link {
  color: #0284c7;
}

.service-card.s3 .service-link {
  color: #ea580c;
}

.service-card.s4 .service-link {
  color: #16a34a;
}

.service-card.s5 .service-link {
  color: #8b5cf6;
}

.service-card.s6 .service-link {
  color: #f43f5e;
}

.service-card:hover .service-link {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   5. Stats Ribbon (Floating Gradient Card with Dividers)
   -------------------------------------------------------------------------- */
.stats-ribbon-section {
  padding: 0.5rem 0 0.5rem 0;
  background: transparent;
}

.stats-ribbon-card {
  background: var(--grad-stats-bar);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.2), 0 4px 12px rgba(244, 63, 94, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0.5rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-item:last-child {
  border-right: none;
}

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

.stat-icon img {
  max-width: 46px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.stat-info h3 {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2px;
  color: #ffffff;
}

.stat-info p {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   6. How It Works (01 to 06 Steps)
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.steps-timeline-wrap {
  position: relative;
  margin-top: 3.5rem;
}

.steps-timeline-wrap::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: repeating-linear-gradient(to right, #cbd5e1 0, #cbd5e1 6px, transparent 6px, transparent 12px);
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
}

.step-card:hover .step-circle {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--primary-teal);
  box-shadow: 0 10px 20px var(--primary-teal-glow);
}

.step-num {
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.step-num.c1 {
  color: #f43f5e;
}

.step-num.c2 {
  color: #0284c7;
}

.step-num.c3 {
  color: #f97316;
}

.step-num.c4 {
  color: #00a896;
}

.step-num.c5 {
  color: #8b5cf6;
}

.step-num.c6 {
  color: #ec4899;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   7. Testimonials Carousel (What Parents Say)
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 3rem 0 3rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.testimonials-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 4px 20px 4px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.testimonials-track.active-drag {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 300px;
  scroll-snap-align: start;
  background: #ffffff;
  /* border: 1px solid #f1f5f9; */
  border: 1px solid #cfd3d6;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: all var(--trans-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1), 0 6px 14px rgba(0, 168, 150, 0.08);
  border-color: #e2e8f0;
}

.quote-mark {
  margin-bottom: 0.85rem;
  display: inline-block;
}

.testimonial-text {
  font-size: 0.925rem;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  font-style: normal;
  min-height: 66px;
}

.star-rating {
  color: #f59e0b;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  display: flex;
  gap: 3px;
}

.star-rating span {
  color: #f59e0b;
}

.parent-info-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #f8fafc;
  padding-top: 1.25rem;
}

.parent-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.parent-details h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.parent-details p {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

/* Carousel Dots Indicator */
.carousel-dots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
}

.dot-btn.active {
  width: 28px;
  border-radius: 6px;
  background: #f43f5e;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.35);
}

@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 100%;
    padding: 1.75rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   8. Ready CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 2.5rem 0 0rem 0;
}

.cta-banner-card {
  background: linear-gradient(90deg, #00a896 0%, #0284c7 35%, #8b5cf6 70%, #f43f5e 100%);
  /* border-radius: 24px;  */
  border-radius: 24px 24px 0px 0px;
  padding: 3rem 300px 3rem 4rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.22), 0 8px 20px rgba(244, 63, 94, 0.15);
  gap: 2rem;
}

.cta-text-content {
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.cta-text-content h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.cta-text-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.cta-action-wrap {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #039eaa;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all var(--trans-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-cta-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  color: #008071;
}

.cta-arrow-visual {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.cta-arrow-img {
  height: 85%;
  max-height: 170px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: transform var(--trans-smooth);
}

.cta-banner-card:hover .cta-arrow-img {
  transform: scale(1.05) translate(-3px, -2px);
}

/* --------------------------------------------------------------------------
   10. Promotional Popup Banner Modal (Onload)
   -------------------------------------------------------------------------- */
.ecube-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
}

.ecube-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ecube-modal-container {
  position: relative;
  max-width: 650px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: scale(0.88) translateY(15px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.ecube-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--trans-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ecube-modal-close:hover {
  background: #f43f5e;
  border-color: #ffffff;
  transform: scale(1.1) rotate(90deg);
}

.ecube-modal-body {
  display: block;
  line-height: 0;
}

.ecube-modal-link {
  display: block;
  cursor: pointer;
}

.ecube-modal-banner-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}
.ecube-footer {
  background: var(--dark-navy);
  color: #cbd5e1;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 1.25rem 0 1.75rem 0;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--trans-fast);
}

.social-icon-btn:hover {
  background: var(--primary-teal);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.footer-links-list li {
  margin-bottom: 0.85rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: all var(--trans-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .floating-stat-card {
    transform: scale(0.85);
    right: 0 !important;
  }

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

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .steps-timeline-wrap::before {
    display: none;
  }

  .stats-ribbon-card {
    padding: 1.75rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
  }

  .stat-item {
    border-right: none;
    padding: 0;
  }

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

@media (max-width: 1100px) and (min-width: 769px) {
  .cta-banner-card {
    padding: 2.75rem 160px 2.75rem 2.5rem;
  }

  .cta-arrow-img {
    max-height: 125px;
  }
}

@media (max-width: 768px) {
  .ecube-header {
    padding: 0.75rem 0;
  }

  .header-inner {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand-icon-hex {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.35rem;
    letter-spacing: 1px;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.4px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: none;
  }

  .header-actions {
    gap: 0.6rem;
    display: flex;
    align-items: center;
  }

  .btn-login {
    display: none !important; /* Hidden on mobile view as requested */
  }

  .btn-signup {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    white-space: nowrap;
  }

  .mobile-hamburger-btn {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .floating-stat-card {
    display: none;
  }

  .feature-badges-grid {
    grid-template-columns: 1fr;
  }

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

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

  .stats-ribbon-section {
    padding: 0.5rem 0 1rem 0;
  }

  .stats-ribbon-card {
    padding: 1.5rem 1.1rem;
    border-radius: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .stat-item {
    border-right: none;
    justify-content: flex-start;
    padding: 0;
    gap: 10px;
  }

  .stat-item:last-child {
    grid-column: span 2;
    justify-content: center;
  }

  .stat-icon {
    width: 42px;
    height: 42px;
  }

  .stat-icon img {
    max-width: 40px;
    max-height: 40px;
  }

  .stat-info h3 {
    font-size: 1.4rem;
  }

  .stat-info p {
    font-size: 0.76rem;
    white-space: normal;
    line-height: 1.2;
  }

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

  .cta-banner-card {
    flex-direction: column;
    padding: 2.25rem 1.5rem;
    text-align: center;
    gap: 1.5rem;
  }

  .cta-arrow-visual {
    display: none;
  }

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

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.22rem;
  }

  .brand-tagline {
    font-size: 0.52rem;
  }

  .btn-signup {
    padding: 0.45rem 0.95rem;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .stats-ribbon-card {
    padding: 1.25rem 0.85rem;
    border-radius: 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.5rem;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
  }

  .stat-icon img {
    max-width: 34px;
    max-height: 34px;
  }

  .stat-info h3 {
    font-size: 1.22rem;
  }

  .stat-info p {
    font-size: 0.72rem;
  }
}

@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    gap: 3px;
  }

  .mobile-nav-item.active,
  .mobile-nav-item:hover {
    color: var(--primary-teal);
  }

  .mobile-nav-item svg {
    width: 22px;
    height: 22px;
  }

  body {
    padding-bottom: 70px;
    /* Space for bottom nav */
  }
}