/* ============================================================
   Prashikshan — Professional Design System
   ============================================================ */

:root {
  --color-primary: #1e3a8a;
  --color-primary-dark: #172554;
  --color-primary-light: #2563eb;
  --color-accent: #d97706;
  --color-accent-hover: #b45309;
  --color-whatsapp: #25d366;
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-border: #e2e8f0;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.1);
  --nav-height: 72px;
  --container-max: 1200px;
  --section-py: clamp(3rem, 6vw, 5.5rem);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

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

a { color: var(--color-primary); }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ─── Typography ─── */
h1, .h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
h2, .h2, .section-title { font-size: clamp(1.625rem, 3vw, 2.375rem); font-weight: 700; line-height: 1.2; }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4, h5, h6 { font-weight: 600; }

.section-title-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--color-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Navbar ─── */
#site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: var(--nav-height);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease;
}

#site-navbar.navbar-scrolled {
  box-shadow: var(--shadow-md);
}

#site-navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo-footer { width: 36px; height: 36px; }

.brand-name {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.6rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

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

.nav-link-custom {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link-custom:hover {
  color: var(--color-primary);
  background: var(--color-surface);
}

.nav-link-custom.active {
  color: var(--color-primary);
  background: #eff6ff;
  font-weight: 600;
}

.navbar-toggler-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  color: var(--color-text);
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .navbar-toggler-custom { display: none; }
}

.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--color-border); }

.mobile-menu .nav-mobile-link {
  display: block;
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu .nav-mobile-link.active {
  color: var(--color-primary);
  font-weight: 700;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* Page offset below fixed navbar */
.has-fixed-nav { padding-top: var(--nav-height); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.25rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  line-height: 1.4;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.btn-lg { padding: 0.65rem 1.35rem; font-size: 0.95rem; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8125rem; }

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-primary-custom {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary-custom:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-custom:hover {
  background: #eff6ff;
  color: var(--color-primary);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
}

.btn-outline-navy {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-navy:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ─── Hero Home ─── */
.hero-home {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 3.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 42%, #172554 100%);
  border-bottom: none;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
}

.hero-bg-animation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: orbFloat 14s ease-in-out infinite;
}

.hero-gradient-orb-1 {
  width: 320px;
  height: 320px;
  background: #3b82f6;
  top: -80px;
  left: -60px;
}

.hero-gradient-orb-2 {
  width: 280px;
  height: 280px;
  background: #f59e0b;
  bottom: -40px;
  right: -40px;
  animation-delay: -4s;
}

.hero-gradient-orb-3 {
  width: 220px;
  height: 220px;
  background: #06b6d4;
  top: 40%;
  left: 55%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.08); }
  66% { transform: translate(-16px, 20px) scale(0.95); }
}

.hero-bg-animation canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-home .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.9s ease forwards;
}

.hero-fade-in-delay-1 { animation-delay: 0.15s; }
.hero-fade-in-delay-2 { animation-delay: 0.3s; }
.hero-fade-in-delay-3 { animation-delay: 0.45s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-home .hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-home .hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-title-static {
  display: block;
  background: linear-gradient(90deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline-wrap {
  display: block;
  min-height: 1.15em;
  perspective: 800px;
}

.hero-tagline-rotate {
  display: inline-block;
  font-style: normal;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 45%, #fde68a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform-origin: center bottom;
  animation: taglineGlow 3s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(251, 191, 36, 0.35));
}

.hero-tagline-rotate.is-changing {
  animation: taglineFlipOut 0.45s ease forwards;
}

.hero-tagline-rotate.is-entering {
  animation: taglineFlipIn 0.55s ease forwards;
}

@keyframes taglineGlow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(251, 191, 36, 0.25)); }
  50% { filter: drop-shadow(0 0 32px rgba(251, 191, 36, 0.55)); }
}

@keyframes taglineFlipOut {
  to {
    opacity: 0;
    transform: rotateX(70deg) translateY(-16px);
  }
}

@keyframes taglineFlipIn {
  from {
    opacity: 0;
    transform: rotateX(-70deg) translateY(16px);
  }
  to {
    opacity: 1;
    transform: rotateX(0) translateY(0);
  }
}

.hero-home .hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 640px;
}

.hero-desc-highlight {
  color: #fbbf24;
  font-weight: 700;
}

.hero-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  color: #e2e8f0;
}

