/* ═══════════════════════════════════════════════════════════
   SAKSHI GROUP OF INSTITUTIONS — Main Stylesheet
   Bootstrap 5.3 · Retinal-Friendly · Mobile-First
   Palette: Warm Ivory · Deep Ocean · Antique Gold
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-base:        #FAF7F1;
  --bg-surface:     #FFFFFF;
  --bg-elevated:    #F5EFE3;
  --bg-dark:        #0E1F33;
  --bg-dark-2:      #14283F;
  --bg-dark-3:      #1E3A5F;

  /* Brand */
  --primary:        #1E3A5F;
  --primary-dk:     #14283F;
  --primary-lt:     #2C5283;
  --primary-tint:   #E8EDF4;
  --gold:           #B8924A;
  --gold-lt:        #D4B574;
  --gold-dk:        #8C6E37;
  --gold-tint:      #F5EBD2;

  /* Department colours */
  --pharma:         #0F6E56;
  --pharma-lt:      #1A9E7A;
  --pharma-tint:    #E1F5EE;
  --nursing:        #7B2D55;
  --nursing-lt:     #B05580;
  --nursing-tint:   #FBEAF0;
  --iti:            #7A4700;
  --iti-lt:         #B06B10;
  --iti-tint:       #FAEEDA;
  --edu:            #3B2E8E;
  --edu-lt:         #6255C0;
  --edu-tint:       #EEEDFE;

  /* Accents */
  --sage:           #6B8A6E;
  --coral:          #C9744A;

  /* Text */
  --text:           #2C2C30;
  --text-muted:     #5C5C66;
  --text-light:     #8A8A92;
  --text-white:     #F5EFE0;
  --text-muted-w:   rgba(245,239,224,0.72);

  /* Borders */
  --border:         #E8E2D5;
  --border-soft:    #F0EBDD;
  --border-dark:    rgba(245,239,224,0.12);

  /* Functional */
  --success:        #4A7C5C;
  --danger:         #B85450;
  --warning:        #D4A04C;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(60,40,20,.05);
  --shadow-sm:  0 2px 8px rgba(60,40,20,.07);
  --shadow:     0 4px 16px rgba(60,40,20,.09);
  --shadow-md:  0 8px 28px rgba(60,40,20,.11);
  --shadow-lg:  0 16px 48px rgba(60,40,20,.14);
  --shadow-xl:  0 24px 64px rgba(60,40,20,.18);

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r:    12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Transitions */
  --t-fast: .15s ease;
  --t:      .25s ease;
  --t-slow: .4s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1,h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;   /* DM Serif Display only has 400 */
  color: var(--text);
  line-height: 1.22;
  letter-spacing: -.01em;
}
h3,h4,h5,h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -.01em;
}
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-dk); }
p { color: var(--text-muted); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold-tint); color: var(--gold-dk); }

/* ── Page loader ──────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity .5s, visibility .5s;
}
#page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
#page-loader .loader-logo { width: 72px; height: 72px; border-radius: var(--r); }
#page-loader .loader-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(212,181,116,.2);
  border-top-color: var(--gold-lt);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
#page-loader .loader-text {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted-w); font-weight: 500;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Go To Top ────────────────────────────────────────────── */
#go-top {
  position: fixed; bottom: 90px; right: 24px; z-index: 990;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--t), transform var(--t);
  border: none; cursor: pointer;
}
#go-top.show { opacity: 1; transform: translateY(0); }
#go-top:hover { background: var(--gold); }

/* ── WhatsApp Float ───────────────────────────────────────── */
#wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 991;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform var(--t);
}
#wa-float:hover { transform: scale(1.08); color: #fff; }
#wa-float::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; border: 2px solid #25D366;
  opacity: 0; animation: wa-ring 2s ease-out infinite;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── Chatbot Widget ───────────────────────────────────────── */
#chat-toggle {
  position: fixed; bottom: 24px; right: 88px; z-index: 991;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: var(--shadow-md);
  border: none; cursor: pointer; transition: transform var(--t);
}
#chat-toggle:hover { transform: scale(1.08); background: var(--primary-lt); }
#chat-toggle .chat-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--coral); color: #fff;
  font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
