/* =========================================================
   EduSphere — Custom Design System (2026)
   ========================================================= */

:root {
  --es-primary: #4f46e5;
  --es-primary-dark: #3730a3;
  --es-primary-soft: #eef2ff;
  --es-accent: #f59e0b;
  --es-accent-soft: #fef3c7;
  --es-dark: #0f172a;
  --es-body: #475569;
  --es-muted: #64748b;
  --es-border: #e2e8f0;
  --es-bg: #ffffff;
  --es-bg-soft: #f8fafc;
  --es-bg-tint: #f1f5f9;
  --es-success: #10b981;
  --es-radius-sm: 10px;
  --es-radius: 16px;
  --es-radius-lg: 24px;
  --es-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --es-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --es-shadow-lg: 0 20px 40px -12px rgba(79, 70, 229, 0.18), 0 8px 16px -8px rgba(15, 23, 42, 0.08);
  --es-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --bs-body-font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--es-body);
  --bs-body-bg: var(--es-bg);
  --bs-link-color: var(--es-primary);
  --bs-link-hover-color: var(--es-primary-dark);
  --bs-primary: var(--es-primary);
  --bs-primary-rgb: 79, 70, 229;
  --bs-border-color: var(--es-border);
}

/* =================== Base =================== */
html { scroll-behavior: smooth; }
body {
  font-family: var(--bs-body-font-family);
  color: var(--es-body);
  background: var(--es-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1rem;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--es-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.lead { font-size: 1.125rem; color: var(--es-muted); }

a { text-decoration: none; transition: var(--es-transition); }
a:hover { color: var(--es-primary-dark); }

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

/* =================== Loader =================== */
#es-loader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--es-bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#es-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.es-spinner {
  width: 56px; height: 56px;
  border: 3px solid var(--es-primary-soft);
  border-top-color: var(--es-primary);
  border-radius: 50%;
  animation: es-spin 0.9s linear infinite;
}
.es-loader-text {
  font-size: 0.85rem; font-weight: 600;
  color: var(--es-muted); letter-spacing: 0.15em;
  text-transform: uppercase;
}
@keyframes es-spin { to { transform: rotate(360deg); } }

/* =================== Navbar =================== */
.es-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--es-transition);
}
.es-navbar.is-scrolled {
  border-bottom-color: var(--es-border);
  box-shadow: var(--es-shadow-sm);
}
.es-brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.25rem;
  color: var(--es-dark);
  letter-spacing: -0.02em;
}
.es-brand:hover { color: var(--es-dark); }
.es-brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 90px; height: 90px;
  /* background: linear-gradient(135deg, var(--es-primary) 0%, #7c3aed 100%); */
  border-radius: 10px;
  color: #fff; font-size: 1rem;
}
.navbar-nav .nav-link {
  color: var(--es-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.95rem !important;
  border-radius: 8px;
  transition: var(--es-transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--es-primary);
  background: var(--es-primary-soft);
}
.es-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--es-muted);
  background: var(--es-bg-soft);
  border: 1px solid var(--es-border);
}
.es-social-link:hover {
  color: var(--es-primary);
  border-color: var(--es-primary);
  background: var(--es-primary-soft);
  transform: translateY(-2px);
}
.navbar-toggler {
  border: none; padding: 0.4rem 0.6rem;
  color: var(--es-dark);
}
.navbar-toggler:focus { box-shadow: none; }

/* =================== Buttons =================== */
.btn {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  transition: var(--es-transition);
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-width: 1.5px;
}
.btn:focus { box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18); }
.btn-primary {
  background: var(--es-primary);
  border-color: var(--es-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--es-primary-dark);
  border-color: var(--es-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.4);
}
.btn-outline-primary {
  color: var(--es-primary);
  border-color: var(--es-border);
  background: #fff;
}
.btn-outline-primary:hover {
  background: var(--es-primary);
  color: #fff;
  border-color: var(--es-primary);
}
.btn-light-soft {
  background: var(--es-bg-soft);
  color: var(--es-dark);
  border-color: var(--es-border);
}
.btn-light-soft:hover { background: #fff; border-color: var(--es-primary); color: var(--es-primary); }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: 10px; }

/* =================== Sections =================== */
section { padding: 5rem 0; }
@media (max-width: 767px) { section { padding: 3.5rem 0; } }

.es-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--es-primary);
  background: var(--es-primary-soft);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.es-section-head { margin-bottom: 3rem; }
.es-section-head .lead { max-width: 620px; margin-inline: auto; }