.hero-stat-badge strong { color: #fbbf24; }

.hero-stat-badge .text-primary-custom { color: #60a5fa !important; }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  padding: calc(var(--nav-height) + 2rem) 0 2.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-hero .page-hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.page-hero .page-hero-desc {
  color: var(--color-muted);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  margin: 0;
  max-width: none;
  line-height: 1.5;
}

@media (min-width: 992px) {
  .page-hero:not(.page-hero-brand) .page-hero-desc {
    white-space: nowrap;
  }
}

/* Inner page hero (all pages except home) */
.page-hero-brand {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
  border-bottom: none;
  padding-bottom: clamp(2.5rem, 5vw, 3.25rem);
  position: relative;
  overflow: hidden;
}

.page-hero-brand::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  top: -120px;
  right: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.page-hero-brand::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: -90px;
  left: -50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.page-hero-brand .container {
  position: relative;
  z-index: 1;
}

.page-hero-brand .section-title-label {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero-brand .page-hero-title {
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
  max-width: none;
  white-space: nowrap;
}

.page-hero-brand .page-hero-desc {
  color: rgba(255, 255, 255, 0.88);
  display: block;
  margin: 0;
  max-width: 640px;
  line-height: 1.65;
  white-space: normal;
}

@media (max-width: 767px) {
  .page-hero-brand .page-hero-title {
    white-space: normal;
    font-size: clamp(1.5rem, 6vw, 1.85rem);
  }
}

.page-hero-brand.page-hero-animated::before {
  animation: pageHeroOrbFloat 7s ease-in-out infinite;
}

.page-hero-brand.page-hero-animated::after {
  animation: pageHeroOrbFloat 9s ease-in-out infinite reverse;
}

.page-hero-brand.page-hero-animated .page-hero-badge {
  opacity: 0;
  animation: heroFadeUp 0.6s ease forwards;
}

.page-hero-brand.page-hero-animated .page-hero-badge:nth-child(1) { animation-delay: 0.55s; }
.page-hero-brand.page-hero-animated .page-hero-badge:nth-child(2) { animation-delay: 0.7s; }
.page-hero-brand.page-hero-animated .page-hero-badge:nth-child(3) { animation-delay: 0.85s; }

@keyframes pageHeroOrbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -12px); }
}

.page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.page-hero-badge i {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ─── Sections ─── */
.section-padding { padding: var(--section-py) 0; }
.bg-surface { background: var(--color-surface); }

/* ─── Trust / Stats counters ─── */
.trust-section {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
  margin-top: 0;
  background: #fff;
  position: relative;
  z-index: 2;
}

.trust-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 0.85rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 992px) {
  .trust-stats-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0.9rem 0.65rem;
  }

  .trust-stat-item:not(:last-child) {
    border-right: 1px solid var(--color-border);
  }
}

.trust-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  min-width: 0;
}

.trust-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  color: #2563eb;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-stat-content {
  min-width: 0;
  text-align: left;
}

.trust-stat-value {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  white-space: nowrap;
}

.trust-stat-label {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-weight: 600;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.about-stats-bar {
  max-width: 960px;
  margin: 0 auto;
}

.about-page .trust-stat-content {
  text-align: left;
}

/* legacy trust-card (unused) */
.trust-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.trust-card .trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary-light);
}

.trust-card .trust-value {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--color-primary);
}

.trust-card .trust-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* ─── Cards ─── */
.course-card,
.university-card,
.feature-card,
.contact-info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.course-card:hover,
.university-card:hover,
.feature-card:hover {
  box-shadow: var(--shadow-md);
}

.course-card { display: flex; flex-direction: column; }

.course-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--color-border);
}

.course-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.course-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  min-width: 0;
}

.course-duration-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-muted);
  white-space: nowrap;
}

.course-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  line-height: 1.35;
  color: var(--color-text);
}

.course-card-title-link {
  color: inherit;
  text-decoration: none;
}

.course-card-title-link:hover {
  color: var(--color-primary);
}

.course-card-university {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.course-card-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.75rem;
}

.programs-showcase {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.programs-showcase-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.programs-showcase-footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

/* ─── About Page ─── */
.about-page .container > .mb-4:not(.about-who-section *),
.about-page .container > .mb-5 {
  text-align: center;
}

.about-page .stats-simple-card,
.about-page .feature-card {
  text-align: center;
}

.about-page .feature-icon {
  margin-left: auto;
  margin-right: auto;
}

.about-page .about-who-section .mb-4 {
  text-align: center;
}

.about-who-section .section-title.about-who-heading {
  color: var(--color-primary);
}

.about-who-tagline {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  max-width: 720px;
  margin: 0.75rem auto 0;
  text-align: center;
}

.about-prose-section {
  max-width: 800px;
  margin: 0 auto;
}

.about-stats-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.about-timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0.5rem 0 0.25rem;
}