#chat-window {
  position: fixed; bottom: 90px; right: 24px; z-index: 992;
  width: 360px; height: 520px;
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: scale(.9) translateY(20px);
  opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s;
}
#chat-window.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
@media (max-width: 480px) {
  #chat-window { width: calc(100vw - 20px); right: 10px; height: 70vh; }
}

/* ── Topbar ────────────────────────────────────────────────── */
#topbar {
  background: var(--bg-dark);
  color: var(--text-muted-w);
  font-size: .8rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border-dark);
}
#topbar a { color: var(--text-muted-w); transition: color var(--t-fast); }
#topbar a:hover { color: var(--gold-lt); }
#topbar .sep { margin: 0 .7rem; opacity: .25; }
#topbar .tb-cta { color: var(--gold-lt); font-weight: 600; }

/* ── Navbar ────────────────────────────────────────────────── */
#main-nav {
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  border-bottom: 1px solid var(--border-soft);
  padding: .6rem 0;
  position: sticky; top: 0; z-index: 1020;
  transition: box-shadow var(--t), padding var(--t);
}
#main-nav.scrolled { box-shadow: var(--shadow-sm); }
#main-nav.scrolled.compact { padding: .35rem 0; }

.brand-wrap { display: flex; align-items: center; gap: .7rem; }
.brand-img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: contain; }
.brand-text { line-height: 1; }
.brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem; font-weight: 800;
  color: var(--primary-dk); letter-spacing: -.01em;
}
.brand-tag {
  font-size: .62rem; color: var(--gold-dk);
  text-transform: uppercase; letter-spacing: .15em;
  font-weight: 600; margin-top: 2px;
}

/* Nav links */
#main-nav .nav-link {
  font-size: .875rem; font-weight: 500;
  color: var(--text);
  padding: .45rem .85rem;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  position: relative;
}
#main-nav .nav-link:hover, #main-nav .nav-link.show {
  color: var(--primary); background: var(--primary-tint);
}
#main-nav .nav-link.active {
  color: var(--primary-dk); font-weight: 600;
  background: var(--primary-tint);
}
#main-nav .nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px;
}

/* Dropdowns */
#main-nav .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  margin-top: .5rem;
  min-width: 200px;
}
#main-nav .dropdown-item {
  border-radius: var(--r-sm);
  font-size: .875rem; padding: .5rem .8rem;
  color: var(--text); transition: all var(--t-fast);
}
#main-nav .dropdown-item:hover {
  background: var(--gold-tint); color: var(--gold-dk);
}
#main-nav .dropdown-item.active {
  background: var(--primary-tint); color: var(--primary-dk);
}

/* Apply Now CTA button in nav */
.nav-btn-apply {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold)) !important;
  color: #fff !important; font-weight: 600 !important;
  padding: .48rem 1.25rem !important;
  border-radius: 30px !important;
  box-shadow: 0 2px 10px rgba(184,146,74,.3);
  font-size: .85rem !important;
}
.nav-btn-apply:hover {
  background: var(--gold-dk) !important; color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(184,146,74,.4);
}

/* Branch nav variant */
.branch-nav { border-top: 3px solid var(--border-dark); }
.branch-nav.pharma-nav { border-top-color: var(--pharma); }
.branch-nav.nursing-nav { border-top-color: var(--nursing); }
.branch-nav.iti-nav { border-top-color: var(--iti); }
.branch-nav.edu-nav { border-top-color: var(--edu); }
.branch-badge {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  padding: .22rem .75rem; border-radius: 30px;
}
.branch-badge.pharma { background: var(--pharma-tint); color: var(--pharma); }
.branch-badge.nursing { background: var(--nursing-tint); color: var(--nursing); }
.branch-badge.iti { background: var(--iti-tint); color: var(--iti); }
.branch-badge.education { background: var(--edu-tint); color: var(--edu); }

