/* ============================================================
   College CMS — Main Stylesheet
   Premium Academic Design System
   ============================================================ */

/* ── 1. CSS Custom Properties ──────────────────────────────── */
:root {
  --navy:      #0f2340;
  --navy2:     #1a3c6e;
  --navy3:     #254d8a;
  --gold:      #c8a84b;
  --gold-dark: #a88a35;
  --gold-light:#e8c97a;
  --cream:     #faf8f3;
  --cream2:    #f4f1ea;
  --white:     #ffffff;
  --text:      #1e293b;
  --text2:     #334155;
  --muted:     #64748b;
  --border:    #e2e8f0;
  --success:   #16a34a;
  --danger:    #dc2626;
  --warning:   #d97706;
  --info:      #0284c7;
  --primary:   #4f46e5;

  --shadow-xs: 0 1px 3px rgba(15,35,64,.06);
  --shadow-sm: 0 2px 8px rgba(15,35,64,.09);
  --shadow-md: 0 8px 30px rgba(15,35,64,.12);
  --shadow-lg: 0 20px 60px rgba(15,35,64,.16);
  --shadow-xl: 0 40px 100px rgba(15,35,64,.22);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .6s cubic-bezier(.4,0,.2,1);

  --font-heading: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --nav-h: 80px;
  --topbar-h: 38px;
  --ticker-h: 38px;
}

