/* ==========================================================================
   Acharya Institutes — shared stylesheet
   Mobile-first: default styles target 360–420px phones.
   Breakpoints (min-width): 480px, 768px, 1024px, 1440px
   ========================================================================== */
/* ---------- 1. Design tokens ---------- */
:root {
  /* Colour — all text pairs verified WCAG 2.2 AA */
  --brand: #F49323;      /* accent only, never small text on white */
  --brand-dark: #9A5300;     /* orange-toned text/links on white, 5.8:1 */
  --ink: #17181C;            /* headings & body, 17.7:1 */
  --ink-soft: #4A4E58;       /* secondary text, 8.3:1 */
  --paper: #FFFFFF;
  --paper-soft: #F6F6F4;
  --surface-dark: #17181C;
  --on-dark: #F6F6F4;        /* 16.4:1 on dark */
  --brand-on-dark: #F8AC4F;  /* 9.3:1 on dark */
  --focus: #1A56DB;          /* 6.2:1 */
  --border: #E4E4E0;

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --text-display: 2rem;
  --text-h1: 1.75rem;
  --text-h2: 1.375rem;
  --text-h3: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;

  /* Space (4px grid) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

  --gutter: 16px;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .08);
  --header-h: 60px;
  --bottombar-h: 56px;
}

/* ---------- 1b. Institution themes ----------
   Same template site-wide; each institution gets its own accent family,
   themed to its field of study. All triples verified WCAG 2.2 AA:
   --brand carries ink text (CTA), --brand-dark is text on white,
   --brand-on-dark is text on the dark surface. */
.theme-ait    { --brand:#60A5FA; --brand-dark:#1D4ED8; --brand-on-dark:#93C5FD; } /* engineering: electric blue */
.theme-aigs   { --brand:#34D399; --brand-dark:#047857; --brand-on-dark:#6EE7B7; } /* graduate studies: emerald */
.theme-anrvsa { --brand:#F0996F; --brand-dark:#9A3412; --brand-on-dark:#FDBA74; } /* architecture: terracotta */
.theme-asd    { --brand:#F472B6; --brand-dark:#BE185D; --brand-on-dark:#F9A8D4; } /* design: loud magenta */
.theme-aiahs  { --brand:#22D3EE; --brand-dark:#0E7490; --brand-on-dark:#67E8F9; } /* allied health: clinical cyan */
.theme-anrip  { --brand:#4ADE80; --brand-dark:#15803D; --brand-on-dark:#86EFAC; } /* physiotherapy: movement green */
.theme-abmrcp { --brand:#A78BFA; --brand-dark:#6D28D9; --brand-on-dark:#C4B5FD; } /* pharmacy: lab violet */
.theme-snsn   { --brand:#FDA4AF; --brand-dark:#BE123C; --brand-on-dark:#FECDD3; } /* nursing school: warm rose */
.theme-sncn   { --brand:#FB7185; --brand-dark:#9F1239; --brand-on-dark:#FDA4AF; } /* nursing college: deep rose */
.theme-gmba   { --brand:#E3B04B; --brand-dark:#85610C; --brand-on-dark:#EDC97E; } /* global mba: gold */
.theme-apt    { --brand:#FBBF24; --brand-dark:#92400E; --brand-on-dark:#FCD34D; } /* polytechnic: workshop amber */
.theme-puc    { --brand:#FDE047; --brand-dark:#713F12; --brand-on-dark:#FEF08A; } /* pre-university: bright yellow */

/* ASD is the loud one: its statement flourish goes full-spectrum (all AA on dark) */
.theme-asd .statement .w1 { color:#F9A8D4; }
.theme-asd .statement .w2 { color:#67E8F9; }
.theme-asd .statement .w3 { color:#86EFAC; }
.theme-asd .statement .w4 { color:#C4B5FD; }
.theme-asd .statement .w5 { color:#FDE047; }

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  /* room for the fixed bottom action bar on mobile */
  padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom, 0px));
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p { margin: 0 0 var(--space-4); }
p, li, h1, h2, h3 { overflow-wrap: break-word; } /* no horizontal scroll from long words/URLs */
img { max-width: 100%; height: auto; display: block; }

/* Responsive table utility: any future data table scrolls inside its
   wrapper instead of breaking the page layout on phones */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 480px; border-collapse: collapse; }
.table-wrap th, .table-wrap td { padding: var(--space-3); border: 1px solid var(--border); text-align: left; }

.careers-card-stack {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-5);
}

.careers-job-card {
  background: #f2f2f2;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 2px 6px rgba(23, 24, 28, 0.04);
}

.careers-job-header {
  margin: 0 0 0.85rem;
  font: 700 1.05rem/1.2 var(--font-head);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.careers-job-row {
  margin-bottom: 0.7rem;
}

.careers-job-label {
  display: block;
  margin-bottom: 0.2rem;
  font: 700 0.98rem/1.4 var(--font-head);
  color: var(--ink);
}

.careers-job-value {
  display: block;
  font: 400 1rem/1.5 var(--font-body);
  color: var(--ink);
}

.careers-job-cta {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 42px;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 8px;
  background: #f29a36;
  color: #17181C;
  font: 700 1rem var(--font-body);
  text-decoration: none;
}
.careers-job-cta:hover { background: #f6ad55; }

@media (max-width: 767px) {
  .careers-job-header {
    font-size: 0.98rem;
  }
  .careers-job-label {
    font-size: 0.93rem;
  }
  .careers-job-value {
    font-size: 0.96rem;
  }
}

a { color: var(--brand-dark); text-decoration-thickness: 1px; }
a:hover { text-decoration: none !important;  }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -48px; left: var(--space-4);
  background: var(--ink); color: var(--on-dark);
  padding: var(--space-3) var(--space-4); border-radius: 0 0 8px 8px;
  z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 0; }

.container {
  padding-inline: var(--gutter);
  max-width: 1200px;
  margin-inline: auto;
}

section { padding-block: var(--space-7); }

.section-title { margin-bottom: var(--space-5); }
.section-kicker {
  display: block;
  font: 600 var(--text-small) var(--font-body);
  letter-spacing: .08em; 
  text-transform: uppercase;
  color: var(--brand-dark) !important;
  margin-bottom: var(--space-2);
  font-family: 'Montserrat', sans-serif;
font-size: 14px;
letter-spacing: 1px;
}
.section-title .section-kicker {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}
/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-3) var(--space-5);
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  width: 100%;               /* full-width on mobile */
  transition: transform .15s, background .15s;
}
.btn:active { transform: scale(.98); }

.btn-primary { background: var(--brand); color: var(--ink); min-height: 48px; }
.btn-primary:hover { background: #f8a94e; }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
/*.btn-secondary:hover { background: var(--paper-soft); }*/

.btn-on-dark { background: var(--brand); color: var(--ink); min-height: 48px; }

/* ---------- 4. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex; align-items: center;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.site-logo img { height: 28px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* Mobile: slide-in full-screen menu */
.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow-y: auto;
  z-index: 99;
  padding: var(--space-5) var(--gutter) var(--space-8);
}
.site-nav.is-open { transform: translateX(0); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { border-bottom: 1px solid var(--border); }
.site-nav a, .site-nav summary {
  display: flex; align-items: center;
  min-height: 48px;
  padding: var(--space-3) var(--space-2);
  font: 600 1.0625rem var(--font-head);
  color: var(--ink); text-decoration: none;
  cursor: pointer;
}
.site-nav details ul a { font: 500 1rem var(--font-body); padding-left: var(--space-5); }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav summary::after {
  content: ""; margin-left: auto;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform .2s;
}
.site-nav details[open] summary::after { transform: rotate(-135deg); }

.nav-cta { margin-top: var(--space-5); }

/* ---------- 4b. Site search (button injected by site.js) ---------- */
.search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  color: var(--ink);
  margin-left: auto;
}
.search-toggle svg { width: 22px; height: 22px; }
/* keep logo left, search + burger right */
.site-header .container { gap: var(--space-2); }
.site-header .site-logo { margin-right: auto; }

.search-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(23, 24, 28, .6);
  padding: var(--space-4);
}
.search-panel {
  background: var(--paper);
  border-radius: var(--radius);
  max-width: 640px; margin: 8vh auto 0;
  max-height: 74vh; display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
}
.search-bar { display: flex; border-bottom: 1px solid var(--border); }
.search-bar input {
  flex: 1; min-height: 56px;
  border: 0; outline: none;
  padding: 0 var(--space-4);
  font: 500 1.0625rem var(--font-body);
  color: var(--ink); background: transparent;
}
.search-bar input:focus-visible { outline: none; }
.search-close {
  width: 56px; min-height: 56px;
  background: none; border: 0; cursor: pointer;
  font-size: 1.75rem; color: var(--ink-soft);
}
.search-results {
  list-style: none; margin: 0; padding: var(--space-2);
  overflow-y: auto;
}
.search-results a {
  display: block;
  padding: var(--space-3) var(--space-4);
  min-height: 48px;
  border-radius: 8px;
  text-decoration: none; color: var(--ink);
}
.search-results a:hover, .search-results a:focus-visible { background: var(--paper-soft); }
.search-results b { display: block; font: 600 1rem var(--font-head); }
.search-results span { display: block; font-size: var(--text-small); color: var(--ink-soft); }
.search-empty { padding: var(--space-5); color: var(--ink-soft); }

/* ---------- 5. Mobile bottom action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; gap: 1px;
  height: calc(var(--bottombar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--border);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, .12);
}
.action-bar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  font: 700 1rem var(--font-head);
  text-decoration: none;
}
.action-bar .action-apply { background: var(--brand); color: var(--ink); }
.action-bar .action-call { background: var(--surface-dark); color: var(--on-dark); }
.action-bar svg { width: 20px; height: 20px; }

/* ---------- 6. Hero ---------- */
.hero { padding-block: 0; position: relative; }
.hero-media img {
  width: 100%;
  height: min(62vh, 500px);
  object-fit: cover;
}
.hero-content {
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: 0px 20px 20px;
}
.hero-content h1 {
  font-size: var(--text-display);
  color: var(--on-dark);
}
.breadcrumb {
  font-size: var(--text-small);
  color: var(--brand-on-dark);
  margin-bottom: var(--space-3);
}
.breadcrumb a { color: var(--brand-on-dark); }
.hero-content .highlight { color: var(--brand-on-dark); }
.hero-content p { color: var(--on-dark); max-width: 100%; }
.hero-actions { display: grid; gap: var(--space-3); margin-top: var(--space-5); }

/* ---------- 7. Stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  padding: var(--space-6) var(--gutter);
  background: var(--paper-soft);
}
.stat { text-align: center; }
.stat b {
  display: block;
  font: 700 1.75rem var(--font-head);
  color: #9A5300 !important;
}
.stat span { font-size: var(--text-small); color: #0B0B0C !important; }

/* ---------- 8. Cards & grids ---------- */
.card-grid { display: grid; gap: var(--space-4); }

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
#institutions .card img {
  filter: grayscale(1);
  transition: filter .3s ease, transform .4s ease;
}
#institutions .card:hover img,
#institutions .card:focus-within img {
  filter: grayscale(0);
  transform: scale(1.04);
}
.card img {  object-fit: cover; width: 100%; }
.card-body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--ink-soft); font-size: var(--text-small); }
.card-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: var(--space-1);
  min-height: 44px;
  font-weight: 600; text-decoration: none;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.team-card {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(23, 24, 28, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(23, 24, 28, 0.1);
}
.team-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #f4f2ee;
}
.team-card .card-body {
  padding: var(--space-4);
}
.team-card h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 2px;
}
.team-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* A card whose whole surface is tappable */
.card-tap { position: relative; }
.card-tap .card-link::after { content: ""; position: absolute; inset: 0; }

/* ---------- 9. Accordion (native details) ---------- */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion details + details { border-top: 1px solid var(--border); }
.accordion summary {
  display: flex; align-items: center;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  font: 600 1rem var(--font-head);
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; margin-left: auto;
  font-size: 1.4rem; color: var(--brand-dark);
}
.accordion details[open] summary::after { content: "–"; }
.accordion .accordion-body { padding: 0 var(--space-4) var(--space-4); color: var(--ink-soft); }

/* ---------- 9b. Audience router (Khan-style chevron cards) ---------- */
.router { display: grid; gap: var(--space-3); }
.router a {
  display: flex; align-items: center; gap: var(--space-4);
  min-height: 64px;
  padding: var(--space-4);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
}
.router a:hover { border-color: var(--brand-dark); }
.router b { display: block; font: 600 1.0625rem var(--font-head); }
.router span { display: block; font-size: var(--text-small); color: var(--ink-soft); }
.router .chevron {
  margin-left: auto; flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--brand-dark);
  border-bottom: 2px solid var(--brand-dark);
  transform: rotate(-45deg);
}

/* ---------- 9c. Statement flourish (Cornell-style, max once per page) ---------- */
.statement {
  background: var(--surface-dark);
  padding: var(--space-8) 0;
}
.statement p {
  margin: 0;
  font: 700 clamp(1.75rem, 6vw, 3.25rem) var(--font-head);
  line-height: 1.2;
  color: var(--on-dark);
  max-width: 34ch;
  text-wrap: balance;
}
/* gradient-tinted keywords — all pass AA on #17181C */
.statement .w1 { color: #F8AC4F; } /* 9.3:1 */
.statement .w2 { color: #F9BC72; } /* 11.0:1 approx */
.statement .w3 { color: #FBCD96; }
.statement .w4 { color: #FCDDBA; }
.statement .w5 { color: #FDEEDD; }

/* ---------- 9d. Proof strip (Harvard-style receipts) ---------- */
.proof-list { display: grid; gap: var(--space-3); }
.proof-list a {
  display: flex; align-items: baseline; gap: var(--space-3);
  min-height: 56px; align-items: center;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
}
.proof-list b { font: 700 1.125rem var(--font-head); color: var(--brand-dark); }
.proof-list span { color: var(--ink-soft); font-size: var(--text-small); }

/* Section-ending CTA pair (Apple discipline) */
.cta-pair { display: grid; gap: var(--space-3); margin-top: var(--space-5); }

.tab-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-5);
}

.tab {
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  font: 600 0.95rem var(--font-body);
  padding: 0.8rem 1.25rem;
  cursor: pointer;
  transition: all .2s ease;
}

.tab:hover,
.tab:focus-visible {
  border-color: var(--brand-dark);
  color: var(--brand-dark);
}

.tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(244, 147, 35, 0.2);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: tabFade .2s ease;
}

.news-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.slider-viewport {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: 20px;
  background: #f3f0eb;
  border: 1px solid var(--border);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.slide-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: linear-gradient(180deg, transparent 0%, rgba(10, 11, 12, 0.78) 100%);
  color: var(--on-dark);
}

.slide-tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slide-body h3 {
  margin: 0 0 .45rem;
  color: var(--on-dark);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.slide-body p {
  margin: 0;
  max-width: 54ch;
  color: rgba(255,255,255,0.84);
}

.slider-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.news-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

.news-card,
.podcast-card,
.event-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: var(--space-4);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.news-meta,
.event-date {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3,
.podcast-card h3,
.event-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
}

.news-card p,
.podcast-card p,
.event-card p {
  margin: 0;
  color: var(--ink-soft);
}

.podcast-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.podcast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(244, 147, 35, 0.1);
  color: var(--brand-dark);
  font-size: 1.2rem;
  font-weight: 700;
}

@media (min-width: 480px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .tab-group {
    display: grid;
    grid-template-columns: 1fr;
  }
  .tab {
    width: 100%;
    text-align: center;
  }
  .news-slider {
    grid-template-columns: 1fr;
  }
  .slider-btn {
    display: none;
  }
  .slider-viewport {
    min-height: 300px;
  }
}

@keyframes tabFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 10. Section backgrounds ---------- */
.section-soft { background: var(--paper-soft); }
.btn-outline-on-dark { color: var(--on-dark); border-color: var(--on-dark); }
.section-dark { background: var(--surface-dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark); }
.section-dark a { color: var(--brand-on-dark); }
.section-dark .section-kicker { color: var(--brand-on-dark); }

/* ---------- 11. Footer ---------- */
.site-footer {
  background: var(--surface-dark);
  color: #F4F4F2 !important;
  padding: var(--space-7) 0 var(--space-6);
  font-size: var(--text-small);
}
.site-footer h2 { font-size: var(--text-h3); color: #F4F4F2; }
.site-footer a { color: #F4F4F2 !important; }
.site-footer a:hover { color: #F49323 !important }
.footer-grid { display: grid; gap: var(--space-6); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer li a { display: inline-flex; align-items: center; min-height: 20px; text-decoration: none; color: #F4F4F2 !important; }
.site-footer li a:hover {
  color: #F49323 !important;
}
.footer-social {
  background: transparent;
  border: 0;
  padding: 0 0 var(--space-5);
  margin-bottom: var(--space-5);
}
.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  
 border: 1px solid rgba(244, 147, 35, .9);
  color: #F4F4F2 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .98rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.footer-social-link:hover {
  transform: translateY(-1px);
  color: #F49323;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.footer-social-link:focus-visible {
  outline: 3px solid rgba(17, 17, 17, .25);
  outline-offset: 2px;
}
.footer-legal {
  margin-top: var(--space-6); padding-top: var(--space-4);
  border-top: 1px solid rgba(246, 246, 244, .2);
  color: rgba(246, 246, 244, .75);
}

/* ==========================================================================
   Desktop enhancements — layered on top of the working mobile view
   ========================================================================== */

@media (min-width: 480px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { grid-template-columns: repeat(2, max-content); }
  .cta-pair { grid-template-columns: repeat(2, max-content); }
  .btn { width: auto; }
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--space-3);
  }
  .team-card .card-body {
    padding: var(--space-3);
  }
  .team-card h3 {
    font-size: .96rem;
  }
  .team-card p {
    font-size: .8rem;
  }
  .tab-group {
    display: grid;
    grid-template-columns: 1fr;
  }
  .tab {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .router { grid-template-columns: repeat(2, 1fr); }
  .proof-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --text-display: 3.5rem;
    --text-h1: 2.5rem;
    --text-h2: 1.75rem;
    --text-h3: 1.25rem;
    --text-body: 1.0625rem;
  }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  /* Bottom bar retires; header carries the CTAs */
  body { padding-bottom: 0; }
  .action-bar { display: none; }

  .nav-toggle { display: none; }
  .site-nav {
    position: static; transform: none;
    padding: 0; overflow: visible; background: none;
    display: flex; align-items: center; gap: var(--space-4);
  }
  .site-nav > ul { display: flex; gap: var(--space-2); }
  .site-nav > ul > li { border: 0; }
  .site-nav a, .site-nav summary { font-size: .9375rem; min-height: 44px; padding: 0 var(--space-3); }
  .site-nav summary::after { margin-left: var(--space-2); width: 7px; height: 7px; }
  .site-nav details { position: relative; }
  .site-nav details ul {
    position: absolute; top: 100%; left: 0;
    min-width: 368px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    padding: var(--space-2);
  }
  .site-nav details ul a { padding-left: var(--space-3); min-height: 35px; }
  .nav-cta { margin: 0; }
  .nav-cta .btn { min-height: 35px; padding-block: 0; }

  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .hero-media { order: 2; }
  .hero-media img { height: 100%; min-height: 520px; }
  .hero-content { order: 1; display: flex; flex-direction: column; justify-content: center; padding: var(--space-8) var(--space-7); }

  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
}
.white{
	color:#fff !important;
}
.block{
	color:#000;
}
.justify{
	text-align:justify;
}
.whatsapp{
	color:#25D366	
}
.orange{
	color:#f49323
}

.text-center{
	text-align:center;
}
/* Program List Design*/
/* =========================================================
   AIT PROGRAMMES
   ========================================================= */
#programmes {
    background: #f5f5f7;
    padding: 20px 0;
}
#programmes .section-title {
    max-width: 760px;
    margin-bottom: 42px;
}

#programmes .section-kicker {
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
#programmes .section-title h2 {
    font-size: clamp(2.2rem, 5vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 0;
    color: #17181c;
}
/* ---------------------------------------------------------
   Main accordion
   --------------------------------------------------------- */
#programmes .accordion {
    border: 0;
    border-radius: 0;
    overflow: visible;
    display: grid;
    gap: 16px;
}
/* ---------------------------------------------------------
   Category
   --------------------------------------------------------- */
#programmes .accordion details {
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, .03),
        0 8px 30px rgba(0, 0, 0, .035);
    transition:
        box-shadow .3s ease,
        transform .3s ease,
        border-color .3s ease;
}
#programmes .accordion details:hover {
    border-color: #d4d4d8;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, .04),
        0 18px 45px rgba(0, 0, 0, .07);
}
/* ---------------------------------------------------------
   Category heading
   --------------------------------------------------------- */
#programmes .accordion summary {
    position: relative;
    min-height: 90px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.025em;
    color: #17181c;
    cursor: pointer;
    list-style: none;
    transition:
        background .25s ease,
        color .25s ease;
}
#programmes .accordion summary::-webkit-details-marker {
    display: none;
}
/* Small category number */
#programmes .accordion details {
    counter-increment: programme-category;
}
#programmes .accordion {
    counter-reset: programme-category;
}
#programmes .accordion summary::before {
    content: "0" counter(programme-category);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 18px;
    border-radius: 50%;
    background: #f5f5f7;
    color: #6e6e73;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    flex: 0 0 auto;
}
/* Arrow */
#programmes .accordion summary::after {
    content: "";
    width: 11px;
    height: 11px;
    margin-left: auto;
    border-right: 2px solid #6e6e73;
    border-bottom: 2px solid #6e6e73;
    transform: rotate(45deg);
    transition:
        transform .3s ease,
        border-color .3s ease;
}
#programmes .accordion details[open] summary::after {
    transform: rotate(225deg);
    border-color: var(--brand-dark);
}
#programmes .accordion details[open] summary {
    color: var(--brand-dark);
}
/* ---------------------------------------------------------
   Programme list
   --------------------------------------------------------- */
