@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');
/* ==========================================================================
   PRASEN AN EDUCATION CENTRE — Master Stylesheet
   Your Success is Our Aim · Since 2012
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  --navy: #0A2540;
  --navy-700: #123A63;
  --blue: #1A5FB4;
  --blue-600: #164E93;
  --gold: #F5A524;
  --gold-600: #D98C0B;
  --teal: #0E9AA7;
  --ink: #0F2138;
  --body: #4A5C72;
  --muted: #7A8AA0;
  --line: #E4EAF2;
  --soft: #F5F8FC;
  --soft-2: #EDF3FA;
  --white: #FFFFFF;
  --wa: #25D366;

  --f-display: 'Poppins', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-head: 'Montserrat', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 14px rgba(10, 37, 64, .06);
  --sh-2: 0 10px 30px rgba(10, 37, 64, .10);
  --sh-3: 0 22px 60px rgba(10, 37, 64, .16);

  --wrap: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color .25s var(--ease);
}

a:hover {
  color: var(--gold-600);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
}

h1 {
  font-size: clamp(2.05rem, 1.35rem + 2.9vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
}

h4 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: clamp(48px, 6vw, 80px) 0;
}

#admission-page .section {
  padding: clamp(28px, 3.5vw, 46px) 0;
}

.section--soft {
  background: var(--soft);
}

.section--navy {
  background: var(--navy);
  color: #C9D8EA;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

.sec-head {
  max-width: 760px;
  margin: 0 auto clamp(28px, 3.5vw, 46px);
  text-align: center;
}

.sec-head--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--soft-2);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.section--navy .eyebrow {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: var(--gold);
}

.sec-head p {
  color: var(--body);
  font-size: 1.03rem;
  margin-top: 16px;
}

.section--navy .sec-head p {
  color: #B9CBE0;
}

.grid {
  display: grid;
  gap: 24px;
}

.g-2 {
  grid-template-columns: repeat(2, 1fr);
}

.g-3 {
  grid-template-columns: repeat(3, 1fr);
}

.g-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(245, 165, 36, .34);
}

.btn-gold:hover {
  background: var(--gold-600);
  color: #fff;
  box-shadow: 0 14px 30px rgba(245, 165, 36, .42);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(26, 95, 180, .30);
}

.btn-blue:hover {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 14px 30px rgba(26, 95, 180, .38);
}

.btn-wa {
  background: var(--wa);
  color: #06331A;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .32);
}

.btn-wa:hover {
  background: #1DBF5A;
  color: #04220F;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-outline {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-sm {
  padding: 10px 20px;
  font-size: .86rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-row--center {
  justify-content: center;
}

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--navy);
  color: #B8CADF;
  font-size: .82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  min-height: 40px;
}

.topbar a {
  color: #D6E3F2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar a:hover {
  color: var(--gold);
}

.topbar .tb-since {
  margin-left: auto;
  color: #8FA6C0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}

.site-header.is-stuck {
  box-shadow: var(--sh-2);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy), var(--blue));
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.02rem;
  display: grid;
  place-items: center;
  letter-spacing: .5px;
  box-shadow: 0 6px 16px rgba(10, 37, 64, .28);
}

img.brand-mark {
  object-fit: contain;
  background: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-text strong {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--navy);
  letter-spacing: -.2px;
}

.brand-text span {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .64rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .84rem;
  color: var(--navy);
  padding: 10px 12px;
  border-radius: var(--r-sm);
  position: relative;
  white-space: nowrap;
  letter-spacing: .01em;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
  border-radius: 2px;
}

.primary-nav a:hover {
  color: var(--blue);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.primary-nav a.is-active {
  color: var(--blue);
}

.primary-nav .nav-cta {
  margin-left: 10px;
  color: var(--navy);
  padding: 11px 22px;
}

.primary-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav-toggle span+span {
  margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #DCE8F6;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(26, 95, 180, .55), transparent 62%),
    radial-gradient(760px 420px at 92% 8%, rgba(245, 165, 36, .22), transparent 60%),
    linear-gradient(160deg, #071B31 0%, var(--navy) 48%, #0D2E52 100%);
  padding: clamp(15px, 2.5vw, 30px) 0 clamp(72px, 8vw, 110px);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 72%);
}

.hero>.container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 3.5vw, 50px);
  align-items: center;
}

.hero-since {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 165, 36, .12);
  border: 1px solid rgba(245, 165, 36, .34);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  margin: 0;
  line-height: 1.15;
}

.hero h1 .accent {
  display: block;
  background: linear-gradient(92deg, var(--gold) 0%, #FFD98A 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tag {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(1rem, .9rem + .5vw, 1.3rem);
  color: #F0D9AC;
  margin: 12px 0 16px 0;
  letter-spacing: .01em;
}

.hero p.lede {
  color: #B7CBE2;
  font-size: 1.04rem;
  max-width: 60ch;
  margin: 0 0 24px 0;
}

.hero .btn-row {
  margin-top: 0;
  margin-bottom: 28px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 8px;
}

.hero-chips span {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .76rem;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #D6E5F6;
}

.hero-image-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  aspect-ratio: 1079 / 567;
  height: auto;
  display: block;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-admission-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px clamp(20px, 3vw, 36px);
  box-shadow: var(--sh-3);
  margin-top: 40px;
  position: relative;
  z-index: 10;
  margin-bottom: -64px;
}

.admission-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
}

.admission-title-block {
  flex-shrink: 0;
  min-width: 170px;
}

.admission-eyebrow {
  display: block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
  white-space: nowrap;
}

.admission-session {
  margin: 0;
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.admission-programmes {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admission-label {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admission-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.admission-inline-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
}

.admission-inline-list .num {
  width: 22px;
  height: 22px;
  background: var(--soft-2);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.admission-action .btn {
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .hero-image-wrap {
    height: auto;
    aspect-ratio: 1079 / 567;
  }

  .hero-admission-card {
    margin-bottom: 0;
    margin-top: 30px;
  }

  .admission-card-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 20px;
  }

  .admission-programmes {
    align-items: center;
  }

  .admission-inline-list {
    justify-content: center;
    gap: 12px 18px;
  }
}

.admit-card .pulse {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #06331A;
  background: var(--gold);
  padding: 7px 16px;
  border-radius: var(--r-pill);
}

.admit-card h3 {
  color: #fff;
  margin: 16px 0 6px;
  font-size: 1.45rem;
}

.admit-card .sub {
  color: #AFC5DE;
  font-size: .92rem;
  margin-bottom: 18px;
}

.admit-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .15);
  color: #E3EDF9;
  font-size: .95rem;
}

.admit-list li:last-child {
  border-bottom: 0;
}

.admit-list .num {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .78rem;
  background: rgba(245, 165, 36, .18);
  color: var(--gold);
}

.admit-card .btn {
  width: 100%;
  margin-top: 20px;
}

.dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0B3D20;
  position: relative;
}

.dot-pulse::after {
  content: "";
  position: absolute;
  top: -5px; right: -5px; bottom: -5px; left: -5px;
  border-radius: 50%;
  border: 2px solid rgba(11, 61, 32, .5);
  animation: ping 1.8s var(--ease) infinite;
}

@keyframes ping {
  0% {
    transform: scale(.6);
    opacity: 1
  }

  100% {
    transform: scale(1.5);
    opacity: 0
  }
}

/* ---------- 7. Stat Strip ---------- */
.stats {
  background: var(--white);
  /* border-bottom: 1px solid var(--line); */
}