/* Mobile nav collapse */
@media (max-width: 991px) {
  #main-nav .navbar-collapse {
    background: var(--bg-surface);
    border-radius: var(--r);
    padding: 1rem;
    margin-top: .5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
  }
}

/* ── Page Header Hero ──────────────────────────────────────── */
.page-header-hero {
  position: relative;
  min-height: 300px;
  display: flex; align-items: center;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .page-header-hero { background-attachment: scroll; min-height: 240px; padding: 3.5rem 0 3rem; }
}
.page-header-hero .psh-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(14,31,51,.82) 0%,rgba(30,58,95,.68) 100%);
}
.psh-badge {
  display: inline-block;
  background: rgba(212,181,116,.18);
  border: 1px solid rgba(212,181,116,.42);
  color: var(--gold-lt); backdrop-filter: blur(8px);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .38rem 1.1rem; border-radius: 30px;
  margin-bottom: 1.2rem;
}
.psh-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  margin: 0 0 .8rem;
}
.psh-title em { color: var(--gold-lt); font-style: italic; }
.psh-subtitle {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: rgba(245,239,224,.88);
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
  max-width: 640px; margin: 0 auto 1.2rem;
}
/* Breadcrumbs in header */
.ph-breadcrumb .breadcrumb {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 30px;
  padding: .4rem 1.1rem;
  display: inline-flex; align-items: center;
}
.ph-breadcrumb .breadcrumb-item,
.ph-breadcrumb .breadcrumb-item a {
  color: rgba(245,239,224,.78); font-size: .8rem;
}
.ph-breadcrumb .breadcrumb-item.active { color: var(--gold-lt); }
.ph-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(245,239,224,.35); }

/* SVG wave at bottom */
.psh-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.psh-wave svg { width: 100%; display: block; }

/* ── Hero Carousel (Homepage) ──────────────────────────────── */
.hero-carousel {
  position: relative;
  height: 90vh; min-height: 600px; max-height: 800px;
  overflow: hidden; background: var(--bg-dark);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img, .hero-slide .hs-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,rgba(14,31,51,.38) 0%,rgba(14,31,51,.72) 100%),
    linear-gradient(90deg,rgba(14,31,51,.88) 0%,rgba(14,31,51,.28) 55%);
}
.hero-content {
  position: relative; z-index: 3;
  height: 100%; display: flex; align-items: center;
  color: var(--text-white);
}
.hero-tag {
  display: inline-block;
  background: rgba(212,181,116,.15);
  border: 1px solid rgba(212,181,116,.4);
  color: var(--gold-lt); backdrop-filter: blur(8px);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: .38rem 1rem; border-radius: 30px;
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700; color: #fff;
  line-height: 1.08; margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.45);
}
.hero-title em { color: var(--gold-lt); font-style: italic; }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(245,239,224,.9);
  max-width: 580px; margin-bottom: 2rem;
  line-height: 1.65;
}

/* Hero actions */
.btn-hero-gold {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg,var(--gold-lt),var(--gold));
  color: #fff; font-weight: 600;
  padding: .9rem 1.9rem; border-radius: 30px;
  box-shadow: 0 4px 18px rgba(184,146,74,.4);
  transition: all var(--t); border: none; font-size: .92rem;
}
.btn-hero-gold:hover { background: var(--gold-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(184,146,74,.5); }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(245,239,224,.32);
  color: #fff; font-weight: 600;
  padding: .9rem 1.9rem; border-radius: 30px;
  transition: all var(--t); font-size: .92rem;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(245,239,224,.6); }

/* Indicators */
.hero-indicators {
  position: absolute; bottom: 90px; left: 50%; z-index: 5;
  transform: translateX(-50%);
  display: flex; gap: .5rem;
}
.hero-indicators button {
  width: 32px; height: 3px; padding: 0; border: none;
  background: rgba(255,255,255,.3); border-radius: 3px;
  cursor: pointer; transition: all .3s;
}
.hero-indicators button.active { width: 52px; background: var(--gold-lt); }

