/* ============================================================
   Darsons Institute — Premium Design System
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --primary:        #1F7A4D;
  --primary-dark:   #145A32;
  --primary-light:  #2a9e64;
  --secondary:      #1E3A8A;
  --secondary-dark: #162D69;
  --teal:           #0E7490;
  --purple:         #6D28D9;
  --rose:           #BE123C;
  --amber:          #92400E;
  --accent:         #D4AF37;
  --accent-dark:    #b8962e;
  --white:          #ffffff;
  --bg-light:       #F4F6FA;
  --bg-section:     #FAFBFC;
  --text:           #1A1A1A;
  --text-muted:     #6B7280;
  --text-light:     #9CA3AF;
  --border:         #E5E7EB;
  --border-light:   #F3F4F6;

  --shadow-xs:      0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow-md:      0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:      0 8px 40px rgba(0,0,0,.13);
  --shadow-xl:      0 20px 60px rgba(0,0,0,.12);

  --glass-bg:       rgba(255,255,255,.15);
  --glass-border:   rgba(255,255,255,.25);

  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;

  --transition: all .3s cubic-bezier(.25,.46,.45,.94);
  --transition-slow: all .6s cubic-bezier(.25,.46,.45,.94);

  --navbar-height: 80px;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

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

::selection { background: var(--primary); color: #fff; }

/* ── Page Loader ─────────────────────────────────────── */
#page-loader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 9999;
  background: linear-gradient(135deg, #0F1B3E 0%, #1E3A8A 30%, #0E7490 60%, #1F7A4D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#page-loader.loaded { opacity: 0; visibility: hidden; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  /* push up slightly to visually center (accounts for progress bar below) */
  transform: translateY(-10%);
}

.loader-logo {
  width: 200px;
  max-width: 60vw;
  margin: 0 auto 24px;
}
.loader-logo-img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}
.loader-bar {
  width: 160px; height: 3px;
  max-width: 55vw;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}
.loader-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full);
  animation: loaderFill 1.5s ease forwards;
}
@keyframes loaderFill { from { width: 0 } to { width: 100% } }

/* ── Utilities ─────────────────────────────────────────── */
.text-primary  { color: var(--primary) !important; }
.text-accent   { color: var(--accent)  !important; }
.bg-primary    { background: var(--primary) !important; }
.bg-light-green { background: var(--bg-light) !important; }
.bg-section    { background: var(--bg-section) !important; }

.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 70px 0; }

.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(31,122,77,.1);
  color: var(--primary);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(31,122,77,.2);
  margin-bottom: 16px;
}
.section-badge i { font-size: .9em; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 16px 0 24px;
}
.section-divider.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .65rem 1.5rem;
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(31,122,77,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(31,122,77,.45);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(31,122,77,.35);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212,175,55,.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(212,175,55,.45);
}

.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--bg-light);
  color: var(--primary-dark);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-sm { padding: .45rem 1rem; font-size: .875rem; }

/* ── Site Header Wrapper (sticky container) ────────────── */
.site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,.12);
}

/* ── White Top Bar ──────────────────────────────────────── */
.site-topbar {
  background: #eaf1ed;
  border-bottom: 1px solid #c8ddd0;
  padding: 9px 0;
}
.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Header Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.header-brand-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(31,122,77,.28);
}
.header-brand-text .brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.header-brand-text .brand-sub {
  display: block;
  font-size: .64rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.4;
  max-width: 160px;
}

/* Contact Info */
.header-contact {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.hc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}
.hc-item:hover { color: var(--primary); }
.hc-icon {
  width: 34px; height: 34px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: .88rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.hc-item:hover .hc-icon { background: var(--primary); color: #fff; }
.hc-text { display: flex; flex-direction: column; line-height: 1.25; }
.hc-label { font-size: .63rem; color: var(--text-muted); font-weight: 500; }
.hc-text strong { font-size: .78rem; font-weight: 700; color: var(--text); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-social { display: flex; align-items: center; gap: 8px; }
.header-social a {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  transition: var(--transition);
  border: none;
}
.header-social a[title="Facebook"] { background: #1877F2; color: #fff; }
.header-social a[title="Instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }
.header-social a[title="YouTube"]   { background: #FF0000; color: #fff; }
.header-social a:hover { opacity: .85; transform: translateY(-2px); }

.header-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #1a1a1a !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .78rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(212,175,55,.32);
}
.header-apply-btn:hover { background: var(--accent-dark); color: #1a1a1a !important; transform: translateY(-1px); }

.site-header-wrapper.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.18); }

/* ── Dark Green Navbar ──────────────────────────────────── */
.main-navbar {
  background: #0F1B3E;
  height: auto;
  position: static;
  transition: var(--transition);
  padding: 0;
}

/* Mobile brand inside nav */
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

/* Nav Items — icon stacked above text */
.main-navbar .navbar-nav {
  gap: 2rem;
  width: 100%;
  justify-content: center;
}
.main-navbar .nav-item {
  flex: 0 0 auto;
}
.main-navbar .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 24px;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}
.main-navbar .nav-link i {
  font-size: 1.25rem;
  line-height: 1;
  display: block;
}
.main-navbar .nav-link span {
  display: block;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(255,255,255,.07);
}

/* Mobile Nav CTA */
.mobile-nav-cta { padding: 12px 16px 16px; }

/* Dropdown */
.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 12px;
  margin-top: 6px !important;
  animation: dropdownFadeIn .2s ease;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bridge pseudo-element: extends the li hover zone downward to cover the margin gap */
.main-navbar .nav-item.dropdown {
  position: relative;
}
.main-navbar .nav-item.dropdown::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0; right: 0;
  height: 8px;
  display: block;
}

.mega-dropdown { min-width: 260px; }
.mega-header {
  font-family: var(--font-heading);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary);
  padding: 6px 12px 4px;
  border-top: 1px solid var(--border-light);
}
.mega-header:first-child { border-top: none; }

.dropdown-item {
  font-family: var(--font-heading);
  font-size: .85rem; font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.dropdown-item i { color: var(--primary); font-size: .9em; }
.dropdown-item:hover { background: var(--bg-light); color: var(--primary); }
.dropdown-item:focus { background: var(--bg-light); color: var(--primary); }

/* Mobile Toggler */
.navbar-toggler { border: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon {
  display: flex; flex-direction: column; gap: 5px; padding: 8px;
}
.toggler-icon span {
  display: block; width: 24px; height: 2px;
  background: #fff;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

/* ── WhatsApp Float ──────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  transition: var(--transition);
}
.whatsapp-float:hover {
  background: #20b558; color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,.6);
}
.wa-pulse {
  position: absolute;
  width: 100%; height: 100%; border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: waPulse 2.5s ease infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Back to Top */
.back-to-top {
  position: fixed; bottom: 100px; right: 28px; z-index: 998;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff; border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ════════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  background: #0F1B3E;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('/Darsons/assets/images/hero/hero-bg.jpg') center/cover no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(15,27,62,.96) 0%, rgba(14,80,100,.88) 45%, rgba(25,110,65,.82) 80%, rgba(31,122,77,.78) 100%),
    radial-gradient(circle at 20% 50%, rgba(212,175,55,.14) 0%, transparent 50%);
}

/* Animated background shapes */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.hero-shape-1 { width: 500px; height: 500px; top: -150px; right: -100px; animation: floatShape 12s ease-in-out infinite; }
.hero-shape-2 { width: 300px; height: 300px; bottom: 10%; left: -80px; animation: floatShape 10s ease-in-out infinite reverse; }
.hero-shape-3 { width: 200px; height: 200px; top: 30%; right: 20%; animation: floatShape 8s ease-in-out infinite 2s; }

@keyframes floatShape {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(5deg); }
}

/* Grid overlay */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.3);
  color: var(--accent);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: blinkDot 2s ease infinite;
}
@keyframes blinkDot { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 580px;
  font-weight: 400;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.hero-stat-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  min-width: 100px;
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem; font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: .72rem; font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
}

/* Hero image side */
.hero-visual { position: relative; }

.hero-card-float {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
}

.hero-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  height: 420px;
  background: linear-gradient(135deg, rgba(31,122,77,.4), rgba(20,90,50,.6)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><rect fill="%231F7A4D" width="400" height="400"/><text x="50%" y="50%" font-size="80" text-anchor="middle" dy=".3em" fill="%23ffffff30">🏥</text></svg>');
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}

.hero-float-card-1 {
  position: absolute; top: 20px; left: -30px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  animation: floatCard1 4s ease-in-out infinite;
  z-index: 3;
}
.hero-float-card-2 {
  position: absolute; bottom: 40px; right: -20px;
  background: var(--secondary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  color: #fff;
  animation: floatCard2 5s ease-in-out infinite 1s;
  z-index: 3;
}

@keyframes floatCard1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes floatCard2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  text-align: center; color: rgba(255,255,255,.5);
  font-size: .75rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase;
  animation: heroScrollBounce 2s ease infinite;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  margin: 8px auto 0;
}
@keyframes heroScrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ════════════════════════════════════════════════════════
   STATS SECTION
════════════════════════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 60%, #1e4a9e 100%);
  padding: 60px 0;
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="%23ffffff08"/></svg>');
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.stat-card::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,.2);
}
.stat-card:last-child::after { display: none; }