.stats+.section {
  padding-top: clamp(45px, 5vw, 65px);
}

#about-us-section {
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
  margin-top: 45px;
  position: relative;
  z-index: 3;
}

.stat {
  background: #fff;
  padding: 26px 18px;
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  color: var(--navy);
  line-height: 1.1;
}

.stat>span {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.stat b span {
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
}

/* ---------- 8. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
  border-color: #CFDDEE;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--body);
  font-size: .96rem;
}

.num-card {
  position: relative;
  padding-top: 34px;
}

.num-card .idx {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px #C6D6E9;
  display: block;
  margin-bottom: 10px;
}

.num-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 64px;
  border-radius: 0 0 6px 0;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.num-card:hover .idx {
  -webkit-text-stroke-color: var(--gold);
}

.icon-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.icon-card .ic {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--soft-2);
  color: var(--blue);
  font-size: 1.2rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}

.icon-card:hover .ic {
  background: var(--gold);
  color: var(--navy);
}

.icon-card h4 {
  color: var(--ink);
  margin-bottom: 4px;
}

.icon-card p {
  font-size: .92rem;
  margin: 0;
}

/* ---------- 9. Course Cards ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (min-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .course-grid>article:nth-child(1),
  .course-grid>article:nth-child(2),
  .course-grid>article:nth-child(3) {
    grid-column: span 2;
  }

  .course-grid>article:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .course-grid>article:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 1023px) and (min-width: 600px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}

.course-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}



.collapsible-features {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.collapsible-features.is-expanded {
  max-height: 150px;
}

.btn-more-features {
  background: none;
  border: none;
  color: var(--blue);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 4px 0;
  margin-top: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
  align-self: flex-start;
}

.btn-more-features:hover {
  color: var(--gold);
}

.course-card .idx {
  position: absolute;
  right: 16px;
  top: 6px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 3.4rem;
  color: var(--soft-2);
  line-height: 1;
  pointer-events: none;
  opacity: .75;
  z-index: 0;
}

.course-card .cc-tag,
.course-card h3,
.course-card p,
.course-card .grid,
.course-card .btn-row,
.course-card .pill-list {
  position: relative;
  z-index: 1;
}

.course-card .cc-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--soft-2);
  padding: 6px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}

.course-card h3 {
  position: relative;
  z-index: 1;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.pill-list li {
  font-family: var(--f-body);
  font-size: .83rem;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: var(--r-pill);
}

.check-list {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: .92rem;
  color: var(--body);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .34em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1;
}

.sub-head {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 8px;
}

/* ---------- 10. Faculty ---------- */
.faculty-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.faculty-grid>.faculty-card {
  flex: 0 0 calc(25% - 22.5px);
}

@media (max-width: 1023px) and (min-width: 600px) {
  .faculty-grid>.faculty-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 599px) {
  .faculty-grid>.faculty-card {
    flex: 0 0 100%;
  }
}

.faculty-card {
  text-align: center;
  padding: 26px 20px;
}

.fc-photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
  background: linear-gradient(140deg, var(--soft-2), #DCE8F6);
  display: grid;
  place-items: center;
  overflow: visible;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--soft-2), var(--sh-1);
}