/* ── Stats Strip ───────────────────────────────────────────── */
.stats-strip {
  position: relative; z-index: 4;
  margin-top: -72px; padding: 0 1rem;
}
.stats-strip-inner {
  background: var(--bg-surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  padding: 1.8rem 2rem;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.stat-cell {
  text-align: center; padding: .5rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem; font-weight: 700;
  color: var(--primary); line-height: 1;
}
.stat-num sup { font-size: 1.4rem; }
.stat-num .suffix { color: var(--gold); }
.stat-label {
  font-size: .72rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .12em;
  font-weight: 600; margin-top: .4rem;
}
@media (max-width: 767px) {
  .stats-strip-inner { grid-template-columns: repeat(2,1fr); }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
  .stat-cell:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  .stats-strip-inner { padding: 1.2rem 1rem; }
  .stat-num { font-size: 2rem; }
}

/* ── Section Utilities ─────────────────────────────────────── */
.sec { padding: 5rem 0; }
.sec-sm { padding: 3.5rem 0; }
.sec-dark { background: linear-gradient(135deg,var(--bg-dark) 0%,var(--bg-dark-3) 100%); }
.sec-warm { background: var(--bg-elevated); }
.sec-tint { background: var(--primary-tint); }

.sec-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: .9rem;
  padding-left: 2.4rem; position: relative;
}
.sec-tag::before {
  content: ''; position: absolute;
  left: 0; top: 50%;
  width: 26px; height: 1.5px;
  background: var(--gold);
}
.sec-tag.light { color: var(--gold-lt); }
.sec-tag.light::before { background: var(--gold-lt); }

.sec-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--primary-dk); font-weight: 700;
  margin-bottom: .9rem;
}
.sec-title em { color: var(--gold-dk); font-style: italic; }
.sec-title.light { color: #fff; }
.sec-title.light em { color: var(--gold-lt); }
.sec-sub {
  color: var(--text-muted); font-size: 1rem;
  max-width: 680px; line-height: 1.75;
}
.sec-sub.light { color: var(--text-muted-w); }
.sec-sub.mx { margin-left: auto; margin-right: auto; }

/* ── Department / Course Cards ─────────────────────────────── */
.dept-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  height: 100%;
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dept-card .dc-img {
  height: 210px; overflow: hidden; position: relative;
}
.dept-card .dc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dept-card:hover .dc-img img { transform: scale(1.05); }
.dept-card .dc-body { padding: 1.5rem; }
.dept-card .dc-label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: .6rem;
}
.dept-card h3 { font-size: 1.2rem; color: var(--primary-dk); margin-bottom: .5rem; }
.dept-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.dept-card .dc-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 600;
  color: var(--primary); transition: gap var(--t-fast), color var(--t-fast);
}
.dept-card:hover .dc-link { gap: .7rem; color: var(--gold-dk); }

/* colour accents per branch */
.dept-card.pharma    .dc-label { color: var(--pharma); }
.dept-card.nursing   .dc-label { color: var(--nursing); }
.dept-card.iti       .dc-label { color: var(--iti); }
.dept-card.education .dc-label { color: var(--edu); }
.dept-card.pharma::before    { background: var(--pharma); }
.dept-card.nursing::before   { background: var(--nursing); }
.dept-card.iti::before       { background: var(--iti); }
.dept-card.education::before { background: var(--edu); }
.dept-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.dept-card { position: relative; }
.dept-card:hover::before { transform: scaleX(1); }

/* ── Course Landing Page Cards ─────────────────────────────── */
.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 2rem;
  height: 100%;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.course-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--gold),var(--gold-lt));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.course-card:hover::after { transform: scaleX(1); }
.course-card .cc-icon {
  width: 52px; height: 52px; border-radius: var(--r);
  background: var(--gold-tint); color: var(--gold-dk);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.1rem;
}
.course-card h4 { font-size: 1.15rem; color: var(--primary-dk); margin-bottom: .4rem; }
.course-card .cc-meta { font-size: .76rem; color: var(--gold-dk); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8rem; }
.course-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.68; margin-bottom: 0; }
.course-card .cc-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--primary); margin-top: 1rem; transition: gap var(--t-fast); }
.course-card:hover .cc-link { gap: .7rem; color: var(--gold-dk); }