#programmes .accordion-body {
    padding: 4px 30px 30px;
    color: var(--ink-soft);
}
/* Remove default UL */
#programmes .accordion-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
/* ---------------------------------------------------------
   Individual programme
   --------------------------------------------------------- */
#programmes .accordion-body li {
    margin: 0;
    padding: 0;
}
/* Programme link card */
#programmes .accordion-body li a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 15px 48px 15px 18px;
    border: 1px solid #e8e8eb;
    border-radius: 14px;
    background: #fbfbfc;
    color: #17181c;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: .98rem;
    font-weight: 500;
    line-height: 1.35;
    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}
/* Arrow on programme */
#programmes .accordion-body li a::after {
    content: "→";
    position: absolute;
    right: 17px;
    font-size: 18px;
    color: #8a8a8f;
    transition:
        transform .25s ease,
        color .25s ease;
}
/* Hover */
#programmes .accordion-body li a:hover {
    background: #ffffff;
    border-color: var(--brand);
    color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
#programmes .accordion-body li a:hover::after {
    color: var(--brand-dark);
    transform: translateX(4px);
}
/* ---------------------------------------------------------
   Open animation
   --------------------------------------------------------- */
#programmes .accordion details[open] .accordion-body {
    animation: programmeOpen .35s ease;
}
@keyframes programmeOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */
#programmes .cta-pair {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
#programmes .cta-pair .btn {
    min-height: 50px;
    padding: 0 28px;
}
/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */
@media (max-width: 767px) {
    #programmes {
        padding: 64px 0;
    }
    #programmes .section-title {
        margin-bottom: 28px;
    }
    #programmes .section-title h2 {
        font-size: 2.25rem;
    }
    #programmes .accordion {
        gap: 12px;
    }
    #programmes .accordion details {
        border-radius: 18px;
    }
    #programmes .accordion summary {
        min-height: 76px;
        padding: 18px;
        font-size: 1.08rem;
    }
    #programmes .accordion summary::before {
        width: 36px;
        height: 36px;
        margin-right: 12px;
        font-size: 10px;
    }

    #programmes .accordion-body {
        padding: 2px 18px 20px;
    }

    #programmes .accordion-body ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #programmes .accordion-body li a {
        min-height: 58px;
        padding: 13px 42px 13px 15px;
        font-size: .94rem;
    }

    #programmes .cta-pair {
        display: grid;
        grid-template-columns: 1fr;
    }

    #programmes .cta-pair .btn {
        width: 100%;
    }
}
/* ---------------------------------------------------------
   Large desktop
   --------------------------------------------------------- */