.stat-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--accent);
  margin: 0 auto 16px;
  border: 1px solid rgba(255,255,255,.15);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem; font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number .suffix { font-size: 2rem; color: var(--accent); }
.stat-label {
  font-size: .875rem; font-weight: 600;
  color: rgba(255,255,255,.75);
  text-transform: uppercase; letter-spacing: .06em;
}

/* ════════════════════════════════════════════════════════
   WHY CHOOSE DARSONS
════════════════════════════════════════════════════════ */
.features-section { background: #F8F9FF; }
.features-section .section-badge { background:rgba(30,58,138,.08); color:var(--secondary); border-color:rgba(30,58,138,.18); }
.features-section .section-title span { color: var(--secondary); }
.features-section .section-divider { background: linear-gradient(90deg, var(--secondary), var(--teal)); }

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31,122,77,.15);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 70px; height: 70px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.feature-card:hover .feature-icon { color: #fff; transform: scale(1.05); }

/* Multi-color feature icons */
/* NOTE: scoped via the column wrapper's nth-child, since .feature-card is always
   the sole (1st) child of its own .col-* wrapper — nth-child on .feature-card itself
   would always match rule #1 for every card. */
.features-section .row > div:nth-child(7n+1) .feature-icon { background:rgba(31,122,77,.10); color:var(--primary); border-color:rgba(31,122,77,.15); }
.features-section .row > div:nth-child(7n+2) .feature-icon { background:rgba(30,58,138,.10); color:var(--secondary); border-color:rgba(30,58,138,.15); }
.features-section .row > div:nth-child(7n+3) .feature-icon { background:rgba(14,116,144,.10); color:var(--teal); border-color:rgba(14,116,144,.15); }
.features-section .row > div:nth-child(7n+4) .feature-icon { background:rgba(146,64,14,.10); color:var(--amber); border-color:rgba(146,64,14,.15); }
.features-section .row > div:nth-child(7n+5) .feature-icon { background:rgba(109,40,217,.10); color:var(--purple); border-color:rgba(109,40,217,.15); }
.features-section .row > div:nth-child(7n+6) .feature-icon { background:rgba(190,18,60,.10); color:var(--rose); border-color:rgba(190,18,60,.15); }
.features-section .row > div:nth-child(7n+7) .feature-icon { background:rgba(212,175,55,.12); color:var(--accent); border-color:rgba(212,175,55,.2); }

.features-section .row > div:nth-child(7n+1):hover .feature-icon { background:var(--primary); color:#fff; }
.features-section .row > div:nth-child(7n+2):hover .feature-icon { background:var(--secondary); color:#fff; }
.features-section .row > div:nth-child(7n+3):hover .feature-icon { background:var(--teal); color:#fff; }
.features-section .row > div:nth-child(7n+4):hover .feature-icon { background:var(--amber); color:#fff; }
.features-section .row > div:nth-child(7n+5):hover .feature-icon { background:var(--purple); color:#fff; }
.features-section .row > div:nth-child(7n+6):hover .feature-icon { background:var(--rose); color:#fff; }
.features-section .row > div:nth-child(7n+7):hover .feature-icon { background:var(--accent); color:#1a1a1a; }

/* Multi-color top bars on hover */
.features-section .row > div:nth-child(7n+1) .feature-card::before { background:linear-gradient(90deg, var(--primary), var(--accent)); }
.features-section .row > div:nth-child(7n+2) .feature-card::before { background:linear-gradient(90deg, var(--secondary), #60a5fa); }
.features-section .row > div:nth-child(7n+3) .feature-card::before { background:linear-gradient(90deg, var(--teal), #22d3ee); }
.features-section .row > div:nth-child(7n+4) .feature-card::before { background:linear-gradient(90deg, var(--amber), #f59e0b); }
.features-section .row > div:nth-child(7n+5) .feature-card::before { background:linear-gradient(90deg, var(--purple), #a78bfa); }
.features-section .row > div:nth-child(7n+6) .feature-card::before { background:linear-gradient(90deg, var(--rose), #fb7185); }
.features-section .row > div:nth-child(7n+7) .feature-card::before { background:linear-gradient(90deg, var(--accent), #f5d576); }
.feature-card h5 {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 12px; color: var(--text);
}
.feature-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin: 0; }
.feature-read-more {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
.feature-read-more:hover {
  color: var(--accent);
  gap: 4px;
}
.feature-read-more i { transition: var(--transition); }
.feature-read-more:hover i { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════
   PROGRAMS SECTION
════════════════════════════════════════════════════════ */
.programs-section { background: #fff; }

.programs-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-weight: 600; font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31,122,77,.3);
}

.program-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31,122,77,.15);
}

.program-card-img {
  position: relative; overflow: hidden;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.program-card-img .prog-icon {
  font-size: 4rem;
  color: rgba(255,255,255,.3);
  transition: var(--transition);
}
.program-card:hover .prog-icon { transform: scale(1.1); color: rgba(255,255,255,.5); }

.prog-icon-overlay {
  position: absolute; bottom: 12px; right: 12px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
  transition: var(--transition);
}
.program-card:hover .prog-icon-overlay { background: var(--primary); transform: scale(1.1); }

.program-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.program-card:hover .program-card-img img { transform: scale(1.08); }

.program-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent);
  color: #1a1a1a;
  font-size: .7rem; font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase; letter-spacing: .06em;
}
.program-badge.degree  { background: var(--primary); color: #fff; }
.program-badge.diploma { background: var(--accent); color: #1a1a1a; }
.program-badge.short   { background: #2563EB; color: #fff; }

.program-card-body {
  padding: 24px;
  flex: 1; display: flex; flex-direction: column;
}
.program-card-body h5 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 10px; color: var(--text);
}
.program-card-body p {
  color: var(--text-muted); font-size: .875rem;
  margin-bottom: 16px; flex: 1;
}

.program-meta {
  display: flex; gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.program-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--text-muted); font-weight: 500;
}
.program-meta-item i { color: var(--primary); }

.program-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
}
.program-fee {
  font-family: var(--font-heading);
  font-size: .8rem; color: var(--text-muted);
}
.program-fee strong { color: var(--primary); font-size: 1rem; }

/* ════════════════════════════════════════════════════════
   ADMISSIONS BANNER
════════════════════════════════════════════════════════ */
.admission-banner {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 30%, var(--teal) 60%, var(--primary) 100%);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.admission-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(212,175,55,.12), transparent 45%),
    radial-gradient(circle at 85% 50%, rgba(212,175,55,.08), transparent 45%);
}
.admission-banner::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 40px solid rgba(255,255,255,.03);
}

.admission-banner-content { position: relative; z-index: 1; }
.admission-year-badge {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-family: var(--font-heading);
  font-weight: 800; font-size: .8rem;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.admission-banner h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; color: #fff;
  margin-bottom: 16px;
}
.admission-banner p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 32px; }

.admission-features { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; }
.adm-feature {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 500;
}
.adm-feature i { color: var(--accent); font-size: 1rem; }

.admission-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Deadline widget */
.deadline-widget {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #fff;
}
.deadline-widget h5 { font-size: 1rem; opacity: .8; font-weight: 500; margin-bottom: 20px; }
.deadline-timer {
  display: flex; gap: 16px; justify-content: center; margin-bottom: 24px;
}
.timer-block {
  text-align: center;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px; min-width: 70px;
}
.timer-number {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.timer-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-top: 4px; }

.deadline-programs { list-style: none; padding: 0; margin: 0; }
.deadline-programs li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .85rem; font-weight: 500;
}
.deadline-programs li:last-child { border-bottom: none; }
.deadline-programs li i { color: var(--accent); flex-shrink: 0; }

/* ════════════════════════════════════════════════════════
   FACULTY SECTION
════════════════════════════════════════════════════════ */
.faculty-section { background: #EDF4FB; }
.faculty-section .section-badge { background:rgba(14,116,144,.12); color:var(--teal); border-color:rgba(14,116,144,.25); }
.faculty-section .section-title span { color: var(--teal); }
.faculty-section .section-divider { background: linear-gradient(90deg, var(--teal), #22d3ee); }

.faculty-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}
.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31,122,77,.2);
}

.faculty-img-wrap {
  position: relative;
  flex-shrink: 0;
}
.faculty-img {
  width: 76px; height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(31,122,77,.2);
  display: block;
}
.faculty-img-placeholder {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,.6);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(31,122,77,.2);
}
/* small green dot on image */
.faculty-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 2px;
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid #fff;
}

.faculty-card-body { flex: 1; min-width: 0; text-align: left; }
.faculty-card-body h5 {
  font-size: .9rem; font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.faculty-designation {
  font-size: .75rem; color: var(--primary); font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.faculty-qual {
  font-size: .72rem; color: var(--text-muted);
  margin-bottom: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.faculty-dept-badge {
  display: inline-block;
  background: rgba(31,122,77,.08);
  color: var(--primary);
  font-size: .65rem; font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(31,122,77,.18);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.faculty-meta {
  display: flex; gap: 12px; margin-top: 8px;
}
.faculty-meta-item {
  font-size: .72rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
}
.faculty-meta-item strong { color: var(--primary); font-weight: 700; }

/* ── Faculty Filter Tabs ─────────────────────────────── */
.faculty-filter-wrap {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.faculty-filter-btn {
  background: #fff; border: 1.5px solid var(--border);
  color: var(--text-muted); font-family: var(--font-heading);
  font-size: .78rem; font-weight: 600;
  padding: 6px 16px; border-radius: var(--radius-full);
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.faculty-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.faculty-filter-btn.active {
  background: var(--primary); border-color: var(--primary);
  color: #fff; box-shadow: 0 4px 12px rgba(31,122,77,.25);
}

/* ── Clickable Faculty Card ──────────────────────────── */
.faculty-card-clickable {
  cursor: pointer;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
}
.faculty-card-clickable .faculty-img-wrap {
  width: 100%; aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  position: relative;
}
.faculty-card-clickable .faculty-img {
  width: 100%; height: 100%;
  border-radius: 0; border: none; box-shadow: none;
  object-fit: cover; transition: transform .4s ease;
}
.faculty-card-clickable:hover .faculty-img { transform: scale(1.06); }
.faculty-card-clickable .faculty-img-wrap::after { display: none; }

/* Initials avatar — shown when no photo */
.fac-avatar-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 3.2rem; font-weight: 800;
  color: rgba(255,255,255,.9);
  letter-spacing: .04em;
  user-select: none;
}
.faculty-hover-overlay {
  position: absolute; inset: 0;
  background: rgba(20,90,50,.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.faculty-card-clickable:hover .faculty-hover-overlay { opacity: 1; }
.faculty-hover-overlay span {
  color: #fff; font-family: var(--font-heading);
  font-size: .85rem; font-weight: 700;
  letter-spacing: .04em;
}
.faculty-card-clickable .faculty-card-body {
  padding: 16px 18px 18px; width: 100%;
}
.faculty-social-row {
  display: flex; gap: 8px; margin-top: 8px;
}
.faculty-social-row a {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .8rem;
  transition: var(--transition);
}
.faculty-social-row a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Department Sidebar ──────────────────────────────── */
.dept-sidebar {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 90px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.dept-sidebar-header {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.dept-sidebar-header i { font-size: 1.1rem; }

.dept-filter-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 11px 16px;
  background: transparent; border: none;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border-light);
  text-align: left; cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.dept-filter-item:last-child { border-bottom: none; }
.dept-filter-item:hover {
  background: rgba(31,122,77,.06);
  border-left-color: var(--primary);
}
.dept-filter-item.active {
  background: rgba(31,122,77,.09);
  border-left-color: var(--primary);
}
.dept-filter-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: .95rem;
  flex-shrink: 0; transition: var(--transition);
}
.dept-filter-item.active .dept-filter-icon,
.dept-filter-item:hover  .dept-filter-icon {
  background: var(--primary); color: #fff;
}
.dept-filter-name {
  flex: 1; font-size: .8rem; font-weight: 500;
  line-height: 1.3; color: var(--text);
}
.dept-filter-item.active .dept-filter-name { font-weight: 700; color: var(--primary-dark); }
.dept-filter-count {
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--bg-light); border-radius: 20px;
  font-size: .72rem; font-weight: 700;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
}
.dept-filter-item.active .dept-filter-count {
  background: var(--primary); color: #fff;
}
.dept-filter-item.dept-empty { opacity: .45; pointer-events: none; }

/* ── Faculty Detail Modal ────────────────────────────── */
.faculty-detail-modal { border: none; border-radius: var(--radius-lg); overflow: hidden; }
.faculty-modal-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border: none; padding: 24px 28px; align-items: flex-start;
}
.faculty-modal-identity { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.faculty-modal-photo-wrap { flex-shrink: 0; }
.faculty-modal-photo {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 3px solid rgba(255,255,255,.4);
}
.faculty-modal-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 3px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 800;
  color: #fff; letter-spacing: .04em;
  user-select: none;
}
.faculty-modal-identity h4 { color: #fff; font-size: 1.1rem; font-weight: 800; }
.faculty-section-title {
  font-family: var(--font-heading); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--primary); margin-bottom: 6px;
  padding-bottom: 6px; border-bottom: 2px solid rgba(31,122,77,.15);
}
.faculty-info-list { list-style: none; margin: 0; padding: 0; }
.faculty-info-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border-light);
}
.faculty-info-list li:last-child { border: none; }
.faculty-info-list li > i {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(31,122,77,.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0; margin-top: 2px;
}
.faculty-info-list li > div { display: flex; flex-direction: column; }
.faculty-info-list li small { font-size: .68rem; color: var(--text-muted); line-height: 1.3; }
.faculty-info-list li strong,
.faculty-info-list li a { font-size: .82rem; font-weight: 600; color: var(--text); word-break: break-word; }
.faculty-info-list li a:hover { color: var(--primary); }
.faculty-modal-social { display: flex; gap: 8px; flex-wrap: wrap; }
.faculty-modal-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .95rem;
  transition: var(--transition);
}
.faculty-modal-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════ */
.testimonials-section { background: linear-gradient(135deg, #0F1B3E 0%, #162D69 60%, #1a3a5c 100%); }
.testimonials-section .section-badge { background:rgba(255,255,255,.1); color:rgba(255,255,255,.9); border-color:rgba(255,255,255,.2); }
.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-title span { color: var(--accent); }
.testimonials-section .section-divider { background: linear-gradient(90deg, var(--accent), #f0d060); }
.testimonials-section .testimonial-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.testimonials-section .testimonial-card:hover { background: rgba(255,255,255,.1); box-shadow: 0 8px 40px rgba(0,0,0,.3); }
.testimonials-section .testimonial-quote-icon { color: rgba(212,175,55,.2); }
.testimonials-section .testimonial-text { color: rgba(255,255,255,.75); }
.testimonials-section .testimonial-name { color: #fff; }
.testimonials-section .testimonial-prog { color: var(--accent); }
.testimonials-section .testimonial-batch { color: rgba(255,255,255,.5); }

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }

.testimonial-quote-icon {
  font-size: 4rem; color: rgba(31,122,77,.1);
  position: absolute; top: 16px; right: 20px;
  font-family: Georgia, serif; line-height: 1;
}

.testimonial-stars { color: var(--accent); font-size: .9rem; margin-bottom: 16px; }

.testimonial-text {
  font-size: .95rem; color: var(--text-muted);
  font-style: italic; line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .95rem; }
.testimonial-prog { font-size: .78rem; color: var(--primary); font-weight: 600; }
.testimonial-batch { font-size: .75rem; color: var(--text-muted); }

/* ════════════════════════════════════════════════════════
   NEWS SECTION
════════════════════════════════════════════════════════ */
.news-section { background: #fff; }
.news-section .section-badge { background:rgba(30,58,138,.10); color:var(--secondary); border-color:rgba(30,58,138,.2); }
.news-section .section-title span { color: var(--secondary); }
.news-section .section-divider { background: linear-gradient(90deg, var(--secondary), #60a5fa); }

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31,122,77,.12);
}

.news-img {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.3);
}
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-img img { transform: scale(1.06); }

.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.news-cat-badge {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  background: rgba(31,122,77,.1);
  color: var(--primary);
}

.news-body h5 {
  font-size: .95rem; font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-body h5 a { color: var(--text); }
.news-body h5 a:hover { color: var(--primary); }

.news-body p { color: var(--text-muted); font-size: .875rem; flex: 1; margin-bottom: 16px; }

.news-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 12px; margin-top: auto;
}
.news-meta i { color: var(--primary); margin-right: 4px; }
.news-read-more { color: var(--primary); font-weight: 600; font-size: .82rem; }
.news-read-more:hover { color: var(--primary-dark); }

/* ════════════════════════════════════════════════════════
   CAMPUS LIFE SECTION
════════════════════════════════════════════════════════ */
.campus-life-section { background: #F0FBF6; }
.campus-life-section .section-badge { background:rgba(31,122,77,.10); color:var(--primary); border-color:rgba(31,122,77,.2); }
.campus-life-section .section-title span { color: var(--primary); }
.campus-life-section .section-divider { background: linear-gradient(90deg, var(--primary), var(--accent)); }

.campus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 14px;
}
.campus-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  cursor: pointer;
}
.campus-item.large { grid-column: span 2; grid-row: span 2; }
.campus-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.campus-item:hover img { transform: scale(1.08); }

.campus-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  display: flex; align-items: flex-end;
  padding: 20px;
  opacity: 0; transition: var(--transition);
}
.campus-item:hover .campus-overlay { opacity: 1; }
.campus-overlay-text { color: #fff; font-size: .85rem; font-weight: 600; }

.campus-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,.2);
}

/* ════════════════════════════════════════════════════════
   CONTACT STRIP
════════════════════════════════════════════════════════ */
.contact-strip {
  background: var(--bg-light);
  padding: 60px 0;
}
.contact-strip-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  height: 100%;
}
.contact-strip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.contact-strip-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(31,122,77,.1), rgba(31,122,77,.05));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary);
  margin: 0 auto 16px;
  border: 1px solid rgba(31,122,77,.1);
  transition: var(--transition);
}
.contact-strip-card:hover .contact-strip-icon {
  background: var(--primary); color: #fff;
}
.contact-strip-card h6 { font-weight: 700; margin-bottom: 6px; }
.contact-strip-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.contact-strip-card a { color: var(--text-muted); }
.contact-strip-card a:hover { color: var(--primary); }

/* ════════════════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════════════════ */
.about-hero { padding: 80px 0 60px; background: var(--bg-light); }

.about-img-wrap { position: relative; }
.about-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-main-img img { width: 100%; height: 450px; object-fit: cover; }

.about-exp-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-exp-number { font-size: 2.5rem; font-weight: 800; font-family: var(--font-heading); display: block; line-height: 1; }
.about-exp-text   { font-size: .8rem; font-weight: 600; opacity: .8; text-transform: uppercase; letter-spacing: .05em; }

.vision-mission-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  height: 100%;
  transition: var(--transition);
}
.vision-mission-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.vm-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  margin-bottom: 24px;
}

/* Message Cards */
.message-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}
.message-author-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.message-author-photo-placeholder {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,.5);
  border: 4px solid rgba(31,122,77,.2);
}
.quote-mark {
  font-size: 5rem; color: var(--accent);
  font-family: Georgia, serif; line-height: 1;
  opacity: .4;
}

/* Timeline */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }

.timeline-content {
  width: 45%;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.timeline-dot {
  position: absolute; left: 50%;
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--primary);
  transform: translateX(-50%) translateY(20px);
  z-index: 1;
}
.timeline-year {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700; font-size: .8rem;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.timeline-content h5 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.timeline-content p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ════════════════════════════════════════════════════════
   PAGE BANNER (Inner pages)
════════════════════════════════════════════════════════ */
.page-banner {
  padding: 90px 0 65px;
  position: relative; overflow: hidden;
  background: #0F1B3E;
}

/* Background image set via inline style on each page */
.page-banner-bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Default overlay — navy to teal */
.page-banner-bg-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(15,27,62,.93) 0%,
    rgba(14,116,144,.84) 55%,
    rgba(31,122,77,.76) 100%
  );
}

/* ── Per-page banner color variants ─────────────────────── */
.page-banner--about     .page-banner-bg-img::after { background: linear-gradient(135deg, rgba(15,27,62,.93) 0%, rgba(14,116,144,.84) 50%, rgba(31,122,77,.76) 100%); }
.page-banner--admissions .page-banner-bg-img::after { background: linear-gradient(135deg, rgba(15,27,62,.93) 0%, rgba(109,40,217,.78) 48%, rgba(14,116,144,.80) 100%); }
.page-banner--faculty   .page-banner-bg-img::after { background: linear-gradient(135deg, rgba(15,27,62,.93) 0%, rgba(30,58,138,.85) 55%, rgba(14,116,144,.76) 100%); }
.page-banner--student   .page-banner-bg-img::after { background: linear-gradient(135deg, rgba(14,116,144,.92) 0%, rgba(31,122,77,.86) 55%, rgba(15,27,62,.80) 100%); }
.page-banner--gallery   .page-banner-bg-img::after { background: linear-gradient(135deg, rgba(10,10,30,.94) 0%, rgba(15,27,62,.87) 50%, rgba(14,116,144,.78) 100%); }
.page-banner--news      .page-banner-bg-img::after { background: linear-gradient(135deg, rgba(15,27,62,.93) 0%, rgba(67,56,202,.82) 50%, rgba(30,58,138,.78) 100%); }
.page-banner--blog      .page-banner-bg-img::after { background: linear-gradient(135deg, rgba(146,64,14,.88) 0%, rgba(190,18,60,.80) 50%, rgba(15,27,62,.90) 100%); }
.page-banner--contact   .page-banner-bg-img::after { background: linear-gradient(135deg, rgba(31,122,77,.90) 0%, rgba(14,116,144,.84) 50%, rgba(15,27,62,.92) 100%); }

.page-banner::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 10% 50%, rgba(212,175,55,.12), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(255,255,255,.05), transparent 40%);
}
.page-banner-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff;
  margin-bottom: 12px;
}
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,.7); font-size: .875rem; }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--accent); font-size: .875rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ════════════════════════════════════════════════════════
   PROGRAMS PAGE
