/* ==========================================================================
   CSJM Government Polytechnic, Ambedkar Nagar
   Official website stylesheet - Government portal design system
   Palette: #401950 (purple)  #043370 (navy)  #cd2928 (red)
   ========================================================================== */

:root {
  --purple: #401950;
  --purple-700: #33133f;
  --purple-900: #250c2e;
  --navy: #043370;
  --navy-700: #032a5c;
  --navy-900: #021c3f;
  --red: #cd2928;
  --red-700: #a91f1e;
  --ink: #1d2433;
  /* --muted: #5c6678; */
  --muted: #181a1e;
  --line: #d7dfea;
  --line-soft: #e7edf5;
  --surface: #f4f7fb;
  --surface-2: #eceff6;
  --white: #ffffff;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(4, 51, 112, .06);
  --shadow: 0 8px 24px rgba(4, 51, 112, .10);
  --container: 1200px;
}

/* --------------------------------------------------------------- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.site-container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 62px 0; }

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

/* ------------------------------------------------------- Utility bar --- */
.utility-bar {
  color: rgba(255, 255, 255, .9);
  background: var(--purple);
  font-size: .68rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.utility-inner {
  display: flex; min-height: 40px; align-items: center;
  justify-content: space-between; gap: 16px;
}
.utility-access { display: flex; align-items: center; gap: 5px; }
.utility-action {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 3px 7px; border: 0; border-radius: 4px;
  color: rgba(255, 255, 255, .9); background: transparent;
  font: inherit; font-weight: 500; white-space: nowrap;
  transition: background .18s, color .18s;
}
.utility-action:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.utility-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .22); }
.utility-screen-reader strong {
  padding: 2px 5px; border-radius: 3px;
  color: #fff; background: var(--red); font-size: .56rem; letter-spacing: .04em;
}
.utility-screen-reader[aria-pressed="true"] strong { background: #198754; }
.utility-screen-reader[disabled] { opacity: .55; cursor: not-allowed; }
body.screen-reader-active :is(h1, h2, h3, h4, h5, h6, p, li, a, button, label, summary, th, td, figcaption, blockquote):hover {
  outline: 2px dashed var(--gold, #d6a94a); outline-offset: 2px;
}
.utility-font-controls { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.utility-font-controls > span { margin-right: 3px; font-weight: 500; }
.font-size-control {
  display: grid; width: 26px; height: 26px; place-items: center;
  padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 3px;
  color: #fff; background: rgba(255, 255, 255, .08);
  font: inherit; font-weight: 700; transition: background .18s, border-color .18s;
}
.font-size-control:hover,
.font-size-control[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.utility-language { font-family: "Noto Sans Devanagari", "Nirmala UI", sans-serif; font-size: .74rem; }
.utility-social {
  display: flex; flex: 0 0 auto; align-items: center; gap: 3px;
  padding-left: 13px; border-left: 1px solid rgba(255, 255, 255, .22);
}
.utility-social a {
  display: grid; width: 27px; height: 27px; place-items: center;
  border-radius: 4px; color: rgba(255, 255, 255, .88); font-size: .75rem;
  transition: color .18s, background .18s;
}
.utility-social a:hover { color: #fff; background: var(--red); }

/* ------------------------------------------------------ Brand header --- */
.brand-header { border-bottom: 3px solid var(--navy); background: var(--white); }
.brand-inner {
  display: flex; min-height: 132px; align-items: center;
  justify-content: space-between; gap: 14px; padding: 14px 0;
}
.brand { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 18px; }
.brand img { width: 88px; height: 88px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-government {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 7px;
  color: var(--purple); font-size: .65rem; font-weight: 500; line-height: 1.25;
}
.brand-government-divider { color: var(--muted); }
.brand-name-hindi {
  color: var(--navy); font-family: "Noto Sans Devanagari", "Nirmala UI", Mangal, sans-serif;
  font-size: clamp(1.3rem, 1.85vw, 1.6rem); font-weight: 700; line-height: 1.28;
}
.brand-name-english { color: var(--ink); font-size: .78rem; font-weight: 500; line-height: 1.3; }
.brand-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 4px; }
.brand-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border: 1px solid var(--navy); border-radius: 4px;
  color: #fff; background: var(--navy);
  font-size: .61rem; font-weight: 600; line-height: 1.35; white-space: nowrap;
}
.brand-badge i { flex: 0 0 auto; font-size: .72rem; }
.brand-badge:nth-child(2) { border-color: var(--purple); background: var(--purple); }
.brand-badge-code { color: #fff; border-color: var(--red); background: var(--red); }
.header-contact { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.contact-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: border-color .2s, background .2s;
}
.contact-chip:hover { border-color: var(--navy); background: var(--white); }
.contact-icon {
  display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center;
  border-radius: 4px; color: #fff; background: var(--navy); font-size: .85rem;
}
.contact-chip > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-chip small {
  color: var(--muted); font-size: .58rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.contact-chip strong { color: var(--ink); font-size: .69rem; font-weight: 600; white-space: nowrap; }

/* ------------------------------------------------------- Navigation --- */
.navigation-wrap {
  position: relative; z-index: 1030;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
}
.navigation-wrap.is-sticky { position: sticky; top: 0; box-shadow: 0 6px 18px rgba(2, 28, 63, .28); }
.navigation-wrap .navbar { padding: 0; overflow: visible; }
.navigation-wrap .navbar-collapse { overflow: visible; }
.navbar-brand { color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .08em; }
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .35); color: #fff;
  font-size: 1.3rem; padding: 2px 9px; box-shadow: none !important;
}
.navigation-wrap .navbar-nav { align-items: stretch; }
.navigation-wrap .nav-item { display: flex; }
.navigation-wrap .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 15px 13px !important;
  border-right: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .92);
  font-size: .75rem; font-weight: 600;
  transition: background .18s, color .18s;
}
.navigation-wrap .nav-item:first-child .nav-link { border-left: 1px solid rgba(255, 255, 255, .13); }
.navigation-wrap .nav-link:hover,
.navigation-wrap .nav-link:focus,
.navigation-wrap .nav-link.active { color: #fff; background: var(--red); }
.navigation-wrap .dropdown-toggle::after { margin-left: 2px; opacity: .8; }
.navigation-wrap .dropdown-menu {
  top: 100% !important; right: auto !important; bottom: auto !important; left: 0 !important;
  transform: none !important; margin-top: 0 !important; min-width: 250px; padding: 6px;
  border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.navigation-wrap .dropdown-item {
  display: flex; width: 100%; align-items: center; gap: 7px;
  padding: 9px 12px; border: 0; border-radius: 4px; text-align: left;
  color: var(--ink); font-size: .76rem; font-weight: 500;
  background: transparent;
}
.navigation-wrap .dropdown-item:hover,
.navigation-wrap .dropdown-item:focus { color: #fff; background: var(--navy); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--radius);
  color: #fff; background: var(--red);
  font-size: .74rem; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { color: #fff; background: var(--purple); }

/* ---------------------------------------------------- Announcement --- */
.campus-announcement {
  color: #fff; background: var(--purple);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.campus-announcement > div {
  display: flex; min-height: 42px; align-items: center; gap: 12px; font-size: .74rem;
}
.campus-announcement > div > i { color: #fff; font-size: .95rem; }
.campus-announcement a {
  display: inline-flex; align-items: center; gap: 7px; margin-left: auto;
  color: #fff; font-weight: 600; white-space: nowrap;
  padding-bottom: 1px; border-bottom: 1px solid rgba(255, 255, 255, .45);
}
.campus-announcement a:hover { border-bottom-color: #fff; }

/* ------------------------------------------------------------ Hero --- */
.hero { position: relative; height: 500px; overflow: hidden; background: var(--navy); }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 100%; }
.hero .carousel-item { position: relative; }
.hero .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 20, 46, .76) 0%,
    rgba(4, 51, 112, .48) 48%,
    rgba(37, 12, 46, .18) 100%
  );
}
.hero-caption { position: relative; z-index: 2; display: flex; height: 100%; align-items: center; }
.hero-copy {
  width: min(100%, 610px); padding: 32px 34px;
  border-left: 5px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0;
  color: #fff; background: rgba(2, 20, 46, .5); backdrop-filter: blur(3px);
  box-shadow: 0 12px 30px rgba(2, 20, 46, .12);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px;
  padding: 6px 12px; border-radius: 3px;
  color: #fff; background: var(--red);
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero h1, .hero h2 {
  max-width: 560px; color: #fff;
  font-size: clamp(1.75rem, 3.1vw, 2.5rem); font-weight: 700;
  line-height: 1.2; letter-spacing: -.02em;
}
.hero h1 em, .hero h2 em {
  color: #fff; font-style: normal;
  border-bottom: 4px solid var(--red); padding-bottom: 2px;
}
.hero-copy > p {
  max-width: 540px; margin-top: 16px;
  color: rgba(255, 255, 255, .86); font-size: .84rem; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .carousel-indicators { bottom: 18px; z-index: 5; margin-bottom: 0; }
.hero .carousel-indicators [data-bs-target] {
  width: 30px; height: 4px; margin: 0 4px; border: 0; border-radius: 2px;
  background-color: rgba(255, 255, 255, .55); opacity: 1;
}
.hero .carousel-indicators .active { background-color: var(--red); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; opacity: .8; }
.hero .carousel-control-prev-icon, .hero .carousel-control-next-icon {
  width: 38px; height: 38px; padding: 9px;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%;
  background-color: rgba(2, 20, 46, .4); background-size: 42%;
}

/* --------------------------------------------------------- Buttons --- */
.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  gap: 9px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: .76rem; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.button-primary { color: #fff; background: var(--red); border-color: var(--red); }
.button-primary:hover { color: #fff; background: var(--red-700); border-color: var(--red-700); }
.button-outline { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.button-outline:hover { color: var(--navy); border-color: #fff; background: #fff; }
.button-navy { color: #fff; background: var(--navy); border-color: var(--navy); }
.button-navy:hover { color: #fff; background: var(--purple); border-color: var(--purple); }
.button-white { color: var(--navy); background: #fff; border-color: #fff; }
.button-white:hover { color: #fff; background: var(--red); border-color: var(--red); }

/* --------------------------------------------------- Quick services --- */
.quick-links-section { padding: 0; background: var(--navy-900); }
.quick-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-link {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  color: #fff; transition: background .2s;
}
.quick-link:first-child { border-left: 1px solid rgba(255, 255, 255, .12); }
.quick-link:hover { color: #fff; background: var(--red); }
.quick-link > i {
  display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center;
  border-radius: var(--radius); color: #fff; background: rgba(255, 255, 255, .12);
  font-size: 1.2rem;
}
.quick-link:hover > i { background: rgba(255, 255, 255, .2); }
.quick-link span { display: flex; min-width: 0; flex-direction: column; }
.quick-link strong { font-size: .82rem; font-weight: 600; }
.quick-link small { color: rgba(255, 255, 255, .7); font-size: .64rem; }
.quick-link:hover small { color: rgba(255, 255, 255, .9); }
.quick-link b { margin-left: auto; font-size: .8rem; opacity: .6; }

/* ---------------------------------------------------- Notice ticker --- */
.notice-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.notice-inner {
  display: grid; min-height: 56px; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
}
.notice-label {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: var(--radius);
  color: #fff; background: var(--red);
  font-size: .62rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .06em;
}
.notice-label i { font-size: 1.05rem; }
.notice-label strong { font-size: .72rem; letter-spacing: .04em; }
.notice-window { overflow: hidden; }
.notice-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.notice-track.paused { animation-play-state: paused; }
.notice-track a {
  display: inline-flex; align-items: center; gap: 10px; padding-right: 44px;
  color: var(--ink); font-size: .76rem; font-weight: 500;
}
.notice-track a:hover { color: var(--red); }
.notice-track a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.notice-track time {
  padding: 3px 7px; border-radius: 3px;
  color: #fff; background: var(--navy);
  font-size: .6rem; font-weight: 700; text-transform: uppercase;
}
.notice-empty { color: var(--muted); font-size: .76rem; }
.notice-control {
  display: grid; width: 34px; height: 34px; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--navy); background: #fff; transition: .2s;
}
.notice-control:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* -------------------------------------------- Shared section pieces --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 10px;
  color: var(--red); font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.section-title {
  color: var(--navy); font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 700; line-height: 1.26;
}
.section-heading { margin-bottom: 36px; }
.section-heading > p {
  max-width: 660px; margin-top: 12px;
  color: var(--muted); font-size: .82rem; line-height: 1.8;
}
.section-heading-center { text-align: center; }
.section-heading-center .eyebrow { justify-content: center; }
.section-heading-center .eyebrow::before { display: none; }
.section-heading-center .section-title { max-width: 760px; margin-inline: auto; }
.section-heading-center .section-title::after {
  content: ""; display: block; width: 68px; height: 3px;
  margin: 14px auto 0; background: var(--red);
}
.section-heading-center > p { margin-inline: auto; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-size: .76rem; font-weight: 600;
}
.text-link i { transition: transform .2s; }
.text-link:hover { color: var(--red); }
.text-link:hover i { transform: translateX(4px); }

/* ------------------------------------------- About + notice board --- */
.about-section { background: var(--white); }
.about-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 368px;
  column-gap: 36px; row-gap: 36px; align-items: start;
}
.about-layout > .section-heading { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.about-main { grid-column: 1; grid-row: 2; }
.about-grid { display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: 28px; align-items: start; }
.about-visual { display: grid; gap: 12px; }
.about-image-wrap { position: relative; }
.about-main-image {
  width: 100%; height: 292px; object-fit: fill;
  border: 1px solid var(--line); border-radius: 0; background: var(--surface-2);
}
.experience-badge {
  position: absolute; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 13px;
  padding: 13px 16px; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--radius);
  color: #fff; background: rgba(64, 25, 80, .94); box-shadow: 0 8px 20px rgba(2, 28, 63, .2);
}
.experience-badge strong { font-size: 1.75rem; font-weight: 700; line-height: 1; }
.experience-badge span {
  font-size: .64rem; font-weight: 600; line-height: 1.45;
  letter-spacing: .05em; text-transform: uppercase;
}
.about-copy > p { color: var(--muted); font-size: .82rem; line-height: 1.85;text-align: justify; }
.about-points {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.about-points span {
  display: flex; align-items: center; gap: 9px;
  min-height: 52px; padding: 8px 9px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font-size: .66rem; font-weight: 600; line-height: 1.35;
}
.about-points i { color: var(--red); font-size: .85rem; }
/* .about-read-more { margin-top: 10px; } */

/* Side panels (notice board / downloads) */
.side-stack { grid-column: 2; grid-row: 2; display: grid; gap: 22px; align-content: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; color: #fff; background: var(--navy);
}
.panel-head i { font-size: 1rem; }
.panel-head h3 { font-size: .84rem; font-weight: 600; letter-spacing: .03em; }
.panel-tag {
  margin-left: auto; padding: 3px 9px; border-radius: 3px;
  background: var(--red); font-size: .58rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.notice-list a {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 13px;
  align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
  transition: background .18s;
}
.notice-list a:last-child { border-bottom: 0; }
.notice-list a:hover { background: var(--surface); }
.notice-list.is-scrollable { overflow: hidden; }
.notice-list-track.is-scrolling {
  animation: notice-board-scroll var(--notice-board-duration, 16s) linear infinite;
  will-change: transform;
}
.notice-list:hover .notice-list-track.is-scrolling,
.notice-list:focus-within .notice-list-track.is-scrolling { animation-play-state: paused; }
.notice-date {
  display: grid; height: 50px; place-content: center; text-align: center;
  border-radius: var(--radius); color: #fff; background: var(--purple);
}
.notice-date b { font-size: .95rem; font-weight: 700; line-height: 1.1; }
.notice-date span { font-size: .56rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.notice-body { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.notice-body strong { color: var(--ink); font-size: .76rem; font-weight: 600; line-height: 1.5; }
.notice-body small { color: var(--red); font-size: .62rem; font-weight: 600; }
.notice-list-indicator { display: grid; min-width: 30px; place-items: center; color: var(--navy); font-size: .78rem; }
.notice-new-badge {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
  padding: 3px 7px; border-radius: 3px; color: #fff; background: var(--red);
  font-size: .54rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  animation: new-badge-blink 1s ease-in-out infinite;
}
.latest-update-new-badge { margin-left: 2px; }
.notice-board-empty { margin: 0; padding: 20px 18px; color: var(--muted); font-size: .76rem; }
.panel-foot { padding: 12px 18px; border-top: 1px solid var(--line); background: var(--surface); text-align: center; }
@keyframes notice-board-scroll { to { transform: translateY(calc(-1 * var(--notice-board-shift))); } }
@keyframes new-badge-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(183, 28, 28, .3); }
  50% { opacity: .35; box-shadow: 0 0 0 4px rgba(183, 28, 28, 0); }
}
.download-list a {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-soft);
  color: var(--ink); font-size: .76rem; font-weight: 500;
  transition: background .18s, color .18s;
}
.download-list a:last-child { border-bottom: 0; }
.download-list a:hover { color: var(--navy); background: var(--surface); }
.download-list i:first-child { color: var(--red); font-size: 1rem; }
.download-list i:last-child { margin-left: auto; color: var(--muted); font-size: .8rem; }

/* ------------------------------------------------------ Milestones --- */
.milestones {
  padding: 86px 0; color: var(--ink); background: var(--surface);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.milestone-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px; align-items: stretch;
}
.milestone-intro { grid-column: 1 / -1; margin-bottom: 22px; text-align: center; }
.milestone-intro span {
  color: var(--red); font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.milestone-intro h2 { margin-top: 8px; color: var(--navy); font-size: 1.85rem; font-weight: 700; line-height: 1.3; }
.milestone-intro p {
  max-width: 680px; margin: 12px auto 0; color: var(--muted);
  font-size: .78rem; line-height: 1.75;
}
.milestone {
  display: flex; min-height: 205px; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 22px; border: 1px solid #a9bfd9; border-top: 4px solid var(--navy);
  border-radius: var(--radius); background: #fff; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
}
.milestone:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.milestone > i {
  display: grid; width: 42px; height: 42px; margin-bottom: 13px; place-items: center;
  border-radius: 50%; color: #fff; background: var(--navy); font-size: 1rem;
}
.milestone strong { display: block; color: var(--navy); font-size: 2.5rem; font-weight: 700; line-height: 1.1; }
.milestone span {
  display: block; margin-top: 9px; color: var(--muted);
  font-size: .66rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
.milestone small { margin-top: 7px; color: #7a8494; font-size: .61rem; line-height: 1.5; }

/* ------------------------------------------------------ Programmes --- */
.programmes-section {
  background:
    linear-gradient(135deg, rgba(4, 51, 112, .95), rgba(64, 25, 80, .92)),
    url("../images/gallery/gallery-2.jpg") center / cover no-repeat;
}
.programmes-section .section-title { color: #fff; }
.programmes-section .eyebrow { color: rgba(255, 255, 255, .82); }
.programmes-section .section-heading > p { color: rgba(255, 255, 255, .8); }
.programme-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.programme-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 26px 24px 24px;
  border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: var(--radius); background: #fff;
  transition: border-top-color .22s, box-shadow .22s, transform .22s;
}
.programmes-section .programme-card {
  border-color: rgba(255, 255, 255, .28);
  border-top-color: var(--navy);
  box-shadow: 0 10px 28px rgba(2, 20, 46, .16);
}
.programme-card:hover { border-top-color: var(--red); box-shadow: var(--shadow); transform: translateY(-4px); }
.programme-number {
  position: absolute; right: 20px; top: 18px;
  color: var(--line); font-size: 1.5rem; font-weight: 700; line-height: 1;
}
.programme-icon,
.programme-image {
  display: grid; width: 52px; height: 52px; margin-bottom: 18px; place-items: center;
  border-radius: var(--radius); color: #fff; background: var(--navy); font-size: 1.25rem;
  transition: background .22s;
}
.programme-image { object-fit: cover; }
.programme-card:hover .programme-icon { background: var(--red); }
.programme-card h3 { margin-bottom: 9px; color: var(--navy); font-size: .92rem; font-weight: 600; line-height: 1.45; }
.programme-card p { color: var(--muted); font-size: .74rem; line-height: 1.7; }
.programme-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.programme-meta span {
  color: var(--muted); font-size: .65rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.programme-meta a {
  display: grid; width: 32px; height: 32px; place-items: center;
  border-radius: var(--radius); color: #fff; background: var(--purple);
  font-size: .8rem; transition: background .2s;
}
.programme-meta a:hover { background: var(--red); }

/* ------------------------------------------------------- Principal --- */
.principal-section { background: var(--surface); }
.principal-card {
  display: flow-root; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
}
.principal-photo {
  position: relative; z-index: 2; float: left;
  display: flex; width: 270px; flex-direction: column; align-items: center; justify-content: center;
  margin: 36px 30px 22px 38px; padding: 10px 0; background: transparent;
}
.principal-photo > img {
  width: 190px; height: 190px; min-height: 0; box-sizing: border-box;
  object-fit: contain; object-position: center;
  padding: 6px; border: 3px solid var(--navy); border-radius: 50%; background: #fff;
  box-shadow: 0 8px 22px rgba(4, 51, 112, .15);
}
.principal-photo > div {
  padding: 18px 0 0; color: var(--navy); background: transparent; text-align: center;
}
.principal-photo strong { display: block; font-size: 1.25rem; font-weight: 700; }
.principal-photo span {
  color: var(--red); font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.principal-message {
  position: relative; display: block;
  padding: 40px 44px; background: #fff;
}
.quote-mark { display: none; }
.principal-message h2 {
  position: relative; margin-bottom: 16px; color: var(--navy);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.3;
}
.principal-message blockquote {
  position: relative; overflow: hidden; margin: 0; padding-left: 18px;
  border-left: 3px solid var(--red);
  color: var(--ink); font-size: .84rem; line-height: 1.85; text-align: justify;
}
.principal-message > p {
  margin-top: 14px; color: var(--muted); font-size: .78rem;
  line-height: 1.8; text-align: justify;
}
.principal-message > p:first-of-type { padding-top: 4px; }
.signature-line { width: 60px; height: 3px; margin-top: 22px; background: var(--purple); }

/* ------------------------------------------------------ Facilities --- */
.facilities-section {
  background:
    linear-gradient(135deg, rgba(4, 51, 112, .95), rgba(37, 12, 46, .92)),
    url("../images/gallery/gallery-3.jpg") center / cover no-repeat;
}
.facility-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.facility-card {
  display: flex; height: 100%; align-items: flex-start; gap: 16px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .22s, box-shadow .22s, transform .22s;
}
.facility-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-3px); }
.facility-card > i {
  display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center;
  border-radius: var(--radius); color: #fff; background: var(--purple);
  font-size: 1.15rem; transition: background .22s;
}
.facility-card:hover > i { background: var(--red); }
.facility-card h3 { margin-bottom: 6px; color: var(--navy); font-size: .86rem; font-weight: 600; }
.facility-card p { color: var(--muted); font-size: .74rem; line-height: 1.7; }

/* --------------------------------------------------------- Mentors --- */
.mentors-section {
  background:
    linear-gradient(135deg, rgba(2, 28, 63, .95), rgba(64, 25, 80, .91)),
    url("../images/campus-building.jpg") center 38% / cover no-repeat;
}
.mentor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mentor-card {
  display: flex; height: 100%; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: box-shadow .22s, transform .22s;
}
.mentor-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mentor-image {
  display: flex; height: 230px; align-items: center; justify-content: center;
  padding: 22px; overflow: hidden; background: var(--surface);
}
.mentor-image img {
  width: 184px; height: 184px; box-sizing: border-box;
  object-fit: contain; object-position: center;
  padding: 6px; border: 3px solid var(--navy); border-radius: 50%; background: #fff;
  box-shadow: 0 8px 22px rgba(4, 51, 112, .15);
}
.mentor-copy {
  display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center;
  padding: 16px 18px; border-top: 3px solid var(--navy); text-align: center;
  transition: border-top-color .22s;
}
.mentor-card:hover .mentor-copy { border-top-color: var(--red); }
.mentor-copy h3 {
  margin-bottom: 7px; color: var(--navy);
  font-size: 1rem; font-weight: 700; line-height: 1.35;
}
.mentor-copy p { color: var(--muted); font-size: .66rem; line-height: 1.55; }

/* ---------------------------------------------------- Testimonials --- */
.testimonials-section {
  background:
    linear-gradient(135deg, rgba(244, 247, 251, .97), rgba(236, 239, 246, .95)),
    url("../images/gallery/gallery-1.jpg") center / cover no-repeat;
}
.mentors-section .section-title,
.facilities-section .section-title { color: #fff; }
.mentors-section .eyebrow,
.facilities-section .eyebrow { color: rgba(255, 255, 255, .82); }
.mentors-section .section-heading > p,
.facilities-section .section-heading > p { color: rgba(255, 255, 255, .8); }
.mentors-section .mentor-card,
.facilities-section .facility-card {
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 10px 28px rgba(2, 20, 46, .16);
}
.testimonial-swiper { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none;
  touch-action: pan-x; padding: 2px 2px 8px;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-slide {
  flex: 0 0 calc((100% - 20px) / 2); scroll-snap-align: start;
}
.testimonial-card {
  position: relative; display: flex; height: 100%; flex-direction: column;
  padding: 26px; border: 1px solid var(--line); border-left: 4px solid var(--purple);
  border-radius: var(--radius); background: #fff;
}
.testimonial-quote { position: absolute; right: 22px; top: 18px; color: var(--surface-2); font-size: 2.2rem; line-height: 1; }
.testimonial-card > p { position: relative; margin-bottom: 20px; color: var(--ink); font-size: .79rem; line-height: 1.8; }
.testimonial-card > div {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.testimonial-card img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.testimonial-card span { display: flex; flex-direction: column; }
.testimonial-card strong { color: var(--navy); font-size: .78rem; font-weight: 600; }
.testimonial-card small { color: var(--red); font-size: .63rem; font-weight: 600; }
.testimonial-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-top: 20px;
}
.testimonial-pagination { display: flex; align-items: center; gap: 8px; }
.testimonial-pagination button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: #c3cad5; transition: width .2s, border-radius .2s, background .2s;
}
.testimonial-pagination button.active {
  width: 28px; border-radius: 8px; background: var(--red);
}
.testimonial-navigation { display: flex; gap: 8px; }
.testimonial-navigation button {
  display: grid; width: 42px; height: 42px; place-items: center;
  border: 1px solid var(--navy); border-radius: 50%; color: var(--navy); background: #fff;
  transition: color .2s, background .2s, transform .2s;
}
.testimonial-navigation button:hover,
.testimonial-navigation button:focus-visible {
  color: #fff; background: var(--navy); transform: translateY(-2px);
}

/* --------------------------------------------------------- Gallery --- */
.gallery-section { background: var(--white); border-top: 1px solid var(--line-soft); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 205px 205px; gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.gallery-main { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(4, 51, 112, .72), rgba(4, 51, 112, 0) 60%);
  opacity: 0; transition: opacity .25s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item span {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  display: grid; width: 36px; height: 36px; place-items: center;
  border-radius: var(--radius); color: #fff; background: var(--red);
  opacity: 0; transform: translateY(6px); transition: .25s;
}
.gallery-item:hover span { opacity: 1; transform: none; }
.gallery-home-empty {
  padding: 34px; border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--muted); background: var(--surface); text-align: center;
}
.gallery-lightbox .modal-dialog { max-width: min(1120px, calc(100% - 32px)); }
.gallery-lightbox .modal-content {
  overflow: hidden; border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius); color: #fff; background: #071a34;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}
.gallery-lightbox-header,
.gallery-lightbox-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 18px; background: rgba(2, 20, 46, .96);
}
.gallery-lightbox-header > div { display: flex; align-items: center; gap: 14px; }
.gallery-lightbox-header span {
  display: inline-flex; padding: 5px 10px; border-radius: 20px;
  color: #fff; background: var(--red); font-size: .7rem; font-weight: 700;
}
.gallery-lightbox-header h2 { margin: 0; color: #fff; font-size: .92rem; font-weight: 600; }
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
  display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%; color: #fff; background: rgba(4, 51, 112, .76);
  transition: border-color .2s, background .2s, transform .2s;
}
.gallery-lightbox-close { width: 38px; height: 38px; }
.gallery-lightbox-prev,
.gallery-lightbox-next { width: 48px; height: 48px; font-size: 1.15rem; }
.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-prev:focus-visible,
.gallery-lightbox-next:focus-visible {
  border-color: var(--red); color: #fff; background: var(--red); transform: scale(1.04);
}
.gallery-lightbox-stage {
  position: relative; display: flex; min-height: min(68vh, 660px);
  align-items: center; justify-content: space-between; gap: 14px; padding: 18px;
  background: #020d1d;
}
.gallery-lightbox-stage img {
  width: auto; max-width: calc(100% - 132px); height: auto; max-height: min(64vh, 620px);
  margin: auto; object-fit: contain; border-radius: 3px;
}
.gallery-lightbox-footer { border-top: 1px solid rgba(255, 255, 255, .1); }
.gallery-lightbox-footer p { margin: 0; color: #fff; font-size: .76rem; }
.gallery-lightbox-footer small { color: rgba(255, 255, 255, .58); font-size: .62rem; }

/* ------------------------------------------------------- Admission --- */
.admission-section { padding: 0; }
.admission-card {
  padding: 48px 0; color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 48%, var(--purple) 100%);
}
.admission-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.admission-inner > div:first-child { max-width: 690px; }
.admission-card span {
  color: rgba(255, 255, 255, .78); font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.admission-card h2 { margin: 10px 0 8px; font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.3; }
.admission-card p { color: rgba(255, 255, 255, .8); font-size: .8rem; line-height: 1.75; }
.admission-actions { display: flex; flex: 0 0 auto; gap: 12px; }

/* ------------------------------------------------------ About page --- */
.page-hero {
  position: relative; min-height: 330px; display: flex; align-items: center;
  overflow: hidden; color: #fff;
  background:
    linear-gradient(100deg, rgba(2, 20, 46, .94) 0%, rgba(4, 51, 112, .82) 52%, rgba(64, 25, 80, .68) 100%),
    url("../images/campus-building.jpg") center 42% / cover no-repeat;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto -100px -150px auto;
  width: 340px; height: 340px; border: 58px solid rgba(255, 255, 255, .05); border-radius: 50%;
}
.about-page-hero {
  background:
    linear-gradient(100deg, rgba(2, 20, 46, .94) 0%, rgba(4, 51, 112, .82) 52%, rgba(64, 25, 80, .68) 100%),
    var(--about-hero-image, url("../images/campus-building.jpg")) center / 100% 100% no-repeat;
  background-color: #02142e;
}
.page-hero-inner { position: relative; z-index: 1; padding-block: 58px; }
.breadcrumb-list {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 28px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px; background: rgba(255, 255, 255, .09); backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, .76); font-size: .68rem; font-weight: 500;
}
.breadcrumb-list li { display: inline-flex; align-items: center; gap: 7px; }
.breadcrumb-list li + li::before { content: "/"; margin-right: 1px; color: rgba(255, 255, 255, .38); }
.breadcrumb-list a { color: #fff; }
.breadcrumb-list a:hover { color: #ffd2d2; }
.page-hero-kicker {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 11px;
  color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.page-hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.page-hero h1 { max-width: 820px; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.2; }
.page-hero p { max-width: 760px; margin-top: 14px; color: rgba(255, 255, 255, .8); font-size: .88rem; line-height: 1.8; }

.about-overview-section { background: #fff; }
.about-page-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 62px; }
.about-page-media { position: relative; min-height: 470px; padding: 0 38px 38px 0; }
.about-page-media::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: 72%; height: 72%;
  border-radius: var(--radius); background: var(--surface-2);
}
.about-page-media > img {
  position: relative; z-index: 1; width: 100%; height: 432px; object-fit: fill;
  border-radius: 0; background: var(--surface-2); box-shadow: 0 18px 40px rgba(4, 51, 112, .16);
}
.about-page-image-accent {
  position: absolute; z-index: 2; right: 0; bottom: 22px;
  display: flex; width: 178px; min-height: 112px; align-items: center; justify-content: center; gap: 11px;
  border: 5px solid #fff; border-radius: var(--radius); color: #fff;
  background: linear-gradient(135deg, var(--red), var(--purple)); box-shadow: var(--shadow);
}
.about-page-image-accent strong { font-size: 2rem; line-height: 1; }
.about-page-image-accent span { font-size: .67rem; font-weight: 600; line-height: 1.5; text-transform: uppercase; }
.about-page-copy .section-title { margin: 10px 0 18px; }
.about-page-copy > p { margin-top: 12px; color: var(--muted); font-size: .8rem; line-height: 1.9; text-align: justify; }
.about-page-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.about-page-highlights span {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy);
  background: var(--surface); font-size: .66rem; font-weight: 600;
}
.about-page-highlights i { color: var(--red); font-size: .9rem; }

.about-facts-section { padding: 36px 0; background: var(--navy); }
.about-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-fact {
  display: flex; min-height: 92px; align-items: center; justify-content: center; gap: 15px;
  padding: 16px 24px; border-right: 1px solid rgba(255, 255, 255, .16); color: #fff;
}
.about-fact:last-child { border-right: 0; }
.about-fact > i {
  display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center;
  border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .12); font-size: 1.15rem;
}
.about-fact div { display: flex; flex-direction: column; }
.about-fact strong { font-size: 1.45rem; line-height: 1.2; }
.about-fact span { color: rgba(255, 255, 255, .68); font-size: .65rem; }

.vision-mission-section { background: var(--surface); }
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.purpose-card {
  position: relative; min-height: 350px; overflow: hidden; padding: 38px;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.purpose-card::after {
  content: ""; position: absolute; right: -54px; bottom: -70px;
  width: 190px; height: 190px; border: 35px solid currentColor; border-radius: 50%; opacity: .05;
}
.purpose-card-vision { color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple)); }
.purpose-card-mission { color: var(--ink); background: #fff; }
.purpose-card-icon {
  display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 26px;
  border-radius: var(--radius); color: #fff; background: var(--red); font-size: 1.35rem;
}
.purpose-card > span { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.purpose-card-vision > span { color: rgba(255, 255, 255, .68); }
.purpose-card-mission > span { color: var(--red); }
.purpose-card h3 { margin: 8px 0 13px; font-size: 1.35rem; line-height: 1.35; }
.purpose-card p { color: rgba(255, 255, 255, .78); font-size: .8rem; line-height: 1.9; text-align: justify; }
.purpose-card ul { display: grid; gap: 11px; margin-top: 15px; }
.purpose-card li { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .76rem; line-height: 1.65; }
.purpose-card li i { margin-top: 2px; color: var(--red); font-size: .9rem; }

.institute-values-section {
  background:
    linear-gradient(130deg, rgba(2, 28, 63, .96), rgba(64, 25, 80, .92)),
    url("../images/gallery/gallery-1.jpg") center / cover no-repeat;
}
.institute-values-section .section-heading { max-width: 720px; }
.institute-values-section .eyebrow { color: rgba(255, 255, 255, .76); }
.institute-values-section .section-title { color: #fff; }
.institute-values-section .section-heading > p { color: rgba(255, 255, 255, .72); }
.institute-values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.institute-value {
  position: relative; min-height: 260px; padding: 28px 24px;
  border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius);
  background: #fff; transition: border-color .22s, box-shadow .22s, transform .22s;
}
.institute-value:hover { border-top-color: var(--red); box-shadow: var(--shadow); transform: translateY(-4px); }
.institute-value > span { position: absolute; right: 20px; top: 17px; color: var(--surface-2); font-size: 2.2rem; font-weight: 800; }
.institute-value > i {
  display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 24px;
  border-radius: var(--radius); color: #fff; background: var(--purple); font-size: 1.2rem;
}
.institute-value h3 { margin-bottom: 9px; color: var(--navy); font-size: .95rem; }
.institute-value p { color: var(--muted); font-size: .72rem; line-height: 1.75; }

.about-campus-section {
  color: var(--ink); background: #fff;
}
.about-campus-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 54px; }
.about-campus-copy .eyebrow { color: var(--red); }
.about-campus-copy h2 { margin: 10px 0 13px; color: var(--navy); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.3; }
.about-campus-copy > p { color: var(--muted); font-size: .8rem; line-height: 1.8; }
.about-campus-copy ul { display: grid; gap: 14px; margin: 24px 0 28px; }
.about-campus-copy li { display: flex; align-items: flex-start; gap: 13px; }
.about-campus-copy li > i {
  display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center;
  border-radius: var(--radius); color: #fff; background: var(--red); font-size: 1rem;
}
.about-campus-copy li span { display: flex; flex-direction: column; color: var(--muted); font-size: .68rem; line-height: 1.6; }
.about-campus-copy li strong { margin-bottom: 2px; color: var(--navy); font-size: .78rem; }
.about-campus-gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 180px 180px; gap: 12px; }
.about-campus-gallery img { width: 100%; height: 100%; object-fit: fill; border: 4px solid var(--surface-2); border-radius: 0; background: var(--surface-2); }
.about-campus-gallery-main { grid-row: 1 / 3; }

.about-page-cta { padding: 46px 0; color: #fff; background: linear-gradient(110deg, var(--red), var(--purple)); }
.about-page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.about-page-cta-inner > div:first-child { max-width: 700px; }
.about-page-cta-inner > div:last-child { display: flex; flex: 0 0 auto; gap: 10px; }
.about-page-cta span { color: rgba(255, 255, 255, .72); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.about-page-cta h2 { margin: 6px 0; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.about-page-cta p { color: rgba(255, 255, 255, .75); font-size: .76rem; }

/* --------------------------------------------------- Inner pages --- */
.inner-overview-section { background: #fff; }
.inner-overview-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 58px;
}
.inner-page-media {
  position: relative;
  min-height: 430px;
  padding: 0 34px 34px 0;
}
.inner-page-media::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 82%;
  height: 82%;
  border-radius: var(--radius);
  background: var(--surface-2);
  content: "";
}
.inner-page-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 396px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.inner-page-media > span {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--purple));
  box-shadow: var(--shadow);
  font-size: 1.7rem;
}
.inner-page-copy .section-title { margin: 9px 0 17px; }
.inner-page-copy > p { color: var(--muted); font-size: .8rem; line-height: 1.9; }
.inner-feature-list { display: grid; gap: 11px; margin: 24px 0; }
.inner-feature-list article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.inner-feature-list article > i {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
}
.inner-feature-list h3 { margin-bottom: 3px; color: var(--navy); font-size: .8rem; }
.inner-feature-list p { color: var(--muted); font-size: .68rem; line-height: 1.6; }
.inner-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.inner-card-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inner-info-card {
  position: relative;
  min-height: 255px;
  padding: 27px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(4, 51, 112, .07);
  transition: var(--transition);
}
.inner-info-card:hover { border-top-color: var(--red); box-shadow: var(--shadow); transform: translateY(-4px); }
.inner-info-card > i { color: var(--red); font-size: 1.75rem; }
.inner-info-card > span { position: absolute; right: 18px; top: 16px; color: var(--surface-2); font-size: 2.2rem; font-weight: 800; }
.inner-info-card h3 { margin: 18px 0 10px; color: var(--navy); font-size: .92rem; line-height: 1.45; }
.inner-info-card p { color: var(--muted); font-size: .7rem; line-height: 1.7; }
.inner-info-card strong { display: block; margin-top: 18px; color: var(--purple); font-size: .68rem; }
.inner-band { padding: 27px 0; color: #fff; background: var(--navy); }
.inner-band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inner-band article { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; padding: 8px 28px; border-right: 1px solid rgba(255,255,255,.15); }
.inner-band article:last-child { border-right: 0; }
.inner-band i { grid-row: 1 / 3; font-size: 1.55rem; color: var(--gold); }
.inner-band strong { font-size: .8rem; }
.inner-band span { color: rgba(255,255,255,.68); font-size: .63rem; }
.faculty-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.faculty-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(4, 51, 112, .06);
}
.faculty-card.faculty-lead { grid-column: span 2; color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple)); }
.faculty-card img { width: 78px; height: 78px; border: 3px solid rgba(255,255,255,.8); border-radius: 50%; object-fit: cover; }
.faculty-avatar { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--surface-2); font-size: 1.25rem; }
.faculty-card span { color: var(--red); font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.faculty-card h3 { margin: 4px 0; color: var(--navy); font-size: .75rem; line-height: 1.35; }
.faculty-card p { color: var(--muted); font-size: .61rem; line-height: 1.4; }
.faculty-lead span, .faculty-lead p { color: rgba(255,255,255,.7); }
.faculty-lead h3 { color: #fff; font-size: .94rem; }
.inner-table-card { margin-top: 36px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.inner-table-card > div:first-child { margin-bottom: 18px; }
.inner-table-card h2 { margin-top: 5px; color: var(--navy); font-size: 1.25rem; }
.inner-table-card table { width: 100%; border-collapse: collapse; }
.inner-table-card th { padding: 13px 15px; color: #fff; background: var(--navy); font-size: .67rem; text-transform: uppercase; }
.inner-table-card td { padding: 13px 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.inner-table-card tbody tr:last-child td { border-bottom: 0; }
.inner-table-card > .button { margin-top: 20px; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; color: #197342; font-size: .62rem; font-weight: 700; }
.document-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.document-panel-icon { display: grid; width: 78px; height: 78px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple)); font-size: 1.8rem; }
.document-panel h2 { margin: 6px 0 8px; color: var(--navy); font-size: 1.3rem; }
.document-panel p { max-width: 720px; color: var(--muted); font-size: .75rem; line-height: 1.75; }
.document-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--purple); font-size: .63rem; font-weight: 600; }
.document-meta span { display: inline-flex; align-items: center; gap: 6px; }
.content-detail-section { background: var(--surface); }
.checklist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checklist-grid article { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.checklist-grid i { color: var(--red); font-size: 1.1rem; }
.checklist-grid p { color: var(--muted); font-size: .7rem; line-height: 1.65; }
.policy-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; }
.policy-statement { padding: 38px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple)); box-shadow: var(--shadow); }
.policy-statement > i { font-size: 2.1rem; color: var(--gold); }
.policy-statement > span { display: block; margin-top: 24px; color: rgba(255,255,255,.68); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.policy-statement h2 { margin: 8px 0 14px; font-size: 1.45rem; line-height: 1.35; }
.policy-statement p { color: rgba(255,255,255,.78); font-size: .76rem; line-height: 1.85; }
.policy-points { display: grid; gap: 12px; }
.policy-points article { display: flex; gap: 17px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.policy-points article > span { color: var(--red); font-size: 1.3rem; font-weight: 800; }
.policy-points h3 { margin-bottom: 5px; color: var(--navy); font-size: .85rem; }
.policy-points p { color: var(--muted); font-size: .68rem; line-height: 1.6; }
.policy-points > .button { justify-self: start; margin-top: 4px; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.process-grid article { position: relative; min-height: 230px; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(4,51,112,.06); }
.process-grid article > span { position: absolute; right: 18px; top: 14px; color: var(--surface-2); font-size: 2rem; font-weight: 800; }
.process-grid i { color: var(--red); font-size: 1.7rem; }
.process-grid h3 { margin: 24px 0 9px; color: var(--navy); font-size: .87rem; }
.process-grid p { color: var(--muted); font-size: .68rem; line-height: 1.65; }
.feature-image { margin-top: 30px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-image img { width: 100%; height: 360px; object-fit: cover; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button-secondary { color: var(--navy); border: 1px solid var(--navy); background: transparent; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.resource-card { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px; min-height: 150px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(4,51,112,.06); transition: var(--transition); }
.resource-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.resource-card > i { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); font-size: 1.2rem; }
.resource-card span { color: var(--red); font-size: .57rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.resource-card h3 { margin: 3px 0; color: var(--navy); font-size: .86rem; }
.resource-card p { color: var(--muted); font-size: .64rem; line-height: 1.5; }
.resource-card > b { color: var(--red); }
.mou-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mou-card { padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.mou-card > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.mou-card i { color: var(--navy); font-size: 1.5rem; }
.mou-card span { color: var(--muted); font-size: .6rem; }
.mou-card h3 { margin: 22px 0 10px; color: var(--navy); font-size: 1rem; line-height: 1.45; }
.mou-card p { color: var(--muted); font-size: .7rem; line-height: 1.7; }
.button-center { margin-top: 26px; text-align: center; }
.committee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.committee-card { display: flex; align-items: flex-start; gap: 15px; min-height: 145px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(4,51,112,.06); }
.committee-card > i { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); font-size: 1.1rem; }
.committee-card h3 { margin: 3px 0 7px; color: var(--navy); font-size: .82rem; }
.committee-card p { color: var(--muted); font-size: .67rem; line-height: 1.6; }
.contact-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-page-card { min-height: 280px; padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.contact-page-card > i { color: var(--red); font-size: 1.8rem; }
.contact-page-card > span { display: block; margin-top: 24px; color: var(--muted); font-size: .59rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-page-card h2 { margin: 6px 0 12px; color: var(--navy); font-size: 1.05rem; }
.contact-page-card p { min-height: 82px; color: var(--muted); font-size: .7rem; line-height: 1.7; }
.contact-page-card a { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-size: .68rem; font-weight: 700; word-break: break-word; }
.contact-note { display: flex; align-items: flex-start; gap: 16px; margin-top: 22px; padding: 22px; border-radius: var(--radius); color: #fff; background: var(--navy); }
.contact-note > i { color: var(--gold); font-size: 1.3rem; }
.contact-note h2 { margin-bottom: 4px; font-size: .9rem; }
.contact-note p { color: rgba(255,255,255,.72); font-size: .68rem; line-height: 1.6; }

/* ---------------------------------------------------------- Footer --- */
.site-footer { color: rgba(255, 255, 255, .75); background: var(--navy-900); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.2fr; gap: 44px; padding: 56px 0 42px; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: #fff; }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.footer-brand strong { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.footer-grid > div:first-child > p { max-width: 320px; margin: 16px 0 18px; font-size: .74rem; line-height: 1.8; }
.social-links { display: flex; gap: 8px; }
.social-links a {
  display: grid; width: 34px; height: 34px; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius);
  color: #fff; font-size: .85rem; transition: .2s;
}
.social-links a:hover { border-color: var(--red); background: var(--red); }
.site-footer h3 {
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, .14);
  color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; transition: color .18s, padding .18s;
}
.footer-links a::before {
  content: "\f285"; font-family: "bootstrap-icons";
  font-size: .6rem; color: var(--red);
}
.footer-links a:hover { color: #fff; padding-left: 3px; }
.footer-contact { display: grid; gap: 14px; font-style: normal; }
.footer-contact p { display: flex; gap: 10px; font-size: .74rem; line-height: 1.7; }
.footer-contact i { color: var(--red); font-size: .9rem; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .12);
  background: var(--purple-900); font-size: .7rem;
}
.footer-bottom > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.back-to-top {
  position: fixed; z-index: 1000; right: 22px; bottom: 22px;
  display: grid; width: 44px; height: 44px; place-items: center;
  border: 0; border-radius: var(--radius);
  color: #fff; background: var(--red); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--purple); }

/* ---------------------------------------------------------- Reveal --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ------------------------------------------------------ Responsive --- */
@media (min-width: 1200px) {
  .navigation-wrap .navbar-nav { width: 100%; justify-content: space-between; }
  .navigation-wrap .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 1399.98px) {
  .navigation-wrap .nav-link { padding: 15px 11px !important; font-size: .73rem; }
}
@media (max-width: 1199.98px) {
  .header-contact { display: none; }
  .navigation-wrap .navbar { padding: 8px 0; }
  .navigation-wrap .navbar-collapse { max-height: calc(100vh - 140px); overflow-y: auto; padding: 8px 0 14px; }
  .navigation-wrap .nav-item { display: block; width: 100%; }
  .navigation-wrap .nav-link,
  .navigation-wrap .nav-item:first-child .nav-link {
    width: 100%; padding: 11px 10px !important; border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .navigation-wrap .dropdown-toggle::after { margin-left: auto; }
  .navigation-wrap .dropdown-menu {
    position: static !important; width: 100%; transform: none !important;
    border-top-width: 2px;
  }
  .nav-cta { margin-top: 12px; width: fit-content; }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-link { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .about-layout { grid-template-columns: 1fr; }
  .about-layout > .section-heading,
  .about-main,
  .side-stack { grid-column: 1; grid-row: auto; }
  .programme-grid, .mentor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestone-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .milestone-intro { padding-right: 0; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; gap: 34px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  .section { padding: 50px 0; }
  .milestone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { height: 460px; }
  .hero-copy { width: min(100%, 560px); padding: 26px 28px; }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-main-image { height: 260px; }
  .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principal-photo {
    float: none; width: 100%; margin: 0; padding: 30px 22px;
    border-bottom: 1px solid var(--line-soft);
  }
  .principal-photo > img { width: 180px; height: 180px; min-height: 0; }
  .principal-message { padding: 32px 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-main { grid-column: 1 / -1; grid-row: auto; }
  .admission-card { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
}
@media (max-width: 767.98px) {
  html { scroll-padding-top: 80px; }
  .site-container { width: min(100% - 24px, var(--container)); }
  .utility-inner { min-height: 34px; flex-direction: column; justify-content: center; gap: 3px; padding: 6px 0; }
  .utility-access { flex-wrap: wrap; justify-content: center; gap: 2px 4px; }
  .utility-sep { display: none; }
  .utility-action { min-height: 24px; padding: 2px 5px; font-size: .62rem; }
  .utility-font-controls { font-size: .62rem; }
  .font-size-control { width: 24px; height: 24px; }
  .utility-social { padding: 2px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .utility-social a { width: 24px; height: 24px; }
  .brand-inner { justify-content: center; padding: 14px 0; text-align: center; }
  .brand { flex-direction: column; gap: 8px; }
  .brand img { width: 64px; height: 64px; }
  .brand-copy { width: 100%; align-items: center; gap: 2px; }
  .brand-government { justify-content: center; font-size: .6rem; }
  .brand-name-hindi { font-size: clamp(1.2rem, 3.5vw, 1.45rem); }
  .brand-name-english { max-width: 540px; font-size: .7rem; }
  .brand-badges { justify-content: center; gap: 6px; }
  .section { padding: 42px 0; }
  .campus-announcement > div { min-height: 38px; justify-content: center; text-align: center; font-size: .66rem; }
  .campus-announcement a { display: none; }
  .hero { height: 470px; }
  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(2, 20, 46, .2) 0%,
      rgba(4, 51, 112, .4) 48%,
      rgba(2, 20, 46, .78) 100%
    );
  }
  .hero-caption { align-items: flex-end; padding-bottom: 54px; }
  .hero-copy { width: 100%; padding: 22px 20px; border-left-width: 4px; }
  .hero h1, .hero h2 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .hero-copy > p { font-size: .75rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { flex: 1 1 auto; min-height: 42px; padding: 0 14px; font-size: .7rem; }
  .quick-links-grid { grid-template-columns: 1fr; }
  .quick-link { padding: 16px 18px; }
  .notice-inner { grid-template-columns: auto 1fr; gap: 12px; }
  .notice-control { display: none; }
  .side-stack { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .programme-grid, .facility-grid { grid-template-columns: 1fr; }
  .mentor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .testimonial-slide { flex-basis: 100%; }
  .testimonial-card { padding: 24px 22px; }
  .testimonial-controls { padding-right: 54px; }
  .milestone-grid { grid-template-columns: 1fr 1fr; }
  .milestone { min-height: 185px; padding: 24px 16px; }
  .mentor-image { height: clamp(145px, 45vw, 175px); padding: 12px 8px; }
  .mentor-image img {
    width: clamp(104px, 34vw, 132px); height: clamp(104px, 34vw, 132px);
    padding: 4px; border-width: 2px;
  }
  .mentor-copy { padding: 14px 8px; }
  .mentor-copy h3 { font-size: .82rem; line-height: 1.3; }
  .mentor-copy p { font-size: .6rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 210px); }
  .gallery-main { grid-column: auto; }
  .gallery-lightbox .modal-dialog { max-width: calc(100% - 18px); margin: 9px auto; }
  .gallery-lightbox-stage { min-height: 58vh; padding: 10px; }
  .gallery-lightbox-stage img { max-width: 100%; max-height: 54vh; }
  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    position: absolute; z-index: 2; top: 50%; width: 42px; height: 42px;
    border-color: rgba(255, 255, 255, .55); transform: translateY(-50%);
  }
  .gallery-lightbox-prev { left: 14px; }
  .gallery-lightbox-next { right: 14px; }
  .gallery-lightbox-prev:hover,
  .gallery-lightbox-next:hover { transform: translateY(-50%) scale(1.04); }
  .gallery-lightbox-header,
  .gallery-lightbox-footer { padding: 12px 14px; }
  .gallery-lightbox-header h2,
  .gallery-lightbox-footer small { display: none; }
  .principal-message { padding: 28px 22px; }
  .principal-photo > img { width: 166px; height: 166px; }
  .admission-card { padding: 32px 22px; }
  .admission-actions { width: 100%; }
  .admission-actions .button { flex: 1 1 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 42px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom > div { flex-direction: column; gap: 5px; text-align: center; }
}
@media (max-width: 480px) {
  .brand-government { flex-direction: column; gap: 1px; }
  .brand-government-divider { display: none; }
  .milestone-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { grid-column: auto !important; }
  .admission-actions { flex-direction: column; }
}
@media (max-width: 1199.98px) {
  .institute-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .institute-value { min-height: 230px; }
}
@media (max-width: 991.98px) {
  .page-hero { min-height: 300px; }
  .about-page-grid,
  .about-campus-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-page-media { width: min(100%, 720px); min-height: 410px; }
  .about-page-media > img { height: 380px; }
  .about-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-fact:nth-child(2) { border-right: 0; }
  .about-fact:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .about-campus-gallery { width: min(100%, 720px); }
  .about-page-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .page-hero { min-height: 285px; }
  .page-hero-inner { padding-block: 42px; }
  .breadcrumb-list { margin-bottom: 22px; }
  .page-hero h1 { font-size: clamp(1.45rem, 6.2vw, 1.9rem); }
  .page-hero p { font-size: .76rem; }
  .about-page-media { min-height: 330px; padding: 0 22px 28px 0; }
  .about-page-media > img { height: 305px; }
  .about-page-image-accent { width: 150px; min-height: 94px; bottom: 8px; border-width: 4px; }
  .about-page-image-accent strong { font-size: 1.65rem; }
  .about-page-copy > p { font-size: .75rem; line-height: 1.8; }
  .about-page-highlights { gap: 6px; }
  .about-page-highlights span { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .about-facts-section { padding: 20px 0; }
  .about-fact { min-height: 105px; flex-direction: column; gap: 7px; padding: 13px 8px; text-align: center; }
  .about-fact > i { width: 40px; height: 40px; font-size: 1rem; }
  .about-fact strong { font-size: 1.2rem; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .purpose-card { min-height: 0; padding: 28px 24px; }
  .purpose-card h3 { font-size: 1.18rem; }
  .institute-values-grid { grid-template-columns: 1fr; }
  .institute-value { min-height: 0; }
  .about-campus-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 215px 130px; gap: 8px; }
  .about-campus-gallery-main { grid-column: 1 / -1; grid-row: auto; }
  .about-page-cta-inner > div:last-child { width: 100%; flex-wrap: wrap; }
  .about-page-cta-inner .button { flex: 1 1 180px; }
}
@media (max-width: 480px) {
  .about-page-highlights span { flex-basis: 100%; }
  .about-page-cta-inner > div:last-child { flex-direction: column; }
  .about-page-cta-inner .button { width: 100%; flex-basis: auto; }
}
@media (max-width: 1199.98px) {
  .inner-card-grid, .faculty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .committee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .inner-overview-grid, .policy-layout { grid-template-columns: 1fr; gap: 36px; }
  .inner-page-media { width: min(100%, 720px); min-height: 390px; }
  .inner-page-media img { height: 356px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .contact-page-card { min-height: 0; }
  .contact-page-card p { min-height: 0; }
  .document-panel { grid-template-columns: auto 1fr; }
  .document-panel > .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 767.98px) {
  .inner-card-grid, .inner-card-grid-three, .faculty-grid, .committee-grid, .mou-grid { grid-template-columns: 1fr; }
  .faculty-card.faculty-lead { grid-column: auto; }
  .inner-band-grid { grid-template-columns: 1fr; }
  .inner-band article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .inner-band article:last-child { border-bottom: 0; }
  .checklist-grid, .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .inner-info-card { min-height: 0; }
  .document-panel { grid-template-columns: 1fr; padding: 28px 22px; }
  .document-panel > .button { grid-column: auto; justify-self: stretch; }
  .document-panel-icon { width: 64px; height: 64px; font-size: 1.45rem; }
  .inner-page-media { min-height: 320px; padding: 0 22px 28px 0; }
  .inner-page-media img { height: 300px; }
  .inner-page-media > span { width: 72px; height: 72px; font-size: 1.35rem; }
  .feature-image img { height: 240px; }
  .inner-table-card { padding: 20px 16px; }
  .inner-table-card table { min-width: 620px; }
  .button-row .button { flex: 1 1 180px; }
}
@media (max-width: 480px) {
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; flex-basis: auto; }
  .faculty-card { align-items: flex-start; }
}

/* ---------------------------------------- Reference-style inner pages --- */
.reference-page-section { padding: 54px 0 70px; background: var(--surface); }
.reference-page-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 34px; }
.reference-page-layout-full { grid-template-columns: minmax(0, 1fr); }
.reference-sidebar { position: sticky; top: 92px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.reference-sidebar-heading { display: flex; align-items: center; gap: 13px; padding: 20px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple)); }
.reference-sidebar-heading > i { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--gold); font-size: 1rem; }
.reference-sidebar-heading span { display: block; margin-bottom: 2px; color: rgba(255,255,255,.62); font-size: .55rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.reference-sidebar-heading h2 { font-size: .9rem; line-height: 1.35; }
.reference-sidebar-links { padding: 8px; }
.reference-sidebar-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 43px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .68rem; font-weight: 600; line-height: 1.4; transition: var(--transition); }
.reference-sidebar-links a:last-child { border-bottom: 0; }
.reference-sidebar-links a i { color: var(--muted); font-size: .62rem; }
.reference-sidebar-links a:hover, .reference-sidebar-links a.active { border-radius: 6px; color: #fff; background: var(--red); }
.reference-sidebar-links a:hover i, .reference-sidebar-links a.active i { color: #fff; }
.reference-sidebar-help { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; color: #fff; background: var(--navy); }
.reference-sidebar-help > i { margin-bottom: 12px; color: var(--gold); font-size: 1.45rem; }
.reference-sidebar-help span { color: rgba(255,255,255,.66); font-size: .59rem; }
.reference-sidebar-help strong { margin: 3px 0 11px; font-size: .86rem; }
.reference-sidebar-help a { color: #fff; font-size: .63rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.reference-page-content { min-width: 0; }
.reference-content-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.reference-content-card + .reference-content-card { margin-top: 22px; }
.reference-content-heading { margin-bottom: 24px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.reference-content-heading span { display: block; margin-bottom: 5px; color: var(--red); font-size: .59rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.reference-content-heading h2 { color: var(--navy); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.35; }
.reference-content-heading p { margin-top: 8px; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.reference-prose p { margin-bottom: 13px; color: var(--muted); font-size: .82rem; line-height: 1.85; }
.reference-prose p:last-child { margin-bottom: 0; }
.reference-table { width: 100%; min-width: 680px; margin: 0; border-collapse: collapse; }
.reference-table th { padding: 12px 14px; border: 1px solid rgba(255,255,255,.16); color: #fff; background: var(--navy); font-size: .68rem; font-weight: 700; line-height: 1.45; text-align: left; text-transform: uppercase; }
.reference-table td { padding: 12px 14px; border: 1px solid var(--line); color: var(--muted); background: #fff; font-size: .75rem; line-height: 1.55; vertical-align: top; }
.reference-table tbody tr:nth-child(even) td { background: var(--surface); }
.reference-table a { color: var(--purple); font-weight: 700; }
.faculty-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faculty-staff-section { scroll-margin-top: 120px; }
.faculty-staff-section + .faculty-staff-section { margin-top: 22px; }
.faculty-profile-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #dce3ed; border-top: 4px solid var(--red); border-radius: 0; background: #fff; box-shadow: 0 8px 24px rgba(4,51,112,.07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.faculty-profile-card:hover { border-color: rgba(190,30,45,.35); box-shadow: 0 15px 34px rgba(4,51,112,.13); transform: translateY(-4px); }
.faculty-profile-top { position: relative; display: flex; min-height: 132px; align-items: center; gap: 18px; padding: 18px 52px 18px 20px; overflow: hidden; background: linear-gradient(120deg, #eef3fa 0%, #faf6fb 100%); }
.faculty-profile-top::after { position: absolute; right: -48px; bottom: -70px; width: 155px; height: 155px; border: 24px solid rgba(106,44,112,.055); border-radius: 50%; content: ""; }
.faculty-profile-number { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; min-width: 34px; height: 25px; place-items: center; padding: 0 8px; border-radius: 20px; color: #fff; background: var(--navy); font-size: .5rem; font-weight: 800; letter-spacing: .08em; }
.faculty-profile-avatar { position: relative; z-index: 1; display: grid; flex: 0 0 96px; width: 96px; height: 96px; place-items: center; overflow: hidden; border: 5px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--navy), var(--purple)); box-shadow: 0 9px 22px rgba(4,51,112,.2); font-family: var(--font-heading); font-size: 1.48rem; font-weight: 800; }
.faculty-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.faculty-profile-identity { position: relative; z-index: 1; min-width: 0; }
.faculty-profile-identity > span { display: block; margin-bottom: 5px; color: var(--purple); font-size: .48rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.faculty-profile-identity h3 { color: var(--navy); font-size: .88rem; line-height: 1.35; }
.faculty-profile-role { display: inline-flex; min-height: 24px; align-items: center; margin-top: 8px; padding: 4px 10px; border: 1px solid rgba(190,30,45,.12); border-radius: 5px; color: var(--red); background: #fff; font-size: .53rem; font-weight: 800; line-height: 1.3; }
.faculty-profile-body { padding: 13px 15px; }
.faculty-profile-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.faculty-profile-meta > div { display: flex; min-width: 0; min-height: 57px; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); font-size: .66rem; font-weight: 650; line-height: 1.4; }
.faculty-profile-meta i { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; border-radius: 8px; color: #fff; background: var(--purple); font-size: .68rem; }
.faculty-profile-meta > div:first-child i { background: var(--navy); }
.faculty-profile-meta span { min-width: 0; }
.faculty-profile-meta small { display: block; margin-bottom: 2px; color: var(--muted); font-size: .51rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.faculty-profile-contact { display: grid; grid-template-columns: .78fr 1.22fr; border-top: 1px solid var(--line); }
.faculty-profile-contact a { display: flex; min-width: 0; min-height: 48px; align-items: center; gap: 8px; padding: 8px 13px; color: var(--navy); font-size: .68rem; font-weight: 700; line-height: 1.35; transition: var(--transition); }
.faculty-profile-contact a + a { border-left: 1px solid var(--line); }
.faculty-profile-contact a:hover { color: #fff; background: var(--red); }
.faculty-profile-contact i { display: grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: var(--red); background: rgba(190,30,45,.08); font-size: .65rem; }
.faculty-profile-contact a:hover i { color: var(--red); background: #fff; }
.faculty-profile-contact span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.faculty-profile-contact small { display: block; margin-bottom: 2px; color: var(--muted); font-size: .49rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.faculty-profile-contact a:hover small { color: rgba(255,255,255,.72); }
.reference-empty { display: grid; min-height: 220px; place-items: center; padding: 32px; border: 1px dashed #cbd5e1; border-radius: var(--radius); text-align: center; background: #fff; }
.reference-empty i { color: var(--red); font-size: 2rem; }
.reference-empty h2 { margin: 13px 0 5px; color: var(--navy); font-size: 1.05rem; }
.reference-empty p { max-width: 480px; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.committee-accordion { display: grid; gap: 12px; }
.committee-accordion .accordion-item { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.committee-accordion .accordion-button { color: #fff; background: var(--navy); font-size: .78rem; font-weight: 700; box-shadow: none; }
.committee-accordion .accordion-button:not(.collapsed) { color: #fff; background: var(--purple); }
.committee-accordion .accordion-button::after { filter: brightness(0) invert(1); }
.committee-member-table { min-width: 620px; }
.reference-resource-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 5px; color: #fff !important; background: var(--purple); white-space: nowrap; }
.alumni-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.alumni-profile-card { display: grid; grid-template-columns: 130px 1fr; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--red); background: #fff; box-shadow: 0 8px 24px rgba(4,51,112,.07); }
.alumni-profile-card > img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.alumni-profile-card > div { padding: 18px; }
.alumni-profile-card span { color: var(--red); font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.alumni-profile-card h3 { margin: 5px 0; color: var(--navy); font-size: .9rem; }
.alumni-profile-card p { color: var(--muted); font-size: .67rem; line-height: 1.5; }
.alumni-profile-card dl { display: grid; gap: 7px; margin: 14px 0 0; }
.alumni-profile-card dl > div { display: grid; grid-template-columns: 55px 1fr; gap: 7px; font-size: .62rem; }
.alumni-profile-card dt { color: var(--navy); }.alumni-profile-card dd { margin: 0; overflow-wrap: anywhere; color: var(--muted); }
.reference-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.reference-course-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(4,51,112,.06); }
.reference-course-icon { display: grid; height: 116px; place-items: center; color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple)); font-size: 2.25rem; }
.reference-course-image { height: 150px; background: var(--navy); }
.reference-course-image img { width: 100%; height: 100%; object-fit: cover; }
.reference-course-card:nth-child(2) .reference-course-icon, .reference-course-card:nth-child(5) .reference-course-icon { background: linear-gradient(135deg, var(--red), #9b1c37); }
.reference-course-card > div:last-child { padding: 19px; }
.reference-course-card h3 { min-height: 44px; color: var(--navy); font-size: .78rem; line-height: 1.45; }
.reference-course-card p { margin-bottom: 13px; color: var(--muted); font-size: .7rem; line-height: 1.6; }
.reference-course-card ul { display: grid; gap: 7px; }
.reference-course-card li { display: flex; gap: 7px; color: var(--muted); font-size: .71rem; line-height: 1.45; }
.reference-course-card li i { color: var(--red); }
.reference-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.reference-form .full-width { grid-column: 1 / -1; }
.reference-form label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .71rem; font-weight: 700; }
.reference-form .form-control, .reference-form .form-select { min-height: 43px; border-color: var(--line); border-radius: 6px; color: var(--ink); font-size: .76rem; }
.reference-form textarea.form-control { min-height: 110px; }
.reference-form-check { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .72rem; }
.reference-form-actions { grid-column: 1 / -1; }
.form-field-error { display: block; margin-top: 5px; color: #b42318; font-size: .62rem; font-weight: 600; line-height: 1.45; }
.reference-form .form-control.is-invalid, .reference-form .form-select.is-invalid { border-color: #b42318; background-image: none; }
.declaration-check { margin-bottom: 0 !important; }
.form-captcha-field > label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .68rem; font-weight: 800; }
.form-captcha-field > label span { color: var(--red); }
.form-captcha-row { display: grid; grid-template-columns: minmax(120px, .45fr) minmax(180px, 1fr); gap: 10px; }
.form-captcha-code { display: grid; min-height: 45px; place-items: center; border: 1px dashed var(--purple); color: var(--navy); background: repeating-linear-gradient(-45deg, rgba(106,44,112,.08), rgba(106,44,112,.08) 8px, rgba(255,255,255,.8) 8px, rgba(255,255,255,.8) 16px); font-size: 1.05rem; font-weight: 800; letter-spacing: .28em; user-select: none; }
.form-captcha-row .form-control { min-height: 45px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: .74rem; }
.form-captcha-field > small { display: block; margin-top: 6px; color: var(--muted); font-size: .58rem; }
.site-toast { position: fixed; right: 22px; bottom: 22px; z-index: 2100; display: grid; width: min(390px, calc(100vw - 32px)); grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 14px 15px; border-left: 4px solid currentColor; color: #fff; background: var(--navy); box-shadow: 0 18px 42px rgba(3,23,57,.25); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.site-toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.site-toast > i { color: currentColor; font-size: 1rem; }
.site-toast > span { font-size: .68rem; font-weight: 600; line-height: 1.5; }
.site-toast button { display: grid; width: 28px; height: 28px; place-items: center; border: 0; color: rgba(255,255,255,.8); background: transparent; cursor: pointer; }
.site-toast-success { color: #67e49a; }
.site-toast-error { color: #ff8f87; }
.reference-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.reference-gallery-grid a { position: relative; height: 210px; overflow: hidden; border-radius: var(--radius); }
.reference-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.reference-gallery-grid a:hover img { transform: scale(1.06); }
.gallery-filter-tabs {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 24px 0 28px; flex-wrap: wrap;
}
.gallery-filter-tabs button {
  display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--navy);
  background: #fff; font: inherit; font-size: .72rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
}
.gallery-filter-tabs button:hover,
.gallery-filter-tabs button:focus-visible,
.gallery-filter-tabs button.active {
  border-color: var(--navy); color: #fff; background: var(--navy); transform: translateY(-2px);
}
.gallery-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-catalog-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-soft); transition: var(--transition);
}
.gallery-catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-catalog-card[hidden] { display: none; }
.gallery-catalog-image,
.gallery-video-frame { position: relative; display: block; height: 220px; overflow: hidden; background: #071a34; }
.gallery-catalog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-catalog-image:hover img { transform: scale(1.06); }
.gallery-catalog-image > span {
  position: absolute; right: 14px; bottom: 14px; display: grid; width: 38px; height: 38px;
  place-items: center; border-radius: 50%; color: #fff; background: var(--red);
}
.gallery-video-frame iframe { width: 100%; height: 100%; border: 0; }
.gallery-catalog-content { padding: 16px 18px 18px; }
.gallery-type-label {
  display: inline-flex; align-items: center; gap: 6px; color: var(--red);
  font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.gallery-catalog-content h3 { margin: 8px 0 0; color: var(--navy); font-size: .98rem; line-height: 1.45; }
.gallery-catalog-content a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--navy); font-size: .7rem; font-weight: 700; }
.gallery-catalog-content a:hover { color: var(--red); }
.gallery-filter-empty {
  padding: 34px; border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--muted); background: var(--surface); text-align: center;
}
.reference-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.reference-contact-card { padding: 23px; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); background: #fff; }
.reference-contact-card i { color: var(--red); font-size: 1.4rem; }
.reference-contact-card h3 { margin: 14px 0 7px; color: var(--navy); font-size: .82rem; }
.reference-contact-card p, .reference-contact-card a { color: var(--muted); font-size: .74rem; line-height: 1.65; }
.contact-page-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-detail-card { position: relative; display: flex; min-width: 0; gap: 16px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--red); background: #fff; box-shadow: 0 8px 24px rgba(4,51,112,.06); }
.contact-detail-card::after { position: absolute; right: -32px; bottom: -46px; width: 105px; height: 105px; border: 17px solid rgba(106,44,112,.04); border-radius: 50%; content: ""; }
.contact-detail-icon { position: relative; z-index: 1; display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple)); box-shadow: 0 8px 18px rgba(4,51,112,.16); font-size: 1rem; }
.contact-detail-card > div:last-child { position: relative; z-index: 1; min-width: 0; }
.contact-detail-card span { display: block; margin-bottom: 4px; color: var(--red); font-size: .5rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-detail-card h2 { margin-bottom: 7px; color: var(--navy); font-size: .84rem; line-height: 1.35; }
.contact-detail-card p, .contact-detail-card a { color: var(--ink); font-size: .72rem; font-weight: 600; line-height: 1.65; overflow-wrap: anywhere; }
.contact-detail-card a:hover { color: var(--red); }
.contact-detail-card small { display: block; margin-top: 5px; color: var(--muted); font-size: .57rem; line-height: 1.45; }
.contact-page-main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: stretch; gap: 22px; margin-top: 22px; }
.contact-form-card, .contact-map-card { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 30px rgba(4,51,112,.07); }
.contact-form-card { padding: 28px; border-top: 4px solid var(--red); }
.contact-section-heading { margin-bottom: 23px; }
.contact-section-heading > span, .contact-map-heading span { display: block; margin-bottom: 5px; color: var(--red); font-size: .51rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-section-heading h2, .contact-map-heading h2 { color: var(--navy); font-size: 1.18rem; line-height: 1.35; }
.contact-section-heading p { max-width: 620px; margin-top: 7px; color: var(--muted); font-size: .72rem; line-height: 1.65; }
.contact-inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form-field { min-width: 0; }
.contact-form-field-full, .contact-form-submit { grid-column: 1 / -1; }
.contact-form-field label { display: block; margin-bottom: 7px; color: var(--navy); font-size: .66rem; font-weight: 800; }
.contact-form-field label span { color: var(--red); }
.contact-form-control { display: flex; min-height: 45px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #d7deea; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form-control:focus-within { border-color: var(--purple); background: #fff; box-shadow: 0 0 0 3px rgba(106,44,112,.08); }
.contact-form-control > i { flex: 0 0 auto; color: var(--purple); font-size: .76rem; }
.contact-form-control input, .contact-form-control select, .contact-form-control textarea { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-family: inherit; font-size: .7rem; }
.contact-form-control:has(.is-invalid) { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180,35,24,.08); }
.contact-form-control input, .contact-form-control select { min-height: 43px; }
.contact-form-control input::placeholder, .contact-form-control textarea::placeholder { color: #8a94a5; opacity: 1; }
.contact-form-control select { cursor: pointer; }
.contact-form-message { align-items: flex-start; padding-top: 12px; }
.contact-form-control textarea { min-height: 115px; resize: vertical; line-height: 1.6; }
.contact-form-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 3px; }
.contact-form-submit button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 0; color: #fff; background: var(--red); font-family: inherit; font-size: .62rem; font-weight: 800; cursor: pointer; transition: var(--transition); }
.contact-form-submit button:hover { background: var(--purple); transform: translateY(-2px); }
.contact-form-submit p { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .56rem; line-height: 1.45; }
.contact-form-submit p i { color: #198754; font-size: .75rem; }
.contact-map-card { display: flex; min-height: 560px; flex-direction: column; }
.contact-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px; border-bottom: 1px solid var(--line); }
.contact-map-heading a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; color: var(--red); font-size: .54rem; font-weight: 800; }
.contact-map-heading a:hover { color: var(--purple); }
.contact-map-card iframe { width: 100%; min-height: 390px; flex: 1; border: 0; }
.contact-map-address { display: flex; align-items: center; gap: 12px; padding: 15px 20px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple)); }
.contact-map-address > i { color: var(--gold); font-size: 1rem; }
.contact-map-address strong, .contact-map-address span { display: block; }
.contact-map-address strong { font-size: .68rem; }
.contact-map-address span { margin-top: 2px; color: rgba(255,255,255,.7); font-size: .57rem; }
.reference-policy-box { padding: 26px; border-left: 4px solid var(--red); border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple)); }
.reference-policy-box h2 { margin-bottom: 10px; font-size: 1.15rem; }
.reference-policy-box p { color: rgba(255,255,255,.78); font-size: .82rem; line-height: 1.8; }
.reference-list { display: grid; gap: 10px; padding-left: 0; counter-reset: item; }
.reference-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: .78rem; line-height: 1.65; counter-increment: item; }
.reference-list li::before { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; background: var(--red); content: counter(item); font-size: .58rem; font-weight: 700; }
.reference-link-button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; margin-top: 18px; padding: 0 18px; border-radius: 5px; color: #fff; background: var(--red); font-size: .74rem; font-weight: 700; }
.reference-link-button:hover { color: #fff; background: var(--purple); }
@media (max-width: 991.98px) {
  .reference-page-layout { grid-template-columns: 1fr; }
  .reference-sidebar { position: static; }
  .reference-sidebar-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .reference-sidebar-links a { border: 1px solid var(--line); border-radius: 6px; }
  .reference-sidebar-help { display: none; }
  .reference-course-grid, .reference-contact-grid, .faculty-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-page-main { grid-template-columns: 1fr; }
  .contact-map-card { min-height: 500px; }
}
@media (max-width: 767.98px) {
  .reference-page-section { padding: 36px 0 48px; }
  .reference-page-layout { gap: 24px; }
  .reference-content-card { padding: 22px 18px; }
  .reference-course-grid, .reference-contact-grid, .reference-form, .faculty-profile-grid { grid-template-columns: 1fr; }
  .reference-form .full-width, .reference-form-actions { grid-column: auto; }
  .reference-gallery-grid { grid-template-columns: 1fr 1fr; }
  .reference-gallery-grid a { height: 170px; }
  .gallery-catalog-grid { grid-template-columns: 1fr 1fr; }
  .contact-page-details, .contact-inquiry-form { grid-template-columns: 1fr; }
  .contact-form-field-full, .contact-form-submit { grid-column: auto; }
  .contact-form-card { padding: 22px 18px; }
  .contact-form-submit { align-items: flex-start; flex-direction: column; }
  .contact-map-card { min-height: 460px; }
  .alumni-profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .form-captcha-row { grid-template-columns: 1fr; }
  .site-toast { right: 16px; bottom: 16px; }
  .reference-sidebar-links { grid-template-columns: 1fr; }
  .reference-gallery-grid { grid-template-columns: 1fr; }
  .reference-gallery-grid a { height: 210px; }
  .alumni-profile-card { grid-template-columns: 1fr; }
  .alumni-profile-card > img { height: 240px; }
  .gallery-filter-tabs { justify-content: flex-start; }
  .gallery-filter-tabs button { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 0 10px; }
  .gallery-catalog-grid { grid-template-columns: 1fr; }
  .gallery-catalog-image,
  .gallery-video-frame { height: 215px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