/* ── Feature Tiles ─────────────────────────────────────────── */
.feat-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 1.75rem;
  height: 100%; transition: all var(--t);
}
.feat-tile:hover { border-color: var(--gold-lt); box-shadow: var(--shadow); background: linear-gradient(180deg,#fff,var(--gold-tint)); }
.feat-tile .ft-icon {
  width: 48px; height: 48px; border-radius: var(--r);
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.feat-tile h5 { font-size: 1rem; color: var(--primary-dk); margin-bottom: .4rem; }
.feat-tile p { font-size: .87rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ── Swiper Lab Cards ──────────────────────────────────────── */
.swiper-lab .swiper-slide { border-radius: var(--r-md); overflow: hidden; }
.lab-swiper-card { position: relative; }
.lab-swiper-card img {
  width: 100%; height: 380px; object-fit: cover;
  display: block;
}
.lab-swiper-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg,rgba(14,31,51,.92) 0%,rgba(14,31,51,.4) 100%);
  padding: 1.5rem;
  color: #fff;
}
.lab-swiper-body h4 { font-size: 1.2rem; color: #fff; margin-bottom: .4rem; }
.lab-swiper-body p { font-size: .86rem; color: rgba(245,239,224,.85); margin: 0; }
.swiper-controls { display: flex; gap: .6rem; justify-content: center; margin-top: 1.2rem; }
.swiper-controls .swp-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t-fast); font-size: 1rem;
}
.swiper-controls .swp-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Testimonials ──────────────────────────────────────────── */
.testi-section {
  background: linear-gradient(135deg,var(--bg-dark) 0%,var(--bg-dark-3) 100%);
  position: relative; overflow: hidden;
}
.testi-section::before {
  content: ''; position: absolute;
  top: -40%; right: -8%; width: 560px; height: 560px;
  background: radial-gradient(circle,rgba(212,181,116,.12) 0%,transparent 70%);
  pointer-events: none;
}
.testi-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 1rem .5rem 1.5rem; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 100%;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(245,239,224,.13);
  border-radius: var(--r-lg);
  padding: 2.2rem;
}
@media (min-width: 768px) { .testi-card { flex: 0 0 calc(50% - .75rem); } }
.testi-stars { color: var(--gold-lt); font-size: 1rem; letter-spacing: .1em; margin-bottom: 1rem; }
.testi-text {
  font-size: 1rem; line-height: 1.78;
  color: var(--text-white); font-style: italic;
  margin-bottom: 1.5rem;
}
.testi-text::before {
  content: '"'; font-family: 'DM Serif Display', serif;
  font-size: 2.4rem; color: var(--gold-lt);
  line-height: 0; position: relative; top: .5rem; margin-right: .2rem;
}
.testi-author {
  display: flex; align-items: center; gap: .9rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(245,239,224,.1);
}
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg,var(--gold),var(--gold-dk));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem; flex-shrink: 0;
}
.testi-name { font-weight: 700; color: #fff; font-size: .92rem; }
.testi-role { color: var(--gold-lt); font-size: .76rem; margin-top: 2px; }
.testi-nav { display: flex; gap: .6rem; justify-content: center; margin-top: 1rem; }
.testi-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(245,239,224,.07); border: 1px solid rgba(245,239,224,.18);
  color: #fff; cursor: pointer; transition: all var(--t-fast);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.testi-nav button:hover { background: var(--gold); border-color: var(--gold); }

/* ── Lead Form / CTA Cards ─────────────────────────────────── */
.lead-form-card {
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lead-form-card .lfc-header {
  background: linear-gradient(135deg,var(--bg-dark),var(--bg-dark-3));
  padding: 1.6rem 2rem; position: relative;
}
.lead-form-card .lfc-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at right,rgba(212,181,116,.18),transparent 55%);
}
.lead-form-card .lfc-header > * { position: relative; z-index: 2; }
.lead-form-card .lfc-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem; color: #fff; margin-bottom: .2rem;
}
.lead-form-card .lfc-sub { font-size: .82rem; color: rgba(245,239,224,.78); }
.lead-form-card .lfc-body { padding: 1.8rem; }