════════════════════════════════════════════════════════ */
.program-detail-header {
  background: var(--bg-light);
  padding: 60px 0;
}
.program-icon-lg {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: #fff;
  box-shadow: var(--shadow-md);
}

.program-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  position: sticky; top: 100px;
}
.program-info-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 24px;
  color: #fff;
}
.program-info-card-body { padding: 24px; }
.info-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.info-item:last-child { border-bottom: none; }
.info-icon { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: .75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.info-value { font-weight: 600; font-size: .9rem; }

/* ════════════════════════════════════════════════════════
   ADMISSIONS PAGE
════════════════════════════════════════════════════════ */
.admission-step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  height: 100%;
  transition: var(--transition);
  position: relative;
}
.admission-step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.step-number {
  position: absolute; top: -18px; left: 28px;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800; font-size: .9rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.fee-table { border-radius: var(--radius-md); overflow: hidden; }
.fee-table th { background: var(--primary); color: #fff; font-weight: 600; border: none; }
.fee-table td { vertical-align: middle; }
.fee-total { background: var(--bg-light); font-weight: 700; color: var(--primary); }

/* Application Form */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.form-step-indicator {
  display: flex; margin-bottom: 40px;
}
.form-step {
  flex: 1; text-align: center; position: relative;
}
.form-step::after {
  content: '';
  position: absolute; top: 20px; left: 50%; right: -50%;
  height: 2px; background: var(--border);
  z-index: 0;
}
.form-step:last-child::after { display: none; }

.form-step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  margin: 0 auto 8px;
  position: relative; z-index: 1;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.form-step.active .form-step-circle {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.form-step.done .form-step-circle {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.form-step-label { font-size: .75rem; font-weight: 600; color: var(--text-muted); }
.form-step.active .form-step-label { color: var(--primary); }

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: .65rem 1rem;
  font-size: .9rem;
  transition: var(--transition);
  font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,122,77,.12);
}
.form-label { font-weight: 600; font-size: .875rem; color: var(--text); margin-bottom: 6px; }

/* ════════════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════════ */
/* ── Gallery Filter Tabs ─────────────────────────────── */
.gal-filter-wrap {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 40px;
}
.gal-filter-btn {
  padding: 8px 22px;
  border: 1.5px solid var(--border);
  border-radius: 30px; background: #fff;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  letter-spacing: .03em; white-space: nowrap;
}
.gal-filter-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(31,122,77,.05); }
.gal-filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(31,122,77,.3); }