.fc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.fc-photo .initials {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--blue);
  letter-spacing: .5px;
}

.fc-idx {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .7rem;
  background: var(--navy);
  color: #fff;
  padding: 3px 11px;
  border-radius: var(--r-pill);
}

.faculty-card h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 14px 0 5px;
}

.faculty-card .subj {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .84rem;
  color: var(--blue);
}

/* ---------- 11. Why Choose / Feature Grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-2);
}

.why-item .tick {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--gold), #FFCB6B);
  color: var(--navy);
  font-weight: 800;
  font-size: .9rem;
}

.why-item strong {
  display: block;
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.45;
}

/* ---------- 12. Motto Band ---------- */
.motto {
  background: linear-gradient(120deg, var(--navy) 0%, #123A63 55%, #0B2A4A 100%);
  color: #fff;
  text-align: center;
  padding: clamp(32px, 4vw, 52px) 0;
  position: relative;
  overflow: hidden;
}

.motto::after {
  content: "";
  position: absolute;
  top: auto; right: -10%; bottom: -60%; left: -10%;
  height: 220px;
  background: radial-gradient(circle, rgba(245, 165, 36, .22), transparent 70%);
}

.motto>.container {
  position: relative;
  z-index: 1;
}

.motto .quote {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem);
  color: #fff;
  letter-spacing: -.02em;
}

.motto .quote em {
  font-style: normal;
  color: var(--gold);
}

.motto .steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 20px;
}

.motto .steps li {
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .8rem;
  color: #CFE0F2;
  display: flex;
  align-items: center;
  gap: 26px;
}

.motto .steps li::after {
  content: "•";
  color: var(--gold);
}

.motto .steps li:last-child::after {
  display: none;
}

/* ---------- 13. Notice ---------- */
.notice-list {
  display: grid;
  gap: 16px;
}

#notice-page .section {
  padding: clamp(24px, 3vw, 42px) 0;
}

#notice-page .notice-list {
  gap: 12px;
}

.notice-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--r);
  padding: 22px 24px;
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.notice-item:hover {
  transform: translateX(4px);
  box-shadow: var(--sh-2);
}

.notice-item.is-new {
  border-left-color: var(--gold);
}

