/* ============================================================
   SAVADUB INSTITUTE — OFFICIAL ACADEMY DESIGN SYSTEM
   Theme: High-End EdTech & Applied Engineering Academy
   Color Scheme: Clean High-Contrast Light Canvas with Deep Navy & Crimson Accents
   Brand Palette:
     Primary Navy:  #081065 / #050c4a
     Accent Red:    #DD3333
     Tech Blue:     #0284c7 / #66A9BF
     Canvas:        #f8fafc / #ffffff
   Typography:
     Headings: 'Outfit', sans-serif
     Body:     'Inter', sans-serif
     Code:     'JetBrains Mono', monospace
   ============================================================ */

:root {
  /* Brand Colors */
  --inst-navy: #081065;
  --inst-navy-dark: #050c4a;
  --inst-navy-light: #0f1e8a;
  
  --inst-red: #DD3333;
  --inst-red-hover: #c42626;
  --inst-red-light: #fef2f2;
  --inst-red-border: #fecaca;
  
  --inst-cyan: #66A9BF;
  --inst-blue: #0284c7;
  --inst-blue-light: #f0f9ff;
  --inst-blue-border: #bae6fd;

  /* Surfaces & Canvas (Clean Light Academy Aesthetic) */
  --inst-bg: #f8fafc;
  --inst-bg-alt: #f1f5f9;
  --inst-surface: #ffffff;
  --inst-surface-elevated: #ffffff;
  
  /* Borders */
  --inst-border: #e2e8f0;
  --inst-border-subtle: #f1f5f9;
  --inst-border-hover: #cbd5e1;

  /* Text & Typography */
  --inst-text-title: #081065;
  --inst-text-main: #0f172a;
  --inst-text-body: #334155;
  --inst-text-muted: #64748b;
  --inst-text-dim: #94a3b8;

  /* Fonts */
  --inst-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --inst-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --inst-font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --inst-radius-sm: 8px;
  --inst-radius-md: 14px;
  --inst-radius-lg: 20px;
  --inst-radius-xl: 28px;

  --inst-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --inst-shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --inst-shadow-hover: 0 16px 36px -4px rgba(8, 16, 101, 0.09), 0 4px 12px -2px rgba(8, 16, 101, 0.03);
  --inst-shadow-red: 0 8px 20px rgba(221, 51, 51, 0.2);
}

/* ============================================================
   BASE & RESET
   ============================================================ */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 85px;
}

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

body {
  background-color: var(--inst-bg) !important;
  background-image: none !important;
  color: var(--inst-text-body) !important;
  font-family: var(--inst-font-body) !important;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--inst-font-heading) !important;
  color: var(--inst-navy) !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 0;
}

.inst-font-mono {
  font-family: var(--inst-font-mono) !important;
}

.inst-font-heading {
  font-family: var(--inst-font-heading) !important;
}

a {
  color: var(--inst-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--inst-navy);
}

/* ============================================================
   HEADER & NAVBAR (Clean White with Deep Navy Brand)
   ============================================================ */
.inst-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #ffffff;
  border-bottom: 1px solid var(--inst-border);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.inst-brand-name {
  font-family: var(--inst-font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--inst-navy);
}

.inst-brand-sub {
  font-family: var(--inst-font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--inst-red);
  font-weight: 800;
  margin-top: 2px;
}

.inst-nav-link {
  font-family: var(--inst-font-body);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--inst-text-body) !important;
  padding: 8px 16px !important;
  border-radius: var(--inst-radius-sm);
  transition: all 0.2s ease;
}

.inst-nav-link:hover,
.inst-nav-link.active {
  color: var(--inst-navy) !important;
  background: #f1f5f9;
}

/* Mobile Hamburger Toggler */
.savadub-toggler {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: var(--inst-radius-sm);
  background: transparent;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.savadub-toggler:hover,
.savadub-toggler:focus {
  background: #f1f5f9;
  outline: none;
  box-shadow: none;
}

.savadub-toggler .toggler-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--inst-navy) !important;
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
}

/* Hamburger to 'X' smooth transformation */
.savadub-toggler:not(.collapsed) .toggler-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.savadub-toggler:not(.collapsed) .toggler-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.savadub-toggler:not(.collapsed) .toggler-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (min-width: 992px) {
  .savadub-toggler {
    display: none !important;
  }
}