/* Form controls */
.form-control, .form-select {
  background: var(--bg-base);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: .68rem 1rem;
  font-size: .9rem; color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus, .form-select:focus {
  background: var(--bg-surface);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,146,74,.16);
  color: var(--text);
}
.form-control::placeholder { color: var(--text-light); }
.form-label { font-size: .78rem; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }

/* Buttons */
.btn-submit {
  background: linear-gradient(135deg,var(--gold-lt),var(--gold));
  color: #fff; border: none; width: 100%;
  padding: .9rem 1.5rem; border-radius: 30px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: all var(--t);
  box-shadow: 0 4px 16px rgba(184,146,74,.3);
}
.btn-submit:hover { background: var(--gold-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,146,74,.42); }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.btn-primary-brand {
  background: linear-gradient(135deg,var(--primary-lt),var(--primary));
  color: #fff; border: none; padding: .75rem 1.8rem;
  border-radius: 30px; font-weight: 600; font-size: .9rem;
  transition: all var(--t); display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 3px 12px rgba(30,58,95,.3);
}
.btn-primary-brand:hover { background: var(--primary-dk); color: #fff; transform: translateY(-1px); }
.btn-outline-brand {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: .73rem 1.8rem; border-radius: 30px;
  font-weight: 600; font-size: .9rem;
  transition: all var(--t); display: inline-flex; align-items: center; gap: .5rem;
}
.btn-outline-brand:hover { background: var(--primary); color: #fff; }

/* Form messages */
.form-msg { padding: .65rem 1rem; border-radius: var(--r); font-size: .85rem; }
.form-msg.success { background: rgba(74,124,92,.1); color: var(--success); border: 1px solid rgba(74,124,92,.25); }
.form-msg.error   { background: rgba(184,84,80,.1); color: var(--danger);  border: 1px solid rgba(184,84,80,.25); }

/* ── Gallery Engine ──────────────────────────────────────────  */
.gallery-cats { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 1.2rem; }
.gallery-cat-card {
  border-radius: var(--r-md); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.gallery-cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-cat-card:hover img { transform: scale(1.06); }
.gallery-cat-card .gcc-label {
  position: absolute; inset: 0;
  background: linear-gradient(0deg,rgba(14,31,51,.82) 0%,rgba(14,31,51,.15) 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem;
}
.gallery-cat-card .gcc-label h4 { font-size: 1.1rem; color: #fff; margin: 0 0 .25rem; }
.gallery-cat-card .gcc-label span { font-size: .75rem; color: var(--gold-lt); font-weight: 600; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: .6rem; }
.gallery-item {
  aspect-ratio: 4/3; border-radius: var(--r);
  overflow: hidden; cursor: pointer;
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.07); }

/* ── Accordion (Facilities/Compliance) ────────────────────── */
.acc-modern .accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r) !important;
  margin-bottom: .6rem; overflow: hidden;
}
.acc-modern .accordion-button {
  background: var(--bg-surface) !important;
  color: var(--text) !important;
  font-weight: 600; font-size: .95rem;
  box-shadow: none !important;
  padding: 1.2rem 1.5rem;
  border-radius: var(--r) !important;
}
.acc-modern .accordion-button:not(.collapsed) {
  background: var(--gold-tint) !important;
  color: var(--primary-dk) !important;
}
.acc-modern .accordion-button::after {
  filter: invert(38%) sepia(28%) saturate(700%) hue-rotate(8deg);
}
.acc-modern .accordion-body {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: .92rem; color: var(--text-muted); line-height: 1.75;
}
.acc-modern .acc-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; margin-right: .9rem;
}

/* ── Placement Stats ────────────────────────────────────────── */
.placement-photo-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: .5rem; }
.placement-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.placement-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Blog Cards ─────────────────────────────────────────────── */
.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md); overflow: hidden;
  transition: all .3s; height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card .bc-img { height: 190px; overflow: hidden; }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .bc-img img { transform: scale(1.05); }