@media (min-width: 1200px) {
    #programmes .accordion-body ul {
        gap: 12px;
    }
    #programmes .accordion-body li a {
        min-height: 70px;
        font-size: 1rem;
    }
}
/*FAQ Accordion smoothness - Only one open at a time END*/
/*  SMOOTH ACCORDION Query Start */
.accordion details {
    overflow: hidden;
}
/* Entire header is clickable */
.accordion summary {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 64px;

    padding: 20px 48px 20px 20px;

    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;

    list-style: none;

    -webkit-tap-highlight-color: transparent;

    transition:
        background-color .25s ease,
        color .25s ease;
}

/* Remove browser arrow */
.accordion summary::-webkit-details-marker {
    display: none;
}
.accordion summary::marker {
    display: none;
}
/* Make header easy to tap */
.accordion summary {
    touch-action: manipulation;
}
/* Smooth content */
.accordion .accordion-body {
    height: 0;
    overflow: hidden;
    transition: height .38s cubic-bezier(.4, 0, .2, 1);
    will-change: height;
}
/* =========================================
   PLUS / MINUS ICON
   ========================================= */
.accordion summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: #b45f00;
    transition: transform .3s ease, color .3s ease;
}
/* Open = minus */
.accordion details[open] summary::after {
    content: "−";

    transform: translateY(-50%);

    color: #b45f00;
}
/* Hover */
.accordion summary:hover {
    background: #fafafa;
}
/* Mobile */
@media (max-width: 767px) {

    .accordion summary {
        min-height: 70px;

        padding: 19px 55px 19px 20px;

        font-size: 16px;

        line-height: 1.35;
    }

    .accordion summary::after {
        right: 18px;
        font-size: 22px;
    }

}
/*FAQ Accordion smoothness - Only one open at a time END*/