.about-timeline-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  margin-left: -1.5px;
  background: var(--color-border);
  border-radius: 99px;
  overflow: hidden;
  z-index: 0;
}

.about-timeline-track::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  transform: scaleY(0);
  transform-origin: top center;
}

.about-timeline.is-animated .about-timeline-track::after {
  animation: timelineDrawDown 1.4s ease forwards;
}

.about-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: start;
  gap: 0 1.1rem;
  margin-bottom: 2.25rem;
  z-index: 1;
}

.about-timeline-item:last-child {
  margin-bottom: 0;
}

.about-timeline-dot {
  grid-column: 2;
  width: 16px;
  height: 16px;
  margin: 0.45rem auto 0;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary);
  transform: scale(0);
}

.about-timeline-item.is-visible .about-timeline-dot {
  animation: timelineDotIn 0.45s ease forwards, timelinePulse 1.8s ease 0.7s infinite;
}

.about-timeline-content {
  max-width: 100%;
  opacity: 0;
}

.about-timeline-left .about-timeline-content {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  transform: translateX(-36px);
}

.about-timeline-right .about-timeline-content {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  transform: translateX(36px);
}

.about-timeline-left .about-timeline-dot,
.about-timeline-right .about-timeline-dot {
  grid-row: 1;
}

.about-timeline-item.is-visible .about-timeline-content {
  animation: timelineSlideIn 0.7s ease forwards;
}

.about-timeline-year {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.about-timeline-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  text-align: left;
  width: 100%;
}

.about-timeline-left .about-timeline-card {
  border-right: 3px solid var(--color-primary);
}

.about-timeline-right .about-timeline-card {
  border-left: 3px solid var(--color-primary);
}

.about-timeline-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.about-timeline-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
}

@keyframes timelineDrawDown {
  to { transform: scaleY(1); }
}

@keyframes timelineSlideIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes timelineDotIn {
  to { transform: scale(1); }
}

@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--color-primary); }
  50% { box-shadow: 0 0 0 7px rgba(30, 58, 138, 0.16); }
}

@media (max-width: 767px) {
  .about-timeline-track {
    left: 0.7rem;
    margin-left: 0;
  }

  .about-timeline-item {
    grid-template-columns: 28px 1fr;
    gap: 0 0.85rem;
    margin-bottom: 1.5rem;
  }

  .about-timeline-dot {
    grid-column: 1;
  }

  .about-timeline-left .about-timeline-content,
  .about-timeline-right .about-timeline-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    transform: translateY(24px);
  }

  .about-timeline-left .about-timeline-card,
  .about-timeline-right .about-timeline-card {
    border-left: 3px solid var(--color-primary);
    border-right: 0;
  }
}

/* legacy stats cards */
.stats-simple-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.stats-simple-value {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.stats-simple-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-muted);
  line-height: 1.35;
}

.about-prose {
  margin-top: 0;
  text-align: justify;
  text-justify: inter-word;
}