/* ── 2. Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: var(--transition); }
ul   { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ── 3. Layout ─────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── 4. Typography ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,168,75,.1);
  border: 1px solid rgba(200,168,75,.25);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
}
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.3; }

/* ── 5. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  font-size: .92rem; font-weight: 600; letter-spacing: .02em;
  border: 2px solid transparent; cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-navy   { background: var(--navy2); color: var(--white); border-color: var(--navy2); }
.btn-navy:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,60,110,.35); }
.btn-gold   { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,168,75,.4); }
.btn-outline { background: transparent; color: var(--navy2); border-color: var(--navy2); }
.btn-outline:hover { background: var(--navy2); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-sm { padding: 8px 20px; font-size: .84rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── 6. Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.card-title { font-family: var(--font-heading); font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.card-text  { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ── 7. Top Bar ────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  height: var(--topbar-h);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-left a, .topbar-right a { color: rgba(255,255,255,.75); font-size: .78rem; display: flex; align-items: center; gap: 5px; }
.topbar-left a:hover, .topbar-right a:hover { color: var(--gold); }
.topbar-right a i { font-size: .7rem; }
.topbar-divider { width: 1px; height: 16px; background: rgba(255,255,255,.2); }
.topbar-btn { padding: 4px 12px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,.2); font-size: .75rem !important; }
.topbar-btn:hover { border-color: var(--gold) !important; }
.topbar-btn--gold { background: var(--gold) !important; color: var(--navy) !important; border-color: var(--gold) !important; font-weight: 600; }
.topbar-btn--gold:hover { background: var(--gold-dark) !important; }

/* ── 8. Ticker ─────────────────────────────────────────────── */
.ticker-wrap {
  background: linear-gradient(90deg, var(--navy2) 0%, #1e4d8c 100%);
  height: var(--ticker-h); display: flex; align-items: center;
  overflow: hidden; position: relative; z-index: 90;
}
.ticker-label {
  background: var(--gold); color: var(--navy);
  padding: 0 20px; height: 100%; display: flex; align-items: center;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  gap: 6px; white-space: nowrap; flex-shrink: 0;
}
.ticker-content { flex: 1; overflow: hidden; position: relative; }
.ticker-items {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
.ticker-items:hover { animation-play-state: paused; }
.ticker-item { color: rgba(255,255,255,.9); font-size: .82rem; padding: 0 24px; }
.ticker-item:hover { color: var(--gold); }
.ticker-sep { color: var(--gold); font-size: .6rem; }
.ticker-badge {
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  padding: 2px 7px; border-radius: var(--radius-full); text-transform: uppercase; margin: 0 4px;
}
.ticker-badge--danger  { background: #dc2626; color: #fff; }
.ticker-badge--warning { background: #d97706; color: #fff; }
.ticker-badge--info    { background: #0284c7; color: #fff; }
.ticker-badge--success { background: #16a34a; color: #fff; }
.ticker-badge--primary { background: #4f46e5; color: #fff; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── 9. Header / Navbar ────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(15,35,64,.1);
  border-bottom: 3px solid var(--gold);
  height: var(--nav-h);
  display: flex; align-items: center;
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 100%; width: 100%; }

/* Brand */
.brand { display: flex; align-items: center; gap: 14px; }
.brand-emblem {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15,35,64,.3);
  overflow: hidden; position: relative;
}
.brand-emblem img { width: 100%; height: 100%; object-fit: cover; }
.brand-initials { color: var(--gold); font-family: var(--font-heading); font-weight: 700; font-size: 1rem; letter-spacing: .05em; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.2; }
.brand-tag  { font-size: .65rem; color: var(--muted); letter-spacing: .05em; }

/* Nav menu */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .86rem; font-weight: 500; color: var(--text2);
  white-space: nowrap; transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--navy2); background: rgba(26,60,110,.06); }
.nav-link--cta {
  background: var(--gold); color: var(--navy) !important;
  font-weight: 700; padding: 8px 18px;
}
.nav-link--cta:hover { background: var(--gold-dark); box-shadow: 0 4px 14px rgba(200,168,75,.45); transform: translateY(-1px); }

/* Dropdown */
.has-dropdown:hover .dropdown,
.has-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  min-width: 220px; padding: 8px 0; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; font-size: .87rem; color: var(--text2);
}
.dropdown li a:hover { background: var(--cream); color: var(--navy2); padding-left: 24px; }
.dropdown li a i { width: 16px; color: var(--gold); font-size: .8rem; }

/* Mega menu */
.mega-menu {
  position: fixed; top: calc(var(--topbar-h) + var(--ticker-h) + var(--nav-h));
  left: 0; right: 0; width: 100%;
  background: var(--white); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-xl); z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 40px; padding: 40px 24px; }
.mega-col h4.mega-heading { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.mega-col ul li a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: .87rem; color: var(--text2); border-bottom: 1px solid var(--border); }
.mega-col ul li:last-child a { border-bottom: none; }
.mega-col ul li a:hover { color: var(--navy2); padding-left: 6px; }
.mega-col ul li a i { color: var(--gold); font-size: .75rem; width: 14px; }
.mega-highlight { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.mega-stat-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 120px;
}
.mega-stat-num   { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.mega-stat-label { font-size: .72rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .1em; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 998; }
.nav-overlay.show { display: block; }

/* ── 10. Hero Slider ───────────────────────────────────────── */
.hero-slider { position: relative; height: calc(100vh - var(--topbar-h) - var(--ticker-h) - var(--nav-h)); min-height: 500px; max-height: 850px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,35,64,.88) 0%, rgba(15,35,64,.5) 60%, transparent 100%); }
.hero-slide-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,35,64,.6) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-content .section-label { font-size: .7rem; background: rgba(200,168,75,.15); color: var(--gold-light); border-color: rgba(200,168,75,.3); }
.hero-title { font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 520px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
/* Slider controls */
.slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--gold); width: 28px; border-radius: 4px; }
.slider-arrow {
  position: absolute; top: 50%; z-index: 10; transform: translateY(-50%);
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); color: var(--white);
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); font-size: .9rem;
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.slider-arrow--prev { left: 24px; }
.slider-arrow--next { right: 24px; }