/* ── Gallery Masonry Grid ────────────────────────────── */
.gallery-masonry { columns: 4; column-gap: 12px; }
.gallery-masonry.sl-gallery { columns: 3; }
.gal-item { break-inside: avoid; margin-bottom: 12px; }
.gal-item-inner {
  position: relative; overflow: hidden;
  border-radius: 10px; cursor: pointer; display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: box-shadow .3s ease;
}
.gal-item-inner:hover { box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.gal-item-inner img { width: 100%; display: block; transition: transform .45s ease; }
.gal-item-inner:hover img { transform: scale(1.07); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,90,50,.92) 0%, rgba(20,90,50,.35) 45%, transparent 75%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.gal-item-inner:hover .gal-overlay { opacity: 1; }
.gal-overlay > i { font-size: 2.2rem; color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.gal-overlay > span {
  color: rgba(255,255,255,.92); font-size: .78rem; font-weight: 600;
  margin-top: 8px; text-align: center; padding: 0 14px;
  font-family: var(--font-heading); line-height: 1.3;
}

.dl-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.dl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(31,122,77,.2); }
.dl-card-icon {
  width: 56px; height: 56px;
  background: rgba(31,122,77,.1); color: var(--primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.dl-card-body { flex: 1; margin-bottom: 18px; }
.dl-card-cat {
  display: inline-block;
  background: rgba(31,122,77,.1); color: var(--primary);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 12px; border-radius: 50px; margin-bottom: 10px;
}
.dl-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.dl-card p { font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.dl-card-btn { width: 100%; }
.dl-card-actions { display: flex; gap: 8px; }
.dl-card-actions .dl-card-btn {
  width: auto;
  flex: 1;
  padding: .5rem .75rem;
  font-size: .8rem;
  border-width: 1.5px;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dl-card-actions .dl-card-btn:hover { box-shadow: none; }
.dl-card-actions .dl-card-btn i { font-size: .9rem; }

.gal-video-item {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  background: #000;
}
.gal-video-item video { width: 100%; display: block; max-height: 260px; background: #000; }
.gal-video-title {
  margin: 0; padding: 10px 14px;
  font-family: var(--font-heading); font-size: .85rem; font-weight: 600;
  color: var(--text-dark, #1a1a1a);
  background: #fff;
}

/* ── Custom Lightbox ─────────────────────────────────── */
.gal-lightbox {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.gal-lightbox.active { opacity: 1; visibility: visible; }
.gal-lb-content {
  display: flex; flex-direction: column; align-items: center;
  max-width: 92vw; pointer-events: none;
}
.gal-lb-img-wrap { display: flex; align-items: center; justify-content: center; }
#galLbImg {
  max-width: 88vw; max-height: 78vh;
  object-fit: contain; border-radius: 6px;
  transition: opacity .15s ease;
  box-shadow: 0 12px 60px rgba(0,0,0,.7);
  pointer-events: none;
}
.gal-lb-close {
  position: fixed; top: 16px; right: 20px; z-index: 9999;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .2s;
}
.gal-lb-close:hover { background: rgba(255,255,255,.28); transform: scale(1.1); }
.gal-lb-prev, .gal-lb-next {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 9999;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .2s;
}
.gal-lb-prev { left: 16px; }
.gal-lb-next { right: 16px; }
.gal-lb-prev:hover, .gal-lb-next:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) scale(1.1); }
.gal-lb-caption {
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 600;
  margin: 14px 0 0; text-align: center; font-family: var(--font-heading);
}
.gal-lb-counter {
  color: rgba(255,255,255,.4); font-size: .75rem; margin: 4px 0 0;
}

/* ════════════════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════════════════ */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff; height: 100%;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 46px; height: 46px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--accent);
  flex-shrink: 0;
}
.contact-info-label { font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-info-value { font-weight: 600; font-size: .95rem; }
.contact-info-value a { color: rgba(255,255,255,.9); }
.contact-info-value a:hover { color: var(--accent); }

.map-container { border-radius: var(--radius-lg); overflow: hidden; height: 300px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ════════════════════════════════════════════════════════
   FAQ SECTION
════════════════════════════════════════════════════════ */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600; font-size: .95rem;
  color: var(--text);
  background: #fff;
  border-radius: var(--radius-md) !important;
  padding: 20px 24px;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--bg-light);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231F7A4D'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-body { font-size: .9rem; color: var(--text-muted); padding: 16px 24px 24px; }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer-newsletter {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, var(--teal) 100%);
  padding: 50px 0;
  color: #fff;
}
.footer-newsletter h4 {
  color: #fff;
}
.newsletter-form .form-control {
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: .75rem 1.25rem;
  font-size: .9rem;
  background: rgba(255,255,255,.15);
  color: #fff;
  backdrop-filter: blur(8px);
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form .form-control:focus { box-shadow: none; background: rgba(255,255,255,.2); }
.newsletter-form .btn-accent { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.footer-body {
  background: linear-gradient(135deg, #0F1B3E 0%, #162D69 50%, #0a2e35 100%);
  padding: 70px 0 40px;
  color: rgba(255,255,255,.75);
}

.footer-logo { display: flex; align-items: center; gap: 14px; }
.brand-icon-lg {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  flex-shrink: 0;
}
.footer-logo h5 { color: #fff; font-size: 1.2rem; font-weight: 700; font-family: var(--font-heading); }
.footer-logo small { color: rgba(255,255,255,.5); font-size: .7rem; }

.footer-desc { font-size: .875rem; line-height: 1.8; margin-bottom: 16px; }
.footer-tagline {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: .85rem;
}
.footer-tagline i { font-size: 1.5rem; opacity: .6; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-widget-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: .875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(31,122,77,.5);
  display: inline-block;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
  content: '';
  width: 6px; height: 1px;
  background: var(--primary);
  flex-shrink: 0;
  transition: width .3s ease;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a:hover::before { width: 12px; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; font-size: .85rem;
}
.footer-contact-list i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.65); }
.footer-contact-list a:hover { color: var(--accent); }

.footer-bottom {
  background: #070d1e;
  padding: 18px 0;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}
.footer-bottom-links { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: var(--accent); }
.footer-bottom-links span { opacity: .3; }

/* ════════════════════════════════════════════════════════
   SWIPER OVERRIDES
════════════════════════════════════════════════════════ */
.swiper-pagination-bullet { background: var(--primary); opacity: .4; }
.swiper-pagination-bullet-active { opacity: 1; }
.swiper-button-next, .swiper-button-prev {
  color: var(--primary);
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem; font-weight: 700; }

/* ════════════════════════════════════════════════════════
   MISC HELPERS
════════════════════════════════════════════════════════ */
.card-hover {
  transition: var(--transition);
  cursor: pointer;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(31,122,77,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
  border: none; opacity: 1;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .main-navbar { height: auto; }
  .site-topbar { padding: 8px 0; }
  .header-brand-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .header-brand-text .brand-name { font-size: 1rem; }

  .navbar-collapse {
    background: linear-gradient(160deg, #0F1B3E 0%, #1E3A8A 60%, #0E7490 100%);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 8px 0 12px;
  }
  .main-navbar .navbar-nav { flex-direction: column; }
  .main-navbar .nav-item { flex: none; }
  .main-navbar .nav-link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 11px 20px;
    font-size: .82rem;
    border-bottom: none;
    border-left: 3px solid transparent;
    width: 100%;
  }
  .main-navbar .nav-link:hover,
  .main-navbar .nav-link.active {
    border-left-color: var(--accent);
    border-bottom-color: transparent;
    background: rgba(255,255,255,.07);
  }
  .main-navbar .nav-link i { font-size: 1.4rem; }

  /* Mobile dropdown — dark themed instead of white popup */
  .main-navbar .dropdown-menu {
    background: rgba(255,255,255,.06);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 4px 32px;
    margin: 0 !important;
    animation: none;
  }
  .main-navbar .dropdown-item {
    color: rgba(255,255,255,.75);
    border-radius: 6px;
    font-size: .8rem;
    padding: 8px 12px;
  }
  .main-navbar .dropdown-item:hover,
  .main-navbar .dropdown-item.active {
    background: rgba(255,255,255,.1);
    color: var(--accent);
  }
  .main-navbar .dropdown-item i { color: rgba(255,255,255,.5); }
  .main-navbar .dropdown-header { color: rgba(255,255,255,.35); }
  .main-navbar .dropdown-divider { border-color: rgba(255,255,255,.1); }

  .hero-section { min-height: auto; padding: 80px 0; }
  .hero-visual { margin-top: 40px; }
  .hero-float-card-1, .hero-float-card-2 { display: none; }

  .campus-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .campus-item.large { grid-column: span 2; }

  .timeline::before { left: 24px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: column; padding-left: 52px; }
  .timeline-content { width: 100%; }
  .timeline-dot { left: 24px; }

  .gallery-masonry { columns: 3; }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 70px 0; }
  .hero-title { font-size: 1.8rem; }
  .hero-stats { gap: 12px; }
  .hero-stat-item { min-width: 80px; padding: 10px 14px; }
  .hero-stat-number { font-size: 1.3rem; }

  .campus-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { columns: 2; }
  .gal-lb-prev { left: 8px; }
  .gal-lb-next { right: 8px; }

  .admission-banner h2 { font-size: 1.8rem; }
  .deadline-timer { gap: 8px; }
  .timer-block { min-width: 54px; padding: 10px 8px; }
  .timer-number { font-size: 1.5rem; }

  .form-card { padding: 24px; }
  .footer-body { padding: 50px 0 30px; }
}

@media (max-width: 575.98px) {
  .section-padding { padding: 50px 0; }
  .campus-grid { grid-template-columns: 1fr; }
  .campus-item.large { grid-column: span 1; }
  .gallery-masonry { columns: 2; }

  .hero-actions { flex-direction: column; }
  .admission-actions { flex-direction: column; }
  .hero-actions .btn, .admission-actions .btn { width: 100%; text-align: center; }

  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.4rem; }
  .back-to-top { bottom: 80px; right: 16px; }
}

/* ─── Blog System ─────────────────────────────────────── */

/* Category badge */
.blog-cat-badge {
  display: inline-block;
  background: rgba(31,122,77,.12);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  border: 1px solid rgba(31,122,77,.2);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Blog Card ─────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(31,122,77,.2);
}
.blog-card-img-link { display: block; }
.blog-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.06); }
.blog-card-featured-dot {
  position: absolute;
  top: 12px; right: 12px;
  width: 10px; height: 10px;
  background: #D4AF37;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(212,175,55,.3);
}
.blog-card-body { padding: 20px 20px 12px; flex: 1; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.blog-read-time {
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color .2s;
}
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: .76rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  margin-top: 12px;
}
.blog-card-date, .blog-card-views {
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-card-read-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid var(--border-light);
  transition: background .2s, color .2s;
}
.blog-card-read-more:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Featured Post Card ────────────────────────────────── */
.blog-featured-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.blog-featured-img-wrap {
  position: relative;
  height: 100%;
  min-height: 320px;
}
.blog-featured-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.blog-featured-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: #D4AF37;
  color: #0a2e1b;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
}
.blog-featured-body { padding: 36px; }
.blog-featured-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog-featured-title a {
  color: var(--text-dark);
  text-decoration: none;
}
.blog-featured-title a:hover { color: var(--primary); }
.blog-featured-excerpt {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}
.blog-author-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-author-avatar {
  width: 36px; height: 36px;
  background: rgba(31,122,77,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}
.blog-author-name { font-size: .85rem; font-weight: 700; color: var(--text-dark); }
.blog-author-date { font-size: .75rem; color: var(--text-muted); }

/* ── Blog Detail ───────────────────────────────────────── */
.blog-detail-hero {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.blog-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,46,27,.3) 0%, rgba(10,46,27,.85) 100%);
}
.blog-detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 40px;
}
.blog-detail-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 800px;
}
.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
}
.blog-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Blog content typography */
.blog-content { line-height: 1.9; color: var(--text-muted); font-size: .95rem; }
.blog-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin: 2rem 0 1rem; }
.blog-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin: 1.5rem 0 .75rem; }
.blog-content h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 1.2rem 0 .6rem; }
.blog-content p { margin-bottom: 1rem; }
.blog-content ul, .blog-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.blog-content li { margin-bottom: .4rem; }
.blog-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 1.5rem 0;
  background: rgba(31,122,77,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dark);
  font-style: italic;
}
.blog-content img { max-width: 100%; border-radius: var(--radius-md); margin: 1rem 0; }
.blog-content a { color: var(--primary); }
.blog-content strong { color: var(--text-dark); }
.blog-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 16px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: .85rem;
}