/* Mobile Navbar Collapse Drawer (< 992px) */
@media (max-width: 991.98px) {
  .inst-header .navbar-collapse {
    background: #ffffff;
    border: 1px solid var(--inst-border);
    border-radius: var(--inst-radius-md);
    box-shadow: 0 16px 36px rgba(8, 16, 101, 0.12);
    padding: 20px 18px;
    margin-top: 12px;
  }

  .inst-header .navbar-nav {
    gap: 4px;
  }

  .inst-nav-link {
    padding: 10px 14px !important;
    border-radius: var(--inst-radius-sm);
  }

  .inst-dropdown-menu {
    border: 1px solid #f1f5f9 !important;
    box-shadow: none !important;
    background: #f8fafc !important;
    margin: 6px 8px 10px;
  }
}

.inst-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid var(--inst-border) !important;
  border-radius: var(--inst-radius-md);
  box-shadow: 0 16px 40px rgba(8, 16, 101, 0.09) !important;
  padding: 10px;
  min-width: 290px;
}

.inst-dropdown-item {
  color: var(--inst-text-body) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--inst-radius-sm);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.inst-dropdown-item:hover {
  background: #f1f5f9 !important;
  color: var(--inst-navy) !important;
  transform: translateX(3px);
}

.inst-dropdown-item i {
  color: var(--inst-blue);
  font-size: 1.15rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-inst-primary {
  background: var(--inst-red);
  color: #ffffff !important;
  font-family: var(--inst-font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 24px;
  border-radius: var(--inst-radius-sm);
  border: none;
  box-shadow: var(--inst-shadow-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-inst-primary:hover {
  background: var(--inst-red-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(221, 51, 51, 0.3);
}

.btn-explore-track {
  background: var(--inst-red);
  color: #ffffff !important;
  font-family: var(--inst-font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: var(--inst-radius-sm);
  border: 1px solid var(--inst-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(221, 51, 51, 0.28);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-explore-track:hover {
  background: var(--inst-red-hover);
  border-color: var(--inst-red-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(221, 51, 51, 0.38);
}

.btn-explore-track i {
  transition: transform 0.2s ease;
}

.btn-explore-track:hover i {
  transform: translateX(4px);
}

.btn-inst-lms {
  background: var(--inst-blue-light);
  color: #0369a1 !important;
  border: 1px solid var(--inst-blue-border);
  font-family: var(--inst-font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--inst-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-inst-lms-sm {
  background: var(--inst-blue-light);
  color: #0369a1 !important;
  border: 1px solid var(--inst-blue-border);
  font-family: var(--inst-font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 8px 14px;
  border-radius: var(--inst-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-inst-lms-sm:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.2);
}

.btn-inst-lms:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.22);
}

.btn-inst-outline {
  background: #ffffff;
  color: var(--inst-navy) !important;
  border: 1px solid var(--inst-border);
  font-family: var(--inst-font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--inst-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--inst-shadow-sm);
  transition: all 0.2s ease;
}

.btn-inst-outline:hover {
  border-color: var(--inst-navy);
  color: var(--inst-navy) !important;
  background: #f8fafc;
  transform: translateY(-2px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.inst-hero {
  position: relative;
  padding: 32px 0 54px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--inst-border);
}

.inst-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-family: var(--inst-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #1d4ed8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inst-hero-badge-red {
  background: var(--inst-red-light);
  border-color: var(--inst-red-border);
  color: #b91c1c;
}

.inst-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--inst-navy);
  margin-bottom: 22px;
}

.inst-hero-title .text-cyan {
  color: #0284c7 !important;
}

.inst-hero-title .text-red {
  color: var(--inst-red) !important;
}

.inst-hero-lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--inst-text-body);
  max-width: 620px;
  margin-bottom: 34px;
}

/* Hero Terminal / Live Metric Box */
.inst-hero-card {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  border-radius: var(--inst-radius-lg);
  padding: 26px;
  box-shadow: 0 16px 40px -6px rgba(8, 16, 101, 0.08);
  position: relative;
}

.inst-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--inst-border);
}

.inst-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.inst-dot-red { background: #ef4444; }
.inst-dot-yellow { background: #f59e0b; }
.inst-dot-green { background: #10b981; }

.inst-terminal-row {
  background: #f8fafc;
  border: 1px solid var(--inst-border);
  border-radius: var(--inst-radius-sm);
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.inst-terminal-row:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* ============================================================
   STATS RIBBON
   ============================================================ */
.inst-stats-ribbon {
  background: #ffffff;
  border-bottom: 1px solid var(--inst-border);
  padding: 32px 0;
}

.inst-stat-val {
  font-family: var(--inst-font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--inst-navy);
}

.inst-stat-val.text-red {
  color: var(--inst-red);
}

.inst-stat-val.text-blue {
  color: #0284c7;
}

.inst-stat-lbl {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--inst-text-muted);
  margin-top: 6px;
}

/* ============================================================
   CARDS & TRACK CONTAINERS
   ============================================================ */
.inst-card {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  border-radius: var(--inst-radius-lg);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--inst-shadow-card);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.inst-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--inst-shadow-hover);
  border-color: #cbd5e1;
}

.inst-card-red:hover {
  border-color: #fca5a5;
}

.inst-track-code {
  font-family: var(--inst-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--inst-radius-sm);
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  display: inline-block;
}

.inst-track-code.red {
  background: var(--inst-red-light);
  color: #b91c1c;
  border-color: var(--inst-red-border);
}

.inst-track-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--inst-navy);
  line-height: 1.25;
  margin-bottom: 10px;
}

.inst-track-title a {
  color: var(--inst-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.inst-track-title a:hover {
  color: var(--inst-cyan) !important;
}

.inst-track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--inst-text-muted);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--inst-border);
}

.inst-track-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inst-track-meta-item i {
  color: #0284c7;
}

.inst-track-desc {
  font-size: 0.94rem;
  color: var(--inst-text-body);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.inst-track-courses-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding: 16px;
  background: #f8fafc;
  border-radius: var(--inst-radius-md);
  border: 1px solid var(--inst-border);
}

.inst-course-pill {
  font-size: 0.86rem;
  color: var(--inst-text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--inst-radius-sm);
  background: #ffffff;
  border: 1px solid var(--inst-border);
  transition: all 0.15s ease;
}

.inst-course-pill:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateX(2px);
}

.inst-course-pill-num {
  font-family: var(--inst-font-mono);
  font-size: 0.72rem;
  color: #0369a1;
  font-weight: 700;
  background: #eff6ff;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #dbeafe;
}

/* ============================================================
   COURSE CARDS (Course Catalog)
   ============================================================ */
.inst-course-card {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  border-radius: var(--inst-radius-md);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--inst-shadow-card);
  transition: all 0.2s ease;
}

.inst-course-card:hover {
  border-color: #0284c7;
  box-shadow: var(--inst-shadow-hover);
  transform: translateY(-3px);
}

.inst-course-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.inst-course-code {
  font-family: var(--inst-font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 3px 8px;
  border-radius: var(--inst-radius-sm);
}

.inst-level-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.inst-course-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--inst-navy);
  line-height: 1.35;
  margin-bottom: 8px;
}