/* ── 11. Stats Bar ─────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy2) 50%, var(--navy3) 100%);
  padding: 0; overflow: hidden;
}
.stats-bar-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1); transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.05); }
.stat-num  { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: 4px; letter-spacing: .05em; }
.stat-icon { font-size: .9rem; color: rgba(255,255,255,.4); margin-bottom: 4px; }

/* ── 12. Notice Board ──────────────────────────────────────── */
.notice-board { background: var(--cream); }
.notice-board-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.notice-panel { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.notice-panel-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.notice-panel-header h3 { color: var(--white); font-size: 1rem; font-family: var(--font-heading); display: flex; align-items: center; gap: 8px; }
.notice-panel-header h3 i { color: var(--gold); }
.notice-panel-header a { font-size: .75rem; color: var(--gold-light); }
.notice-panel-header a:hover { color: var(--white); }
.notice-list { padding: 8px 0; max-height: 360px; overflow-y: auto; }
.notice-list::-webkit-scrollbar { width: 4px; }
.notice-list::-webkit-scrollbar-track { background: var(--cream); }
.notice-list::-webkit-scrollbar-thumb { background: var(--navy2); border-radius: 2px; }
.notice-item { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 12px; transition: var(--transition); }
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { background: var(--cream); }
.notice-item-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(26,60,110,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.notice-item-icon i { font-size: .72rem; color: var(--navy2); }
.notice-item-title { font-size: .87rem; color: var(--text); line-height: 1.5; font-weight: 500; display: block; margin-bottom: 4px; }
.notice-item-title:hover { color: var(--navy2); }
.notice-item-meta { font-size: .72rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.notice-badge { display: inline-block; font-size: .62rem; font-weight: 700; padding: 1px 7px; border-radius: var(--radius-full); }
.notice-badge--important { background: rgba(220,38,38,.1); color: #dc2626; border: 1px solid rgba(220,38,38,.2); }
.notice-badge--new { background: rgba(22,163,74,.1); color: #16a34a; border: 1px solid rgba(22,163,74,.2); }

/* ── 13. Departments Section ───────────────────────────────── */
.dept-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.dept-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px 20px;
  text-align: center; transition: var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
}
.dept-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent, var(--gold)); transform: scaleX(0);
  transition: var(--transition); transform-origin: left;
}
.dept-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.dept-card:hover::before { transform: scaleX(1); }
.dept-icon-wrap {
  width: 64px; height: 64px; border-radius: var(--radius);
  background: rgba(26,60,110,.07); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; transition: var(--transition);
}
.dept-card:hover .dept-icon-wrap { background: var(--navy2); }
.dept-icon { font-size: 1.4rem; color: var(--navy2); transition: var(--transition); }
.dept-card:hover .dept-icon { color: var(--white); }
.dept-name { font-family: var(--font-heading); font-size: .95rem; color: var(--navy); font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.dept-courses { font-size: .75rem; color: var(--muted); }

/* ── 14. Course Cards ──────────────────────────────────────── */
.course-card { border-radius: var(--radius-lg); overflow: hidden; }
.course-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 24px; position: relative;
}
.course-type-badge { display: inline-block; background: var(--gold); color: var(--navy); font-size: .7rem; font-weight: 700; padding: 3px 12px; border-radius: var(--radius-full); margin-bottom: 10px; }
.course-card-header h3 { color: var(--white); font-size: 1.05rem; line-height: 1.35; }
.course-card-body { padding: 20px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.course-meta-item { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.course-meta-item i { color: var(--gold); font-size: .75rem; }
.course-fee { font-size: .85rem; color: var(--navy2); font-weight: 600; }

/* ── 15. Events Section ────────────────────────────────────── */
.event-card { display: flex; gap: 20px; align-items: flex-start; padding: 20px; border-bottom: 1px solid var(--border); transition: var(--transition); }
.event-card:hover { background: var(--cream); border-radius: var(--radius); }
.event-date-box { flex-shrink: 0; width: 60px; text-align: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); border-radius: var(--radius-sm); padding: 10px 6px; }
.event-day   { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--gold); line-height: 1; }
.event-month { font-size: .65rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .1em; }
.event-info  { flex: 1; }
.event-category { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.event-title { font-family: var(--font-heading); font-size: 1rem; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.event-title:hover { color: var(--navy2); }
.event-venue { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }

/* ── 16. Gallery Grid ──────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px); gap: 12px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,35,64,.85) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title { color: var(--white); font-size: .85rem; font-weight: 600; }
.gallery-item-zoom { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: .9rem; }

/* ── 17. Testimonials ──────────────────────────────────────── */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
  position: relative;
}
.testimonial-quote { font-size: 3.5rem; color: var(--gold); opacity: .25; line-height: 1; font-family: Georgia, serif; position: absolute; top: 20px; left: 24px; }
.testimonial-text { font-size: .92rem; color: var(--text2); line-height: 1.8; margin-bottom: 24px; padding-top: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); background: var(--navy2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-avatar-text { color: var(--white); font-weight: 700; font-size: 1rem; }
.testimonial-name { font-family: var(--font-heading); font-size: .95rem; font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: .78rem; color: var(--muted); }
.testimonial-stars { color: var(--gold); font-size: .75rem; margin-top: 2px; }

/* ── 18. Placement Section ─────────────────────────────────── */
.recruiter-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.recruiter-logo {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 28px;
  font-weight: 700; color: var(--navy2); font-size: 1rem;
  transition: var(--transition); letter-spacing: -.01em;
}
.recruiter-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); color: var(--navy); }

/* ── 19. Principal Message ─────────────────────────────────── */
.principal-section { background: linear-gradient(135deg, var(--cream) 0%, var(--cream2) 100%); }
.principal-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 48px;
  background: var(--white); border-radius: var(--radius-xl); padding: 48px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  align-items: center;
}
.principal-image-wrap { position: relative; }
.principal-image { width: 280px; height: 320px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.principal-image-placeholder { width: 280px; height: 320px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); display: flex; align-items: center; justify-content: center; }
.principal-image-placeholder i { font-size: 5rem; color: rgba(255,255,255,.3); }
.principal-badge { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 700; padding: 8px 20px; border-radius: var(--radius-full); white-space: nowrap; box-shadow: var(--shadow-md); }
.principal-content { padding-left: 16px; }
.principal-content blockquote { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text2); line-height: 1.85; font-style: italic; margin: 16px 0 24px; border-left: 4px solid var(--gold); padding-left: 20px; }
.principal-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.principal-title { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.principal-qual  { font-size: .8rem; color: var(--gold-dark); font-weight: 500; margin-top: 2px; }

/* ── 20. Forms ─────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white);
  font-size: .9rem; color: var(--text); transition: var(--transition);
  font-family: var(--font-body);
}
.form-control:focus { outline: none; border-color: var(--navy2); box-shadow: 0 0 0 3px rgba(26,60,110,.1); }
.form-control::placeholder { color: var(--muted); }
.form-control--error { border-color: var(--danger); }
.form-error { font-size: .78rem; color: var(--danger); margin-top: 4px; display: block; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2364748b' d='M5.23 7.21L10 11.98l4.77-4.77 1.42 1.41L10 14.81 3.81 8.62z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }

/* ── 21. Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, var(--navy3) 100%);
  padding: 64px 0; position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--white); margin-bottom: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.65); }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.4); font-size: .6rem; }

/* ── 22. Badges ────────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: .72rem; font-weight: 700; }
.badge-navy    { background: rgba(26,60,110,.1); color: var(--navy2); }
.badge-gold    { background: rgba(200,168,75,.15); color: var(--gold-dark); }
.badge-success { background: rgba(22,163,74,.1); color: var(--success); }
.badge-danger  { background: rgba(220,38,38,.1); color: var(--danger); }
.badge-info    { background: rgba(2,132,199,.1); color: var(--info); }
.badge-warning { background: rgba(217,119,6,.1); color: var(--warning); }

/* ── 23. Tables ────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .88rem; }
.table th { background: var(--navy); color: var(--white); padding: 14px 16px; text-align: left; font-weight: 600; font-size: .8rem; letter-spacing: .03em; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text2); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--cream); }
.table-striped tbody tr:nth-child(even) td { background: var(--cream); }

/* ── 24. Pagination ────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 40px; }
.page-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); color: var(--text2); font-size: .85rem;
  font-weight: 500; transition: var(--transition);
}
.page-link:hover, .page-link.active { background: var(--navy2); color: var(--white); border-color: var(--navy2); }
.page-link.disabled { opacity: .4; pointer-events: none; }

/* ── 25. Alert messages ────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: .88rem; display: flex; align-items: flex-start; gap: 10px; border-left: 4px solid; margin-bottom: 20px; }
.alert i { margin-top: 2px; flex-shrink: 0; }
.alert-success { background: rgba(22,163,74,.08); border-color: var(--success); color: #15803d; }
.alert-danger   { background: rgba(220,38,38,.08); border-color: var(--danger); color: #b91c1c; }
.alert-warning  { background: rgba(217,119,6,.08); border-color: var(--warning); color: #b45309; }
.alert-info     { background: rgba(2,132,199,.08); border-color: var(--info); color: #0369a1; }

/* ── 26. Float buttons ─────────────────────────────────────── */
.float-actions { position: fixed; bottom: 80px; right: 20px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.float-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: var(--radius-full);
  font-size: .82rem; font-weight: 700; color: var(--white);
  box-shadow: var(--shadow-lg); transition: var(--transition);
  white-space: nowrap;
}
.float-btn:hover { transform: translateX(-4px) scale(1.03); }
.float-btn--admission  { background: var(--gold); color: var(--navy); }
.float-btn--call       { background: var(--navy2); width: 46px; height: 46px; padding: 0; justify-content: center; }
.float-btn--whatsapp   { background: #25d366; width: 46px; height: 46px; padding: 0; justify-content: center; font-size: 1.1rem; }
.back-to-top {
  position: fixed; bottom: 20px; right: 20px; z-index: 900;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy2); color: var(--white); border: none;
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px); transition: var(--transition);
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); transform: translateY(-2px); }