/* Tags */
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.blog-tag {
  display: inline-block;
  background: rgba(31,122,77,.08);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(31,122,77,.15);
  text-decoration: none;
  transition: var(--transition);
}
.blog-tag:hover { background: var(--primary); color: #fff; }

/* Share */
.blog-share { padding: 20px; background: var(--bg-light); border-radius: var(--radius-md); }
.blog-share-label { font-weight: 700; font-size: .85rem; color: var(--text-dark); margin-bottom: 12px; }
.blog-share-btn { font-size: .8rem; font-weight: 600; border-radius: 8px; }

/* Author Box */
.blog-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(31,122,77,.05);
  border: 1px solid rgba(31,122,77,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.blog-author-avatar-lg {
  width: 60px; height: 60px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.blog-author-box-name { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.blog-author-box-bio { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }

/* Related posts */
.blog-related-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
.blog-related-card:hover { color: var(--primary); }
.blog-related-img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.blog-related-title { font-size: .85rem; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.blog-related-date { font-size: .72rem; color: var(--text-muted); }

/* ─── Campus Cards (contact.php) ──────────────────────── */
.campus-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.campus-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(31,122,77,.25);
}
.campus-img-wrap {
  position: relative;
  overflow: hidden;
}
.campus-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.campus-card:hover .campus-img { transform: scale(1.04); }
.campus-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(10,46,27,.75));
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.campus-badge {
  background: rgba(212,175,55,.9);
  color: #0a2e1b;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.campus-img-placeholder {
  height: 160px;
  background: linear-gradient(135deg,rgba(31,122,77,.06),rgba(31,122,77,.02));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
}
.campus-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.campus-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(31,122,77,.12);
}
.campus-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  font-size: .9rem;
  color: var(--text-muted);
}
.campus-detail-icon {
  width: 32px;
  height: 32px;
  background: rgba(31,122,77,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.campus-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.campus-link:hover { color: var(--primary-dark); text-decoration: underline; }
.campus-map-wrap { border-radius: 10px; overflow: hidden; }

/* ─── Departments Listing Page ───────────────────────── */
.dept-card {
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  background: #fff;
}
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dept-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.dept-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.dept-card-faculty {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.dept-card-excerpt {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.dept-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.dept-tag {
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.dept-card-btn {
  display: inline-flex;
  align-items: center;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid;
  border-radius: 8px;
  padding: 7px 16px;
  width: fit-content;
  margin-top: 8px;
  transition: background .2s, color .2s;
}
.dept-card-btn:hover { opacity: .85; }

/* ─── Department Detail Page ─────────────────────────── */
.dept-detail-section { }
.dept-section-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dept-title-bar {
  display: inline-block;
  width: 5px;
  height: 26px;
  background: var(--primary);
  border-radius: 3px;
  flex-shrink: 0;
}
.dept-overview-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.dept-vm-card {
  border-radius: 16px;
  padding: 24px;
  height: 100%;
}
.dept-vm--vision {
  background: linear-gradient(135deg, rgba(30,58,138,.06), rgba(30,58,138,.02));
  border-left: 4px solid var(--secondary);
}
.dept-vm--mission {
  background: linear-gradient(135deg, rgba(14,116,144,.06), rgba(14,116,144,.02));
  border-left: 4px solid var(--teal);
}
.dept-vm-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
  background: rgba(255,255,255,.7);
  color: var(--secondary);
}
.dept-vm--mission .dept-vm-icon { color: var(--teal); }
.dept-vm-card h5 { font-weight: 800; margin-bottom: 10px; }
.dept-vm-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
.dept-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dept-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.dept-bullet-list li i { flex-shrink: 0; margin-top: 2px; }
.dept-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dept-area-tag {
  background: rgba(14,116,144,.1);
  color: var(--teal);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}
.dept-future-box {
  background: linear-gradient(135deg, rgba(30,58,138,.05), rgba(31,122,77,.05));
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 4px solid var(--secondary);
}
.dept-future-icon {
  font-size: 1.6rem;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}
.dept-future-box p {
  margin: 0;
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.dept-sidebar-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary);
}
.dept-sidebar-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}
.dept-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dept-sidebar-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.dept-sidebar-list li i { flex-shrink: 0; margin-top: 2px; }
.dept-cta-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  border-radius: 16px;
  padding: 24px;
  color: #fff;
}
.dept-cta-card h5 { font-weight: 800; margin-bottom: 8px; }
.dept-cta-card p  { font-size: .88rem; opacity: .85; margin-bottom: 16px; }

/* ── Custom Page (page.php) ──────────────────────────────── */
.page-content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
}
@media (max-width: 767px) {
  .page-content-card { padding: 24px; border-radius: var(--radius-md); }
}

.page-video-wrap {
  position: relative;
  border-radius: 22px;
  padding: 4px;
  background: linear-gradient(135deg, var(--rose), var(--secondary) 55%, var(--teal));
  box-shadow: 0 24px 48px -12px rgba(15,27,62,.35);
}
.page-video-wrap .ratio {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}
.page-video-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(15,27,62,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  pointer-events: none;
}
.page-video-badge i { color: #ff4d4d; font-size: 1rem; }

/* ── Navbar Dropdown ──────────────────────────────────── */
.main-navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  padding: 8px;
  min-width: 200px;
  margin-top: 6px;
  background: #fff;
}
.main-navbar .dropdown-item {
  border-radius: 8px;
  padding: 9px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  transition: background .2s, color .2s;
}
.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item.active {
  background: rgba(31,122,77,.1);
  color: var(--primary);
}
.main-navbar .nav-link.dropdown-toggle::after {
  margin-left: 4px;
  vertical-align: middle;
}

/* ─── Vision & Mission Page ──────────────────────────── */
.vm-card {
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.vm-card--vision  { background: linear-gradient(135deg,#0F1B3E,#1E3A8A); color:#fff; }
.vm-card--mission { background: linear-gradient(135deg,#0a2e1b,#1F7A4D); color:#fff; }
.vm-card-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 20px;
}
.vm-card h3 { font-weight: 800; font-size: 1.5rem; margin-bottom: 12px; }
.vm-card p  { opacity: .88; line-height: 1.75; font-size: .97rem; }
.vm-card-divider {
  width: 50px; height: 3px;
  background: rgba(255,255,255,.4);
  border-radius: 2px; margin-bottom: 18px;
}
.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
}
.value-card h5 { font-weight: 800; margin-bottom: 8px; }
.value-card p  { font-size: .88rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.goal-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border-radius: 12px;
  padding: 16px 20px; box-shadow: var(--shadow-xs);
}
.goal-number {
  font-size: 1.4rem; font-weight: 900;
  color: var(--primary); opacity: .25;
  flex-shrink: 0; line-height: 1.2;
  min-width: 36px;
}
.goal-item p { margin: 0; font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Leadership Page ─────────────────────────────────── */
.leader-profile-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.leader-full-img-wrap {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}
.leader-full-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.leader-full-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,20,50,.95) 0%, rgba(10,20,50,.4) 60%, transparent 100%);
  padding: 32px 22px 24px;
  color: #fff;
}
.leader-full-overlay h5 { color: #fff; }
.leader-full-placeholder {
  height: 100%; min-height: 500px;
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; color: rgba(255,255,255,.2);
}
.principal-message-card {
  background: #fff;
  padding: 40px 38px;
  position: relative;
}
.pm-label {
  font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px;
}
.pm-quote-icon {
  font-size: 5rem; color: var(--primary);
  opacity: .08; position: absolute;
  top: 20px; right: 24px; line-height: 1;
}
.pm-text {
  font-size: .92rem; color: var(--text-muted);
  line-height: 1.85;
}
.pm-sig-line {
  width: 3px; height: 48px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px; flex-shrink: 0;
}
.pm-signature { }
@media (max-width: 991.98px) {
  .leader-full-img-wrap,
  .leader-full-placeholder { min-height: 320px; }
  .principal-message-card  { padding: 28px 22px; }
}
.leader-main-photo {
  width: 200px; height: 200px;
  object-fit: cover; border-radius: 50%;
  border: 5px solid var(--primary);
  box-shadow: 0 8px 30px rgba(31,122,77,.25);
}
.leader-main-placeholder {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--primary-dark),var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,255,255,.7);
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(31,122,77,.25);
}
.principal-message-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  position: relative;
}
.pm-quote-icon {
  font-size: 3rem; color: var(--primary);
  opacity: .15; position: absolute;
  top: 16px; right: 20px;
}
.pm-text { font-size: .95rem; color: var(--text-muted); line-height: 1.8; }
.pm-signature { border-top: 1px solid var(--border-light); padding-top: 16px; }
.leader-card {
  background: #fff; border-radius: 14px;
  padding: 24px 16px; box-shadow: var(--shadow-sm);
  transition: transform .3s;
}
.leader-card:hover { transform: translateY(-3px); }
.leader-card-photo {
  width: 90px; height: 90px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--primary);
  margin: 0 auto;
}
.leader-card-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--secondary-dark),var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: rgba(255,255,255,.7);
  margin: 0 auto;
}
.admin-role-card {
  background: #fff; border-radius: 14px;
  padding: 20px 12px; box-shadow: var(--shadow-xs);
}
.admin-role-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto;
}

