/* =============================
   WOW / ANIMATION EXTRAS
   ============================= */

/* Floating hero image */
@keyframes float-hero {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* Pulse glow on badges */
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,181,181,0.30); }
  50%       { box-shadow: 0 0 0 10px rgba(26,181,181,0); }
}

/* Shimmer sweep */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* Gentle spin for decorative elements */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Card lift glow */
.course-card,
.feature-card,
.price-card,
.article-card,
.subject-card,
.step-card,
.testi-card,
.contact-info-card {
  will-change: transform, box-shadow;
}

.course-card:hover  { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(10,140,140,0.18); }
.article-card:hover { transform: translateY(-7px); box-shadow: 0 18px 42px rgba(10,140,140,0.15); }

/* Hero image floating */
.hero-img { animation: float-hero 5s ease-in-out infinite; }

/* Section badge pulse */
.section-badge,
.ol-badge,
.pricing-badge,
.article-badge,
.ts-badge,
.fc-badge,
.hero-badge {
  animation: badge-pulse 3s ease-in-out infinite;
}

/* Shimmer effect on CTA buttons on hover */
.btn-hero-primary,
.btn-nav-cta,
.btn-footer-cta,
.btn-explore-courses {
  background-size: 200% auto;
  background-image: linear-gradient(135deg, var(--orange) 0%, #ffcc60 40%, var(--orange) 60%, var(--orange-hover) 100%);
  transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover,
.btn-nav-cta:hover,
.btn-footer-cta:hover,
.btn-explore-courses:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.45);
}

/* Plan CTA button hover lift */
.btn-plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10,140,140,0.28);
}

/* Stat number pop */
.stat-number {
  transition: color 0.3s ease, transform 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--cyan-accent);
  transform: scale(1.06);
}

/* Pricing featured card subtle glow */
.price-card--featured {
  box-shadow: 0 12px 50px rgba(10,140,140,0.22);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.price-card--featured:hover {
  box-shadow: 0 20px 64px rgba(10,140,140,0.35);
  transform: translateY(-6px) scale(1.01);
}

/* Filter button active glow */
.filter-btn.active {
  box-shadow: 0 4px 16px rgba(10,140,140,0.35);
}

/* Testimonial card hover */
.ts-card {
  transition: box-shadow 0.3s ease;
}

.ts-card:hover {
  box-shadow: 0 18px 48px rgba(10,30,50,0.16);
}

/* Subject card icon ring spin on hover */
.subject-card:hover .subject-icon {
  animation: spin-slow 2s linear infinite;
}

/* Ripple on buttons */
.btn-hero-primary,
.btn-nav-cta,
.btn-footer-cta,
.btn-plan,
.btn-explore-courses,
.btn-learn-more {
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after,
.btn-nav-cta::after,
.btn-footer-cta::after,
.btn-plan::after,
.btn-explore-courses::after,
.btn-learn-more::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-hero-primary:hover::after,
.btn-nav-cta:hover::after,
.btn-footer-cta:hover::after,
.btn-plan:hover::after,
.btn-explore-courses:hover::after,
.btn-learn-more:hover::after {
  transform: translateX(0);
}

/* Step card number glow */
.step-num {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(10,140,140,0.45);
}

/* Contact icon bounce on hover */
@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-5px); }
  70%       { transform: translateY(-2px); }
}

.contact-info-card:hover .contact-icon {
  animation: icon-bounce 0.55s ease;
}

/* Testi card quote mark */
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(10,140,140,0.07);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testi-card { position: relative; }

/* Inner hero title reveal underline */
.inner-hero-title {
  position: relative;
  display: inline-block;
}

.inner-hero-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.6s ease 0.5s;
}

[data-aos].aos-animate .inner-hero-title::after,
.inner-hero-title::after {
  width: 60px;
}

/* =============================
   ROOT VARIABLES
   ============================= */
:root {
  --navy: #0c1f35;
  --teal: #0a8c8c;
  --teal-dark: #0C5B72;
  --teal-light: #1ab5b5;
  --cyan-accent: #1adede;
  --orange: #f5a623;
  --orange-hover: #e09410;
  --white: #ffffff;
  --text-light: rgba(255, 255, 255, 0.85);
  --nav-link: #2d3748;
  --nav-link-hover: #0a8c8c;
}

/* =============================
   GLOBAL
   ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  overflow-x: hidden;
  font-size: 1.05rem;
}

/* =============================
   NAVBAR
   ============================= */
.navbar {
  background: var(--white) !important;
  padding: 14px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.9rem;
  font-weight: 800;
  color:#0C5B72;
  letter-spacing: -0.5px;
  padding: 0;
}

.nav-logo {
  height: 48px;
  width: auto;
  display: block;
  max-width: none;
}

.navbar-brand span {
  color: var(--teal-light);
}

.nav-link {
  color: var(--nav-link) !important;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--nav-link-hover) !important;
}

.navbar-nav {
  gap: 2px;
}

/* Phone */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--nav-link);
  text-decoration: none;
  white-space: nowrap;
  margin-right: 16px;
}

.nav-phone:hover {
  color: var(--teal);
}

.phone-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 140, 140, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-icon svg {
  width: 15px;
  height: 15px;
  fill: var(--teal);
}

/* Student account link/dropdown */
.nav-student-account {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--nav-link);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 4px;
}

.nav-student-account:hover {
  color: var(--teal);
}

.nav-student-account i {
  font-size: 1.2rem;
  color: var(--teal);
}

.nav-student-account.dropdown-toggle::after {
  margin-left: 4px;
}

/* Nav CTA button */
.btn-nav-cta {
  background: #0C5B72;
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  padding: 11px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
  display: inline-block;
}