.about-prose p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-prose p.about-lead {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-prose strong {
  color: var(--color-text);
  font-weight: 700;
}

.about-contact-scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.about-contact-scroll-link:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-contact-panel {
  position: sticky;
  top: calc(var(--nav-height) + 1.25rem);
}

@media (max-width: 991px) {
  .about-contact-panel {
    position: static;
  }

  .about-contact-scroll-link {
    margin-bottom: 0.5rem;
  }
}

.card-top-strip {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.category-badge-inline {
  display: inline-block;
  background: #eff6ff;
  color: var(--color-primary);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.course-card .card-body-inner { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }

.course-card .card-actions {
  display: flex;
  margin-top: auto;
  padding-top: 0.85rem;
}

.course-apply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, gap 0.2s ease;
}

.course-apply-link i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.course-apply-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.course-apply-link:hover i {
  transform: translateX(3px);
}

.list-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.list-pagination .pagination {
  gap: 0.25rem;
}

.list-pagination .page-link {
  border-radius: var(--radius-sm);
  color: #2563eb;
  border-color: var(--color-border);
  min-width: 1.85rem;
  text-align: center;
  padding: 0.28rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.2;
  background: #fff;
}

.list-pagination .page-link:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.list-pagination .page-item.active .page-link {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.list-pagination .page-item.disabled .page-link {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 575px) {
  .list-footer-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .list-pagination .pagination {
    justify-content: center;
  }
}

/* ─── List Pages (Courses & Institutes) ─── */
.courses-page .page-hero-brand,
.institutes-page .page-hero-brand {
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.list-page-section {
  padding: 1.25rem 0 clamp(2.5rem, 5vw, 4rem);
  background: #fff;
}

.list-page-toolbar {
  margin-bottom: 1.5rem;
}

.page-search-wrap {
  position: relative;
  max-width: 420px;
}

.page-search-wrap i {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}

.page-search-wrap .form-control {
  padding: 0.65rem 0.95rem 0.65rem 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.page-search-wrap .form-control:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.list-page-count {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.course-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.course-filter-btn {
  border: 1px solid rgba(30, 64, 175, 0.18);
  background: #fff;
  color: var(--color-text);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.course-filter-btn:hover,
.course-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.course-overview-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.course-overview-list li:last-child {
  border-bottom: 0;
}

.university-name-chip {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(30, 64, 175, 0.06);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.university-card {
  display: flex;
  flex-direction: column;
}

.university-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.university-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.university-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.university-card-ranking {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.university-card-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
}

.university-card-actions {
  margin-top: auto;
  padding-top: 0.85rem;
}

.uni-initial {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--color-primary);
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.country-badge-inline,
.state-badge-inline,
.programs-badge-inline {
  display: inline-block;
  background: #fff;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.partner-about-section {
  position: relative;
}

.partner-about-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.partner-about-header .section-subtitle {
  margin-top: 0.75rem;
}

/* Partner intro panel */
.partner-intro-panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.partner-intro-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
}

.partner-intro-panel-header {
  margin-bottom: 1.25rem;
}

.partner-intro-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
}

.partner-intro-title {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0;
}

.partner-intro-panel p {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.partner-intro-lead {
  font-size: 0.98rem !important;
  color: var(--color-text) !important;
  font-weight: 600;
}

.partner-intro-panel strong {
  color: var(--color-text);
  font-weight: 700;
}

.partner-intro-cta {
  margin-top: auto;
  padding-top: 0.5rem;
}

.partner-intro-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0.85rem 0 0;
  font-weight: 600;
}

.partner-intro-note i {
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* Partner benefits panel */
.partner-benefits-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.partner-benefits-panel-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.partner-benefits-heading {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.partner-benefits-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.partner-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .partner-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partner-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.partner-benefit-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
  transform: translateY(-2px);
}

.partner-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* legacy partner benefit item */
.partner-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  height: 100%;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
}

.partner-benefit-item i {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ─── Why Choose Us (Home) ─── */
.why-choose-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem 1.4rem;
  height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-choose-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.1);
  border-color: #bfdbfe;
}

.why-choose-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.why-choose-card:hover .why-choose-card-icon {
  transform: scale(1.05);
  background: linear-gradient(145deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  border-color: transparent;
}

.why-choose-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  line-height: 1.35;
}

.why-choose-card-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.why-choose-card-desc strong {
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* ─── How It Works ─── */
.how-it-works-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.process-showcase {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.process-steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .process-steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.25rem;
  }
}

@media (min-width: 1200px) {
  .process-steps-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .process-steps-row::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #bfdbfe 15%, #93c5fd 50%, #bfdbfe 85%, transparent);
    z-index: 0;
  }
}

.process-step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0.25rem 0.5rem;
  height: 100%;
}

.process-step-badge {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #2563eb, #3b82f6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step-card:hover .process-step-badge {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.process-step-num {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  background: #fff;
  color: #2563eb;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.process-step-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #3b82f6;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.55rem;
}

.process-step-title {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  color: var(--color-text);
  line-height: 1.35;
}

.process-step-desc {
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.process-step-desc strong {
  color: var(--color-primary-dark);
  font-weight: 700;
}

@media (min-width: 1200px) {
  .process-step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #93c5fd;
    z-index: 2;
  }
}

/* ─── Process steps (legacy) ─── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.process-step {
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.process-step .step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.85rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
}

.process-step h5 { font-size: 0.9rem; margin-bottom: 0.35rem; }
.process-step p { font-size: 0.8125rem; color: var(--color-muted); margin: 0; }

/* ─── Testimonials ─── */
.testimonials-section {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 42%),
    var(--color-surface);
}

.testimonial-card {
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 1.4rem 1.45rem 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(30, 58, 138, 0.12);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.testimonial-quote-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 138, 0.08);
  color: var(--color-primary);
  font-size: 1.35rem;
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.15rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--color-border);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.22);
  margin-top: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