/* ── 27. Footer ────────────────────────────────────────────── */
.site-footer { background: var(--navy); }
.footer-cta { background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%); padding: 28px 0; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-cta h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--navy); }
.footer-cta p  { font-size: .87rem; color: rgba(15,35,64,.75); margin-top: 4px; }
.footer-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-body { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-circle { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: .85rem; flex-shrink: 0; }
.footer-brand strong { color: var(--white); font-size: .9rem; display: block; font-family: var(--font-heading); }
.footer-brand span   { color: rgba(255,255,255,.5); font-size: .72rem; }
.footer-about { font-size: .83rem; color: rgba(255,255,255,.6); line-height: 1.8; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; margin-bottom: 24px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; font-size: .8rem; transition: var(--transition); }
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-3px); }
.naac-badge { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 12px 16px; }
.naac-badge-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: .85rem; flex-shrink: 0; }
.naac-badge strong { color: var(--white); font-size: .82rem; display: block; }
.naac-badge span   { color: rgba(255,255,255,.55); font-size: .72rem; }
.footer-heading { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { font-size: .83rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.footer-links li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-links li a i { color: var(--gold); font-size: .6rem; flex-shrink: 0; }
.footer-contact-list li { display: flex; gap: 10px; margin-bottom: 14px; }
.footer-contact-list li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; font-size: .85rem; width: 14px; }
.footer-contact-list li span { font-size: .83rem; color: rgba(255,255,255,.65); line-height: 1.6; }
.footer-contact-list li span a { color: rgba(255,255,255,.65); }
.footer-contact-list li span a:hover { color: var(--gold-light); }
.footer-newsletter h5 { font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.newsletter-form { display: flex; border-radius: var(--radius-full); overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
.newsletter-form input { flex: 1; padding: 10px 16px; background: rgba(255,255,255,.06); border: none; color: var(--white); font-size: .82rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { padding: 10px 16px; background: var(--gold); border: none; color: var(--navy); transition: var(--transition); }
.newsletter-form button:hover { background: var(--gold-dark); }
.footer-bottom { background: rgba(0,0,0,.3); padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.45); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .75rem; color: rgba(255,255,255,.45); }
.footer-bottom-links a:hover { color: var(--gold-light); }
.footer-visitor { font-size: .75rem !important; color: rgba(255,255,255,.4) !important; }
.footer-visitor strong { color: var(--gold-light); }

/* ── 28. Lightbox ──────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.95); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow-xl); }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,.1); border: none; color: var(--white); width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover { background: var(--danger); }

/* ── 29. Search Box ────────────────────────────────────────── */
.search-bar { display: flex; align-items: center; background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-full); overflow: hidden; transition: var(--transition); max-width: 520px; }
.search-bar:focus-within { border-color: var(--navy2); box-shadow: 0 0 0 3px rgba(26,60,110,.1); }
.search-bar input { flex: 1; padding: 11px 18px; border: none; background: none; font-size: .9rem; color: var(--text); }
.search-bar input:focus { outline: none; }
.search-bar button { padding: 0 18px; height: 100%; background: var(--navy2); color: var(--white); border: none; font-size: .9rem; cursor: pointer; transition: var(--transition); }
.search-bar button:hover { background: var(--navy); }

/* ── 29b. Vision & Mission ─────────────────────────────────── */
.vm-section { background: var(--white); }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 48px;
}

/* Vision / Mission cards */
.vm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.vm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.vm-card--vision { border-top: 4px solid var(--gold); }
.vm-card--mission { border-top: 4px solid var(--navy2); }

.vm-card-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.vm-card--vision  .vm-card-icon-wrap { background: rgba(200,168,75,.12); color: var(--gold-dark); }
.vm-card--mission .vm-card-icon-wrap { background: rgba(26,60,110,.08); color: var(--navy2); }

.vm-card-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.vm-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.vm-card-title em { font-style: italic; color: var(--gold); }
.vm-card-body {
  font-size: .93rem;
  color: var(--text2);
  line-height: 1.85;
}
.vm-sanskrit { font-style: italic; color: var(--gold-dark); font-weight: 500; }

/* Decorative accent bar bottom */
.vm-card-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
}
.vm-card--vision  .vm-card-accent { background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%); }
.vm-card--mission .vm-card-accent { background: linear-gradient(90deg, var(--navy2) 0%, var(--navy3) 100%); }