/* =================== Hero — Carousel =================== */
.es-hero {
  position: relative;
  background: linear-gradient(180deg, var(--es-bg-soft) 0%, var(--es-bg) 100%);
  overflow: hidden;
}
.es-hero-carousel .carousel-item {
  min-height: clamp(540px, 80vh, 720px);
}
.es-hero-carousel .carousel-item.active,
.es-hero-carousel .carousel-item-next,
.es-hero-carousel .carousel-item-prev {
  display: flex;
  align-items: center;
}
.es-hero-content {
  max-width: 720px;
  padding: 4rem 0;
}
.es-hero h1 { margin-bottom: 1.25rem; }
.es-hero .lead { font-size: 1.2rem; max-width: 600px; margin-bottom: 2rem; }
.es-hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.es-hero-decor {
  position: absolute; pointer-events: none;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, transparent 70%);
  top: -100px; right: -100px; z-index: 0;
  border-radius: 50%;
}
.es-hero-decor-2 {
  position: absolute; pointer-events: none;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 70%);
  bottom: -80px; left: -80px; z-index: 0;
  border-radius: 50%;
}
.es-hero .container { position: relative; z-index: 1; }
.carousel-indicators {
  bottom: 1.5rem;
}
.carousel-indicators [data-bs-target] {
  width: 32px; height: 4px; border-radius: 2px;
  background: rgba(15, 23, 42, 0.2);
  border: none;
  transition: var(--es-transition);
}
.carousel-indicators .active { background: var(--es-primary); width: 48px; }
.carousel-control-prev, .carousel-control-next {
  width: 56px; opacity: 0;
  transition: var(--es-transition);
}
.es-hero:hover .carousel-control-prev,
.es-hero:hover .carousel-control-next { opacity: 1; }
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: var(--es-dark);
  border-radius: 50%; padding: 1rem;
  background-size: 50%;
}

/* Hero stats */
.es-hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  flex-wrap: wrap;
}
.es-hero-stat strong {
  display: block; font-size: 1.75rem; font-weight: 800;
  color: var(--es-dark); font-family: 'Plus Jakarta Sans', sans-serif;
}
.es-hero-stat span { font-size: 0.85rem; color: var(--es-muted); }

/* =================== Hero — Split =================== */
.es-hero-split {
  background: linear-gradient(135deg, var(--es-bg-soft) 0%, #fff 100%);
  padding-top: 6rem; padding-bottom: 6rem;
  position: relative; overflow: hidden;
}
.es-hero-split-visual {
  position: relative;
  border-radius: var(--es-radius-lg);
  /* overflow: hidden; */
  box-shadow: var(--es-shadow-lg);
  /* aspect-ratio: 4 / 5; */
  background: linear-gradient(135deg, var(--es-primary) 0%, #7c3aed 100%);
}
.es-hero-split-visual img {
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: luminosity; opacity: 0.92;
  border-radius: var(--es-radius-lg);
}
.es-floating-card {
  position: absolute;
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--es-radius-sm);
  box-shadow: var(--es-shadow-lg);
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--es-dark);
}
.es-floating-card .es-fc-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--es-primary-soft);
  color: var(--es-primary);
  font-size: 1.1rem;
}
.es-floating-card.is-tl { top: 1.5rem; left: -1.5rem; animation: es-float 6s ease-in-out infinite; }
.es-floating-card.is-br { bottom: 2rem; right: -1.5rem; animation: es-float 6s ease-in-out infinite reverse; }
.es-floating-card.is-bl { bottom: 30%; left: -2rem; animation: es-float 7s ease-in-out infinite; }
@keyframes es-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 991px) {
  .es-floating-card.is-tl, .es-floating-card.is-br, .es-floating-card.is-bl { display: none; }
}

/* =================== Cards =================== */
.es-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 2rem;
  height: 100%;
  transition: var(--es-transition);
  position: relative;
}
.es-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--es-shadow-lg);
  border-color: transparent;
}
.es-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--es-primary-soft);
  color: var(--es-primary);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.es-card-icon.is-amber { background: var(--es-accent-soft); color: var(--es-accent); }
.es-card-icon.is-emerald { background: #d1fae5; color: var(--es-success); }
.es-card-icon.is-rose { background: #ffe4e6; color: #e11d48; }
.es-card h4 { font-size: 1.2rem; margin-bottom: 0.65rem; }
.es-card p { color: var(--es-muted); margin-bottom: 1rem; }
.es-card-link {
  font-weight: 600; font-size: 0.9rem;
  color: var(--es-primary);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.es-card-link:hover { gap: 0.6rem; }

/* =================== Course cards =================== */
.es-course-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: var(--es-transition);
}
.es-course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--es-shadow-lg);
}
.es-course-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--es-primary) 0%, #7c3aed 100%);
}
.es-course-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.es-course-card:hover .es-course-thumb img { transform: scale(1.06); }
.es-course-category {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--es-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.es-course-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.es-course-meta {
  display: flex; gap: 1rem;
  font-size: 0.82rem; color: var(--es-muted);
  margin-bottom: 0.85rem;
}
.es-course-meta i { color: var(--es-primary); margin-right: 0.25rem; }
.es-course-card h4 {
  font-size: 1.15rem; margin-bottom: 0.65rem;
  line-height: 1.35;
}
.es-course-card h4 a { color: var(--es-dark); }
.es-course-card h4 a:hover { color: var(--es-primary); }
.es-course-card p { font-size: 0.92rem; color: var(--es-muted); margin-bottom: 1.25rem; }
.es-course-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; margin-top: auto;
  border-top: 1px solid var(--es-border);
}
.es-course-price {
  font-size: 1.3rem; font-weight: 800;
  color: var(--es-dark); font-family: 'Plus Jakarta Sans', sans-serif;
}
.es-course-price .old { color: var(--es-muted); font-size: 0.95rem; text-decoration: line-through; font-weight: 500; margin-left: 0.4rem; }
.es-course-instructor { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; }
.es-course-instructor img {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
}