.inst-course-title a {
  color: var(--inst-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.inst-course-title a:hover {
  color: var(--inst-cyan) !important;
}

.inst-course-desc {
  font-size: 0.88rem;
  color: var(--inst-text-body);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.inst-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--inst-border);
  font-size: 0.82rem;
  color: var(--inst-text-muted);
}

/* ============================================================
   SYLLABUS & MODULE ACCORDION
   ============================================================ */
.inst-syllabus-item {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  border-radius: var(--inst-radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--inst-shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inst-syllabus-item:hover {
  border-color: #cbd5e1;
}

.inst-syllabus-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.inst-syllabus-header:hover {
  background-color: #f8fafc;
}

.inst-syllabus-header:not(.collapsed),
.inst-syllabus-header[aria-expanded="true"] {
  background-color: #f1f5f9;
}

.inst-syllabus-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--inst-navy);
  transition: color 0.2s ease;
}

.inst-syllabus-header h4 a {
  color: inherit;
  text-decoration: none;
}

.inst-syllabus-header:hover h4,
.inst-syllabus-header:hover h4 a,
.inst-syllabus-header h4:hover,
.inst-syllabus-header h4 a:hover {
  color: var(--inst-cyan) !important;
}

.inst-accordion-chevron {
  font-size: 1.1rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.inst-syllabus-header:not(.collapsed) .inst-accordion-chevron,
.inst-syllabus-header[aria-expanded="true"] .inst-accordion-chevron {
  transform: rotate(180deg);
}

.inst-syllabus-body {
  padding: 22px 24px;
  border-top: 1px solid var(--inst-border);
  background: #f8fafc;
}

.inst-module-overview {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  border-left: 4px solid var(--inst-cyan);
  border-radius: 6px;
  padding: 14px 18px;
}

.inst-lesson-card {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.inst-lesson-card:hover {
  border-color: var(--inst-cyan);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
  transform: translateY(-1px);
}

.inst-lesson-card h5 {
  font-family: var(--inst-font-heading);
  letter-spacing: -0.01em;
}

.inst-lesson-card h5 a {
  color: var(--inst-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.inst-lesson-card:hover h5 a,
.inst-lesson-card h5 a:hover {
  color: var(--inst-cyan) !important;
}

/* ============================================================
   ENTERPRISE LIGHT CALLOUT BOX (Clean Light Academy Aesthetic)
   ============================================================ */
.inst-enterprise-box {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid var(--inst-blue-border);
  border-radius: var(--inst-radius-xl);
  padding: 50px 42px;
  color: var(--inst-text-body);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px -4px rgba(2, 132, 199, 0.08);
}

.inst-enterprise-box h2 {
  color: var(--inst-navy) !important;
}

.inst-enterprise-box p {
  color: var(--inst-text-body) !important;
}

.inst-enterprise-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-family: var(--inst-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
}

.inst-enterprise-stats-card {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  border-radius: var(--inst-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--inst-shadow-sm);
  text-align: center;
}

/* ============================================================
   PRICING & TUITION CARDS
   ============================================================ */
.inst-pricing-card {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  border-radius: var(--inst-radius-lg);
  padding: 36px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--inst-shadow-card);
  transition: all 0.25s ease;
  position: relative;
}

.inst-pricing-card.featured {
  border: 2px solid var(--inst-navy);
  box-shadow: 0 16px 40px rgba(8, 16, 101, 0.1);
  transform: translateY(-4px);
}

.inst-plan-price {
  font-family: var(--inst-font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--inst-navy);
  line-height: 1.1;
  margin: 16px 0 6px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.inst-plan-price .inst-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: inherit;
  line-height: 1.1;
}

.inst-plan-price .inst-price-range {
  font-size: clamp(1.75rem, 2.4vw, 2.3rem);
  font-weight: 800;
  color: inherit;
  line-height: 1.1;
}

.inst-plan-price span:not(.inst-price):not(.inst-price-range),
.inst-plan-price .inst-plan-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--inst-text-muted);
}

.inst-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.inst-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--inst-text-body);
}