.btn-nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* Hamburger */
.navbar-toggler {
  border: 2px solid var(--teal);
  border-radius: 8px;
  padding: 6px 10px;
  outline: none;
  box-shadow: none !important;
  background: transparent;
  transition: background 0.2s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:hover,
.navbar-toggler[aria-expanded="true"] {
  background: rgba(10,140,140,0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(13,107,107,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.3em;
  height: 1.3em;
}

/* Mobile dropdown panel */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(10,30,50,0.13);
    margin-top: 14px;
    padding: 20px 20px 24px;
    border: 1px solid rgba(10,140,140,0.1);
  }

  .navbar-nav {
    gap: 0;
    margin-bottom: 16px !important;
  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid #f0f5f8;
  }

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

  .navbar-nav .nav-link {
    padding: 12px 6px !important;
    font-size: 1rem;
    font-weight: 600;
    color: #0c1f35 !important;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--teal) !important;
    padding-left: 14px !important;
    background: rgba(10,140,140,0.06);
    border-radius: 8px;
  }

  .navbar-nav .nav-link {
    transition: padding-left 0.2s ease, color 0.2s ease, background 0.2s ease;
  }

  .navbar-collapse .d-flex {
    flex-direction: column !important;
    gap: 10px !important;
    padding-top: 14px;
    border-top: 1px solid #f0f5f8;
  }

  .navbar-collapse .nav-phone {
    justify-content: flex-start;
  }

  .navbar-collapse .btn-nav-cta {
    width: 100%;
    text-align: center;
  }

  /* Ensure toggled menu is always visible */
  .navbar-collapse.show {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}

/* =============================
   HERO SECTION
   ============================= */
.hero-section {
  background: url('../../images/hero-bg.png') center center / cover no-repeat;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0 40px;
}

/* Background decorative blobs */
.hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 181, 181, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(26, 181, 181, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Floating dots */
.dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.dot-orange {
  background: var(--orange);
}

.dot-orange-sm { width: 10px; height: 10px; }
.dot-orange-md { width: 14px; height: 14px; }

.dot-1 { top: 22%; left: 14%; }
.dot-2 { bottom: 20%; left: 10%; }
.dot-3 { bottom: 18%; right: 8%; }
.dot-4 { top: 55%; right: 4%; }

/* =============================
   HERO LEFT CONTENT
   ============================= */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero-badge .stars {
  color: var(--orange);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title strong {
  font-weight: 800;
}

.hero-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 15px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.35);
}

.btn-hero-primary--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid #e2e8f0;
  box-shadow: none;
}

.btn-hero-primary.btn-hero-primary--outline:hover {
  background: #f8fafc;
  color: var(--navy);
  box-shadow: none;
}

button.btn-hero-primary {
  border: none;
  cursor: pointer;
}

.checkout-price-note {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6b7280;
}

.btn-hero-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.45);
  color: var(--white);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  padding: 15px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================
   HERO IMAGE
   ============================= */
.hero-image-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* Circular background behind image */
.hero-circle-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  aspect-ratio: 1;
  background: rgba(10, 140, 140, 0.25);
  border-radius: 50%;
  z-index: 0;
}

/* Teal arc decoration */
.hero-arc {
  position: absolute;
  top: -10%;
  right: -18%;
  width: 55%;
  aspect-ratio: 1;
  background: url('../../images/hero-arc.png') center center / contain no-repeat;
  border: none;
  border-radius: 0;
  clip-path: none;
  z-index: 1;
}

.hero-img {
  position: relative;
  z-index: 2;
  width: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* =============================
   RESPONSIVE — HERO & NAV
   ============================= */

/* Tablet (md) */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 50px 0 0;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3rem);
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-image-col {
    margin-top: 40px;
  }

  .hero-image-wrapper {
    max-width: 380px;
  }

  .nav-phone {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .btn-nav-cta {
    margin-top: 6px;
    text-align: center;
  }
}

/* Mobile (sm) */
@media (max-width: 767.98px) {
  .navbar {
    padding: 12px 0;
  }

  .navbar-brand {
    font-size: 1.6rem;
  }

  .hero-section {
    padding: 40px 0 0;
    text-align: center;
  }

  .hero-badge {
    font-size: 0.85rem;
    padding: 7px 16px;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.7rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

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

  .hero-image-col {
    margin-top: 36px;
  }

  .hero-image-wrapper {
    max-width: 300px;
  }

  .dot-1 { top: 10%; left: 5%; }
  .dot-2 { bottom: 35%; left: 3%; }
  .dot-3 { display: none; }
  .dot-4 { display: none; }
}

/* Extra small */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-image-wrapper {
    max-width: 260px;
  }
}

/* =============================
   STATS SECTION
   ============================= */
.stats-section {
  background: #ffffff url('../../images/stats-bg.png') top right / auto no-repeat;
  padding: 50px 0;
  position: relative;
}

.stat-item {
  padding: 20px 30px;
  border-left: none;
  margin-bottom: 16px;
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 90px;
  background: url('../../images/stat-border.png') center center / contain no-repeat;
}

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

.stat-number {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #0c1f35;
  margin-bottom: 4px;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #6b7280;
  text-transform: uppercase;
  margin: 0;
}

/* =============================
   ONLINE LEARNING SECTION
   ============================= */
.online-learning-section {
  background: #ffffff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.blob-peach {
  width: 280px;
  height: 280px;
  background: url('../../images/stats-bg.png') center center / contain no-repeat;
  border-radius: 0;
  top: -60px;
  left: -80px;
}

.blob-blue {
  width: 320px;
  height: 320px;
  background: url('../../images/blob-blue.png') center center / contain no-repeat;
  border-radius: 0;
  bottom: -80px;
  right: -60px;
}

.online-learning-section .container {
  position: relative;
  z-index: 1;
}

/* Section badge */
.section-badge {
  display: inline-block;
  background: rgba(10, 140, 140, 0.1);
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

/* Section title */
.ol-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  color: #0c1f35;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.ol-desc {
  max-width: 560px;
  margin: 0 auto;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.65;
}

.ol-title strong {
  font-weight: 900;
}

/* Learn More button */
.btn-learn-more {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  border-radius: 50px;
  padding: 13px 30px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
  margin-bottom: 40px;
}

.btn-learn-more:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 166, 35, 0.4);
  color: var(--white);
}