/* Mission list */
.vm-mission-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.vm-mission-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.vm-mission-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy2);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  font-family: var(--font-mono);
}
.vm-mission-list li p { font-size: .9rem; color: var(--text2); line-height: 1.7; }

/* Center ornament divider */
.vm-ornament {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 60px;
}
.vm-ornament-line {
  width: 1px;
  flex: 1;
  min-height: 60px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.vm-ornament-emblem {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: .9rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

/* Established badge strip */
.vm-established {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  flex-wrap: wrap;
}
.vm-est-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  color: rgba(255,255,255,.85);
  font-size: .85rem;
}
.vm-est-item i { color: var(--gold); font-size: .9rem; }
.vm-est-item strong { color: var(--gold-light); font-weight: 700; }
.vm-est-item em { color: var(--gold-light); font-style: italic; }
.vm-est-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ── 29c. Institutional Development Plans ──────────────────── */
.idp-section { }

.idp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.idp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.idp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.idp-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.idp-card--short .idp-card-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); }
.idp-card--long  .idp-card-header { background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%); }

.idp-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.idp-card-tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}
.idp-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.idp-list {
  list-style: none;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.idp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text2);
  line-height: 1.6;
}
.idp-list li:last-child { border-bottom: none; }
.idp-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cream2);
  color: var(--navy2);
  font-size: .65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  font-family: var(--font-mono);
}
.idp-card--long .idp-num { background: rgba(46,134,193,.1); color: #2e86c1; }

/* NEP Commitment banner */
.idp-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(26,60,110,.06) 0%, rgba(200,168,75,.06) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  flex-wrap: wrap;
}
.idp-banner-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: .95rem;
  flex-shrink: 0;
}
.idp-banner-text { flex: 1; min-width: 200px; }
.idp-banner-text strong { font-size: .92rem; color: var(--navy); display: block; margin-bottom: 4px; }
.idp-banner-text p { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.idp-banner-badge {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}
.idp-banner-badge span { font-size: .68rem; color: rgba(255,255,255,.55); font-family: var(--font-body); font-weight: 400; }

/* ── 30. Utility ───────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-navy    { color: var(--navy); }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--muted); }
.bg-cream     { background: var(--cream); }
.bg-navy      { background: var(--navy); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.view-all-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy2); font-weight: 600; font-size: .85rem; border-bottom: 2px solid transparent; transition: var(--transition); }
.view-all-link:hover { color: var(--gold-dark); border-color: var(--gold); }
.divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%); border-radius: 2px; margin: 16px 0; }
.divider-center { margin: 16px auto; }
.section-bg-dot { background-color: var(--cream); background-image: radial-gradient(var(--border) 1px, transparent 1px); background-size: 24px 24px; }

/* ── 31. Scroll animations ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── 32. Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .dept-grid { grid-template-columns: repeat(4, 1fr); }
  .mega-inner { grid-template-columns: 1fr 1fr 1fr; }
  .mega-highlight { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .stats-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .stats-bar-inner .stat-item:nth-child(4),
  .stats-bar-inner .stat-item:nth-child(5) { border-top: 1px solid rgba(255,255,255,.1); }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .notice-board-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .gallery-grid .gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
  .gallery-grid .gallery-item { height: 180px; }
  /* Principal card stacks vertically */
  .principal-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }
  .principal-image-wrap { display: flex; flex-direction: column; align-items: center; }
  .principal-image, .principal-image-placeholder { width: 100%; max-width: 260px; height: 260px; }
  .principal-content { padding-left: 0; }
  .principal-content blockquote { font-size: 1rem; }
  .principal-badge { position: static; transform: none; display: inline-block; margin-top: 20px; }
  /* VM section — collapse ornament, stack cards */
  .vm-grid { grid-template-columns: 1fr; gap: 24px; }
  .vm-ornament { flex-direction: row; padding-top: 0; }
  .vm-ornament-line { width: 100%; height: 1px; min-height: unset; background: linear-gradient(to right, transparent, var(--border), transparent); }
  .vm-card { padding: 28px 24px; }
  /* IDP — stack cards */
  .idp-grid { grid-template-columns: 1fr; gap: 20px; }
  .vm-est-divider { display: none; }
  .vm-established { flex-direction: column; gap: 8px; padding: 20px 20px; text-align: center; }
  .vm-est-item { justify-content: center; padding: 6px 16px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  /* Nav (handled by header.php inline styles but ensure desktop nav is hidden) */
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .topbar-left { display: none; }

  /* Layout */
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Hero */
  .hero-slider { min-height: 420px; height: 72vh; max-height: 600px; }
  .hero-content { padding: 0 4px; }
  .hero-title { font-size: clamp(1.5rem, 5.5vw, 2.2rem); margin-bottom: 12px; }
  .hero-desc { font-size: .93rem; margin-bottom: 24px; line-height: 1.65; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 13px 24px; font-size: .9rem; }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 14px; }

  /* Stats bar */
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 12px; }
  .stat-num { font-size: 1.6rem; }
  .stats-bar-inner .stat-item:nth-child(5) { grid-column: span 2; border-right: none; border-top: 1px solid rgba(255,255,255,.1); }

  /* Notice board */
  .notice-panel-header { padding: 14px 16px; }
  .notice-item { padding: 12px 14px; gap: 10px; }
  .notice-list { max-height: 300px; }

  /* Courses — 2 columns on tablet instead of single column */
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-grid .gallery-item { height: 150px; }

  /* Testimonials */
  .testimonial-card { padding: 24px 20px; }

  /* Principal */
  .principal-card { padding: 28px 20px; gap: 24px; }

  /* VM & IDP — tighter padding on tablet */
  .vm-card { padding: 24px 18px; }
  .vm-card-title { font-size: 1.25rem; }
  .idp-card-header { padding: 18px 20px; }
  .idp-list { padding: 16px 20px; }
  .idp-banner { gap: 14px; padding: 16px 18px; }
  .idp-banner-badge { padding: 8px 14px; font-size: .85rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta-inner { flex-direction: column; gap: 16px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-cta-btns { justify-content: center; }

  /* Float buttons */
  .float-btn--admission span { display: none; }
  .float-btn--admission { width: 46px; height: 46px; padding: 0; justify-content: center; }

  /* Section headers */
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(1.5rem, 4vw, 2rem); }
  .section-subtitle { font-size: .92rem; }
}