/* =================== Promo banner =================== */
.es-promo {
  background: linear-gradient(135deg, var(--es-dark) 0%, #1e1b4b 100%);
  border-radius: var(--es-radius-lg);
  color: #fff;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.es-promo::before, .es-promo::after {
  content: ""; position: absolute; border-radius: 50%;
}
.es-promo::before {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.es-promo::after {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, transparent 70%);
  bottom: -100px; left: -50px;
}
.es-promo > * { position: relative; z-index: 1; }
.es-promo h2 { color: #fff; margin-bottom: 1rem; }
.es-promo p { color: rgba(255, 255, 255, 0.75); margin-bottom: 1.5rem; }
.es-promo-badge {
  display: inline-block;
  background: var(--es-accent);
  color: var(--es-dark);
  font-weight: 700; font-size: 0.8rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.es-countdown {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.5rem;
}
.es-countdown-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--es-radius-sm);
  padding: 0.85rem 1.1rem;
  text-align: center;
  min-width: 78px;
}
.es-countdown-item strong {
  display: block; font-size: 1.6rem; font-weight: 800;
  color: #fff; font-family: 'Plus Jakarta Sans', sans-serif;
}
.es-countdown-item span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =================== Testimonials =================== */
.es-testimonial {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 2rem;
  height: 100%;
  position: relative;
}
.es-testimonial-quote {
  font-size: 2.5rem;
  color: var(--es-primary-soft);
  line-height: 1; margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}
.es-testimonial p {
  color: var(--es-dark);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.es-testimonial-author {
  display: flex; align-items: center; gap: 0.85rem;
}
.es-testimonial-author img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}
.es-testimonial-author strong { display: block; color: var(--es-dark); font-size: 0.95rem; }
.es-testimonial-author span { font-size: 0.82rem; color: var(--es-muted); }
.es-rating { color: var(--es-accent); margin-bottom: 0.85rem; font-size: 0.9rem; }

/* =================== About preview =================== */
.es-about-preview-img {
  border-radius: var(--es-radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, var(--es-primary) 0%, #7c3aed 100%);
  position: relative;
}
.es-about-preview-img img { width: 100%; height: 100%; object-fit: cover; }
.es-feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.es-feature-list li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.6rem 0;
  color: var(--es-body);
  font-weight: 500;
}
.es-feature-list i {
  color: var(--es-primary);
  background: var(--es-primary-soft);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* =================== Forms =================== */
.es-form-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 2.5rem;
  box-shadow: var(--es-shadow-sm);
}
.form-label {
  font-weight: 600;
  color: var(--es-dark);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.form-control, .form-select {
  border: 1.5px solid var(--es-border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background: #fff;
  color: var(--es-dark);
  transition: var(--es-transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--es-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.form-control.is-invalid { border-color: #e11d48; }
.form-control.is-valid { border-color: var(--es-success); }
.es-input-icon { position: relative; }
.es-input-icon .form-control { padding-left: 2.75rem; }
.es-input-icon i {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--es-muted);
}
.es-form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--es-muted);
}

/* =================== Auth pages =================== */
.es-auth {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--es-bg-soft) 0%, var(--es-primary-soft) 100%);
}
.es-auth-card {
  background: #fff;
  border-radius: var(--es-radius-lg);
  padding: 3rem;
  box-shadow: var(--es-shadow-lg);
  max-width: 800px; margin: 0 auto;
}
.es-auth-card h2 { margin-bottom: 0.5rem; }
.es-auth-divider {
  display: flex; align-items: center;
  text-align: center; color: var(--es-muted);
  font-size: 0.85rem; margin: 1.5rem 0;
}
.es-auth-divider::before, .es-auth-divider::after {
  content: ""; flex: 1; height: 1px;
  background: var(--es-border);
}
.es-auth-divider span { padding: 0 1rem; }
.es-social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  background: #fff; border: 1.5px solid var(--es-border);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  width: 100%;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--es-dark);
  transition: var(--es-transition);
}
.es-social-btn:hover { border-color: var(--es-primary); color: var(--es-primary); }