.notice-date {
  text-align: center;
  background: var(--soft);
  border-radius: 12px;
  padding: 10px 6px;
}

.notice-date b {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1;
}

.notice-date span {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.notice-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.notice-body p {
  font-size: .94rem;
  margin: 0;
}

.tag {
  display: inline-block;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--soft-2);
  color: var(--blue);
  margin-bottom: 8px;
}

.tag--new {
  background: rgba(245, 165, 36, .16);
  color: var(--gold-600);
}

.tag--exam {
  background: rgba(14, 154, 167, .14);
  color: var(--teal);
}

/* ---------- 14. Gallery ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-bottom: 32px;
}

.filter-bar button {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .84rem;
  padding: 9px 19px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  transition: all .25s var(--ease);
}

.filter-bar button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-bar button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.gal-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  background: var(--soft-2);
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: block;
  width: 100%;
  padding: 0;
}

.gal-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-2);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  gap: 6px;
  background: linear-gradient(140deg, #E8F0FA, #D7E5F5);
  color: var(--blue);
}

.gal-ph span {
  font-size: 1.9rem;
}

.gal-ph b {
  display: none;
}

.gal-ph span {
  font-size: 2.6rem;
}

.gal-cap {
  position: absolute;
  top: auto; right: 0; bottom: 0; left: 0;
  padding: 26px 16px 13px;
  color: #fff;
  text-align: left;
  background: linear-gradient(transparent, rgba(7, 24, 44, .86));
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .86rem;
}

.lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 300;
  display: none;
  place-items: center;
  background: rgba(6, 18, 32, .92);
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox figure {
  margin: 0;
  max-width: min(1000px, 92vw);
  text-align: center;
}

.lightbox img {
  max-height: 76vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--r);
}

.lightbox .lb-ph {
  width: min(760px, 88vw);
  aspect-ratio: 4/3;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #E8F0FA, #D7E5F5);
  color: var(--blue);
  font-size: 3rem;
}

.lightbox figcaption {
  color: #DCE8F6;
  font-family: var(--f-head);
  font-weight: 600;
  margin-top: 16px;
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
}

.lb-close:hover {
  background: var(--gold);
  color: var(--navy);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
}

.lb-nav:hover {
  background: var(--gold);
  color: var(--navy);
}

.lb-prev {
  left: 18px;
}

.lb-next {
  right: 18px;
}

/* ---------- 15. Reviews ---------- */
.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1rem;
}

.review-card blockquote {
  margin: 0;
  font-size: .97rem;
  color: var(--body);
  line-height: 1.8;
}

.review-card blockquote::before {
  content: "“";
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--soft-2);
  line-height: 0;
  display: block;
  margin-bottom: 14px;
}

.rv-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.rv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft-2);
  color: var(--blue);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9rem;
  flex: 0 0 42px;
}

.rv-person b {
  display: block;
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--ink);
  font-size: .94rem;
}

.rv-person span {
  font-size: .8rem;
  color: var(--muted);
}

/* ---------- 16. Forms ---------- */
.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--sh-2);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .84rem;
  color: var(--ink);
  margin-bottom: 7px;
}

.field .req {
  color: #D7263D;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: .96rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 95, 180, .12);
}

.field input:disabled {
  opacity: .6;
}

.field .err {
  display: none;
  color: #D7263D;
  font-size: .8rem;
  margin-top: 6px;
  font-family: var(--f-head);
  font-weight: 600;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #D7263D;
  background: #FFF6F7;
}

.field.has-error .err {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.form-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 12px;
}

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .9rem;
}

.form-msg.is-ok {
  display: block;
  background: #E9F9EF;
  color: #0B7A3E;
  border: 1px solid #B9E8CC;
}

.form-msg.is-bad {
  display: block;
  background: #FFF1F2;
  color: #B00020;
  border: 1px solid #FBD0D5;
}

/* ---------- 17. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--sh-1);
}

.info-item .ic {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--soft-2);
  color: var(--blue);
  font-size: 1.15rem;
}

.info-item h4 {
  color: var(--ink);
  margin-bottom: 3px;
}

.info-item p,
.info-item a {
  font-size: .94rem;
  color: var(--body);
  margin: 0;
}

.info-item a:hover {
  color: var(--blue);
}

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  line-height: 0;
  background: var(--soft-2);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ---------- 18. CTA Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, #123A63 60%, var(--navy) 100%);
  color: #E6EFFA;
  text-align: center;
  padding: clamp(46px, 5.5vw, 80px) 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #C3D6EB;
  max-width: 60ch;
  margin: 14px auto 0;
}

.cta-band .btn-row {
  margin-top: 28px;
}

/* ---------- 19. Footer ---------- */
.site-footer {
  background: #071B31;
  color: #9DB4CE;
  padding: clamp(46px, 5vw, 72px) 0 0;
  font-size: .93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
}