.testimonial-author > div span {
  display: block;
  font-size: 0.76rem;
  color: var(--color-muted);
  margin-top: 0.1rem;
}

.testimonials-carousel {
  position: relative;
  padding: 0 2.75rem 2.75rem;
}

.testimonials-carousel .carousel-indicators {
  margin-bottom: 0;
}

.testimonials-carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.25;
  border: 0;
}

.testimonials-carousel .carousel-indicators .active {
  opacity: 1;
}

.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
  width: auto;
  opacity: 1;
}

.testimonials-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.testimonials-carousel .carousel-control-prev:hover .testimonials-nav-btn,
.testimonials-carousel .carousel-control-next:hover .testimonials-nav-btn {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

@media (max-width: 575px) {
  .testimonials-carousel {
    padding: 0 2.25rem 2.5rem;
  }
}

.testimonial-stars {
  color: var(--color-accent);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* ─── CTA Section ─── */
.cta-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--color-surface);
}

.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 52%, var(--color-primary-light) 100%);
  box-shadow: 0 14px 40px rgba(30, 58, 138, 0.2);
  color: #fff;
}

.cta-inner::before,
.cta-inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -60px;
  background: rgba(255, 255, 255, 0.08);
}

.cta-inner::after {
  width: 160px;
  height: 160px;
  bottom: -70px;
  left: -40px;
  background: rgba(255, 255, 255, 0.06);
}

.cta-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.65rem;
}

.cta-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-desc {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.65;
}

.cta-btn {
  position: relative;
  z-index: 1;
  min-width: 180px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.cta-inner .btn-accent {
  background: var(--color-accent);
  border: none;
  color: #fff;
}

.cta-inner .btn-accent:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.cta-section-light {
  background: #fff;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
}

.cta-section-light h2 {
  color: var(--color-text);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
}

.cta-section-light .cta-desc {
  max-width: 540px;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--color-primary-dark);
  color: #94a3b8;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem;
  margin: 0;
}

#footer {
  margin: 0;
  padding: 0;
}

.site-footer h5 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fbbf24; }

.social-links { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.social-links a:hover { background: var(--color-accent); color: #fff; }

/* ─── Floating WhatsApp ─── */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@media (max-width: 991px) {
  .floating-whatsapp { bottom: 76px; }
}

/* ─── Mobile sticky bar ─── */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  display: flex;
}

@media (min-width: 992px) {
  .sticky-mobile-bar { display: none; }
}

body.has-mobile-bar { padding-bottom: 0; }

@media (max-width: 991px) {
  .site-footer {
    padding-bottom: calc(1.25rem + 56px);
  }
}

.sticky-mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #fff;
  background: var(--color-whatsapp);
}

.sticky-mobile-bar a.btn-call-bar {
  background: var(--color-primary);
  border-right: none;
}

/* ─── Course table & highlights ─── */
.highlight-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: center;
  height: 100%;
}

.course-table-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.course-table thead {
  background: #fef3c7;
}

.course-table th,
.course-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.course-table th {
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.course-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.course-table tbody tr:hover {
  background: #eff6ff;
}

.course-table a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.course-table a:hover {
  text-decoration: underline;
}

.features-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.features-panel h5 {
  color: var(--color-primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.features-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.features-list li i {
  color: #16a34a;
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .course-table th,
  .course-table td {
    padding: 0.6rem 0.65rem;
    font-size: 0.8rem;
  }
}

/* ─── Forms ─── */
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

.is-invalid-custom { border-color: #dc2626 !important; }
.error-msg { color: #dc2626; font-size: 0.8rem; margin-top: 0.25rem; }

.success-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.filter-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

/* ─── Sidebar ─── */
.sidebar-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 992px) {
  .sidebar-card { position: sticky; top: calc(var(--nav-height) + 1.25rem); }
}

/* ─── Google Map ─── */
.map-container {
  width: 100%;
  min-height: 220px;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: var(--color-surface);
}

.map-container iframe {
  width: 100%;
  height: 220px;
  min-height: 220px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .map-container,
  .map-container iframe {
    height: 180px;
    min-height: 180px;
  }
}

/* ─── Contact Page ─── */
.contact-page-section {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.contact-panel,
.contact-map-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.contact-panel-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-panel-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.contact-panel-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.contact-panel-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

.contact-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}

.contact-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.contact-detail-list li:last-child {
  border-bottom: none;
}

.contact-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  border: 1px solid #dbeafe;
}

.contact-icon-wrap.contact-icon-whatsapp {
  background: #ecfdf5;
  color: #16a34a;
  border-color: #bbf7d0;
}

.contact-detail-list strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-bottom: 0.2rem;
}

.contact-link,
.contact-text {
  display: block;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--color-primary);
}

.contact-panel-actions {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.contact-partnership-text {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.contact-benefits-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 1.1rem 0 0.6rem;
}

.contact-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.contact-benefits-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-primary);
}