/* =================== Page header / breadcrumb =================== */
.es-page-header {
  background: linear-gradient(135deg, var(--es-primary-soft) 0%, var(--es-bg-soft) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.es-page-header::before {
  content: ""; position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
  top: -100px; right: -80px;
  border-radius: 50%;
}
.es-page-header h1 { margin-bottom: 0.85rem; }
.es-page-header p { font-size: 1.1rem; color: var(--es-muted); max-width: 620px; }
.breadcrumb {
  background: transparent;
  padding: 0; margin: 0 0 1rem;
  font-size: 0.88rem;
}
.breadcrumb-item { color: var(--es-muted); }
.breadcrumb-item a { color: var(--es-muted); }
.breadcrumb-item a:hover { color: var(--es-primary); }
.breadcrumb-item.active { color: var(--es-dark); font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--es-muted); }

/* =================== Service details / Course details =================== */
.es-detail-hero {
  background: var(--es-bg-soft);
  padding: 4rem 0;
}
.es-detail-img {
  border-radius: var(--es-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--es-primary) 0%, #7c3aed 100%);
}
.es-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.es-feature-block {
  display: flex; gap: 1rem; padding: 1.25rem 0;
}
.es-feature-block i {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--es-primary-soft);
  color: var(--es-primary);
  flex-shrink: 0;
  font-size: 1.15rem;
}
.es-feature-block h5 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.es-feature-block p { font-size: 0.92rem; color: var(--es-muted); margin: 0; }

.accordion-item {
  border: 1px solid var(--es-border) !important;
  border-radius: var(--es-radius-sm) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-button {
  background: #fff;
  font-weight: 600;
  color: var(--es-dark);
  padding: 1.1rem 1.25rem;
  font-size: 0.98rem;
}
.accordion-button:not(.collapsed) {
  background: var(--es-primary-soft);
  color: var(--es-primary);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-body {
  padding: 1.25rem 1.25rem 1.5rem;
  color: var(--es-muted);
  background: #fff;
}

.es-instructor-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 2rem;
  display: flex; gap: 1.5rem;
  align-items: center; flex-wrap: wrap;
}
.es-instructor-avatar {
  width: 96px; height: 96px;
  border-radius: 50%; object-fit: cover;
  flex-shrink: 0;
}
.es-instructor-card h4 { margin-bottom: 0.25rem; }
.es-instructor-role {
  color: var(--es-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: block;
}

.es-sticky-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 1.75rem;
  box-shadow: var(--es-shadow);
  position: sticky; top: 150px;
}
.es-sticky-card .es-course-price { font-size: 2rem; }

/* =================== Partners / MOU =================== */
.es-partner-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius-sm);
  padding: 1.5rem 1rem;
  text-align: center;
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--es-transition);
  font-weight: 700;
  color: var(--es-muted);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.es-partner-card:hover {
  border-color: var(--es-primary);
  color: var(--es-primary);
  transform: translateY(-3px);
}

/* =================== Footer =================== */
.es-footer {
  background: var(--es-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
}
.es-footer h6 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.es-footer .es-brand { color: #fff; margin-bottom: 1rem; }
.es-footer p { color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; }
.es-footer-links { list-style: none; padding: 0; margin: 0; }
.es-footer-links li { margin-bottom: 0.65rem; }
.es-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.es-footer-links a:hover { color: var(--es-accent); }
.es-footer-contact li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}
.es-footer-contact i {
  color: var(--es-accent);
  margin-top: 0.2rem;
  font-size: 0.95rem;
}
.es-footer .es-social-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.es-footer .es-social-link:hover {
  background: var(--es-accent);
  border-color: var(--es-accent);
  color: var(--es-dark);
}
.es-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.es-footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.es-footer-bottom a:hover { color: var(--es-accent); }

/* =================== Reveal animation =================== */
.es-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.es-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Gentle fade-in for hero text on load */
.es-fade-in { animation: esFadeIn 0.8s ease both; }
.es-fade-in-2 { animation: esFadeIn 0.8s ease 0.15s both; }
.es-fade-in-3 { animation: esFadeIn 0.8s ease 0.3s both; }
@keyframes esFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =================== Utilities =================== */
.bg-soft { background: var(--es-bg-soft); }
.text-primary-es { color: var(--es-primary) !important; }
.es-divider {
  height: 1px; background: var(--es-border);
  margin: 3rem 0;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .es-hero-content { padding: 2rem 0; }
  .es-hero .lead { font-size: 1.05rem; }
  .es-promo { padding: 2.5rem 1.75rem; }
  .es-form-card, .es-auth-card { padding: 1.75rem; }
  .es-instructor-card { padding: 1.5rem; }
  .es-instructor-avatar { width: 80px; height: 80px; }
}