.site-footer h5 {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}

.site-footer a {
  color: #9DB4CE;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 14px;
  }
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand .brand-text span {
  color: #7E96B2;
}

.footer-brand p {
  margin-top: 16px;
  color: #8FA8C4;
  font-size: .9rem;
  max-width: 34ch;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #CFE0F2;
  font-size: .95rem;
  transition: all .25s var(--ease);
}

.socials a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-contact li {
  display: flex;
  gap: 11px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.footer-contact .ic {
  color: var(--gold);
  flex: 0 0 18px;
}

.site-footer .btn-gold {
  color: var(--navy);
}

.site-footer .btn-gold:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: #7E96B2;
}

/* ---------- 20. Floating Actions ---------- */
.floaties {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.floaties a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: var(--sh-2);
  transition: transform .25s var(--ease);
}

.floaties a:hover {
  transform: scale(1.09);
  color: #fff;
}

.fl-wa {
  background: var(--wa);
  position: relative;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  text-indent: -9em;
}

.fl-wa::before {
  text-indent: 0;
}

.fl-wa::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 27px;
  height: 27px;
  background: #fff;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.96-.94 1.16-.17.2-.35.22-.64.08-.3-.15-1.25-.46-2.39-1.47-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.61-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.06 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.69.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35z'/%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.28-1.38a9.9 9.9 0 0 0 4.76 1.21h.01c5.46 0 9.9-4.45 9.9-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2zm0 18.15h-.01c-1.48 0-2.94-.4-4.21-1.15l-.3-.18-3.13.82.84-3.05-.2-.31a8.2 8.2 0 0 1-1.26-4.37c0-4.54 3.7-8.23 8.25-8.23 2.2 0 4.27.86 5.83 2.42a8.18 8.18 0 0 1 2.41 5.82c0 4.54-3.7 8.23-8.22 8.23z'/%3E%3C/svg%3E");
  mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.96-.94 1.16-.17.2-.35.22-.64.08-.3-.15-1.25-.46-2.39-1.47-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.61-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.06 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.69.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35z'/%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.28-1.38a9.9 9.9 0 0 0 4.76 1.21h.01c5.46 0 9.9-4.45 9.9-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2zm0 18.15h-.01c-1.48 0-2.94-.4-4.21-1.15l-.3-.18-3.13.82.84-3.05-.2-.31a8.2 8.2 0 0 1-1.26-4.37c0-4.54 3.7-8.23 8.25-8.23 2.2 0 4.27.86 5.83 2.42a8.18 8.18 0 0 1 2.41 5.82c0 4.54-3.7 8.23-8.22 8.23z'/%3E%3C/svg%3E");
}

.fl-call {
  background: var(--blue);
}