/* ─── Accreditation Page ──────────────────────────────── */
.accred-icon-wrap {
  width: 90px; height: 90px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.accred-card {
  background: #fff; border-radius: 14px;
  padding: 24px 28px; box-shadow: var(--shadow-sm);
}
.benefit-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 12px;
  padding: 14px 18px; box-shadow: var(--shadow-xs);
}
.benefit-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.benefit-item p { margin: 0; font-size: .88rem; color: var(--text-muted); line-height: 1.5; }

/* ─── Fee Structure Page ──────────────────────────────── */
.fee-table-card {
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fee-table-header {
  color: #fff; font-weight: 700;
  padding: 14px 20px; font-size: .92rem;
}
.fee-table-card .table { margin: 0; }
.fee-table-card .table td { padding: 12px 16px; border-color: var(--border-light); }
.fee-note-card {
  background: #fff; border-radius: 14px;
  padding: 22px; box-shadow: var(--shadow-sm);
  height: 100%;
}
.fee-note-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}

/* ─── Merit List Page ─────────────────────────────────── */
.merit-available-card {
  background: linear-gradient(135deg,rgba(31,122,77,.06),rgba(31,122,77,.02));
  border: 2px solid rgba(31,122,77,.2);
  border-radius: 18px; padding: 48px 32px;
}
.merit-pending-card {
  background: linear-gradient(135deg,rgba(146,64,14,.06),rgba(146,64,14,.02));
  border: 2px solid rgba(146,64,14,.2);
  border-radius: 18px; padding: 48px 32px;
}
.merit-icon-wrap {
  width: 80px; height: 80px;
  background: rgba(31,122,77,.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto;
}
.section-card {
  background: #fff; border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow-sm);
}
.cal-pdf-viewer {
  border: 1px solid var(--border-light); border-radius: 12px;
  overflow: hidden; height: 80vh; max-height: 900px;
}
.cal-pdf-viewer iframe { width: 100%; height: 100%; border: 0; }
.schedule-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
}
.schedule-dot {
  width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
}
.schedule-dot.primary { background: var(--primary); }
.schedule-dot.info    { background: var(--secondary); }
.schedule-dot.warning { background: var(--amber); }
.schedule-dot.success { background: var(--teal); }
.schedule-date { font-size: .82rem; color: var(--text-muted); white-space: nowrap; }