.blog-card .bc-body { padding: 1.4rem; }
.blog-card .bc-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dk); margin-bottom: .6rem; }
.blog-card h3 { font-size: 1.05rem; color: var(--primary-dk); margin-bottom: .6rem; line-height: 1.4; }
.blog-card p { font-size: .86rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.65; }
.blog-card .bc-link { font-size: .84rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: .3rem; transition: gap var(--t-fast); }
.blog-card:hover .bc-link { gap: .6rem; color: var(--gold-dk); }

/* ── Footer ─────────────────────────────────────────────────── */
#main-footer {
  background: var(--bg-dark);
  color: var(--text-muted-w);
  padding: 4.5rem 0 0;
  border-top: 4px solid var(--gold);
}
.footer-brand .fb-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem; font-weight: 800; color: #fff;
}
.footer-brand .fb-tag {
  font-size: .65rem; color: var(--gold-lt);
  text-transform: uppercase; letter-spacing: .14em;
  font-weight: 600; margin-top: 3px;
}
.footer-brand p { font-size: .86rem; color: var(--text-muted-w); line-height: 1.7; margin-top: .9rem; }

.footer-heading {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--gold-lt); margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(245,239,224,.65); font-size: .86rem; transition: all var(--t-fast); display: inline-flex; align-items: center; gap: .3rem; }
.footer-links a:hover { color: var(--gold-lt); padding-left: .3rem; }

.footer-contact-item { display: flex; gap: .75rem; margin-bottom: .85rem; }
.footer-contact-item i { color: var(--gold-lt); font-size: 1.05rem; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span, .footer-contact-item a { color: rgba(245,239,224,.65); font-size: .85rem; line-height: 1.55; }
.footer-contact-item a:hover { color: var(--gold-lt); }

.footer-socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(245,239,224,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-lt); font-size: 1rem;
  transition: all var(--t-fast);
  border: 1px solid rgba(245,239,224,.1);
}
.footer-socials a:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(245,239,224,.1);
  padding: 1.3rem 0; margin-top: 3rem;
  font-size: .8rem; color: rgba(245,239,224,.42);
}
.footer-bottom a { color: rgba(245,239,224,.42); }
.footer-bottom a:hover { color: var(--gold-lt); }

/* ── Affiliation logos strip ─────────────────────────────────  */
.affil-strip {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
  align-items: center;
}
.affil-strip img { height: 40px; width: auto; opacity: .88; object-fit: contain; transition: opacity var(--t-fast); }
.affil-strip img:hover { opacity: 1; }
.affil-strip.inverted img { filter: brightness(0) invert(1); }

/* ── Animations (AOS supplemental) ───────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Utility overrides ────────────────────────────────────────── */
.text-gold   { color: var(--gold-dk) !important; }
.text-pharma { color: var(--pharma) !important; }
.text-nursing{ color: var(--nursing) !important; }
.text-iti    { color: var(--iti) !important; }
.text-edu    { color: var(--edu) !important; }
.bg-warm     { background: var(--bg-elevated) !important; }
.bg-dark-brand { background: var(--bg-dark) !important; }
.fw-600      { font-weight: 600 !important; }
.fw-700      { font-weight: 700 !important; }
.rounded-brand { border-radius: var(--r-md) !important; }
.shadow-brand  { box-shadow: var(--shadow-md) !important; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 575px) {
  .sec { padding: 3.5rem 0; }
  .hero-carousel { height: 80vh; min-height: 520px; }
  .hero-title { font-size: 2rem; }
  .btn-hero-gold, .btn-hero-outline { padding: .75rem 1.4rem; font-size: .86rem; }
  .stats-strip { margin-top: -50px; }
  .psh-title { font-size: 1.75rem; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .hero-title { font-size: 4.8rem; }
}