/* TAB GROUP — MOBILE 2 COLUMN DESIGN */
.tab-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}
/* Tab Query */
.tab-group .tab {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #e6cfd3;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
/* Active tab */
.tab-group .tab.is-active {
    background: #f49323;
    border-color: #f49323;
    color: #fff;
    box-shadow: 0 4px 10px rgba(237, 27, 59, .15);
}
/* Hover */
.tab-group .tab:hover {
    border-color: #f49323;
}
/* Active hover */
.tab-group .tab.is-active:hover {
    background: #f49323;
    border-color: #f49323;
}
/* Click */
.tab-group .tab:active {
    transform: scale(.98);
}
/* Remove default focus appearance */
.tab-group .tab:focus {
    outline: none;
}
.tab-group .tab:focus-visible {
    outline: 2px solid #f49323;
    outline-offset: 2px;
}
/* MOBILE DEVIES */
@media (max-width: 767px) {
    .tab-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }
    .tab-group .tab {
        min-height: 48px;
        padding: 9px 10px;
        font-size: 13px;
        border-radius: 11px;
    }
}
/* VERY SMALL MOBILE */
@media (max-width: 380px) {
    .tab-group {
        gap: 8px;
    }
    .tab-group .tab {
        min-height: 46px;
        padding: 8px;
        font-size: 12px;
        border-radius: 10px;
    }
}
/*Simba Code Start*/
.wistia_embed:hover{
            cursor:pointer;
        } 
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
        .simbaframeCont {
            border: none;
            border-radius: 16px;
            background-color: white;
            box-shadow: 0px 1px 4px rgb(63 63 68 / 15%), 0px 0px 1px rgb(0 0 0 / 50%);
        } 
        .simbaframe {
            border: none;
        } 
        .simbaCont {
            position: fixed;
            bottom: 0;
            right: 0;
            z-index: 99999;
            margin: 10px;
            font-family: 'Poppins', sans-serif;
            box-sizing: border-box;
        } 
        .askNandiTitle {
            font-size: 1rem;
            font-weight: 700;
            color: #1B1D53;
            margin: 0;
            padding: 10px;
            background-color: white;
            box-shadow: 0px 1px 4px rgb(63 63 68 / 15%), 0px 0px 1px rgb(0 0 0 / 50%);
            margin-top:0px;
            border-radius: 15px;			
        }  
        .askSimbaCont {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
			margin-right:-16px;
        }  
/*Simba Code end*/