.contact-partnership-reach {
  margin-bottom: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 0.25rem;
}

.contact-map-panel {
  margin-top: 1.5rem;
}

.contact-map-header {
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.contact-map-panel #map-wrapper {
  line-height: 0;
}

.contact-panel .form-control {
  border-color: var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
}

.contact-panel .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.contact-panel .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

@media (max-width: 991px) {
  .contact-map-panel {
    margin-top: 1.25rem;
  }
}

/* ─── Course detail ─── */
.course-detail-hero {
  padding: calc(var(--nav-height) + 1.75rem) 0 2rem;
}

.course-detail-hero.page-hero-brand .page-hero-title,
.course-detail-hero.page-hero-brand h1 {
  color: #fff;
}

.course-detail-hero.page-hero-brand .text-muted {
  color: rgba(255, 255, 255, 0.82) !important;
}

.course-detail-hero.page-hero-brand .breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.9);
}

.course-detail-hero.page-hero-brand .breadcrumb-custom .active {
  color: rgba(255, 255, 255, 0.65);
}

.course-detail-hero.page-hero-brand .category-badge-inline {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-custom { font-size: 0.8125rem; margin-bottom: 0.75rem; }
.breadcrumb-custom a { color: var(--color-primary-light); text-decoration: none; }
.breadcrumb-custom .active { color: var(--color-muted); }

.benefit-list { list-style: none; padding: 0; margin: 0; }
.benefit-list li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}
.benefit-list li i { color: #16a34a; flex-shrink: 0; margin-top: 3px; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item .faq-q {
  padding: 0.9rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.faq-item .faq-a {
  padding: 0 1rem 0.9rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ─── Inquiry — Why Enquire card ─── */
.inquiry-why-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.inquiry-why-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.inquiry-why-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.inquiry-why-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.inquiry-why-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.inquiry-why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}

.inquiry-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.inquiry-why-list li:last-child {
  border-bottom: none;
}

.inquiry-why-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #bfdbfe;
}

.inquiry-why-icon .bi {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.inquiry-why-list strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.inquiry-why-list li > div > span {
  display: block;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.inquiry-why-contact {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.inquiry-why-contact-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-bottom: 0.65rem;
  text-align: center;
}

.inquiry-why-contact-title i {
  color: var(--color-primary);
  margin-right: 0.35rem;
}

.inquiry-why-contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.45rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.inquiry-why-contact-link:last-child {
  margin-bottom: 0;
}

.inquiry-why-contact-link > i {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 6px;
  background: #eff6ff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
}

.inquiry-why-contact-link:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
}

.inquiry-why-contact-wa > i {
  background: #ecfdf5;
  color: #16a34a;
}

.inquiry-benefit {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.inquiry-benefit i { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

.achievement-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.achievement-card .value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fbbf24;
}

/* ─── Utilities ─── */
.text-primary-custom { color: var(--color-primary) !important; }
.text-muted { color: var(--color-muted) !important; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.95rem;
}

.view-all-link:hover { color: var(--color-primary-dark); }

.content-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

/* Subtle scroll animation */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* Full-width buttons on mobile */
@media (max-width: 575px) {
  .btn-mobile-full { width: 100%; }
  .cta-section .cta-btn { width: 100%; max-width: 320px; }
}

/* Course grid — equal-height cards */
.courses-grid > [class*="col-"] {
  display: flex;
}

.courses-grid .course-card {
  width: 100%;
}

/* Legal pages */
.legal-prose h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--color-muted);
  font-size: 0.925rem;
  line-height: 1.75;
}

.legal-prose ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-prose a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-updated {
  margin-bottom: 1.25rem;
}

/* 404 error page */
.error-page-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: var(--color-surface);
}

.error-page-code {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.2;
  margin-bottom: 0.5rem;
}

.error-page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.error-page-desc {
  color: var(--color-muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