/* Expert row */
.expert-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.expert-avatars {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  background: #e0ecec;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.avatar-circle svg,
.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-2 {
  margin-left: -16px;
}

.expert-text {
  font-size: 1rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.4;
}

.expert-text strong {
  color: #0c1f35;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =============================
   FEATURE CARDS
   ============================= */
.feature-card {
  padding: 8px 0 20px;
  position: relative;
}

.feature-num {
  display: block;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0;
  background: linear-gradient(to bottom, #DEDEDE 0%, rgba(12,31,53,0.08) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  user-select: none;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0c1f35;
  margin-bottom: 10px;
  margin-top: -18px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-line {
  width: 44px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

/* =============================
   STATS + ONLINE LEARNING RESPONSIVE
   ============================= */

/* Tablet */
@media (max-width: 991.98px) {
  .stats-section {
    padding: 40px 0;
    background-size: 200px auto;
  }

  .stat-item {
    padding: 16px 20px 16px 28px;
  }

  .online-learning-section {
    padding: 60px 0 70px;
  }

  .ol-title {
    font-size: clamp(2rem, 4.5vw, 2.9rem);
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .stats-section {
    padding: 28px 0;
    background-size: 160px auto;
  }

  .stat-item {
    padding: 14px 16px 14px 28px;
    margin-bottom: 0;
    border-bottom: 1px solid #f0f4f7;
  }

  .stat-item::before {
    height: 60px;
    width: 20px;
  }

  .stat-number {
    font-size: 2.1rem;
    padding-left: 10px;
  }

  .stat-label {
    padding-left: 10px;
  }

  .online-learning-section {
    padding: 50px 0 60px;
    text-align: center;
  }

  .ol-title {
    font-size: 2rem;
  }

  .expert-row {
    justify-content: center;
  }

  .feature-card {
    text-align: left;
  }

  .blob-peach {
    width: 180px;
    height: 180px;
    top: -30px;
    left: -50px;
  }

  .blob-blue {
    width: 200px;
    height: 200px;
    bottom: -40px;
    right: -40px;
  }
}

/* Extra small */
@media (max-width: 575.98px) {
  .stat-item {
    padding: 12px 12px 12px 26px;
  }

  .stat-number {
    font-size: 1.9rem;
    padding-left: 8px;
  }

  .stat-label {
    font-size: 0.78rem;
    padding-left: 8px;
  }

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

  .feature-num {
    font-size: 5.5rem;
  }
}

/* =============================
   FEATURED COURSES SECTION
   ============================= */
.featured-courses-section {
  background: #e8f4f8;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.fc-blob {
  position: absolute;
  background: url('../../images/blob-blue.png') center center / contain no-repeat;
  border-radius: 0;
  pointer-events: none;
  z-index: 0;
}

.fc-blob-right-top {
  width: 260px;
  height: 260px;
  top: 50%;
  transform: translateY(-50%);
  right: -60px;
}

.fc-blob-right-bottom {
  /*width: 340px;
  height: 340px;
  top: 50%;*/
  width: 556px;
  height: 729px;
  top: 50%;
  left: -130px;
  transform: translateY(-50%) scaleX(-1);
  background: url('../../images/fc-blob-left.png') center center / contain no-repeat;
}

.featured-courses-section .container {
  position: relative;
  z-index: 1;
}

/* Section title */
.fc-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: #0c1f35;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.5px;
}

.fc-title strong {
  font-weight: 900;
}

/* Filter tabs */
.course-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.filter-btn {
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 6px 6px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  letter-spacing: 0.1px;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #0c1f35;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: #0c1f35;
  font-weight: 700;
}

.filter-btn.active::after {
  transform: scaleX(1);
}

.filter-btn:hover::after {
  transform: scaleX(1);
}

/* =============================
   COURSE CARD
   ============================= */
.course-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 30, 50, 0.07);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(10, 30, 50, 0.13);
}

/* Card image area */
.course-img-wrap {
  position: relative;
  flex-shrink: 0;
}

.course-img {
  width: 100%;
  height: 230px;
  background-size: cover;
  background-position: center top;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Real course images */
.course-img--1,
.course-img--2,
.course-img--3 {
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Price badge */
.price-badge {
  position: absolute;
  bottom: -18px;
  right: 20px;
  background: var(--teal-dark);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(10, 107, 107, 0.35);
  z-index: 2;
}

/* Card body */
.course-body {
  padding: 22px 24px 24px;
  flex: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.course-category {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0c1f35;
  text-transform: uppercase;
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.course-instructor {
  font-size: 0.96rem;
  color: #6b7280;
  font-weight: 400;
}

.course-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0c1f35;
  line-height: 1.4;
  margin-bottom: 10px;
}

.course-desc {
  font-size: 0.98rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Card footer */
.course-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  border-top: 1px solid #f0f4f7;
  margin-top: auto;
}

.course-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.96rem;
  color: #4b5563;
  font-weight: 500;
}

.course-stat i {
  color: #0f766e;
  font-size: 1rem;
}

.course-stat svg {
  width: 17px;
  height: 17px;
  color: #6b7280;
  flex-shrink: 0;
}

/* =============================
   FEATURED COURSES RESPONSIVE
   ============================= */

/* Tablet */
@media (max-width: 991.98px) {
  .featured-courses-section {
    padding: 60px 0 70px;
  }

  .course-filters {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .fc-title {
    font-size: clamp(2rem, 4.5vw, 2.7rem);
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .featured-courses-section {
    padding: 50px 0 60px;
  }

  .course-filters {
    gap: 4px;
    justify-content: flex-start;
  }

  .filter-btn {
    font-size: 0.95rem;
    padding: 5px 4px;
  }

  .course-img {
    height: 200px;
  }

  .fc-blob-right-top,
  .fc-blob-right-bottom {
    display: none;
  }
}

/* Extra small */
@media (max-width: 575.98px) {
  .fc-title {
    font-size: 1.85rem;
  }

  .course-img {
    height: 180px;
  }

  .course-body {
    padding: 28px 18px 14px;
  }

  .course-footer {
    padding: 12px 18px;
    gap: 16px;
  }
}

/* Filter tabs – card show/hide transition (course grids, resource grids, ...) */
.course-col,
.resource-col {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.filter-col--hidden {
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
}

/* Featured courses – Explore button */
.btn-explore-courses {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
  border-radius: 50px;
  padding: 14px 40px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(245,166,35,0.35);
}

.btn-explore-courses:hover {
  background: var(--orange-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.45);
}

/* =============================
   PREMIUM LEARNING SECTION
   ============================= */
.premium-learning-section {
  background: #ffffff;
  padding: 90px 0 0;
  overflow: hidden;
  position: relative;
}

/* ---- Left image ---- */
.pl-image-wrapper {
  position: relative;
  width: 420px;
  max-width: 100%;
}

.pl-float-img {
  position: absolute;
  /*top: -18px;
  left: -22px;
  width: 110px;*/
  top: -23px;
  left: -37px;
  width: 170px;
  height: auto;
  z-index: 2;
  animation: float-hero 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 18px rgba(10,30,50,0.18));
}

.pl-img {
  position: relative;
  z-index: 2;
  width: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.12));
}

/* ---- Right content ---- */
.pl-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #0c1f35;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

/* Highlighted feature card */
.pl-card-highlight {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(to bottom, #e8f2f8 0%, rgba(232,242,248,0.25) 100%);
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 24px;
}

.pl-card-text {
  flex: 1;
}

.pl-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0c1f35;
  margin-bottom: 10px;
  line-height: 1.35;
}

.pl-card-desc {
  font-size: 0.96rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.pl-card-icon {
  flex-shrink: 0;
  width: 62px;
  opacity: 0.75;
  margin-top: 4px;
}

.pl-card-icon svg {
  width: 100%;
  height: auto;
}

/* Plain feature list */
.pl-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pl-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0c1f35;
}

.pl-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
}

.pl-check svg {
  width: 22px;
  height: 22px;
}

/* ---- Marquee strip ---- */
.pl-marquee-wrap {
  position: relative;
  margin-top: 70px;
  padding: 32px 0 36px;
  overflow: hidden;
  text-align: center;
}

.pl-marquee-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: rgba(10, 140, 140, 0.07);
  letter-spacing: -1px;
  pointer-events: none;
  user-select: none;
  animation: marquee-scroll 18s linear infinite;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.pl-marquee-text {
  position: relative;
  z-index: 1;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #0c1f35;
  margin: 0;
  padding: 10px 0;
}

/* =============================
   PREMIUM LEARNING RESPONSIVE
   ============================= */

/* Tablet */
@media (max-width: 991.98px) {
  .premium-learning-section {
    padding: 70px 0 0;
  }

  .pl-image-wrapper {
    width: 360px;
  }

  .pl-title {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .premium-learning-section {
    padding: 55px 0 0;
    text-align: center;
  }

  .pl-image-wrapper {
    width: 300px;
  }

  .pl-card-highlight {
    text-align: left;
  }

  .pl-feature-list {
    display: inline-flex;
    flex-direction: column;
    text-align: left;
  }

  .pl-title {
    font-size: 2rem;
  }

  .pl-marquee-wrap {
    margin-top: 50px;
  }
}

/* Extra small */
@media (max-width: 575.98px) {
  .pl-image-wrapper {
    width: 260px;
  }

  .pl-title {
    font-size: 1.8rem;
  }

  .pl-card-title {
    font-size: 1.05rem;
  }

  .pl-feature-item {
    font-size: 1rem;
  }

  .pl-card-highlight {
    padding: 18px 18px;
  }
}

/* =============================
   TRUSTED / TESTIMONIAL SECTION
   ============================= */
.trusted-section {
  background: linear-gradient(130deg, #0c1f35 0%, #0d3d5c 40%, #0C5B72 75%, #0C5B72 100%);
  padding: 90px 0 0;
  overflow: hidden;
  position: relative;
}

/* ---- Left column ---- */
.ts-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}

.ts-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.ts-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 380px;
}

.ts-stat {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ts-stat-number {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
}

.ts-stat-divider {
  width: 2px;
  height: 44px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  flex-shrink: 0;
}

.ts-stat-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  font-weight: 400;
}

/* ---- Slider outer (arrows half-in / half-out of card) ---- */
.ts-slider-outer {
  position: relative;
  padding: 0 20px; /* half the arrow width — keeps arrows from clipping */
}

.ts-slider-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.ts-slider {
  display: flex;
  transition: none;
}

.ts-slide {
  flex: 0 0 100%;
  display: none;
}

.ts-slide.active {
  display: block;
}

/* ---- Testimonial card ---- */
.ts-card {
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  overflow: hidden;
  min-height: 240px;
}

.ts-card-img-wrap {
  position: relative;
  width: 42%;
  flex-shrink: 0;
  background: #c8e3ed;
  overflow: hidden;
}

.ts-img-circle {
  position: absolute;
  width: 130%;
  aspect-ratio: 1;
  background: radial-gradient(circle, #b8d8e8 30%, #9ec8dc 100%);
  border-radius: 50%;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.ts-card-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ts-card-body {
  flex: 1;
  padding: 28px 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ts-stars {
  color: var(--orange);
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.ts-quote {
  font-size: 1rem;
  color: #2d3748;
  line-height: 1.65;
  margin-bottom: 18px;
  font-weight: 400;
}

.ts-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0c1f35;
  margin-bottom: 3px;
}

.ts-role {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

/* ---- Arrow buttons (positioned slightly inside card) ---- */
.ts-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #0c1f35;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  padding: 0;
}

.ts-arrow-prev {
  left: 0; /* center aligns with left edge of .ts-slider-wrap */
}

.ts-arrow-next {
  right: 0; /* center aligns with right edge of .ts-slider-wrap */
}

.ts-arrow:hover {
  background: #f0f4f7;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}

/* ---- Brand logos strip ---- */
.ts-brands {
  margin-top: 60px;
  padding: 36px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.ts-brands-img-wrap {
  width: 100%;
}

.ts-brands-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* =============================
   TRUSTED SECTION RESPONSIVE
   ============================= */

/* Tablet */
@media (max-width: 991.98px) {
  .trusted-section {
    padding: 70px 0 0;
  }

  .ts-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .ts-card-img-wrap {
    width: 38%;
  }

  .ts-brands-row {
    justify-content: center;
    gap: 24px 32px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .trusted-section {
    padding: 55px 0 0;
    text-align: center;
  }

  .ts-desc {
    max-width: 100%;
  }

  .ts-stat {
    justify-content: center;
  }

  .ts-title {
    font-size: 2.2rem;
  }


  .ts-card {
    flex-direction: column;
    min-height: auto;
  }

  .ts-card-img-wrap {
    width: 100%;
    height: 200px;
  }

  .ts-card-body {
    padding: 22px 20px;
    text-align: left;
  }

  .ts-brands {
    margin-top: 44px;
  }

  .ts-brands-row {
    justify-content: center;
    gap: 20px 28px;
  }
}

/* Extra small */
@media (max-width: 575.98px) {
  .ts-title {
    font-size: 1.9rem;
  }

  .ts-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .ts-card-img-wrap {
    height: 170px;
  }
}

/* =============================
   PRICING SECTION
   ============================= */
.pricing-section {
  background: #ffffff;
  padding: 90px 0 100px;
}

/* Section header */
.pricing-badge {
  display: inline-block;
  background: #eef0f3;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.pricing-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0c1f35;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0;
}

/* ---- Price Card base ---- */
.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e8edf2;
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.2s ease;
}

.price-card:hover {
  box-shadow: 0 8px 32px rgba(10,30,50,0.1);
  z-index: 1;
}

/* Round outer corners of first and last cards */
.col-lg-4:first-child .price-card,
.col-md-6:first-child .price-card {
  border-radius: 16px 0 0 16px;
}

.col-lg-4:last-child .price-card,
.col-md-6:last-child .price-card {
  border-radius: 0 16px 16px 0;
}

/* ---- Featured card ---- */
.price-card--featured {
  border-color: #0c1f35;
  border-radius: 0 !important;
  box-shadow: 0 12px 40px rgba(10,30,50,0.15);
  z-index: 2;
}

/* Dark top header banner on featured */
.price-card-header {
  background: linear-gradient(120deg, #0c1f35 0%, #0d4f6e 50%, #0a8c8c 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-align: center;
  padding: 14px 20px;
  text-transform: uppercase;
}

/* Card top (badge + name + features) */
.price-card-top {
  padding: 28px 32px 20px;
  flex: 1;
}

/* Tier badge */
.plan-tier-badge {
  display: inline-block;
  background: #eef0f3;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

/* Plan name */
.plan-name {
  font-size: 1.9rem;
  font-weight: 900;
  color: #0c1f35;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* Divider */
.plan-divider {
  border: none;
  border-top: 1px solid #e8edf2;
  margin: 18px 0;
  opacity: 1;
}

/* Feature list */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #374151;
  padding: 11px 0;
  border-bottom: 1px solid #f0f4f7;
  font-weight: 400;
}

.feat:last-child {
  border-bottom: none;
}

/* Check / X icons via pseudo-element */
.feat::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.feat--yes::before {
  background-color: #22c55e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.feat--no::before {
  background-color: #ef4444;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---- Card bottom (price + CTA) ---- */
.price-card-bottom {
  padding: 20px 32px 28px;
}

.price-card-bottom--light {
  background: #ffffff;
}

.price-card-bottom--dark {
  background: #0c1f35;
  padding-top: 24px;
}

.plan-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.plan-price {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #0c1f35;
  line-height: 1;
  letter-spacing: -1px;
}

.plan-price--white {
  color: #ffffff;
}

.plan-price-note {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.5;
}

.plan-price-note--white {
  color: rgba(255,255,255,0.7);
}

/* Plan CTA button */
.btn-plan {
  display: flex;
  /* width: 100%; */
  text-align: center;
  background: var(--orange);
  color: #ffffff;
  border-radius: 50px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}

.btn-plan:hover {
  background: var(--orange-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245,166,35,0.4);
}

/* =============================
   PRICING RESPONSIVE
   ============================= */

/* Tablet */
@media (max-width: 991.98px) {
  .pricing-section {
    padding: 70px 0 80px;
  }

  .price-card-top {
    padding: 24px 24px 16px;
  }

  .price-card-bottom {
    padding: 16px 24px 24px;
  }

  .price-card-bottom--dark {
    padding-top: 20px;
  }

  /* Stack cards vertically on tablet, each fully rounded */
  .col-lg-4:first-child .price-card,
  .col-md-6:first-child .price-card,
  .col-lg-4:last-child .price-card,
  .col-md-6:last-child .price-card {
    border-radius: 16px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .pricing-section {
    padding: 55px 0 65px;
  }

  .pricing-title {
    font-size: 2rem;
  }

  /* All cards fully rounded on mobile */
  .price-card,
  .price-card--featured {
    border-radius: 16px !important;
    margin-bottom: 0;
  }

  .price-card-top {
    padding: 22px 20px 14px;
  }

  .price-card-bottom {
    padding: 14px 20px 22px;
  }

  /* Add gap between stacked cards */
  .col-md-6 {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* Extra small */
@media (max-width: 575.98px) {
  .pricing-title {
    font-size: 1.8rem;
  }

  .plan-name {
    font-size: 1.6rem;
  }

  .feat {
    font-size: 0.95rem;
  }
}

/* =============================
   ARTICLES SECTION
   ============================= */
.articles-section {
  background: #e8f4f8;
  padding: 90px 0 100px;
  position: relative;
}

/* Header */
.articles-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0c1f35;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.5px;
}

.btn-articles {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
  border-radius: 50px;
  padding: 13px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}

.btn-articles:hover {
  background: var(--orange-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245,166,35,0.4);
}

/* ---- Article card ---- */
.article-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,30,50,0.07);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 38px rgba(10,30,50,0.13);
}

/* Image */
.article-img-wrap {
  overflow: hidden;
  flex-shrink: 0;
}

.article-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}

.article-card:hover .article-img {
  transform: scale(1.04);
}

/* Body */
.article-body {
  padding: 26px 26px 30px;
  flex: 1;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0c1f35;
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* =============================
   ARTICLES RESPONSIVE
   ============================= */

/* Tablet */
@media (max-width: 991.98px) {
  .articles-section {
    padding: 70px 0 80px;
  }

  .articles-title {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .articles-section {
    padding: 55px 0 65px;
  }

  .articles-title {
    font-size: 2rem;
    margin-bottom: 4px;
  }

  .btn-articles {
    font-size: 0.92rem;
    padding: 11px 24px;
  }

  .article-img {
    height: 200px;
  }

  .article-body {
    padding: 22px 20px 26px;
  }
}

/* Extra small */
@media (max-width: 575.98px) {
  .articles-title {
    font-size: 1.8rem;
  }

  .article-img {
    height: 185px;
  }

  .article-title {
    font-size: 1.08rem;
  }
}

/* =============================
   FOOTER
   ============================= */
.site-footer {
  background: #0a1628;
  position: relative;
}

/* ---- CTA Banner (half outside footer top) ---- */
.site-footer > .container:first-child {
  position: relative;
  z-index: 10;
  padding-bottom: 0;
}

.footer-cta {
  background: linear-gradient(120deg, #0c2a40 0%, #0d4f6a 45%, #0C5B72 100%);
  border-radius: 16px;
  padding: 28px 40px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-cta-text {
  flex: 1;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
  min-width: 200px;
}

.footer-cta-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.footer-cta-phone:hover {
  opacity: 0.85;
  color: #ffffff;
}

.footer-cta-phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-footer-cta {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
  border-radius: 50px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}

.btn-footer-cta:hover {
  background: var(--orange-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---- Main footer body ---- */
.footer-body {
  padding: 70px 0 50px;
}

/* Brand */
.footer-brand {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.footer-logo {
  max-height: 44px;
  width: auto;
}

.footer-brand-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
  max-width: 240px;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: var(--orange);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Column headings */
.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.1px;
}

/* Link lists */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Help column */
.footer-help-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 4px;
}

.footer-help-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
}

/* Newsletter */
.footer-newsletter {
  position: relative;
  display: flex;
  background: #152438;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.9rem;
  padding: 14px 16px 14px 20px;
  min-width: 0;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  color: var(--orange);
}

/* ---- Bottom bar ---- */
.footer-bottom {
  padding-bottom: 30px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0 0 24px;
  opacity: 1;
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* =============================
   FOOTER RESPONSIVE
   ============================= */

/* Tablet */
@media (max-width: 991.98px) {
  .footer-cta {
    padding: 24px 28px;
    gap: 18px;
  }

  .footer-body {
    padding: 55px 0 40px;
  }

  .footer-brand-desc {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
    gap: 16px;
    border-radius: 12px;
  }

  .footer-cta-text {
    font-size: 1.1rem;
  }

  .btn-footer-cta {
    width: 100%;
    text-align: center;
  }

  .footer-body {
    padding: 48px 0 36px;
  }

  .footer-brand {
    font-size: 1.7rem;
  }
}

/* =============================
   INNER PAGE HERO BANNER
   ============================= */
.inner-hero {
  background: linear-gradient(130deg, #0c1f35 0%, #0d3d5c 40%, #0a7a7a 75%, #0a8c8c 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,181,181,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
}

.inner-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.inner-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
}

.inner-breadcrumb a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.inner-breadcrumb a:hover { color: #ffffff; }

.inner-breadcrumb-sep {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.inner-breadcrumb-current {
  color: var(--orange);
  font-weight: 600;
}

/* ---- Subjects page section ---- */
.subjects-page-section {
  padding: 70px 0 80px;
  background: #f8fafc;
}

/* ---- Subjects grid ---- */
.subject-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(10,30,50,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
}

.subject-card--teal  { border-top-color: var(--teal); }
.subject-card--orange { border-top-color: var(--orange); }
.subject-card--featured {
  border-top-color: var(--orange);
  background: linear-gradient(160deg, #fff8ee 0%, #ffffff 60%);
}

.subject-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(10,30,50,0.14);
}

/* Featured "Most Popular" badge */
.subject-badge-featured {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
}

.subject-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(10,140,140,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.2s ease;
}

.subject-card--orange .subject-icon { background: rgba(245,166,35,0.12); }
.subject-card--featured .subject-icon { background: rgba(245,166,35,0.15); }

.subject-card--orange .subject-icon svg { stroke: var(--orange); }
.subject-card--featured .subject-icon svg { stroke: var(--orange); }

.subject-icon i {
  font-size: 30px;
  color: var(--teal-dark);
  line-height: 1;
}

.subject-card--orange .subject-icon i,
.subject-card--featured .subject-icon i {
  color: var(--orange);
}

.subject-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--teal-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.subject-card-body {
  flex: 1;
}

/* Subject category tag */
.subject-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(10,140,140,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.subject-tag--gold {
  color: var(--orange);
  background: rgba(245,166,35,0.12);
}

.subject-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0c1f35;
  margin-bottom: 10px;
}

.subject-desc {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}

.subject-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 0;
}

.subject-count {
  font-size: 0.82rem;
  color: #6b7280;
}

.subject-count strong {
  color: #0c1f35;
  font-weight: 700;
}

/* Explore button inside card */
.subject-explore-btn {
  display: inline-block;
  margin-top: 22px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: none;
  border-top: 1px solid #f0f5f8;
  padding-top: 16px;
  width: 100%;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.subject-explore-btn:hover {
  color: var(--orange);
  letter-spacing: 0.02em;
}

.subject-card--orange .subject-explore-btn,
.subject-card--featured .subject-explore-btn {
  color: var(--orange);
}

.subject-card--orange .subject-explore-btn:hover,
.subject-card--featured .subject-explore-btn:hover {
  color: var(--teal-dark);
}

/* Bottom CTA strip */
.subjects-cta-strip {
  margin-top: 60px;
  background: linear-gradient(130deg, #0c1f35 0%, #0d3d5c 50%, #0a8c8c 100%);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.subjects-cta-text h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.subjects-cta-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.subjects-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.subjects-cta-btns .btn-plan {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: rgba(255,255,255,0.25);
}

.subjects-cta-btns .btn-plan:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 767.98px) {
  .subjects-cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }

  .subjects-cta-btns {
    width: 100%;
  }

  .subjects-cta-btns .btn-plan,
  .subjects-cta-btns .btn-hero-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ---- How It Works steps ---- */
.step-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(10,30,50,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,30,50,0.12);
}

.step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0c1f35;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

.cta-gradient {
  background: linear-gradient(130deg, var(--navy) 0%, #0d3d5c 50%, var(--teal) 100%);
  color: rgba(255, 255, 255, 0.7);
}
.cta-gradient h2 { color: #fff; }
.cta-gradient .btn-primary {
  --bs-btn-bg: var(--orange);
  --bs-btn-border-color: var(--orange);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--orange-hover);
  --bs-btn-hover-border-color: var(--orange-hover);
  --bs-btn-hover-color: #fff;
}

.stats-cards-section { padding: 0 0 70px; }
.stats-card { background: #fff; border-radius: 14px; padding: 32px 20px; box-shadow: 0 4px 18px rgba(10, 30, 50, 0.07); }
.stats-card-number { font-size: 2.4rem; font-weight: 900; color: var(--navy); margin: 0; }
.stats-card-label { color: #6b7280; font-size: 0.95rem; margin: 0; }

.stats-dark-section { background: var(--navy); padding: 40px 0; }
.stats-dark-number { font-size: 2.2rem; font-weight: 900; color: #fff; margin: 0; }
.stats-dark-label { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; margin: 0; }

.contact-section { padding: 70px 0 80px; background: #f8fafc; }
.contact-intro { color: #6b7280; font-size: 1rem; line-height: 1.7; margin-bottom: 36px; }

.faq-list .accordion-item {
  border: 0;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 30, 50, 0.07);
}

.faq-list .accordion-button {
  font-weight: 700;
  color: var(--navy);
}

.faq-list .accordion-button:not(.collapsed) {
  color: var(--navy);
  background-color: #fff;
  box-shadow: none;
}

.faq-list .accordion-body {
  color: #6b7280;
}

.testimonials-grid-section { padding: 70px 0 80px; background: #f8fafc; }
.testi-grid-title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; color: #0c1f35; margin-top: 12px; line-height: 1.2; }
.testi-grid-intro { color: #6b7280; margin-top: 12px; }

/* ---- Testimonial grid card ---- */
.testi-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(10,30,50,0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,30,50,0.12);
}

.testi-stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 2px; }

.testi-quote {
  font-size: 0.96rem;
  color: #374151;
  line-height: 1.65;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f4f7;
  padding-top: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b8d4e0, #8ab5c8);
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0c1f35;
  margin: 0;
}

.testi-role {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0;
}

/* ---- Contact page ---- */
.contact-info-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 4px 18px rgba(10,30,50,0.07);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10,140,140,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.contact-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0c1f35;
  margin-bottom: 4px;
}

.contact-info-text {
  font-size: 0.92rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Contact form */
.contact-form-wrap {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 6px 28px rgba(10,30,50,0.09);
}

.contact-form-wrap h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-label-custom {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-control-custom {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.96rem;
  color: #0c1f35;
  background: #f9fafb;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form-control-custom:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,140,140,0.12);
  background: #ffffff;
}

.form-control-custom::placeholder { color: #9ca3af; }

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

.form-control-custom.is-invalid {
  border-color: #dc3545;
  background: #fff5f5;
}

.form-control-custom.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220,53,69,0.12);
}

/* =============================
   INNER PAGE RESPONSIVE
   ============================= */
@media (max-width: 767.98px) {
  .inner-hero { padding: 55px 0 45px; }
  .inner-hero-title { font-size: 2rem; }
  .contact-form-wrap { padding: 28px 20px; }
  .step-card { flex-direction: column; gap: 14px; }
}

@media (max-width: 575.98px) {
  .inner-hero-title { font-size: 1.8rem; }
}

/* Extra small */
@media (max-width: 575.98px) {
  .footer-cta {
    padding: 20px 18px;
  }

  .footer-col-title {
    font-size: 0.98rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-copy {
    font-size: 0.82rem;
  }
}

/* =============================
   STUDENT DASHBOARD
   ============================= */
.sd-banner {
  background: linear-gradient(130deg, #0c1f35 0%, #0d3d5c 40%, #0a7a7a 75%, #0a8c8c 100%);
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}

.sd-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 30%, rgba(26,181,181,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.sd-banner-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sd-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: 10px;
}

.sd-welcome {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.sd-welcome-sub {
  color: rgba(255,255,255,0.65);
  margin: 0;
  font-size: 0.95rem;
}

.sd-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #ffffff;
  border-radius: 50px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sd-logout-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
}

/* Pull card row up to overlap the banner, like the footer CTA trick */
.sd-section {
  margin-top: -48px;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.sd-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 10px 34px rgba(10,30,50,0.1);
}

.sd-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}

/* Plan card */
.sd-plan-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(10,140,140,0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.sd-plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.sd-plan-badge--active {
  background: rgba(10,140,140,0.12);
  color: var(--teal);
}

.sd-plan-badge--pastdue {
  background: rgba(220,53,69,0.1);
  color: #dc3545;
}

.sd-plan-badge--none {
  background: #f1f3f5;
  color: #6b7280;
}

.sd-plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.sd-plan-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.sd-plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6b7280;
}

.sd-plan-price-empty {
  color: #6b7280;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.sd-plan-renewal {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 16px;
}

.sd-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  font-size: 0.92rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.sd-card-link:hover {
  color: var(--teal-dark);
}

.sd-card-link--danger {
  color: #dc3545;
}

.sd-card-link--danger:hover {
  color: #b02a37;
}

/* Stat card */
.sd-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.sd-stat-row + .sd-stat-row {
  border-top: 1px solid #eef0f3;
}

.sd-stat-label {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.sd-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.sd-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245,166,35,0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sd-stat-icon--teal {
  background: rgba(10,140,140,0.12);
  color: var(--teal);
}

/* Quick links */
.sd-quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sd-quick-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.sd-quick-links a:hover {
  background: #f8fafc;
  color: var(--teal);
}

.sd-quick-links i {
  color: var(--teal);
  font-size: 1.05rem;
}

/* My study materials */
.sd-resource-type-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 20px 0 10px;
}

.sd-resource-type-heading:first-of-type {
  margin-top: 0;
}

.sd-resource-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.sd-resource-list li + li {
  border-top: 1px solid #eef0f3;
}

.sd-resource-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.sd-resource-list a:hover {
  color: var(--teal);
}

.sd-resource-list i {
  color: var(--teal);
}

/* Order history table */
.sd-empty {
  color: #6b7280;
  margin: 0;
  font-size: 0.92rem;
}

.sd-table {
  width: 100%;
  border-collapse: collapse;
}

.sd-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 10px 12px;
  border-bottom: 2px solid #eef0f3;
}

.sd-table td {
  padding: 14px 12px;
  font-size: 0.92rem;
  color: var(--navy);
  border-bottom: 1px solid #eef0f3;
}

.sd-table tbody tr:last-child td {
  border-bottom: none;
}

.sd-status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: capitalize;
}

.sd-status-pill--paid {
  background: rgba(10,140,140,0.12);
  color: var(--teal);
}

.sd-status-pill--pending {
  background: rgba(245,166,35,0.14);
  color: var(--orange-hover);
}

.sd-status-pill--failed,
.sd-status-pill--refunded {
  background: rgba(220,53,69,0.1);
  color: #dc3545;
}

@media (max-width: 767.98px) {
  .sd-banner { padding: 44px 0 64px; }
  .sd-banner-row { flex-direction: column; align-items: flex-start; }
  .sd-section { margin-top: -40px; }
  .sd-card { padding: 22px; }
}

/* =============================
   STUDY RESOURCES
   ============================= */
.resources-section {
  padding: var(--site-section-y, 90px) 0;
}

.resources-intro {
  color: #6b7280;
  font-size: 1rem;
  margin: 12px 0 0;
  max-width: 520px;
}

.resource-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(10,30,50,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(10,30,50,0.13);
}

.resource-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(10,140,140,0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.resource-card--locked .resource-card-icon {
  background: #f1f3f5;
  color: #9ca3af;
}

.resource-type-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.resource-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.resource-desc {
  color: #6b7280;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.resource-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 50px;
}

.resource-action--open {
  background: rgba(10,140,140,0.1);
  color: var(--teal);
}

.resource-action--open:hover {
  background: var(--teal);
  color: #ffffff;
}

.resource-lock {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.resource-action--locked {
  background: #f1f3f5;
  color: #6b7280;
}

.resource-action--locked:hover {
  background: var(--orange);
  color: #ffffff;
}

a.library-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.library-pill {
  display: inline-block;
  align-self: flex-start;
  margin: 14px 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.library-pill--open {
  background: rgba(10,140,140,0.12);
  color: var(--teal);
}

.resource-meta {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.library-status {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-radius: 16px;
  margin-bottom: 28px;
}

.library-status--open {
  background: rgba(10,140,140,0.1);
}

.library-status--locked {
  background: #fff7eb;
}

.library-status h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.library-status p {
  margin: 0;
  color: #374151;
}

.library-status-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.library-status-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.library-empty,
.checkout-pay-note,
.sd-plan-explain {
  color: #6b7280;
}

.sd-welcome-note {
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 12px 0 0;
}

.sd-library-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sd-library-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eef0f3;
  color: inherit;
  text-decoration: none;
}

.sd-library-list i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(10,140,140,0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-library-list strong {
  display: block;
  color: var(--navy);
}

.sd-library-list small {
  color: #6b7280;
}

.sd-lib-state {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.sd-lib-state--open {
  color: var(--teal);
}

.library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 28px 0 8px;
}

.library-filters .form-control-custom {
  max-width: 320px;
}

.library-filters select.form-control-custom {
  max-width: 220px;
}

.library-filters-clear {
  color: var(--teal);
  font-weight: 600;
}

.resource-card {
  position: relative;
}

.resource-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.resource-badge--locked {
  background: #f3f4f6;
  color: #4b5563;
}

.sd-password-form {
  max-width: 640px;
}

.course-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  max-width: 420px;
}

.course-search i {
  color: #6b7280;
}

.course-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.course-search-empty {
  margin-top: 18px;
}

.course-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  margin-bottom: 22px;
}

.course-summary-main,
.course-access {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.04);
}

.course-summary-main {
  display: flex;
  gap: 18px;
  padding: 18px;
  align-items: center;
}

.course-summary-thumb {
  position: relative;
  width: 148px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0f2744;
}

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

.course-summary-copy .course-category {
  color: #0f766e;
}

.course-summary-copy h2 {
  font-size: 1.35rem;
  margin: 4px 0 8px;
}

.course-summary-copy p {
  color: #6b7280;
  margin: 0 0 12px;
}

.course-summary-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-summary-stats button {
  border: 0;
  background: #eef8f8;
  color: #0f766e;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.course-access {
  display: flex;
  gap: 12px;
  padding: 18px;
  align-items: flex-start;
}

.course-access--active {
  background: #f3fbf8;
  border-color: #d7f3ea;
}

.course-access-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12b981;
  color: #fff;
  flex-shrink: 0;
}

.course-access h2 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.course-access p {
  color: #4b5563;
  margin: 0 0 14px;
  font-size: 0.92rem;
}

.course-access .btn {
  border-radius: 12px;
}

.material-board {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 18px;
  padding: 16px 18px 20px;
}

.material-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f5;
}

.material-tabs {
  display: flex;
  gap: 8px;
}

.material-tab {
  border: 0;
  background: transparent;
  color: #374151;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.material-tab span {
  margin-left: 6px;
  background: #eef2f5;
  color: #4b5563;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.8rem;
}

.material-tab.is-active {
  background: #0f766e;
  color: #fff;
}

.material-tab.is-active span {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.material-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.course-search--toolbar {
  margin: 0;
  min-width: 220px;
  border-radius: 999px;
  padding: 8px 14px;
}

.material-filters {
  display: flex;
  gap: 8px;
}

.material-filters button {
  border: 0;
  background: #f3f4f6;
  color: #1f2937;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.material-filters button.is-active {
  background: #0f766e;
  color: #fff;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.lesson-card {
  position: relative;
}

.lesson-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #12324d;
  cursor: pointer;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal[hidden] {
  display: none !important;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 40, 0.72);
}

.video-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 24, 40, 0.35);
}

.video-modal-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 20px;
}

.video-modal-bar h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.video-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.video-modal-close:hover {
  background: #e5e7eb;
}

.video-modal-stage {
  background: #0b1c2c;
  aspect-ratio: 16 / 9;
}

.video-modal-player {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0b1c2c;
}

body.video-modal-open {
  overflow: hidden;
}

.lesson-thumb img,
.lesson-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lesson-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #0f2744;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lesson-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lesson-flag--free {
  background: #d1fae5;
  color: #047857;
}

.lesson-flag--locked {
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
}

.lesson-card h3 {
  font-size: 0.98rem;
  margin: 10px 0 4px;
}

.lesson-card p {
  margin: 0;
  color: #6b7280;
  font-size: 0.84rem;
}

.file-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-rows li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e8eef2;
  border-radius: 16px;
}

.file-rows-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef8f8;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-rows-copy {
  min-width: 0;
  flex: 1;
}

.file-rows-copy strong,
.file-rows-copy small,
.file-rows-copy em {
  display: block;
}

.file-rows-copy small,
.file-rows-copy em {
  color: #6b7280;
  font-style: normal;
  font-size: 0.84rem;
}

.file-rows-copy em {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.file-rows-copy em span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.file-rows .lesson-flag,
.file-rows .file-open {
  margin-top: 6px;
}

.file-rows .lesson-flag {
  position: static;
}

.file-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #99f6e4;
  color: #0f766e;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.file-open--locked {
  border-color: #e5e7eb;
  color: #6b7280;
}

@media (max-width: 991.98px) {
  .course-summary {
    grid-template-columns: 1fr;
  }
}

.media-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 12px;
  height: 100%;
}

.media-card h3 {
  font-size: 1.05rem;
  margin: 12px 0 4px;
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0f2744;
}

.media-frame iframe,
.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.media-frame--locked img {
  filter: grayscale(0.2) brightness(0.55);
}

.media-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
}

.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  background: #fff;
}

.file-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid #eef0f3;
}

.file-list li:first-child {
  border-top: 0;
}

.file-list strong {
  display: block;
}

.file-list small {
  display: block;
  color: #6b7280;
}

.file-list-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(10,140,140,0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-list .resource-action {
  margin-left: auto;
}

[data-material][hidden] {
  display: none !important;
}