@media (max-width: 480px) {
  :root { --ticker-h: 34px; }
  .topbar { display: none; }
  .container { padding: 0 14px; }
  .section { padding: 44px 0; }

  /* Section label — letter-spacing:.18em causes overflow on tiny screens */
  .section-label { letter-spacing: .06em; font-size: .68rem; padding: 3px 10px; white-space: normal; max-width: 100%; }

  /* Hero */
  .hero-slider { min-height: 360px; height: 65vh; }
  .hero-content { padding: 0; }
  .hero-title { font-size: clamp(1.3rem, 6vw, 1.7rem); }
  .hero-desc { display: none; }
  .hero-btns .btn { font-size: .84rem; padding: 11px 20px; }

  /* Stats */
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 16px 8px; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: .68rem; }

  /* Dept grid */
  .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dept-card { padding: 20px 12px; }
  .dept-icon-wrap { width: 48px; height: 48px; }
  .dept-icon { font-size: 1.1rem; }
  .dept-name { font-size: .85rem; }

  /* Courses — single col on very small */
  .grid-4 { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-item { height: 200px; }

  /* Principal */
  .principal-card { padding: 20px 16px; border-radius: var(--radius-lg); }
  .principal-image, .principal-image-placeholder { max-width: 200px; height: 220px; }
  .principal-content blockquote { font-size: .92rem; padding-left: 14px; }

  /* Testimonials */
  .testimonial-card { padding: 20px 16px; }
  .testimonial-text { font-size: .87rem; }

  /* Notice items */
  .notice-item-meta { flex-wrap: wrap; gap: 5px; }

  /* Section headers */
  .section-header { margin-bottom: 24px; }
  .section-title { font-size: clamp(1.25rem, 5.5vw, 1.6rem); }

  /* Recruiter logos */
  .recruiter-logo { padding: 10px 16px; font-size: .85rem; }

  /* VM — very small screens */
  .vm-card { padding: 20px 14px; }
  .vm-card-title { font-size: 1.1rem; }
  .vm-card-label { letter-spacing: .06em; }
  .vm-mission-list li { gap: 10px; }
  .vm-mission-num { width: 24px; height: 24px; font-size: .6rem; }
  .vm-mission-list li p { font-size: .85rem; }
  .vm-established { border-radius: var(--radius); padding: 16px 12px; }
  .vm-est-item { font-size: .8rem; }

  /* IDP — very small screens */
  .idp-card-header { padding: 14px 16px; gap: 12px; }
  .idp-card-icon { width: 40px; height: 40px; font-size: 1rem; }
  .idp-card-title { font-size: 1rem; }
  .idp-list { padding: 12px 16px; }
  .idp-list li { font-size: .83rem; gap: 10px; padding: 10px 0; }
  .idp-num { width: 20px; height: 20px; font-size: .6rem; }
  .idp-banner { flex-direction: column; text-align: center; align-items: flex-start; }
  .idp-banner-badge { align-self: flex-start; }

  /* Footer */
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form input { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .newsletter-form button { padding: 10px; border-radius: 0 0 var(--radius) var(--radius); }
}

/* ── 33. Print ─────────────────────────────────────────────── */
@media print {
  .topbar, .ticker-wrap, .site-header, .float-actions, .back-to-top, .site-footer { display: none !important; }
  body { font-size: 12pt; color: #000; }
}