.to-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- 21. Page Banner ---------- */
.page-hero {
  background:
    radial-gradient(800px 340px at 20% -30%, rgba(26, 95, 180, .5), transparent 60%),
    linear-gradient(150deg, #071B31, var(--navy) 60%, #0D2E52);
  color: #CDDDF0;
  padding: clamp(46px, 5.5vw, 78px) 0;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  color: #B0C6DF;
  max-width: 62ch;
  margin: 14px auto 0;
}

.crumbs {
  display: flex;
  justify-content: center;
  gap: 9px;
  font-size: .83rem;
  color: #8FA8C4;
  margin-bottom: 14px;
  font-family: var(--f-head);
  font-weight: 600;
}

.crumbs a {
  color: var(--gold);
}

.crumbs span {
  color: #6E88A6;
}

/* ---------- 22. Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ---------- Tablet Grid Tweaks ---------- */
@media (max-width: 1023px) {
  .g-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 1024px Small Laptop Navbar Fit ---------- */
@media (min-width: 1024px) and (max-width: 1120px) {
  .site-header .container {
    padding-inline: 12px;
  }

  .site-header .nav-inner {
    gap: 8px;
  }

  .primary-nav {
    gap: 1px;
  }

  .primary-nav a {
    padding: 8px 6px;
    font-size: 0.76rem;
  }

  .primary-nav .nav-cta {
    padding: 8px 12px;
    font-size: 0.76rem;
  }

  .brand-text strong {
    font-size: 0.94rem;
  }

  .brand-text span {
    font-size: 0.58rem;
  }
}

/* ---------- 23. Responsive ---------- */
@media (max-width:1080px) {
  .primary-nav a {
    padding: 10px 9px;
    font-size: .8rem;
  }

  .brand-text strong {
    font-size: .98rem;
  }
}

@media (max-width:980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .admit-card {
    max-width: 520px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .g-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:1023px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
    z-index: 150;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 160;
  }

  .primary-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    width: min(84vw, 340px);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 88px 22px 32px;
    box-shadow: -18px 0 50px rgba(10, 37, 64, .18);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s var(--ease);
    overflow-y: auto;
    z-index: 130;
  }

  .primary-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .primary-nav a {
    padding: 14px 12px;
    font-size: .98rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav a.is-active {
    background: var(--soft);
  }

  .primary-nav .nav-cta {
    margin: 18px 0 0;
    border-bottom: 0;
    justify-content: center;
  }

  .nav-backdrop {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(7, 24, 44, .5);
    z-index: 125;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease);
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  body.nav-locked {
    overflow: hidden;
  }

  .topbar .tb-since {
    display: none;
  }
}

/* ---------- Tablet Hero Side-by-Side Layout (768px - 1023px) ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero .container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
  }

  .hero-grid {
    display: contents;
  }

  .hero-grid > div:first-child {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .hero-image-wrap {
    grid-column: 1;
    grid-row: 2;
    height: auto;
    aspect-ratio: 1079 / 567;
    margin-bottom: 0;
    align-self: center;
  }

  .hero-image-wrap .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero-admission-card {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    height: 100%;
    display: flex;
    padding: 0 !important; /* Remove outer desktop padding to prevent double padding */
  }

  .hero-admission-card .admission-card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 20px 16px; /* Tighter inner container padding */
    gap: 12px; /* Reduced vertical space between sections */
  }

  .hero-admission-card .admission-programmes {
    gap: 4px; /* Reduced space between label and inline list */
  }

  /* Hide the line-break on tablet to keep the heading on a single line */
  .hero-admission-card .hero-br {
    display: none;
  }

  /* Keep list wrapping behavior and center alignments clean */
  .hero-admission-card .admission-inline-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px; /* Tighter horizontal/vertical spacing for wrapped list items */
  }
}

@media (max-width:767px) {
  .hero-image-wrap {
    height: auto;
    aspect-ratio: 1079 / 567;
    width: 100%;
  }

  .about-who-head {
    text-align: center;
  }

  .about-who-text {
    text-align: center;
    padding-inline: 12px;
  }

  .about-who-img {
    height: 190px !important;
  }

  .g-3,
  .g-2 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
  }

  .notice-item {
    grid-template-columns: 74px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .motto .steps li {
    gap: 14px;
  }

  .map-wrap iframe {
    height: 320px;
  }
}

@media (max-width:560px) {
  :root {
    --header-h: 66px;
  }

  .topbar-inner {
    gap: 14px;
    font-size: .76rem;
  }

  .g-4 {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    gap: 10px;
  }

  .hero .btn-row .btn,
  .cta-band .btn-row .btn,
  .admit-card .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid > div > .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px 20px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: .92rem;
  }

  .brand-text strong {
    font-size: .9rem;
  }

  .brand-text span {
    font-size: .56rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .floaties a {
    width: 48px;
    height: 48px;
  }

  .topbar-inner {
    justify-content: center;
  }

  .gal-cap {
    font-size: .76rem;
    padding: 14px 10px 8px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 12px;
  }

}

/* ---------- 24. Print ---------- */
@media print {

  .site-header,
  .topbar,
  .floaties,
  .to-top,
  .nav-toggle,
  .cta-band,
  .lightbox {
    display: none !important;
  }

  body {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

@media (max-width: 480px) {
  .notice-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .notice-date {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 12px;
    width: fit-content;
  }
  .notice-date b {
    display: inline;
  }
  .notice-date span {
    display: inline;
  }
}
