/* =====================================================
   MPP Group — Premium Bootstrap 5 Business Theme
   Custom Design System (overrides + extensions)
   ===================================================== */

:root {
  /* Compatibility tokens for the migrated MPP team stylesheet. */
  --edu-outline: #d8e3ff;
  --edu-radius: 10px;
  --edu-primary-strong: #155eef;
  --edu-text: #0f172a;
  --edu-text-muted: #667085;

  /* Color system - Unified & Accessible */
  --n-primary: #155EEF;
  --n-primary-dark: #0E3FB0;
  --n-secondary: #6941C6;
  --n-navy: #0B1437;
  --n-success: #12B76A;
  --n-slate: #475467;
  --n-slate-light: #667085;
  --n-bg: #F7F9FC;
  --n-bg-alt: #EEF2FF;
  --n-border: #E4E7EC;
  --n-white: #FFFFFF;

  /* Gradients */
  --n-gradient-primary: linear-gradient(135deg, #155EEF 0%, #6941C6 100%);
  --n-gradient-soft: linear-gradient(135deg, #EEF2FF 0%, #F4F0FF 100%);
  --n-gradient-dark: linear-gradient(135deg, #0B1437 0%, #1A2456 100%);

  /* Typography - Strict 2-Family System */
  --n-font-display: 'Sora', sans-serif;
  --n-font-body: 'Inter', sans-serif;

  /* Type Scale System (8 standard tiers) */
  --text-2xs: 0.75rem;   /* 12px */
  --text-xs: 0.8125rem;  /* 13px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 2rem;      /* 32px */
  --text-4xl: 2.75rem;   /* 44px */

  /* Spacing rhythm (8px base) */
  --n-space-xs: 0.5rem;
  --n-space-sm: 1rem;
  --n-space-md: 1.5rem;
  --n-space-lg: 2.5rem;
  --n-space-xl: 4rem;
  --n-space-2xl: 6rem;

  /* Radius (Standardized to 4 tiers) */
  --n-radius-sm: 6px;
  --n-radius-md: 10px;
  --n-radius-lg: 16px;
  --n-radius-pill: 9999px;

  /* Shadows */
  --n-shadow-sm: 0 2px 8px rgba(11, 20, 55, 0.06);
  --n-shadow-md: 0 8px 24px rgba(11, 20, 55, 0.08);
  --n-shadow-lg: 0 20px 48px rgba(11, 20, 55, 0.12);
  --n-shadow-primary: 0 12px 28px rgba(21, 94, 239, 0.25);

  /* Bootstrap overrides */
  --bs-primary: #155EEF;
  --bs-primary-rgb: 21, 94, 239;
  --bs-body-font-family: var(--n-font-body);
  --bs-body-color: var(--n-slate);
  --bs-body-bg: var(--n-white);
}

body, button, input, select, textarea, .badge, .small, svg text {
  font-family: var(--n-font-body);
}

h1, h2, h3, h4, h5, h6, .section-title, .font-display {
  font-family: var(--n-font-display);
}

/* =====================================================
   BASE
   ===================================================== */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Public admission uses the ERP's compact section-card layout. */
.public-admission-page { background: #f5f7fa; padding: 112px 0 48px; }
.admission-topline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-bottom: 1px solid #dee2e6; padding-bottom: 22px; margin-bottom: 24px; }
.admission-breadcrumb { display: flex; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.admission-topline h1 { font-family: var(--n-font-body); font-size: 24px; color: #212529; margin: 0 0 6px; }
.admission-topline p { margin: 0; font-size: 14px; }
.public-admission-form .admission-section { border: 1px solid #dee2e6; border-radius: 10px; box-shadow: 0 2px 5px rgb(0 0 0 / 4%); margin-bottom: 24px; }
.public-admission-form .card-header { background: #fff; border-bottom: 1px solid #e5e7eb; border-radius: 10px 10px 0 0; padding: 16px 24px; }
.public-admission-form .card-header h2 { color: #155eef; font-family: var(--n-font-body); font-size: 16px; font-weight: 700; letter-spacing: 0; margin: 0; }
.public-admission-form .card-header p { font-size: 12px; margin: 5px 0 0; }
.public-admission-form .card-body { padding: 24px; }
.public-admission-form .form-label { display: block; font-size: 13px; font-weight: 600; color: #495057; margin-bottom: 6px; }
.public-admission-form .form-control, .public-admission-form .form-select { border-radius: 6px; border-color: #ced4da; font-size: 14px; padding: 10px 12px; min-height: 42px; background-color: #fff; color: #212529; }
.public-admission-form .form-select { padding-right: 36px; }
.public-admission-form .form-control:focus, .public-admission-form .form-select:focus { border-color: #86b7fe; box-shadow: 0 0 0 3px rgb(13 110 253 / 15%); }
.public-admission-form .form-control::placeholder { color: #868e96; }
.public-admission-form .btn, .admission-topline .btn { border-radius: 6px; font-size: 14px; font-weight: 600; padding: 10px 18px; }
.admission-submit-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; background: #fff; padding: 20px 24px; border: 1px solid #dee2e6; border-radius: 10px; }
.admission-submit-bar p { font-size: 13px; margin: 0; }
.admission-online-label { display: inline-block; background: #eaf2ff; color: #155eef; border: 1px solid #d8e6ff; border-radius: 4px; padding: 5px 8px; font-size: 11px; font-weight: 700; letter-spacing: .05em; margin-bottom: 16px; }
.admission-guide h3 { font-family: var(--n-font-body); font-size: 19px; }
.admission-guide p, .admission-note { font-size: 13px; line-height: 1.7; }
.admission-checklist { padding-left: 20px; margin: 24px 0; }
.admission-checklist li { padding-left: 6px; margin-bottom: 18px; font-size: 13px; }
.admission-checklist li::marker { color: #155eef; font-weight: 700; }
.admission-checklist strong, .admission-checklist span { display: block; }
.admission-checklist strong { color: #343a40; margin-bottom: 4px; }
.admission-note { background: #f8f9fa; border-left: 3px solid #155eef; border-radius: 4px; padding: 12px; }
.admission-required-note { margin: 18px 0 0; }
@media (max-width: 575px) {
  .public-admission-page { padding-top: 96px; }
  .admission-topline h1 { font-size: 21px; }
  .public-admission-form .card-header, .public-admission-form .card-body, .admission-submit-bar { padding: 16px; }
  .admission-submit-bar .btn { width: 100%; }
}

body {
  font-family: var(--n-font-body);
  color: var(--n-slate);
  background-color: var(--n-white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: var(--n-font-display);
  color: var(--n-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-weight: 800; }

p { line-height: 1.7; }

a { text-decoration: none; }

.text-primary-custom { color: var(--n-primary) !important; }
.text-slate { color: var(--n-slate) !important; }
.text-navy { color: var(--n-navy) !important; }
.bg-soft { background-color: var(--n-bg) !important; }
.bg-soft-alt { background: var(--n-gradient-soft) !important; }
.bg-navy { background-color: var(--n-navy) !important; }
.bg-gradient-primary { background: var(--n-gradient-primary) !important; }
.bg-gradient-dark { background: var(--n-gradient-dark) !important; }

/* Section spacing rhythm */
.section { padding-top: var(--n-space-2xl); padding-bottom: var(--n-space-2xl); }
.section-sm { padding-top: var(--n-space-xl); padding-bottom: var(--n-space-xl); }

@media (max-width: 767.98px) {
  .section { padding-top: var(--n-space-xl); padding-bottom: var(--n-space-xl); }
  .section-sm { padding-top: var(--n-space-lg); padding-bottom: var(--n-space-lg); }
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--n-font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--n-primary);
  background: var(--n-bg-alt);
  padding: 0.35rem 0.85rem;
  border-radius: var(--n-radius-pill);
  margin-bottom: var(--n-space-sm);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--n-primary);
  display: inline-block;
}

.section-title { margin-bottom: var(--n-space-sm); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--n-slate);
  max-width: 620px;
}
.section-header { margin-bottom: var(--n-space-xl); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  font-family: var(--n-font-display);
  font-weight: 600;
  border-radius: var(--n-radius-sm);
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border-width: 1.5px;
}

.btn-primary {
  background: var(--n-gradient-primary);
  border: none;
  box-shadow: var(--n-shadow-primary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(21, 94, 239, 0.32);
  color: #fff;
}

.btn-outline-primary {
  border-color: var(--n-primary);
  color: var(--n-primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--n-primary);
  border-color: var(--n-primary);
  transform: translateY(-2px);
}

.btn-light-custom {
  background: #fff;
  color: var(--n-navy);
  border: 1.5px solid var(--n-border);
}

.btn-light-custom:hover {
  background: var(--n-bg);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.btn-lg-custom { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm-custom { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar-nexora {
  padding: 1.25rem 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.0);
}

.navbar-nexora.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--n-shadow-sm);
}

/* =====================================================
   WHITE NAVBAR FOR INNER PAGES (Without Home Page)
   ===================================================== */
body.is-inner-page {
  padding-top: 76px;
}

body.is-inner-page .navbar-nexora,
.navbar-nexora.navbar-white {
  background: #ffffff !important;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.08) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 0.75rem 0 !important;
}

body.is-inner-page .navbar-nexora .navbar-brand-custom,
.navbar-nexora.navbar-white .navbar-brand-custom {
  color: #0f172a !important;
}

body.is-inner-page .navbar-nexora .navbar-brand-custom .mpp-template-name,
.navbar-nexora.navbar-white .navbar-brand-custom .mpp-template-name {
  color: #64748b !important;
}

body.is-inner-page .navbar-nexora .nav-link,
.navbar-nexora.navbar-white .nav-link {
  color: #334155 !important;
  font-weight: 600;
}

body.is-inner-page .navbar-nexora .nav-link:hover,
body.is-inner-page .navbar-nexora .nav-link.active,
.navbar-nexora.navbar-white .nav-link:hover,
.navbar-nexora.navbar-white .nav-link.active {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.08) !important;
}

body.is-inner-page .navbar-nexora .navbar-toggler-custom,
.navbar-nexora.navbar-white .navbar-toggler-custom {
  background: #f1f5f9;
}

.navbar-brand-custom {
  font-family: var(--n-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--n-navy) !important;
  letter-spacing: -0.02em;
}

.navbar-brand-custom span { color: var(--n-primary); }
.navbar-brand-custom .mpp-logo-image {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-right: 9px;
}

.navbar-brand-custom .mpp-logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--n-primary), var(--n-secondary));
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

.navbar-brand-custom b { color: var(--n-primary); }
.navbar-nexora .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-brand-custom {
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.navbar-nexora .navbar-nav { list-style: none; }
@media (min-width: 992px) {
  .navbar-nexora .navbar-toggler { display: none; }
  .navbar-nexora .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
  }
  .navbar-nexora .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
  }
  .navbar-nexora .navbar-nav > li { list-style: none; }
  .navbar-nexora .navbar-nav > li:last-child {
    margin-left: 2rem !important;
    flex-shrink: 0;
  }
}

.navbar-brand-custom .mpp-template-name {
  margin-left: 8px;
  color: var(--n-slate) !important;
  font-family: var(--n-font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.navbar-nexora .nav-link {
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--n-slate) !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--n-radius-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.navbar-nexora .nav-link:hover,
.navbar-nexora .nav-link.active {
  color: var(--n-navy) !important;
  background: var(--n-bg-alt);
}

.navbar-toggler-custom {
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--n-radius-sm);
  background: var(--n-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  padding: 0;
}

.navbar-toggler-custom .bar {
  width: 20px;
  height: 2px;
  background: var(--n-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler-custom.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.navbar-toggler-custom.active .bar:nth-child(2) { opacity: 0; }
.navbar-toggler-custom.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 5rem;
  background: var(--n-gradient-soft);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105,65,198,0.14) 0%, rgba(21,94,239,0.06) 60%, transparent 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,94,239,0.10) 0%, transparent 70%);
  z-index: 0;
}

.hero-content { position: relative; z-index: 2; }

.hero h1 { font-size: 3.25rem; line-height: 1.15; }

@media (max-width: 991.98px) {
  .hero { padding-top: 7rem; text-align: center; }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 575.98px) {
  .hero h1 { font-size: 2rem; }
}

/* Hero visual / dashboard mock card */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-mock-card {
  background: #fff;
  border-radius: var(--n-radius-lg);
  box-shadow: var(--n-shadow-lg);
  padding: var(--n-space-md);
  border: 1px solid var(--n-border);
  position: relative;
}

.hero-mock-card .mock-bar {
  height: 10px;
  border-radius: var(--n-radius-pill);
  background: var(--n-bg-alt);
  margin-bottom: 0.75rem;
}

.hero-float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-md);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--n-navy);
  z-index: 3;
}

.hero-float-badge.badge-1 { top: -1.5rem; left: -1.5rem; }
.hero-float-badge.badge-2 { bottom: -1.5rem; right: -1.5rem; }

.hero-float-badge .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .hero-float-badge { padding: 0.6rem 0.9rem; font-size: 0.75rem; }
  .hero-float-badge.badge-1 { top: -1rem; left: -0.5rem; }
  .hero-float-badge.badge-2 { bottom: -1rem; right: -0.5rem; }
}

/* Stats strip */
.stats-strip {
  border-top: 1px solid var(--n-border);
  border-bottom: 1px solid var(--n-border);
}

.stat-item .stat-number {
  font-family: var(--n-font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--n-navy);
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--n-slate);
  font-weight: 500;
}

/* =====================================================
   ICON BOXES
   ===================================================== */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--n-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-box-primary { background: var(--n-bg-alt); color: var(--n-primary); }
.icon-box-secondary { background: #F4F0FF; color: var(--n-secondary); }
.icon-box-success { background: #E7F9F0; color: var(--n-success); }

.icon-box-lg { width: 72px; height: 72px; font-size: 2rem; border-radius: var(--n-radius-md); }

.icon-box-white {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* =====================================================
   CARDS — premium card system
   ===================================================== */
.card-premium {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-sm);
  transition: all 0.3s ease;
  padding: var(--n-space-lg);
  height: 100%;
}

.card-premium:hover {
  box-shadow: var(--n-shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}

.card-premium .card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-link-arrow {
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--n-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.card-link-arrow:hover { gap: 0.7rem; color: var(--n-primary-dark); }

/* Pricing card */
.pricing-card {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-lg);
  padding: var(--n-space-lg);
  box-shadow: var(--n-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.pricing-card:hover { box-shadow: var(--n-shadow-md); transform: translateY(-6px); }

.pricing-card.featured {
  background: var(--n-gradient-dark);
  border: none;
  color: #fff;
  box-shadow: var(--n-shadow-lg);
  transform: scale(1.03);
}

.pricing-card.featured .price, .pricing-card.featured h3 { color: #fff; }
.pricing-card.featured .text-slate { color: rgba(255,255,255,0.65) !important; }
.pricing-card.featured ul li { color: rgba(255,255,255,0.85); }
.pricing-card.featured .pricing-divider { border-color: rgba(255,255,255,0.12); }

@media (max-width: 991.98px) {
  .pricing-card.featured { transform: none; }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: var(--n-gradient-primary);
  color: #fff;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: var(--n-radius-pill);
  letter-spacing: 0.05em;
}

.price {
  font-family: var(--n-font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--n-navy);
}

.price-period { font-size: 1rem; font-weight: 500; color: var(--n-slate); }

.pricing-divider { border-color: var(--n-border); margin: var(--n-space-md) 0; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--n-slate);
}

.feature-list li i { color: var(--n-success); margin-top: 0.2rem; flex-shrink: 0; }
.feature-list li.disabled { opacity: 0.45; }
.feature-list li.disabled i { color: var(--n-slate-light); }

/* Blog cards */
.blog-card-img {
  border-radius: var(--n-radius-md) var(--n-radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-img img { transition: transform 0.4s ease; width: 100%; height: 100%; object-fit: cover; }
.card-premium:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body { padding: var(--n-space-md) var(--n-space-md) 0; }

.tag-pill {
  display: inline-block;
  font-family: var(--n-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n-primary);
  background: var(--n-bg-alt);
  padding: 0.3rem 0.8rem;
  border-radius: var(--n-radius-pill);
  margin-bottom: 0.75rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--n-slate-light);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--n-border);
}

/* Portfolio card */
.portfolio-card {
  position: relative;
  border-radius: var(--n-radius-md);
  overflow: hidden;
  box-shadow: var(--n-shadow-sm);
  aspect-ratio: 4/3;
}

.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,20,55,0) 30%, rgba(11,20,55,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--n-space-md);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card:hover img { transform: scale(1.08); }

.portfolio-overlay h5 { color: #fff; margin-bottom: 0.25rem; }
.portfolio-overlay span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* Testimonial card */
.testimonial-card {
  background: #fff;
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-sm);
  border: 1px solid var(--n-border);
  padding: var(--n-space-lg);
  height: 100%;
}

.testimonial-card .stars { color: #FFB400; letter-spacing: 0.15em; font-size: 0.9rem; margin-bottom: 1rem; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: var(--n-space-md);
}

.testimonial-author img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}

.testimonial-author .name { font-family: var(--n-font-display); font-weight: 700; color: var(--n-navy); font-size: 0.95rem; }
.testimonial-author .role { font-size: 0.8rem; color: var(--n-slate-light); }

/* Process steps (numbered — real sequence) */
.process-step {
  position: relative;
  padding-left: 0;
}

.process-number {
  font-family: var(--n-font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--n-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

/* Logo cloud */
.logo-cloud-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--n-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--n-slate-light);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.logo-cloud-item:hover { opacity: 1; color: var(--n-navy); }

/* =====================================================
   FORMS
   ===================================================== */
.form-control,
.form-select {
  border: 1.5px solid var(--n-border);
  border-radius: var(--n-radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  background-color: var(--n-bg);
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--n-primary);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.1);
  background-color: #fff;
}

.form-label {
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--n-navy);
  margin-bottom: 0.5rem;
}

.form-control.is-invalid, .form-select.is-invalid { border-color: #DC3545; }
.form-control.is-valid, .form-select.is-valid { border-color: var(--n-success); }

/* Newsletter / CTA section */
.cta-section {
  background: var(--n-gradient-dark);
  border-radius: var(--n-radius-lg);
  padding: var(--n-space-2xl) var(--n-space-lg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,94,239,0.25) 0%, transparent 70%);
}

.cta-section h2, .cta-section p { color: #fff; position: relative; z-index: 1; }
.cta-section p { color: rgba(255,255,255,0.7); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer-nexora {
  background: var(--n-navy);
  color: rgba(255,255,255,0.65);
  padding-top: var(--n-space-2xl);
}

.footer-nexora h6,
.footer-nexora h3,
.footer-nexora .footer-heading {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: var(--n-space-md);
}

.footer-nexora a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.footer-nexora a:hover { color: #fff; }

@media (min-width: 992px) {
  .border-start-lg {
    border-left: 1px solid var(--n-border);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--n-space-xl);
  padding: var(--n-space-md) 0;
  font-size: 0.85rem;
}
.mpp-footer-credit { color: rgba(255, 255, 255, .82); font-weight: 600; }
.mpp-super-body { margin: 0; background: #f5f7fb; color: var(--n-navy); }
.mpp-super-page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); width: 100%; height: 100dvh; min-height: 620px; overflow: hidden; }
.mpp-super-intro { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(2rem, 5vw, 5rem); color: #fff; background: radial-gradient(circle at 78% 18%, rgba(36, 99, 235, .52), transparent 32%), linear-gradient(145deg, #07122f, #102d68 72%, #155eef); }
.mpp-super-intro::after { position: absolute; width: 520px; height: 520px; right: -180px; bottom: -200px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025); content: ''; }
.mpp-super-back { position: relative; z-index: 1; width: fit-content; color: rgba(255,255,255,.82); text-decoration: none; }
.mpp-super-back:hover { color: #fff; }
.mpp-super-intro-content { position: relative; z-index: 1; max-width: 650px; }
.mpp-super-mark { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 16px; color: #fff; background: rgba(255,255,255,.12); font-size: 1.55rem; }
.mpp-super-kicker { margin: 1.5rem 0 .75rem; color: #9fc0ff; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mpp-super-intro h1 { max-width: 650px; margin: 0 0 1.25rem; color: #fff; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.04; }
.mpp-super-intro-copy { max-width: 520px; color: rgba(255,255,255,.76); font-size: 1.12rem; line-height: 1.7; }
.mpp-super-points { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; color: #dce8ff; font-size: .9rem; font-weight: 700; }
.mpp-super-points i { color: #67e8f9; margin-right: .35rem; }
.mpp-super-copyright { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.5); font-size: .8rem; }
.mpp-super-panel { display: grid; place-items: center; min-width: 0; height: 100%; padding: clamp(1.25rem, 5vw, 5rem); }
.mpp-super-card { position: relative; isolation: isolate; width: min(100%, 520px); padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 24px 80px rgba(15,23,42,.1); backdrop-filter: blur(18px); animation: superCardIn .65s cubic-bezier(.2,.8,.2,1) both; }
.mpp-super-card > *:not(.mpp-ai-orb) { position: relative; z-index: 1; }
.mpp-ai-orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(2px); opacity: .75; }
.mpp-ai-orb--one { width: 130px; height: 130px; top: -65px; right: -55px; background: radial-gradient(circle, rgba(21,94,239,.2), transparent 70%); animation: aiOrbFloat 6s ease-in-out infinite; }
.mpp-ai-orb--two { width: 100px; height: 100px; bottom: -50px; left: -45px; background: radial-gradient(circle, rgba(18,183,106,.16), transparent 70%); animation: aiOrbFloat 7s ease-in-out -2s infinite reverse; }
.mpp-super-brand { display: flex; align-items: center; gap: .7rem; color: var(--n-navy); font-size: 1.35rem; }
.mpp-super-brand .mpp-logo-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #fff; background: var(--n-navy); font-size: .7rem; }
.mpp-super-label { display: inline-flex; gap: .4rem; align-items: center; margin: 2.25rem 0 1rem; padding: .5rem .75rem; border-radius: 999px; color: #b42318; background: #fff1f0; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.mpp-super-card h2 { margin: 0 0 .65rem; color: var(--n-navy); font-size: clamp(2rem, 4vw, 2.8rem); }
.mpp-super-subtitle { margin: 0 0 1.5rem; color: var(--n-slate); line-height: 1.6; }
.mpp-super-alert { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.5rem; padding: .85rem 1rem; border: 1px solid #fedf89; border-radius: 12px; color: #7a2e0b; background: #fffaeb; font-size: .83rem; line-height: 1.5; }
.mpp-super-form { padding-top: .15rem; }
.mpp-form-field { animation: formFieldIn .55s ease both; }
.mpp-form-field:nth-of-type(2) { animation-delay: .08s; }
.mpp-form-field:nth-of-type(3) { animation-delay: .16s; }
.mpp-super-form label { display: block; margin: 0 0 .45rem; color: var(--n-navy); font-size: .86rem; font-weight: 800; letter-spacing: .01em; }
.mpp-super-input { display: flex; align-items: center; gap: .7rem; min-height: 52px; margin-bottom: 1.1rem; padding: 0 .95rem; border: 1px solid #d0d5dd; border-radius: 11px; color: #667085; background: #fff; }
.mpp-super-input:focus-within { border-color: #155eef; box-shadow: 0 0 0 4px rgba(21,94,239,.12); }
.mpp-super-input > i { display: inline-grid; width: 1.15rem; place-items: center; color: #155eef; font-size: 1rem; font-style: normal; }
.mpp-super-input input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--n-navy); font: inherit; }
.mpp-super-input button { border: 0; color: #667085; background: transparent; cursor: pointer; }
.mpp-super-options { display: flex; justify-content: space-between; gap: 1rem; margin: .2rem 0 1.5rem; color: var(--n-slate); font-size: .84rem; }
.mpp-super-options label { display: flex; gap: .45rem; align-items: center; margin: 0; color: var(--n-slate); font-size: .84rem; font-weight: 500; }
.mpp-super-options a, .mpp-super-footer-link { color: #155eef; text-decoration: none; }
.mpp-super-submit { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; min-height: 52px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #0b1437, #155eef); font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(11,20,55,.22); transition: transform .2s ease, box-shadow .2s ease; }
.mpp-super-submit:hover { filter: brightness(1.1); }
.mpp-super-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(11,20,55,.28); }
.mpp-submit-shine { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.mpp-submit-shine::after { position: absolute; top: 0; left: -35%; width: 25%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); content: ''; transform: skewX(-18deg); animation: buttonShine 4s ease-in-out infinite; }
@keyframes superCardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes formFieldIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aiOrbFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-10px, 12px, 0); } }
@keyframes buttonShine { 0%, 55% { left: -35%; } 75%, 100% { left: 125%; } }
@media (prefers-reduced-motion: reduce) { .mpp-super-card, .mpp-form-field, .mpp-ai-orb, .mpp-submit-shine::after { animation: none; } }
.mpp-super-footer-link { display: inline-block; margin-top: 1.5rem; font-size: .86rem; }
@media (max-width: 900px) { .mpp-super-page { grid-template-columns: 1fr; } .mpp-super-intro { min-height: 390px; } .mpp-super-intro h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); } }
@media (max-width: 520px) { .mpp-super-panel { padding: 1rem; } .mpp-super-card { padding: 1.35rem; border-radius: 18px; } .mpp-super-intro { min-height: 350px; padding: 1.5rem; } .mpp-super-points { display: grid; gap: .6rem; } }
@media (max-height: 820px) and (min-width: 901px) { .mpp-super-panel { padding: 1rem 2rem; } .mpp-super-intro { padding: 1.5rem 3rem; } .mpp-super-intro-content { max-width: 560px; } .mpp-super-intro h1 { font-size: 3rem; } .mpp-super-intro-copy { font-size: 1rem; } .mpp-super-card { padding: 1.1rem 1.5rem; } .mpp-super-label { margin: .8rem 0 .55rem; } .mpp-super-card h2 { font-size: 2rem; } .mpp-super-subtitle { margin-bottom: .75rem; } .mpp-super-alert { margin-bottom: .75rem; padding: .65rem .8rem; } .mpp-super-input { min-height: 44px; margin-bottom: .6rem; } .mpp-super-options { margin-bottom: .75rem; } .mpp-super-footer-link { margin-top: .8rem; } }
@media (max-width: 900px) { .mpp-super-page { height: 100dvh; min-height: 620px; grid-template-rows: minmax(250px, 38%) minmax(0, 62%); } .mpp-super-intro { min-height: 0; padding: 1.5rem; } .mpp-super-intro-content { max-width: 680px; } .mpp-super-intro h1 { font-size: clamp(2rem, 7vw, 3rem); } .mpp-super-intro-copy { margin-bottom: .5rem; font-size: .95rem; } .mpp-super-panel { min-height: 0; overflow: auto; padding: 1rem; } .mpp-super-card { max-height: 100%; overflow: auto; } }

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  transition: all 0.2s ease;
  margin-bottom: 0 !important;
}

.social-icon:hover { background: var(--n-primary); transform: translateY(-3px); }

/* =====================================================
   HERO BANNER COMPONENT (Reusable Across All Inner Pages)
   ===================================================== */
.mpp-page-hero,
.course-detail-hero,
.courses-hero-section,
.page-header {
  background: radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.35) 0%, transparent 50%),
              radial-gradient(circle at 15% 85%, rgba(14, 165, 233, 0.25) 0%, transparent 45%),
              linear-gradient(135deg, #051430 0%, #0c2756 50%, #071c3d 100%) !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3.25rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.mpp-page-hero::before,
.course-detail-hero::before,
.courses-hero-section::before,
.page-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

/* Breadcrumbs in hero */
.mpp-hero-breadcrumb,
.mpp-page-hero .breadcrumb,
.course-detail-hero .breadcrumb,
.courses-hero-section .breadcrumb,
.page-header .breadcrumb-custom {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.15rem;
  background: transparent;
  padding: 0;
  list-style: none;
}

.mpp-hero-breadcrumb a,
.mpp-page-hero .breadcrumb a,
.course-detail-hero .breadcrumb a,
.courses-hero-section .breadcrumb a,
.page-header .breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mpp-hero-breadcrumb a:hover,
.mpp-page-hero .breadcrumb a:hover,
.course-detail-hero .breadcrumb a:hover,
.courses-hero-section .breadcrumb a:hover,
.page-header .breadcrumb-custom a:hover {
  color: #ffffff;
}

.mpp-hero-breadcrumb .active,
.mpp-page-hero .breadcrumb .active,
.course-detail-hero .breadcrumb .active,
.courses-hero-section .breadcrumb .active,
.page-header .breadcrumb-custom .active {
  color: #38bdf8 !important;
  font-weight: 700;
}

/* Hero Badges Row */
.mpp-hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.mpp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.mpp-hero-badge-primary {
  background: #0284c7;
  color: #ffffff;
}

.mpp-hero-badge-white {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mpp-hero-badge-warning {
  background: #f59e0b;
  color: #000000;
  font-weight: 700;
}

.mpp-hero-badge-info {
  background: #0ea5e9;
  color: #ffffff;
  font-weight: 600;
}

.mpp-hero-badge-success {
  background: #10b981;
  color: #ffffff;
  font-weight: 600;
}

/* Hero Typography */
.mpp-page-hero h1,
.course-detail-hero h1,
.courses-hero-section h1,
.page-header h1 {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

.mpp-hero-desc,
.mpp-page-hero p.lead,
.course-detail-hero p.lead,
.courses-hero-section p.lead,
.page-header p {
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Hero Highlights / Pillars Row */
.mpp-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mpp-hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  font-size: 0.85rem;
}

.mpp-hero-highlight-item .highlight-icon {
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mpp-hero-highlight-item .highlight-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 1.2;
}

.mpp-hero-highlight-item strong {
  display: block;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.25;
}

/* =====================================================
   SCROLL REVEAL (lightweight)
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-premium:hover, .pricing-card:hover, .btn:hover, .portfolio-card img { transform: none; }
}

/* =====================================================
   MISC UTILITIES
   ===================================================== */
.divider-line { height: 1px; background: var(--n-border); border: none; }

.rounded-img { border-radius: var(--n-radius-lg); }

.badge-soft {
  background: var(--n-bg-alt);
  color: var(--n-primary);
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--n-radius-pill);
  font-size: 0.8rem;
}

.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.list-check li i {
  color: var(--n-primary);
  background: var(--n-bg-alt);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Author / sidebar widgets (blog details) */
.widget {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  padding: var(--n-space-md);
  margin-bottom: var(--n-space-md);
}

.widget h5 { font-size: 1rem; margin-bottom: var(--n-space-sm); }

.widget-link-list { list-style: none; padding: 0; margin: 0; }
.widget-link-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--n-border);
  font-size: 0.9rem;
  color: var(--n-navy);
  font-weight: 500;
}
.widget-link-list li:last-child { border-bottom: none; }
.widget-link-list li span { color: var(--n-slate-light); font-weight: 400; }

/* FAQ accordion custom */
.accordion-custom .accordion-item {
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-sm) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  font-family: var(--n-font-display);
  font-weight: 700;
  color: var(--n-navy);
  background: #fff;
  padding: 1.25rem 1.5rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--n-primary);
  background: var(--n-bg-alt);
  box-shadow: none;
}

.accordion-custom .accordion-button:focus { box-shadow: none; border-color: var(--n-border); }
.accordion-custom .accordion-body { padding: 1.25rem 1.5rem; color: var(--n-slate); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--n-gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--n-shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Contact map placeholder */
.map-frame {
  border-radius: var(--n-radius-md);
  overflow: hidden;
  border: 1px solid var(--n-border);
  height: 50%;
  min-height: 320px;
}

.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Service detail icon list */
.feature-grid-item {
  display: flex;
  gap: 1rem;
  padding: var(--n-space-md);
  background: var(--n-bg);
  border-radius: var(--n-radius-md);
  height: 100%;
}

/* MPP Enterprise Role-Aware ERP Login */
body[data-login-role="center"] {
  --login-accent: #155eef;
  --login-accent-dark: #0b3f9c;
  --login-focus: rgba(21, 94, 239, 0.22);
  --login-soft: #eff4ff;
  --login-glow: rgba(21, 94, 239, 0.45);
}
body[data-login-role="teacher_staff"] {
  --login-accent: #087e5b;
  --login-accent-dark: #04543e;
  --login-focus: rgba(8, 126, 91, 0.22);
  --login-soft: #ecfdf3;
  --login-glow: rgba(8, 126, 91, 0.45);
}
body[data-login-role="student"] {
  --login-accent: #c85604;
  --login-accent-dark: #8b3600;
  --login-focus: rgba(200, 86, 4, 0.22);
  --login-soft: #fff7ed;
  --login-glow: rgba(200, 86, 4, 0.45);
}
body[data-login-role="super"] {
  --login-accent: #4f46e5;
  --login-accent-dark: #3730a3;
  --login-focus: rgba(79, 70, 229, 0.22);
  --login-soft: #eef2ff;
  --login-glow: rgba(79, 70, 229, 0.45);
}

/* Viewport-adaptive Auth Styling */
html:has(.mpp-auth-page),
body[data-login-role] {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto !important;
  background-color: #0b1528;
}

.mpp-auth-page {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  overflow: hidden;
  box-sizing: border-box;
  background: #ffffff;
  transition: background-color 0.3s ease;
}

.mpp-auth-page, .mpp-auth-page * {
  box-sizing: border-box;
}

/* Left Showcase Panel: Enterprise Visual */
.mpp-auth-visual {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3.5vh, 3.25rem) clamp(2rem, 4.5vw, 4.5rem);
  background: linear-gradient(145deg, #091a36 0%, #0d2752 50%, #07152b 100%);
  color: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
  transition: background 0.4s ease;
}

body[data-login-role="teacher_staff"] .mpp-auth-visual {
  background: linear-gradient(145deg, #04271e 0%, #074132 50%, #031c15 100%);
}

body[data-login-role="student"] .mpp-auth-visual {
  background: linear-gradient(145deg, #2b1303 0%, #4a2105 50%, #1f0c02 100%);
}

body[data-login-role="super"] .mpp-auth-visual {
  background: linear-gradient(145deg, #090d16 0%, #111827 50%, #050810 100%);
}

.mpp-visual-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 10% 20%, rgba(21, 94, 239, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.3) 0%, transparent 50%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
  pointer-events: none;
  transition: background-image 0.4s ease;
}

body[data-login-role="teacher_staff"] .mpp-visual-mesh {
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 10% 20%, rgba(8, 126, 91, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(5, 78, 56, 0.35) 0%, transparent 50%);
}

body[data-login-role="student"] .mpp-visual-mesh {
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 10% 20%, rgba(200, 86, 4, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(139, 54, 0, 0.35) 0%, transparent 50%);
}

body[data-login-role="super"] .mpp-visual-mesh {
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(67, 56, 202, 0.35) 0%, transparent 50%);
}

.mpp-visual-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2.2vh, 1.75rem);
}

.mpp-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mpp-visual-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mpp-auth-visual-logo {
  width: clamp(38px, 4vw, 48px);
  height: clamp(38px, 4vw, 48px);
  object-fit: contain;
  padding: 4px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.mpp-visual-brand-text {
  display: flex;
  flex-direction: column;
}

.mpp-visual-brand-text .mpp-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mpp-visual-brand-text .mpp-brand-desc {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mpp-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.mpp-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.mpp-status-dot.pulse {
  animation: mppPulseDot 2s infinite ease-in-out;
}

@keyframes mppPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.mpp-auth-kicker-wrap {
  margin-bottom: 0.35rem;
}

.mpp-auth-kicker {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.mpp-visual-headline h1 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.14;
  color: #ffffff;
  margin: 0 0 0.45rem;
  letter-spacing: -0.025em;
}

.mpp-visual-headline p {
  font-size: clamp(0.86rem, 1.15vw, 1rem);
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 480px;
}

.mpp-visual-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mpp-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.72rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
}

.mpp-feature-pill i {
  color: #38bdf8;
  font-size: 0.85rem;
}

body[data-login-role="teacher_staff"] .mpp-feature-pill i {
  color: #34d399;
}

body[data-login-role="student"] .mpp-feature-pill i {
  color: #fb923c;
}

.mpp-visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mpp-auth-context {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.mpp-auth-context > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: var(--login-accent-dark, #0b3f9c);
  background: #ffffff;
  font-size: 0.95rem;
}

.mpp-auth-context-info {
  display: flex;
  flex-direction: column;
}

.mpp-auth-context-info strong {
  font-size: 0.8rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.mpp-auth-context-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.68);
}

.mpp-visual-security-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* Right Section: Clean, Spacious Modern Bootstrap Console */
.mpp-auth-console {
  background-color: #ffffff;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.mpp-role-tabs .nav-link {
  color: #64748b;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 0;
  cursor: pointer;
}

.mpp-role-tabs .nav-link:hover {
  color: #1e293b;
  background-color: rgba(0, 0, 0, 0.03);
}

.mpp-role-tabs .nav-link.active {
  background-color: var(--login-accent, #0d6efd) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px var(--login-focus, rgba(13, 110, 253, 0.25));
}

.mpp-role-tabs .nav-link:focus-visible {
  outline: 2px solid var(--login-focus);
  outline-offset: 1px;
}

/* Modern Bootstrap Form Control & Input Group with Unified Outline Glow & Icon */
.mpp-auth-console .input-group {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.mpp-auth-console .input-group:hover {
  border-color: #94a3b8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mpp-auth-console .input-group:focus-within {
  border-color: var(--login-accent, #0d6efd) !important;
  box-shadow: 0 0 0 3.5px var(--login-focus, rgba(21, 94, 239, 0.22)), 0 2px 14px var(--login-glow, rgba(21, 94, 239, 0.25)) !important;
}

.mpp-auth-console .input-group .input-group-text {
  border: none !important;
  background-color: #f8fafc;
  color: #64748b;
  padding: 0 1rem;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border-top-left-radius: 9px;
  border-bottom-left-radius: 9px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.mpp-auth-console .input-group:focus-within .input-group-text {
  background-color: var(--login-soft, #eff4ff) !important;
  color: var(--login-accent, #0d6efd) !important;
}

.mpp-auth-console .input-group .input-group-text i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mpp-auth-console .input-group:focus-within .input-group-text i {
  color: var(--login-accent, #0d6efd) !important;
  filter: drop-shadow(0 0 6px var(--login-glow, rgba(21, 94, 239, 0.55))) !important;
  transform: scale(1.15);
}

.mpp-auth-console .input-group .form-control {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
  min-height: 48px;
  font-size: 0.95rem;
  color: #0f172a;
  padding-left: 0.65rem;
  padding-right: 0.75rem;
}

.mpp-auth-console .input-group .form-control:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.mpp-auth-console .input-group #togglePassword {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
  color: #64748b;
  padding: 0 1rem;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  border-top-right-radius: 9px;
  border-bottom-right-radius: 9px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.mpp-auth-console .input-group #togglePassword:hover {
  color: var(--login-accent, #0d6efd) !important;
  background-color: rgba(0, 0, 0, 0.03) !important;
}

.mpp-auth-console .input-group:focus-within #togglePassword {
  color: #475569;
}

/* Validation State Outline Glow */
.was-validated .mpp-auth-console .input-group:has(.form-control:invalid) {
  border-color: #dc3545 !important;
}
.was-validated .mpp-auth-console .input-group:has(.form-control:invalid):focus-within {
  box-shadow: 0 0 0 3.5px rgba(220, 53, 69, 0.22), 0 2px 12px rgba(220, 53, 69, 0.25) !important;
}
.was-validated .mpp-auth-console .input-group:has(.form-control:invalid) .input-group-text {
  color: #dc3545 !important;
  background-color: #fff5f5 !important;
}
.was-validated .mpp-auth-console .input-group:has(.form-control:invalid) .input-group-text i {
  color: #dc3545 !important;
  filter: drop-shadow(0 0 6px rgba(220, 53, 69, 0.5)) !important;
}

.mpp-auth-console .form-check-input {
  cursor: pointer;
  border-color: #cbd5e1;
}

.mpp-auth-console .form-check-input:checked {
  background-color: var(--login-accent, #0d6efd);
  border-color: var(--login-accent, #0d6efd);
}

.forgot-password-link {
  color: var(--login-accent, #0d6efd) !important;
  font-weight: 600;
  transition: opacity 0.15s ease;
}

.forgot-password-link:hover {
  text-decoration: underline !important;
}

.btn-login-submit {
  min-height: 48px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 9px;
  background: var(--login-accent, #0d6efd) !important;
  border-color: var(--login-accent, #0d6efd) !important;
  box-shadow: 0 4px 14px var(--login-focus, rgba(13, 110, 253, 0.25));
  transition: all 0.2s ease;
}

.btn-login-submit:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--login-focus, rgba(13, 110, 253, 0.35));
}

.btn-login-submit:active {
  transform: translateY(0);
}

/* Customer Support Section & Card */
.mpp-auth-console {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  padding: 5px;
}

.mpp-role-tabs {
  flex-wrap: nowrap !important;
}

.mpp-role-tabs .nav-link {
  font-size: 0.86rem !important;
  padding: 7px 8px !important;
  white-space: nowrap;
}

.mpp-support-section {
  width: 100%;
  max-width: 600px;
  margin-top: auto;
  margin-bottom: 0;
  padding: 0;
}

.mpp-support-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 6px 14px;
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  font-size: 16px;
  font-weight: 500;
}

.mpp-support-title {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.mpp-support-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 3px 4px;
  border-radius: 8px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.mpp-support-link:hover {
  background-color: #f8fafc;
  transform: translateY(-1px);
}

.mpp-support-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 2px;
}

.mpp-support-header .mpp-support-label {
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
}

.mpp-support-header .mpp-support-icon {
  flex-shrink: 0;
}

.mpp-support-phone {
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.mpp-support-time {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .mpp-support-section {
    max-width: 100%;
  }
  .mpp-support-card {
    padding: 5px 8px;
  }
  .mpp-support-title {
    font-size: 15px;
  }
  .mpp-support-header .mpp-support-label {
    font-size: 15px;
  }
  .mpp-support-phone {
    font-size: 15px;
  }
  .mpp-support-time {
    font-size: 13px;
  }
}
.mpp-old-hero { margin: -2rem 0 2rem; padding: 5rem 2rem; border-radius: 24px; color: #fff; background: linear-gradient(135deg, rgba(13,110,253,.88), rgba(15,23,42,.82)), url('../assets/auth/erp_login_bg.png') center/cover; }
.mpp-old-hero h1 { max-width: 760px; margin: .75rem 0 1rem; font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; }
.mpp-old-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.86); font-size: 1.15rem; }
.mpp-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.mpp-gallery-card { margin: 0; overflow: hidden; border-radius: var(--n-radius-lg); background: #fff; box-shadow: var(--n-shadow-sm); }
.mpp-gallery-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mpp-gallery-card figcaption { padding: .85rem 1rem; color: var(--n-navy); font-weight: 700; }
.stats-grid--cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stats-grid--cards .stat-item { background: #fff; border: 1px solid var(--n-border); border-radius: var(--n-radius-md); padding: 1.1rem 1.25rem; }
.stats-grid--cards .stat-item strong { color: var(--n-primary); display: block; font-family: var(--n-font-display); font-size: 1.65rem; line-height: 1.1; }
.stats-grid--cards .stat-item span { color: var(--n-slate); display: block; font-size: .85rem; margin-top: .35rem; }
.page-header__intro { color: rgba(255, 255, 255, .82); margin: 0 auto 1rem; max-width: 680px; }
@media (max-width: 900px) { .mpp-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px) { .mpp-gallery-grid { grid-template-columns: 1fr; } .team-toolbar, .stats-grid--cards { grid-template-columns: 1fr; } .team-grid { grid-template-columns: 1fr; } }
@media (min-width: 992px) {
  html:has(.mpp-auth-page),
  body[data-login-role] {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .mpp-auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .mpp-auth-visual,
  .mpp-auth-console {
    overflow-y: auto;
  }
}

@media (max-width: 991px) {
  html:has(.mpp-auth-page),
  body[data-login-role] {
    height: auto;
    min-height: 100dvh;
    overflow-y: auto !important;
    overflow-x: hidden;
  }
  .mpp-auth-page {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .mpp-auth-visual {
    flex: 0 0 auto;
    padding: 1.5rem 1.25rem 1.25rem;
    min-height: auto;
  }
  .mpp-visual-content {
    gap: 0.75rem;
  }
  .mpp-visual-features,
  .mpp-visual-footer {
    display: none;
  }
  .mpp-visual-headline h1 {
    font-size: 1.45rem;
    margin-bottom: 0.25rem;
  }
  .mpp-visual-headline p {
    font-size: 0.85rem;
  }
  .mpp-auth-console {
    flex: 1 1 auto;
    padding: 5px;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .mpp-auth-visual {
    padding: 1.15rem 1rem 1rem;
  }
  .mpp-auth-visual-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .mpp-brand-name {
    font-size: 1.05rem;
  }
  .mpp-visual-headline h1 {
    font-size: 1.3rem;
  }
  .mpp-role-tabs button {
    min-height: 36px;
    padding: 0.35rem 0.2rem;
    font-size: 0.7rem;
    gap: 0.25rem;
  }
  .mpp-role-tabs button i {
    font-size: 0.82rem;
  }
  .mpp-form-heading .section-title {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mpp-auth-page,
  .mpp-auth-visual,
  .mpp-auth-console,
  .mpp-status-dot.pulse,
  .btn-erp-login {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================
   Online Admission Form (Synced with ERP Master Admission)
   ===================================================== */
.public-admission-page {
  background: #f8fafc;
  min-height: 100vh;
  padding-top: 110px !important;
  padding-bottom: 70px;
}

.public-admission-form .card {
  border-color: #e2e8f0 !important;
  border-radius: 10px !important;
  transition: box-shadow 0.2s ease;
}

.public-admission-form .card:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06) !important;
}

.public-admission-form .form-control,
.public-admission-form .form-select {
  border-color: #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem;
}

.public-admission-form .form-control:focus,
.public-admission-form .form-select:focus {
  border-color: #155EEF;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.15);
}

.public-admission-form .input-group-text {
  border-color: #cbd5e1;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.admission-submit-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

/* ==========================================================
   Professional Course Card Showcase Styles
   ========================================================== */
.course-showcase-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease !important;
  overflow: hidden !important;
}

.course-showcase-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.05) !important;
  border-color: #cbd5e1 !important;
}

.course-showcase-card .course-card-thumb-img {
  transition: transform 0.35s ease;
}

.course-showcase-card:hover .course-card-thumb-img {
  transform: scale(1.05);
}

.course-showcase-card .card-body {
  padding: 1.2rem !important;
}

.course-showcase-card .course-title-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.75rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0f172a;
}

.course-showcase-card .course-desc-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.45rem;
  line-height: 1.45;
  font-size: 0.835rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.course-showcase-card .btn {
  padding: 0.42rem 0.75rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  border-radius: 9999px !important;
  min-height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.course-showcase-card .btn-outline-primary {
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
  background-color: #f8fafc !important;
}

.course-showcase-card .btn-outline-primary:hover {
  background-color: #155eef !important;
  border-color: #155eef !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.course-showcase-card .btn-primary {
  background: linear-gradient(135deg, #155eef 0%, #0040c1 100%) !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(21, 94, 239, 0.28) !important;
}

.course-showcase-card .btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 14px rgba(21, 94, 239, 0.38) !important;
}

/* ========================================================
   GLOBAL ICON & PARAGRAPH SPACING RHYTHM & MICRO-TYPOGRAPHY
   ======================================================== */
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3\.5 { gap: 0.875rem !important; }

/* Icon vertical alignment and standard inline spacing */
.icon-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  vertical-align: middle;
}

.icon-box-sm {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.icon-box-md {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Global paragraph bottom margin reset for last child in cards & lists */
.card-body p:last-child,
.accordion-body p:last-child,
.modal-body p:last-child,
.tab-pane p:last-child {
  margin-bottom: 0;
}

/* Feature & list item icon spacing */
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.feature-list-item:last-child {
  margin-bottom: 0;
}

/* ========================================================
   COURSE DETAIL CURRICULUM MULTI-DIMENSIONAL TABS & CARDS
   ======================================================== */
.curriculum-detail-nav {
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: thin;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.curriculum-detail-nav::-webkit-scrollbar {
  height: 4px;
}

.curriculum-detail-nav::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.curriculum-detail-nav .nav-link {
  white-space: nowrap;
  color: #475569;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.5rem 0.95rem;
  font-size: 0.84rem;
}

.curriculum-detail-nav .nav-link:hover {
  color: #155eef;
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.curriculum-detail-nav .nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #155eef 0%, #0040c1 100%) !important;
  border-color: #155eef !important;
  box-shadow: 0 4px 12px rgba(21, 94, 239, 0.28) !important;
}

.curriculum-detail-nav .nav-link.active i {
  color: #ffffff !important;
}

/* Content cards for Study Material, Live Classes, Mocks, Exams */
.curriculum-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  transition: all 0.2s ease;
  position: relative;
}

.curriculum-content-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.curriculum-content-card.is-free-card {
  border-left: 4px solid #10b981;
}

.curriculum-content-card.is-locked-card {
  border-left: 4px solid #94a3b8;
}

/* Unit breakdown pills */
.syllabus-unit-pill {
  border-left: 3px solid #155eef;
  background: #f8fafc;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.syllabus-unit-pill:last-child {
  margin-bottom: 0;
}