/* ─── Scholarships Page ───────────────────────────────── */
.scholarship-card {
  background: #fff; border-radius: 16px;
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.scholarship-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.schol-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.schol-badge {
  font-size: .7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  display: inline-block;
}
.schol-concession {
  font-size: .82rem; font-weight: 800;
  border: 1.5px solid; border-radius: 8px;
  padding: 6px 12px; display: inline-block;
  margin-bottom: 14px;
}
.schol-criteria { background: rgba(0,0,0,.03); border-radius: 10px; padding: 12px 14px; }
.schol-criteria p { color: var(--text-muted); }
.schol-criteria ul { padding-left: 18px; margin: 0; }
.schol-criteria ul li { font-size: .82rem; color: var(--text-muted); margin-bottom: 3px; }

/* ─── Curriculum Page ────────────────────────────────── */
.curr-stat-card {
  background: #fff; border-radius: 14px;
  padding: 20px 12px; box-shadow: var(--shadow-sm);
}
.curr-stat-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 10px;
}
.curr-stat-val   { font-size: 1.4rem; font-weight: 900; color: var(--text); }
.curr-stat-label { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.curr-accordion  { display: flex; flex-direction: column; gap: 12px; }
.curr-acc-item   { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.curr-acc-btn {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
  padding: 18px 20px; border: none; background: #fff;
  cursor: pointer; text-align: left;
  transition: background .2s;
}
.curr-acc-btn:hover { background: var(--bg-light); }
.curr-acc-left  { display: flex; align-items: center; gap: 14px; }
.curr-year-badge {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 900; flex-shrink: 0;
}
.curr-acc-title { font-size: .97rem; font-weight: 800; color: var(--text); }
.curr-acc-sub   { font-size: .78rem; color: var(--text-muted); }
.curr-acc-right { display: flex; align-items: center; gap: 10px; }
.curr-acc-count { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.curr-acc-chevron {
  font-size: .9rem; color: var(--text-muted);
  transition: transform .3s;
}
.curr-acc-btn:not(.collapsed) .curr-acc-chevron { transform: rotate(180deg); }
.curr-acc-body  { border-top: 1px solid var(--border-light); }

/* ─── Academic Calendar Page ──────────────────────────── */
.cal-semester-card {
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.cal-sem-header {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
}
.cal-sem-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.cal-sem-body   { padding: 4px 22px 16px; }
.cal-event-row  {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-color: var(--border-light) !important;
}
.cal-event-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cal-event-date { font-size: .8rem; font-weight: 700; white-space: nowrap; }
.holiday-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 10px;
  padding: 12px 16px; box-shadow: var(--shadow-xs);
}
.holiday-icon {
  width: 36px; height: 36px;
  background: rgba(212,175,55,.12); color: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ─── Exam Policy Page ────────────────────────────────── */
.exam-struct-card {
  background: var(--bg-light); border-radius: 12px;
  padding: 16px 18px; height: 100%;
}
.att-policy-card {
  background: #fff; border-radius: 12px;
  padding: 20px 12px; box-shadow: var(--shadow-xs);
}
.att-pct {
  font-size: 2rem; font-weight: 900; line-height: 1.1;
  margin-bottom: 6px;
}

/* ─── Societies Page ─────────────────────────────────── */
.society-card {
  background: #fff; border-radius: 16px;
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.society-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.society-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.society-short {
  font-size: .72rem; font-weight: 800;
  letter-spacing: .05em; display: block;
}
.society-activities { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border-light); }
.society-tag {
  font-size: .72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 50px;
}
.society-join-card {
  background: linear-gradient(135deg,rgba(31,122,77,.06),rgba(31,122,77,.02));
  border: 2px dashed rgba(31,122,77,.25);
  border-radius: 18px; padding: 40px 32px;
}

/* ─── Research Page ───────────────────────────────────── */
.research-stat-card {
  background: #fff; border-radius: 14px;
  padding: 20px 12px; box-shadow: var(--shadow-sm);
}
.research-stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 10px;
}
.research-stat-val   { font-size: 1.5rem; font-weight: 900; }
.research-stat-label { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.research-focus-card {
  background: #fff; border-radius: 14px;
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s;
}
.research-focus-card:hover { transform: translateY(-3px); }
.research-focus-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}

/* ─── Labs Page ───────────────────────────────────────── */
.lab-card {
  background: #fff; border-radius: 16px;
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s;
}
.lab-card:hover { transform: translateY(-3px); }
.lab-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.lab-equipment-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.lab-equipment-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: .83rem; color: var(--text-muted);
}
.facility-card {
  background: #fff; border-radius: 14px;
  padding: 22px; box-shadow: var(--shadow-sm);
  height: 100%; transition: transform .3s;
}
.facility-card:hover { transform: translateY(-3px); }
.facility-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

/* ─── Publications Page ───────────────────────────────── */
.pub-year-section {}
.pub-year-header {
  display: flex; align-items: center; gap: 16px;
}
.pub-year-badge {
  background: var(--secondary); color: #fff;
  font-size: .85rem; font-weight: 800;
  padding: 4px 16px; border-radius: 50px;
  white-space: nowrap;
}
.pub-year-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}
.pub-card {
  background: #fff; border-radius: 14px;
  padding: 20px 22px; box-shadow: var(--shadow-xs);
  border-left: 3px solid var(--border-light);
  transition: box-shadow .2s, border-color .2s;
}
.pub-card:hover { box-shadow: var(--shadow-sm); border-left-color: var(--primary); }
.pub-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.pub-type-badge {
  font-size: .7rem; font-weight: 700;
  padding: 2px 10px; border-radius: 50px;
}
.pub-year-chip {
  font-size: .72rem; font-weight: 600;
  color: var(--text-muted); background: var(--bg-light);
  padding: 2px 8px; border-radius: 50px;
}

/* ─── Notification Scroller ──────────────────────────────── */
.notification-scroller {
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0a2e1b, #1F7A4D);
  color: #fff; overflow: hidden; position: relative; z-index: 10;
}
.notification-scroller-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: rgba(212,175,55,.18);
  border-right: 1px solid rgba(255,255,255,.15);
  font-weight: 700; font-size: .8rem; white-space: nowrap; color: #D4AF37;
}
.notification-scroller-track { overflow: hidden; flex: 1; }
.notification-scroller-content {
  display: flex; width: max-content;
  animation: notifScroll 35s linear infinite;
}
.notification-scroller:hover .notification-scroller-content { animation-play-state: paused; }
.notif-group { display: flex; align-items: center; flex-shrink: 0; }
.notification-item {
  font-size: .85rem; white-space: nowrap; color: #fff;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 0;
}
.notification-item a { color: #fff; text-decoration: none; }
.notification-item a:hover { text-decoration: underline; }
.notification-sep { margin: 0 28px; opacity: .4; }
@keyframes notifScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .notification-scroller-label { padding: 8px 12px; font-size: .72rem; }
  .notification-item { font-size: .78rem; }
}

/* ─── Print ───────────────────────────────────────────── */
@media print {
  .site-header-wrapper, .footer-newsletter, .whatsapp-float, .back-to-top, .notification-scroller { display: none !important; }
  body { color: #000; }
  a { color: #000; }
}