.inst-feature-list li i {
  color: var(--inst-blue);
  font-size: 1.1rem;
  margin-top: 1px;
}

/* ============================================================
   FAQS ACCORDION
   ============================================================ */
.inst-faq-item {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  border-radius: var(--inst-radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--inst-shadow-sm);
  transition: all 0.2s ease;
}

.inst-faq-item:hover {
  border-color: #cbd5e1;
}

.inst-faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--inst-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--inst-navy);
}

.inst-faq-question:hover {
  background: #f8fafc;
}

.inst-faq-answer {
  padding: 0 22px 18px;
  color: var(--inst-text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   FILTER TABS (Course Catalog)
   ============================================================ */
.inst-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.inst-tab-btn {
  background: #ffffff;
  border: 1px solid var(--inst-border);
  color: var(--inst-text-body);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--inst-font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--inst-shadow-sm);
  transition: all 0.2s ease;
}

.inst-tab-btn:hover,
.inst-tab-btn.active {
  background: var(--inst-navy);
  color: #ffffff;
  border-color: var(--inst-navy);
}

/* ============================================================
   FOOTER (Clean Light Prestigious Academic Aesthetic)
   ============================================================ */
.inst-footer {
  background: #ffffff;
  color: var(--inst-text-body);
  padding: 72px 0 32px;
  font-size: 0.92rem;
  border-top: 1px solid var(--inst-border);
}

.inst-footer .inst-brand-name {
  color: var(--inst-navy) !important;
}

.inst-footer .inst-brand-sub {
  color: var(--inst-red) !important;
}

.inst-footer h5 {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--inst-navy);
  margin-bottom: 20px;
  font-weight: 800;
  font-family: var(--inst-font-heading);
}

.inst-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inst-footer-links li {
  margin-bottom: 10px;
}

.inst-footer-links a {
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.inst-footer-links a:hover {
  color: var(--inst-navy);
  padding-left: 4px;
}

.inst-footer-bottom {
  padding-top: 28px;
  margin-top: 48px;
  border-top: 1px solid var(--inst-border);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #64748b;
}

/* Footer Mobile Responsive Adjustments (< 768px) */
@media (max-width: 767.98px) {
  .inst-footer {
    text-align: center;
  }
  .inst-footer h5 {
    text-align: center;
  }
  .inst-footer-links {
    text-align: center;
  }
  .inst-footer-links a:hover {
    padding-left: 0;
  }
  .inst-footer-bottom {
    text-align: center;
    justify-content: center;
  }
  .inst-footer-bottom .d-flex {
    justify-content: center;
  }
}

/* ============================================================
   BADGES & UTILITIES
   ============================================================ */
.badge-tech {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}

.badge-cyan {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-red {
  background: var(--inst-red-light);
  color: #b91c1c;
  border: 1px solid var(--inst-red-border);
}

.text-navy {
  color: var(--inst-navy) !important;
}

.text-cyan {
  color: #0284c7 !important;
}

.text-red {
  color: var(--inst-red) !important;
}

.hover-cyan {
  transition: color 0.2s ease !important;
}

.hover-cyan:hover, a.hover-cyan:hover {
  color: var(--inst-cyan) !important;
}
