﻿:root {
  --navy: #20242b;
  --navy-dark: #18212b;
  --blue: #E03247;
  --sky: #0d8a83;
  --green: #E03247;
  --yellow: #d9a629;
  --orange: #d9a629;
  --muted: #6B7472;
  --light: #f5f6f8;
}

* { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #1f2937;
}

a { text-decoration: none; }
.section-padding { padding: 46px 0; }
.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: #222;
  margin-bottom: 30px;
}
.light-section { background: #f1f3f6; }
.tiny-text { font-size: 11px; opacity: .85; }

.topbar { background: var(--navy-dark); }
.pill-link {
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 4px 12px;
  transition: .2s;
}
.pill-link:hover { background: #fff; color: var(--navy); }

.main-nav { background: var(--navy); }
.navbar-brand strong { letter-spacing: .5px; }
.brand-mark,
.logo-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  font-size: 24px;
}
.brand-mark { width: 44px; height: 44px; border-radius: 8px; }
.main-nav .nav-link { color: rgba(255,255,255,.9); font-weight: 600; font-size: 14px; }
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--yellow); }
.btn-apply {
  background: var(--yellow);
  border: 0;
  color: var(--navy);
  font-weight: 800;
  border-radius: 999px;
  padding: 9px 20px;
}
.btn-apply:hover { background: #fff; color: var(--navy); }

.floating-social {
  position: fixed;
  top: 230px;
  left: 0;
  z-index: 999;
  flex-direction: column;
}
.floating-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.floating-social a:nth-child(2) { background: #e4405f; }
.floating-social a:nth-child(3) { background: #ff0000; }
.floating-social a:nth-child(4) { background: #25d366; }

.hero-section {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
    radial-gradient(circle at right top, rgba(13,90,167,.2), transparent 45%),
    #e9f3fb;
  border-bottom: 5px solid var(--navy);
}
.hero-card,
.admission-panel {
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(23,54,97,.14);
}
.hero-card { background: #fff; }
.hero-card h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: var(--navy); }
.hero-card h1 span { color: var(--green); }
.grid-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.grid-icons div {
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 13px 8px;
  text-align: center;
  background: #fbfcfe;
}
.grid-icons i { font-size: 26px; color: var(--blue); display: block; }
.grid-icons span { font-size: 12px; font-weight: 700; display: block; margin-top: 4px; }
.program-box {
  border: 1px solid #d7dde6;
  border-top: 6px solid var(--green);
  border-radius: 16px;
  padding: 16px;
  min-height: 200px;
  background: #fff;
}
.program-box h5 { font-size: 17px; font-weight: 800; color: var(--navy); }
.program-box ul { padding-left: 18px; margin-bottom: 0; font-size: 13px; color: #4b5563; }
.border-purple { border-top-color: #8759ad; }
.border-orange { border-top-color: var(--orange); }

.admission-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(16,41,79,.94), rgba(13,90,167,.78)),
    radial-gradient(circle at 80% 20%, rgba(243,205,32,.85), transparent 23%),
    url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1100&q=70') center/cover;
}
.admission-panel h2 {
  font-size: clamp(46px, 7vw, 88px);
  line-height: .9;
  font-weight: 950;
  color: var(--yellow);
  text-transform: uppercase;
  margin-top: 22px;
}
.admission-panel h3 { text-transform: uppercase; font-weight: 900; letter-spacing: 1px; }
.hero-people {
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-size: 150px;
  opacity: .23;
  display: flex;
  gap: 0;
}
.qr-box {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  font-weight: 900;
}

.announce-card {
  min-height: 160px;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, #ecf5ff);
  padding: 24px 16px;
  box-shadow: 0 12px 28px rgba(23,54,97,.16);
  border: 1px solid #e1e8f2;
}
.announce-card i { font-size: 42px; color: var(--blue); }
.announce-card h5 { color: var(--navy); font-weight: 900; margin: 12px 0 4px; }
.announce-card p { font-size: 13px; color: var(--muted); }
.custom-indicators { position: static; margin-top: 24px; }
.custom-indicators [data-bs-target] { background-color: var(--navy); width: 9px; height: 9px; border-radius: 50%; }

.admission-card,
.event-card,
.featured-news {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
  height: 100%;
}
.card-image,
.event-img,
.featured-img,
.leader-photo,
.fg,
.academic-card {
  background-position: center;
  background-size: cover;
}
.card-image { height: 160px; }
.image-1 { background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=800&q=70'); }
.image-2 { background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=800&q=70'); }
.image-3 { background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=800&q=70'); }
.image-4 { background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)), url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=800&q=70'); }
.admission-card h5 { font-weight: 900; color: var(--navy); text-transform: uppercase; }
.admission-card p { font-size: 13px; color: var(--muted); min-height: 58px; }

.apply-left {
  background:
    linear-gradient(rgba(247,165,28,.9), rgba(247,165,28,.9)),
    url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=900&q=70') center/cover;
  color: #fff;
  min-height: 260px;
  display: flex;
  align-items: center;
}
.apply-left h3 { font-size: 34px; font-weight: 950; text-transform: uppercase; line-height: 1.05; }
.apply-right {
  min-height: 260px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15,23,42,.88), rgba(23,54,97,.84)),
    url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1000&q=70') center/cover;
}
.apply-right h3 { font-weight: 900; }

.milestone-wrap {
  position: relative;
  width: min(760px, 100%);
  height: 430px;
  margin: auto;
}
.milestone-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--yellow), var(--green), var(--sky), #ef5e75, var(--yellow));
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 15px 35px rgba(0,0,0,.16);
  border: 8px solid #fff;
}
.milestone-pill {
  position: absolute;
  min-width: 190px;
  border-radius: 999px;
  padding: 13px 22px;
  background: #e8f9ff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(23,54,97,.1);
}
.milestone-pill span { font-size: 12px; font-weight: 700; }
.milestone-pill strong { font-size: 24px; font-weight: 950; }
.m1 { left: 18%; top: 5%; background: #eef8aa; }
.m2 { right: 18%; top: 5%; background: #fff0ad; }
.m3 { left: 7%; top: 32%; background: #ffd6d6; }
.m4 { right: 7%; top: 32%; background: #ffc7b6; }
.m5 { left: 7%; bottom: 23%; background: #ded7ff; }
.m6 { right: 7%; bottom: 23%; background: #b8f2ff; }
.m7 { left: 18%; bottom: 2%; background: #bedcff; }
.m8 { right: 18%; bottom: 2%; background: #a9f5df; }

.academic-card {
  min-height: 175px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: end;
  box-shadow: 0 12px 28px rgba(15,23,42,.16);
}
.academic-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16,41,79,.85), rgba(16,41,79,.1));
}
.academic-card span {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14px;
  color: #fff;
  background: rgba(16,41,79,.88);
  font-weight: 900;
}
.ac-1 { background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=70'); }
.ac-2 { background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=70'); }
.ac-3 { background-image: url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=900&q=70'); }
.ac-4 { background-image: url('https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=900&q=70'); }

.event-img { height: 130px; }
.ev-1 { background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=800&q=70'); }
.ev-2 { background-image: url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=800&q=70'); }
.ev-3 { background-image: url('https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?auto=format&fit=crop&w=800&q=70'); }
.ev-4 { background-image: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=800&q=70'); }
.event-date {
  color: var(--green);
  font-weight: 950;
  line-height: .9;
  text-align: center;
  min-width: 45px;
}
.event-date span { font-size: 10px; color: var(--muted); }
.event-card p { margin: 0; font-size: 13px; font-weight: 700; }
.featured-img { height: 280px; background-image: url('https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1000&q=70'); }
.news-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937;
}
.news-list .thumb {
  min-width: 78px;
  height: 58px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.news-list small { display: block; color: var(--muted); margin-top: 5px; }
.t1 { background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=300&q=70'); }
.t2 { background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=300&q=70'); }
.t3 { background-image: url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=300&q=70'); }

.facility-bar { background: #eef0f3; }
.facility-bar i,
.quick-links i { font-size: 30px; display: block; color: var(--navy); margin-bottom: 7px; }
.facility-bar span,
.quick-links span { font-weight: 800; color: #4b5563; }

.message-section { background: #f3f4f6; }
.leader-photo {
  min-height: 330px;
  border-radius: 4px;
  background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=900&q=70');
  box-shadow: 0 16px 38px rgba(0,0,0,.15);
}
.message-box {
  background: #f5f6f8;
  padding: 42px;
  border-radius: 4px;
  min-height: 270px;
}
.quote-icon { font-size: 46px; color: var(--green); }
.message-box p { font-size: 17px; line-height: 1.7; }
.tab-card { max-width: 980px; margin-inline: auto; }
.tab-card .nav-tabs .nav-link { color: var(--muted); font-weight: 700; }
.tab-card .nav-tabs .nav-link.active { color: var(--navy); }

.campus-tour {
  min-height: 330px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(16,41,79,.58), rgba(16,41,79,.65)),
    url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1600&q=70') center/cover;
}
.play-btn {
  width: 70px;
  height: 70px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  margin-bottom: 18px;
}
.play-btn:hover { background: #fff; color: var(--navy); }
.campus-tour h2 { font-weight: 950; }

.about-overlay {
  background:
    linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.78)),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=70') center/cover;
  color: #fff;
}
.about-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 42px;
  font-weight: 950;
}
.about-logo i { color: #fff; }
.about-text h3 { color: #d9a629; font-weight: 900; }
.about-text p { line-height: 1.8; color: rgba(255,255,255,.88); }
.quick-links { background: var(--navy-dark); color: #fff; }
.quick-links i,
.quick-links span { color: #fff; }
.quick-links i { color: #E03247; }

.footer-gallery .fg {
  height: 105px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background-color: #111827;
  position: relative;
}
.footer-gallery .fg::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.52);
}
.footer-gallery .fg { isolation: isolate; }
.footer-gallery .fg { text-shadow: 0 2px 12px #000; }
.fg-1 { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=500&q=60'); }
.fg-2 { background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=500&q=60'); }
.fg-3 { background-image: url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=500&q=60'); }
.fg-4 { background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=500&q=60'); }
.fg-5 { background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=500&q=60'); }
.fg-6 { background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=500&q=60'); }

.footer { background: var(--navy); }
.footer h5 { color: #fff; font-weight: 900; margin-bottom: 18px; }
.footer p,
.footer li { color: rgba(255,255,255,.78); font-size: 14px; }
.footer ul { list-style: none; padding-left: 0; }
.footer li { margin-bottom: 8px; }
.copyright { border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.75); }
.social-footer i { margin-left: 14px; color: #E03247; }

@media (max-width: 991px) {
  .grid-icons { grid-template-columns: repeat(2, 1fr); }
  .admission-panel { padding: 32px; }
  .milestone-wrap { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .milestone-center { position: static; transform: none; margin: 0 auto 14px; grid-column: 1 / -1; }
  .milestone-pill { position: static; min-width: auto; }
}

@media (max-width: 575px) {
  .section-padding { padding: 34px 0; }
  .grid-icons { grid-template-columns: 1fr; }
  .milestone-wrap { grid-template-columns: 1fr; }
  .apply-left h3 { font-size: 26px; }
  .hero-card { padding: 22px !important; }
  .admission-panel h2 { font-size: 52px; }
}

/* ==========================================================
   Reference-style responsive mega dropdown menus
   Added from provided reference screenshots
   ========================================================== */
.main-nav {
  z-index: 1040;
  overflow: visible;
}
.nav-shell,
.main-nav .container {
  position: relative;
}
.primary-menu {
  gap: 6px;
}
.main-nav .nav-link {
  position: relative;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: .01em;
  padding: 24px 10px;
  transition: color .2s ease;
}
.main-nav .nav-link.active {
  color: #ffffff;
}
.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .mega-item:hover > .nav-link,
.main-nav .mega-item.open > .nav-link {
  color: #E03247;
}
.main-nav .mega-item > .nav-link::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 5px;
  background: #E03247;
  opacity: 0;
  transform: scaleX(.6);
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}
.main-nav .mega-item:hover > .nav-link::after,
.main-nav .mega-item:focus-within > .nav-link::after,
.main-nav .mega-item.open > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}
.menu-chevron {
  font-size: 11px;
  margin-left: 6px;
}
.mega-menu {
  background: #f2f2f2;
  color: #18212b;
  border: 1px solid rgba(16, 41, 79, .08);
  border-radius: 0;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
}
.mega-grid {
  display: grid;
}
.mega-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mega-column,
.resource-block {
  padding: 42px 48px;
  min-height: 100%;
}
.mega-column + .mega-column {
  border-left: 1px solid #dedede;
}
.mega-column h6,
.resource-block h6 {
  color: #18212b;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
  margin: 0 0 24px;
  text-transform: capitalize;
}
.mega-column a,
.resource-block a,
.mini-menu a {
  display: block;
  color: #626262;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 13px;
  transition: color .2s ease, padding-left .2s ease;
}
.mega-column a:hover,
.resource-block a:hover,
.mini-menu a:hover,
.mega-column a:focus,
.resource-block a:focus,
.mini-menu a:focus {
  color: #E03247;
  padding-left: 6px;
}
.resource-block + .resource-block {
  border-top: 1px solid #dedede;
}
.mini-menu {
  padding: 14px 0;
}
.mini-menu .mini-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 22px;
  margin: 0;
  white-space: nowrap;
}
.search-link i {
  font-size: 18px;
}

@media (min-width: 992px) {
  .main-nav .navbar-collapse {
    position: static;
  }
  .menu-chevron {
    display: none;
  }
  .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .mega-item:hover > .mega-menu,
  .mega-item:focus-within > .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .mega-about { width: 960px; }
  .mega-admissions { width: 690px; }
  .mega-academics { width: 1120px; }
  .mega-student { width: 690px; }
  .research-item .mini-menu {
    width: 330px;
    left: auto;
    right: 16%;
    transform: translateY(12px);
  }
  .research-item:hover > .mini-menu,
  .research-item:focus-within > .mini-menu {
    transform: translateY(0);
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .main-nav .nav-link {
    font-size: 13px;
    padding-left: 7px;
    padding-right: 7px;
  }
  .mega-academics { width: calc(100vw - 32px); }
  .mega-column,
  .resource-block {
    padding: 34px 30px;
  }
  .mega-column a,
  .resource-block a,
  .mini-menu a {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .main-nav .navbar-collapse {
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 14px 0 18px;
  }
  .primary-menu {
    gap: 0;
    align-items: stretch !important;
  }
  .main-nav .nav-link {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
  }
  .main-nav .mega-item > .nav-link::after {
    height: 2px;
    left: 0;
    right: 0;
  }
  .menu-chevron {
    float: right;
    margin-top: 4px;
    transition: transform .2s ease;
  }
  .mega-item.open .menu-chevron {
    transform: rotate(180deg);
  }
  .mega-menu {
    display: none;
    width: 100%;
    margin: 0 0 10px;
    box-shadow: none;
    border-radius: 12px;
    overflow: hidden;
  }
  .mega-item.open > .mega-menu {
    display: block;
  }
  .mega-grid,
  .mega-grid.cols-2,
  .mega-grid.cols-3,
  .mega-grid.cols-5 {
    grid-template-columns: 1fr;
  }
  .mega-column,
  .resource-block {
    padding: 22px;
  }
  .mega-column + .mega-column,
  .resource-block + .resource-block {
    border-left: 0;
    border-top: 1px solid #dedede;
  }
  .mega-column h6,
  .resource-block h6 {
    margin-bottom: 13px;
  }
  .mega-column a,
  .resource-block a,
  .mini-menu a {
    font-size: 15px;
    margin-bottom: 9px;
  }
  .mini-menu {
    padding: 8px 0;
  }
  .mini-menu .mini-link {
    white-space: normal;
  }
  .search-item {
    display: none;
  }
}

@media (max-width: 575px) {
  .mega-column,
  .resource-block {
    padding: 18px;
  }
  .mega-column h6,
  .resource-block h6 {
    font-size: 16px;
  }
  .mega-column a,
  .resource-block a,
  .mini-menu a {
    font-size: 14px;
  }
}


/* ==========================================================
   Updated top navigation to match latest reference
   ========================================================== */
body {
  overflow-x: hidden;
}

.topbar { display: none !important; }

.main-nav {
  background: #20242b;
  box-shadow: none !important;
}

.nav-shell {
  max-width: 1380px;
}

.campus-brand {
  padding: 14px 0;
  margin-right: 28px;
}

.brand-logo-img {
  display: block;
  width: 250px;
  height: auto;
  max-width: 100%;
}

.main-nav .navbar-toggler {
  border: 1px solid rgba(255,255,255,.18);
  padding: .55rem .7rem;
}
.main-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 .18rem rgba(37, 201, 111, .22);
}

.primary-menu {
  width: 100%;
  justify-content: flex-end;
  gap: 10px;
}

.main-nav .nav-link {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  padding: 31px 14px 30px;
  white-space: nowrap;
}

.main-nav .nav-link.active,
.main-nav .nav-link[aria-expanded="true"],
.main-nav .mega-item:hover > .nav-link,
.main-nav .mega-item:focus-within > .nav-link,
.main-nav .nav-item:hover > .nav-link,
.main-nav .nav-item:focus-within > .nav-link {
  color: #E03247;
}

.main-nav .nav-item:not(.mega-item) > .nav-link::after,
.main-nav .mega-item > .nav-link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 6px;
  background: #E03247;
  opacity: 0;
  transform: scaleX(.75);
  transform-origin: center;
  transition: opacity .18s ease, transform .18s ease;
}

.main-nav .nav-item:not(.mega-item):hover > .nav-link::after,
.main-nav .nav-item:not(.mega-item):focus-within > .nav-link::after,
.main-nav .nav-link.active::after,
.main-nav .mega-item:hover > .nav-link::after,
.main-nav .mega-item:focus-within > .nav-link::after,
.main-nav .mega-item.open > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav .nav-link.search-link::after { display: none; }
.main-nav .search-link i { font-size: 17px; }

.mega-menu {
  background: #f3f3f3;
  border: 1px solid rgba(9, 31, 69, .09);
  box-shadow: none;
}

.mega-column,
.resource-block {
  padding: 44px 40px;
}

.mega-column h6,
.resource-block h6 {
  font-size: 17px;
  font-weight: 800;
  color: #18212b;
  margin-bottom: 22px;
}

.mega-column a,
.resource-block a,
.mini-menu a {
  font-size: 16px;
  color: #666;
  margin-bottom: 12px;
}

.mega-column a:hover,
.resource-block a:hover,
.mini-menu a:hover,
.mega-column a:focus,
.resource-block a:focus,
.mini-menu a:focus {
  color: #4f4f4f;
  padding-left: 0;
}

@media (min-width: 992px) {
  .main-nav .navbar-collapse {
    position: static;
  }
  .mega-menu {
    top: calc(100% - 1px);
    transform: translateX(-50%);
    border-top: 0;
  }
  .mega-item:hover > .mega-menu,
  .mega-item:focus-within > .mega-menu {
    transform: translateX(-50%);
  }
  .mega-about { width: 960px; }
  .mega-admissions { width: 690px; }
  .mega-academics { width: 1100px; }
  .mega-student { width: 690px; }
  .research-item .mini-menu {
    width: 255px;
    right: 0;
    top: calc(100% - 1px);
    transform: none;
  }
  .research-item:hover > .mini-menu,
  .research-item:focus-within > .mini-menu {
    transform: none;
  }
}

@media (max-width: 1199px) {
  .brand-logo-img { width: 220px; }
  .main-nav .nav-link { padding-left: 10px; padding-right: 10px; }
}

@media (max-width: 991.98px) {
  .nav-shell { max-width: 100%; }
  .campus-brand { padding: 10px 0; margin-right: 0; }
  .brand-logo-img { width: 180px; }
  .main-nav .navbar-collapse {
    background: #20242b;
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .primary-menu {
    justify-content: flex-start;
  }
  .main-nav .nav-link {
    padding: 14px 6px;
    font-size: 15px;
  }
  .main-nav .nav-item:not(.mega-item) > .nav-link::after,
  .main-nav .mega-item > .nav-link::after {
    left: 0;
    right: 0;
    height: 3px;
  }
  .mega-menu {
    border-radius: 0;
    background: #f1f1f1;
    margin-bottom: 0;
  }
  .mega-column,
  .resource-block {
    padding: 22px 20px;
  }
}

@media (max-width: 575.98px) {
  .brand-logo-img { width: 150px; }
  .main-nav .nav-link { font-size: 14px; }
}

/* ==========================================================
   FINAL FIX: always-visible top menu bar
   ========================================================== */
body {
  overflow-x: hidden;
}

.site-header-nav,
.main-nav.site-header-nav {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 86px;
  width: 100%;
  background: #20242b !important;
  position: sticky;
  top: 0;
  z-index: 9999 !important;
  overflow: visible !important;
}

.site-header-nav .nav-shell {
  min-height: 86px;
  display: flex !important;
  align-items: center !important;
}

.campus-brand {
  display: flex !important;
  align-items: center !important;
  color: #fff !important;
  text-decoration: none !important;
  min-width: 215px;
}

.brand-logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #20242b;
  font-size: 30px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .5px;
  color: #ffffff;
}

.brand-text small {
  font-size: 12px;
  color: rgba(255,255,255,.86);
  font-style: italic;
  margin-top: 5px;
}

.visible-menu-area {
  visibility: visible !important;
}

.site-header-nav .primary-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px;
  margin-left: auto !important;
}

.site-header-nav .primary-menu > .nav-item {
  display: block !important;
  position: relative;
}

.site-header-nav .nav-link {
  display: block !important;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  padding: 34px 13px 32px !important;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
}

.site-header-nav .nav-link:hover,
.site-header-nav .nav-link:focus,
.site-header-nav .mega-item:hover > .nav-link,
.site-header-nav .mega-item:focus-within > .nav-link,
.site-header-nav .mega-item.open > .nav-link {
  color: #E03247 !important;
}

.site-header-nav .nav-link.active {
  color: #ffffff !important;
}

.site-header-nav .nav-item:not(.mega-item) > .nav-link::after,
.site-header-nav .mega-item > .nav-link::after {
  bottom: 0 !important;
  height: 6px !important;
  background: #E03247 !important;
}

.site-header-nav .mega-menu {
  z-index: 10000 !important;
}

/* Desktop: force menu visible */
@media (min-width: 992px) {
  .site-header-nav .visible-menu-area,
  .site-header-nav .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
  }

  .site-header-nav .navbar-toggler {
    display: none !important;
  }
}

/* Tablet/mobile */
@media (max-width: 991.98px) {
  .site-header-nav,
  .main-nav.site-header-nav {
    min-height: 74px;
  }

  .site-header-nav .nav-shell {
    min-height: 74px;
  }

  .campus-brand {
    min-width: auto;
  }

  .brand-icon {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .site-header-nav .navbar-toggler {
    display: block !important;
    margin-left: auto;
  }

  .site-header-nav .primary-menu {
    display: block !important;
    width: 100%;
  }

  .site-header-nav .nav-link {
    padding: 15px 8px !important;
    font-size: 15px;
  }

  .site-header-nav .navbar-collapse {
    width: 100%;
  }

  .site-header-nav .navbar-collapse.show {
    display: block !important;
  }
}

@media (max-width: 575.98px) {
  .brand-text strong {
    font-size: 19px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }
}


/* ==========================================================
   About Us dropdown — same design as provided screenshot
   ========================================================== */
.about-menu-item {
  position: relative !important;
}

.about-dropdown-same {
  background: #f1f1f1 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #20242b !important;
}

.about-dropdown-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
}

.about-dropdown-col {
  min-height: 388px;
  padding: 58px 48px 42px !important;
  border-left: 1px solid #d9d9d9;
}

.about-dropdown-col:first-child {
  border-left: 0;
}

.about-dropdown-col h6 {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #20242b !important;
  margin: 0 0 28px !important;
  line-height: 1.2 !important;
}

.about-dropdown-col a {
  display: block !important;
  color: #5d5d5d !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  margin-bottom: 15px !important;
  padding-left: 0 !important;
  text-decoration: none !important;
}

.about-dropdown-col a:hover,
.about-dropdown-col a:focus {
  color: #20242b !important;
  padding-left: 0 !important;
}

/* Desktop exact placement under About Us */
@media (min-width: 992px) {
  .about-menu-item > .about-dropdown-same {
    width: 760px !important;
    max-width: calc(100vw - 20px) !important;
    left: 50% !important;
    right: auto !important;
    top: 100% !important;
    transform: translateX(-36%) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .about-menu-item:hover > .about-dropdown-same,
  .about-menu-item:focus-within > .about-dropdown-same {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-36%) !important;
  }
}

/* Tablet/mobile dropdown becomes stacked and easy to tap */
@media (max-width: 991.98px) {
  .about-dropdown-grid {
    grid-template-columns: 1fr !important;
  }

  .about-dropdown-col {
    min-height: auto;
    padding: 24px 22px !important;
    border-left: 0;
    border-top: 1px solid #d9d9d9;
  }

  .about-dropdown-col:first-child {
    border-top: 0;
  }

  .about-dropdown-col h6 {
    font-size: 17px !important;
    margin-bottom: 15px !important;
  }

  .about-dropdown-col a {
    font-size: 15px !important;
    margin-bottom: 9px !important;
  }
}

@media (max-width: 575.98px) {
  .about-dropdown-col {
    padding: 20px 18px !important;
  }
}


/* Hide old topbar for Reference-style header */
.topbar {
  display: none !important;
}


/* ==========================================================
   WORKING Reference TOP MENU + ABOUT US DROPDOWN
   Matches the provided screenshot.
   ========================================================== */

.portal-main-nav {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #20242b !important;
  min-height: 84px;
  z-index: 99999 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.portal-main-nav .portal-nav-container {
  min-height: 84px;
  display: flex !important;
  align-items: center !important;
  position: relative;
}

.portal-brand {
  display: flex !important;
  align-items: center;
  gap: 12px;
  color: #ffffff !important;
  text-decoration: none !important;
  margin-right: 34px;
  padding: 11px 0 !important;
  min-width: 236px;
}

.portal-brand-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #20242b;
  font-size: 31px;
}

.portal-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.portal-brand-text strong {
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .4px;
}

.portal-brand-text small {
  color: rgba(255,255,255,.86);
  font-size: 12px;
  margin-top: 6px;
  font-style: italic;
}

.portal-primary-menu {
  gap: 10px;
}

.portal-main-nav .nav-link {
  position: relative;
  display: block !important;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  padding: 33px 13px 31px !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.portal-main-nav .nav-link:hover,
.portal-main-nav .nav-link:focus,
.portal-about-item:hover > .nav-link,
.portal-about-item.open > .nav-link {
  color: #E03247 !important;
}

.portal-main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 6px;
  background: #E03247;
  opacity: 0;
  transform: scaleX(.75);
  transition: opacity .18s ease, transform .18s ease;
}

.portal-main-nav .nav-link:hover::after,
.portal-main-nav .nav-link:focus::after,
.portal-main-nav .nav-link.active::after,
.portal-about-item:hover > .nav-link::after,
.portal-about-item.open > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.portal-main-nav .search-link::after {
  display: none;
}

.portal-about-item {
  position: relative !important;
}

.portal-about-dropdown {
  background: #f1f1f1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #20242b;
  z-index: 100000;
}

.portal-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-about-column {
  min-height: 388px;
  padding: 58px 48px 42px;
  border-left: 1px solid #d8d8d8;
}

.portal-about-column:first-child {
  border-left: 0;
}

.portal-about-column h6 {
  font-size: 19px;
  font-weight: 800;
  color: #20242b;
  margin: 0 0 28px;
  line-height: 1.2;
}

.portal-about-column a {
  display: block;
  color: #5f5f5f;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 15px;
  text-decoration: none;
}

.portal-about-column a:hover,
.portal-about-column a:focus {
  color: #20242b;
}

/* Desktop dropdown opens on hover and click */
@media (min-width: 992px) {
  .portal-main-nav .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
  }

  .portal-about-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 760px;
    max-width: calc(100vw - 20px);
    transform: translateX(-36%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .portal-about-item:hover > .portal-about-dropdown,
  .portal-about-item:focus-within > .portal-about-dropdown,
  .portal-about-item.open > .portal-about-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Mobile/tablet dropdown works on click */
@media (max-width: 991.98px) {
  .portal-main-nav {
    min-height: 74px;
  }

  .portal-main-nav .portal-nav-container {
    min-height: 74px;
  }

  .portal-brand {
    min-width: auto;
    margin-right: 0;
  }

  .portal-brand-icon {
    width: 45px;
    height: 45px;
    font-size: 23px;
  }

  .portal-brand-text strong {
    font-size: 22px;
  }

  .portal-brand-text small {
    font-size: 10px;
  }

  .portal-main-nav .navbar-collapse {
    background: #20242b;
    border-top: 1px solid rgba(255,255,255,.10);
    margin-top: 10px;
    width: 100%;
  }

  .portal-primary-menu {
    gap: 0;
    align-items: stretch !important;
  }

  .portal-main-nav .nav-link {
    padding: 15px 8px !important;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .portal-about-dropdown {
    display: none;
    width: 100%;
    margin: 0;
  }

  .portal-about-item.open > .portal-about-dropdown {
    display: block;
  }

  .portal-about-grid {
    grid-template-columns: 1fr;
  }

  .portal-about-column {
    min-height: auto;
    padding: 24px 22px;
    border-left: 0;
    border-top: 1px solid #d8d8d8;
  }

  .portal-about-column:first-child {
    border-top: 0;
  }

  .portal-about-column h6 {
    font-size: 17px;
    margin-bottom: 15px;
  }

  .portal-about-column a {
    font-size: 15px;
    margin-bottom: 9px;
  }
}

@media (max-width: 575.98px) {
  .portal-brand-text strong {
    font-size: 19px;
  }

  .portal-brand-icon {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .portal-about-column {
    padding: 20px 18px;
  }
}

/* ==========================================================
   FINAL RESPONSIVE NAVIGATION FIX
   - clean desktop/tablet/mobile menu
   - hover/click dropdowns
   - dropdowns above all content
   - no clipping from parent containers
   ========================================================== */

.topbar {
  display: none !important;
}

.site-nav,
.site-nav.navbar {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #20242b !important;
  min-height: 86px;
  z-index: 11000 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.site-nav *,
.site-nav .container,
.site-nav .navbar-collapse {
  box-sizing: border-box;
}

.site-nav,
.site-nav .nav-wrap,
.site-nav .nav-collapse,
.site-nav .nav-list,
.site-nav .nav-item {
  overflow: visible !important;
}

.site-nav .nav-wrap {
  min-height: 86px;
  display: flex !important;
  align-items: center !important;
  position: relative;
  max-width: 1320px;
}

.nav-logo {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  min-width: 235px;
  margin-right: 20px;
  padding: 10px 0 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.nav-logo:hover,
.nav-logo:focus {
  color: #fff !important;
}

.nav-logo-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #20242b;
  font-size: 30px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text strong {
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .4px;
}

.nav-logo-text small {
  color: rgba(255,255,255,.86);
  font-size: 12px;
  margin-top: 6px;
  font-style: italic;
}

.site-nav .nav-collapse {
  align-items: center;
  visibility: visible !important;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.site-nav .nav-link {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 0 10px !important;
  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 6px;
  background: #E03247;
  opacity: 0;
  transform: scaleX(.72);
  transform-origin: center;
  transition: opacity .18s ease, transform .18s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active,
.site-nav .nav-dropdown:hover > .nav-link,
.site-nav .nav-dropdown.dropdown-open > .nav-link {
  color: #E03247 !important;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus::after,
.site-nav .nav-link.active::after,
.site-nav .nav-dropdown:hover > .nav-link::after,
.site-nav .nav-dropdown.dropdown-open > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav .nav-dropdown {
  position: relative !important;
}

.site-nav .nav-dropdown-toggle::before {
  content: "";
  display: none;
}

.nav-dropdown-panel {
  background: linear-gradient(135deg, #0b4f91 0%, #1f6fb2 42%, #E03247 100%);
  color: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.28);
  z-index: 12000 !important;
}

.mega-grid {
  display: grid;
}

.mega-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.mega-col {
  min-height: 100%;
  padding: 44px 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.mega-col:first-child {
  border-left: 0;
}

.mega-col h6 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
  text-transform: none;
}

.mega-col a,
.research-panel a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 8px -8px;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

.mega-col a:hover,
.mega-col a:focus,
.research-panel a:hover,
.research-panel a:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.about-panel .mega-col {
  min-height: 388px;
  padding: 58px 48px 42px;
}

.about-panel .mega-col h6 {
  color: #ffffff;
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 28px;
}

.about-panel .mega-col a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 15px;
}

.resources-stack {
  display: grid;
  grid-template-columns: 1fr;
}

.resources-stack .resource-col + .resource-col {
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.research-panel {
  padding: 14px 0;
}

.research-panel a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 11px 22px;
  white-space: nowrap;
}

.nav-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.nav-search {
  color: #ffffff;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.nav-search:hover,
.nav-search:focus {
  color: #E03247;
  background: rgba(255,255,255,.08);
}

.nav-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #E03247;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}

.nav-apply:hover,
.nav-apply:focus {
  background: #ffffff;
  color: #20242b;
}

/* Desktop dropdowns */
@media (min-width: 992px) {
  .site-nav .nav-collapse {
    display: flex !important;
    flex-basis: auto !important;
  }

  .site-nav .nav-toggler {
    display: none !important;
  }

  .nav-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 110px);
    overflow-y: auto !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }

  .nav-dropdown:hover > .nav-dropdown-panel,
  .nav-dropdown:focus-within > .nav-dropdown-panel,
  .nav-dropdown.dropdown-open > .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .about-panel { width: 760px; }
  .admissions-panel { width: 690px; }
  .academics-panel { width: min(1120px, calc(100vw - 28px)); }
  .resources-panel { width: 690px; }

  .dropdown-research .research-panel {
    width: 305px;
    left: auto;
    right: 0;
    transform: translateY(8px);
  }

  .dropdown-research:hover > .research-panel,
  .dropdown-research:focus-within > .research-panel,
  .dropdown-research.dropdown-open > .research-panel {
    transform: translateY(0);
  }
}

/* Medium desktop / laptop spacing */
@media (max-width: 1279.98px) and (min-width: 992px) {
  .site-nav .nav-wrap {
    max-width: 100%;
  }

  .nav-logo {
    min-width: 205px;
    margin-right: 10px;
  }

  .nav-logo-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    font-size: 26px;
  }

  .nav-logo-text strong {
    font-size: 25px;
  }

  .site-nav .nav-list {
    gap: 2px;
  }

  .site-nav .nav-link {
    font-size: 13.5px;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .nav-apply {
    padding: 0 12px;
    font-size: 12px;
  }

  .mega-col {
    padding: 36px 28px;
  }

  .about-panel .mega-col {
    padding: 48px 38px 36px;
  }

  .mega-col a,
  .research-panel a {
    font-size: 15px;
  }

  .about-panel .mega-col a {
    font-size: 16px;
  }
}

/* Tablet/mobile hamburger */
@media (max-width: 991.98px) {
  .site-nav,
  .site-nav.navbar {
    min-height: 74px;
  }

  .site-nav .nav-wrap {
    min-height: 74px;
    max-width: 100%;
  }

  .nav-logo {
    min-width: auto;
    margin-right: 0;
    padding: 8px 0 !important;
  }

  .nav-logo-mark {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    font-size: 23px;
  }

  .nav-logo-text strong {
    font-size: 22px;
  }

  .nav-logo-text small {
    font-size: 10px;
  }

  .site-nav .nav-toggler {
    display: block !important;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.20);
    padding: 7px 10px;
  }

  .site-nav .nav-toggler:focus {
    box-shadow: 0 0 0 .18rem rgba(35,198,108,.24);
  }

  .site-nav .nav-collapse {
    width: 100%;
    background: #20242b;
    border-top: 1px solid rgba(255,255,255,.10);
    margin-top: 8px;
    max-height: calc(100vh - 74px);
    overflow-y: auto !important;
    padding: 8px 0 14px;
  }

  .site-nav .nav-list {
    display: block;
    width: 100%;
    gap: 0;
  }

  .site-nav .nav-item {
    width: 100%;
  }

  .site-nav .nav-link {
    width: 100%;
    min-height: auto;
    justify-content: flex-start;
    padding: 15px 8px !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
    font-size: 15px;
  }

  .site-nav .nav-link::after {
    height: 3px;
    left: 0;
    right: 0;
  }

  .site-nav .nav-dropdown-toggle {
    justify-content: space-between;
  }

  .site-nav .nav-dropdown-toggle::before {
    content: "\F282";
    display: inline-block;
    order: 2;
    margin-left: auto;
    font-family: "bootstrap-icons";
    font-size: 12px;
    transition: transform .18s ease;
  }

  .site-nav .nav-dropdown.dropdown-open > .nav-dropdown-toggle::before {
    transform: rotate(180deg);
  }

  .nav-dropdown-panel {
    position: static;
    display: none;
    width: 100% !important;
    max-width: 100%;
    max-height: none;
    overflow: visible !important;
  }

  .nav-dropdown.dropdown-open > .nav-dropdown-panel {
    display: block;
  }

  .mega-grid,
  .mega-2,
  .mega-3,
  .mega-5,
  .resources-stack {
    grid-template-columns: 1fr;
  }

  .mega-col,
  .about-panel .mega-col {
    min-height: auto;
    padding: 22px 20px;
    border-left: 0;
    border-top: 1px solid #d8d8d8;
  }

  .mega-col:first-child,
  .about-panel .mega-col:first-child {
    border-top: 0;
  }

  .mega-col h6,
  .about-panel .mega-col h6 {
    font-size: 17px;
    margin-bottom: 14px;
  }

  .mega-col a,
  .about-panel .mega-col a,
  .research-panel a {
    font-size: 15px;
    margin-bottom: 9px;
  }

  .research-panel {
    padding: 8px 0;
  }

  .research-panel a {
    padding: 10px 20px;
  }

  .nav-actions {
    margin: 12px 8px 0;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-search {
    border: 1px solid rgba(255,255,255,.16);
  }

  .nav-apply {
    min-height: 38px;
    padding: 0 18px;
  }
}

@media (max-width: 575.98px) {
  .nav-logo-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 21px;
  }

  .nav-logo-text strong {
    font-size: 19px;
  }

  .nav-logo-text small {
    font-size: 9px;
  }

  .site-nav .nav-link {
    font-size: 14px;
  }

  .mega-col,
  .about-panel .mega-col {
    padding: 19px 18px;
  }
}

/* ==========================================================
   PREMIUM DESIGN SYSTEM & COMPONENT OVERHAUL
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400&display=swap');

:root {
  --navy: #1e293b;
  --navy-dark: #0f172a;
  --blue: #E03247;
  --yellow: #f59e0b;
  --orange: #f97316;
  --green: #10b981;
  --sky: #06b6d4;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

/* Base Body Styles */
body {
  font-family: var(--font-body) !important;
  background-color: var(--white);
  color: #334155 !important;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--navy);
  font-weight: 700;
}

/* Headings Typography overrides */
.section-title {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  color: var(--navy);
  margin-bottom: 24px;
}

body:not([data-page="home"]) .section-title {
  text-align: left;
}
body:not([data-page="home"]) .text-center .section-title,
body:not([data-page="home"]) .text-center > .section-title {
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: clamp(32px, 5vw, 48px);
  color: #fff !important;
  margin-top: 10px;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 8px;
}

.section-lead {
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}

.bg-soft {
  background-color: var(--light) !important;
}

/* Inner Page Hero Layout */
.page-hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 80px 0 60px;
  color: #ffffff;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(224, 50, 71, 0.4) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero p {
  font-size: 16px;
  max-width: 700px;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Breadcrumb Styles */
.breadcrumb-nei {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.85;
}

.breadcrumb-nei a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb-nei a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumb-nei i {
  font-size: 11px;
  opacity: 0.7;
}

.breadcrumb-nei span {
  font-weight: 500;
}

/* Info Panels */
.info-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.info-panel:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 50, 71, 0.15);
}

.info-panel h2, .info-panel h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.info-panel p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.info-panel p:last-child {
  margin-bottom: 0;
}

/* Icon Square Utility */
.icon-square {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(224, 50, 71, 0.08);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 20px;
}

/* Contact Tiles */
.contact-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.contact-tile i {
  font-size: 32px;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 16px;
}

.contact-tile h2,
.contact-tile h3,
.contact-tile h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 0;
}

.contact-tile p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

/* Faculty Cards */
.faculty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 50, 71, 0.15);
}

.faculty-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 0 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex: 0 0 64px;
}

.d-flex > .faculty-avatar {
  margin-bottom: 0;
}

.faculty-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.faculty-card .role {
  font-size: 13.5px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.faculty-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Process Steps */
.process-step {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.process-step:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 50, 71, 0.15);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(224, 50, 71, 0.1);
  color: var(--blue);
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

/* Eligibility Items */
.eligibility-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.eligibility-item:hover {
  box-shadow: var(--shadow-md);
}

.eligibility-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.eligibility-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Program Cards */
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 50, 71, 0.2);
}

.program-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #f1f5f9;
}

.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-card-image img {
  transform: scale(1.05);
}

.program-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: rgba(224, 50, 71, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.program-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 12px;
  margin-bottom: 8px;
}

.program-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.45;
}

/* Program Detail Block */
.program-detail {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.program-detail:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.program-meta span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* Buttons */
.btn-nei {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  padding: 10px 24px;
  border-radius: 999px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-nei:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-light-nei {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(224, 50, 71, 0.06);
  border: 1px solid rgba(224, 50, 71, 0.15);
  padding: 10px 24px;
  border-radius: 999px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-light-nei:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* Download Rows */
.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.download-row:hover {
  border-color: rgba(224, 50, 71, 0.2);
  box-shadow: var(--shadow-md);
  background: var(--light);
}

.download-row h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  margin-top: 0;
}

.download-row p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 0;
}

.download-row .icon-square {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.download-row .btn-light-nei {
  flex: 0 0 auto;
  padding: 6px 16px;
  font-size: 13px;
}

/* Gallery Cards */
.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
}

.gallery-card button {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  height: 100%;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  opacity: 0.95;
}

.gallery-card:hover img {
  transform: scale(1.05);
  opacity: 0.7;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, transparent 100%);
  padding: 24px 20px 16px;
  color: var(--white);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
  text-align: left;
}

.gallery-card:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-caption span {
  font-size: 12px;
  opacity: 0.8;
  display: block;
}

/* Filter Buttons */
.filter-btn {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* Quote Mark & VC photo */
.quote-mark {
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1;
  color: var(--blue);
  opacity: 0.15;
  height: 36px;
  display: block;
}

img.leader-photo {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Editable Note styles */
.editable-note {
  font-size: 13.5px;
  font-style: italic;
  color: #a8a29e;
  border-left: 3px dashed #d6d3d1;
  padding-left: 12px;
}

/* Academic Card Hover Effect */
.academic-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.academic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.academic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(224, 50, 71, 0.2);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.academic-card:hover::after {
  opacity: 1;
}

.academic-card span {
  transition: background 0.3s;
}

.academic-card:hover span {
  background: rgba(224, 50, 71, 0.95) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  body:not([data-page="home"]) .section-title {
    text-align: center;
  }
}

/* Faculty department group dividers */
body[data-page="faculty"] main#main-content .mb-5 {
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
}
body[data-page="faculty"] main#main-content .mb-5:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Content page index */
.content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  color: inherit;
  transition: all 0.2s ease;
}

.content-row:hover {
  border-color: rgba(224, 50, 71, 0.22);
  box-shadow: var(--shadow-md);
  background: var(--light);
  color: inherit;
}

.content-row h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 4px;
}

.content-row p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.content-row small {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: 6px;
}

.content-row .icon-square {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.content-row > div {
  flex: 1 1 auto;
  min-width: 0;
}

.content-action {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* Generated document pages */
.document-section {
  background: #f8fafc;
}

.document-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.document-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
}

.document-meta-bar i {
  color: var(--blue);
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.document-sidebar {
  position: sticky;
  top: 98px;
}

.document-sidebar-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.document-sidebar h2 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 12px;
}

.doc-toc {
  display: grid;
  gap: 6px;
  max-height: 60vh;
  overflow: auto;
  padding-right: 4px;
}

.doc-toc a {
  color: #475569;
  font-size: 13px;
  line-height: 1.35;
  border-radius: 6px;
  padding: 7px 8px;
}

.doc-toc a:hover {
  color: var(--blue);
  background: rgba(224, 50, 71, 0.07);
}

.document-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 3vw, 42px);
  overflow: hidden;
}

.document-body h2,
.document-body h3 {
  color: var(--navy);
  font-weight: 900;
  line-height: 1.2;
  scroll-margin-top: 120px;
}

.document-body h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  margin: 28px 0 12px;
}

.document-body h2:first-child {
  margin-top: 0;
}

.document-body h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}

.document-body p,
.document-list li {
  color: #334155;
  font-size: 15.5px;
  line-height: 1.75;
}

.document-body p {
  margin-bottom: 13px;
}

.document-list {
  margin: 0 0 18px;
  padding-left: 22px;
}

.document-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.document-body table.document-table {
  margin-bottom: 0;
  min-width: 720px;
}

.document-body table th {
  color: var(--navy);
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 900;
  border-bottom: 1px solid var(--border);
}

.document-body table td {
  color: #334155;
  font-size: 13px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.document-body table th,
.document-body table td {
  padding: 8px 10px;
  border-right: 1px solid var(--border);
}

.document-body table tr > :last-child {
  border-right: 0;
}

.document-body table tbody tr:last-child td {
  border-bottom: 0;
}

.document-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 991px) {
  .document-layout {
    grid-template-columns: 1fr;
  }

  .document-sidebar {
    position: static;
  }

  .doc-toc {
    max-height: 220px;
  }
}

@media (max-width: 767px) {
  .content-row {
    align-items: flex-start;
    padding: 15px;
  }

  .content-row .icon-square {
    display: none;
  }

  .content-action {
    display: none;
  }

  .document-meta-bar span {
    width: 100%;
    border-radius: 8px;
  }

  .document-nav {
    flex-direction: column;
  }
}

/* ==========================================================
   NEI portal pages and data-driven homepage sections
   ========================================================== */
.topbar {
  display: block !important;
}

.site-nav,
.site-nav.navbar {
  top: 0;
}

.portal-hero-shell {
  background: var(--navy-dark);
}

.portal-hero-carousel,
.portal-hero-carousel .carousel-inner,
.portal-hero-carousel .carousel-item {
  min-height: 560px;
}

.portal-hero-slide {
  min-height: 560px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.portal-hero-copy {
  max-width: 760px;
  color: #fff;
  padding: 70px 0;
}

.portal-hero-copy h1 {
  color: #fff;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  margin: 12px 0 18px;
}

.portal-hero-copy p {
  max-width: 680px;
  color: rgba(255,255,255,.9);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  margin-bottom: 28px;
}

.stats-band {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.portal-stat {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  text-align: center;
}

.portal-stat strong {
  color: var(--blue);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.portal-stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.announcement-strip {
  background: linear-gradient(90deg, #0b4f91, #E03247);
  color: #fff;
  padding: 12px 0;
}

.announcement-strip strong {
  flex: 0 0 auto;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.announcement-strip .ticker-text {
  flex: 1 1 360px;
  font-size: 14px;
}

.announcement-strip a {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head .section-title {
  margin-bottom: 0;
  text-align: left;
}

.section-head.compact {
  align-items: center;
  margin-bottom: 20px;
}

.section-head.compact .section-title {
  font-size: 24px;
}

.section-head.compact > a {
  color: var(--blue);
  font-weight: 900;
}

.portal-card,
.portal-program,
.portal-event,
.portal-news,
.facility-card,
.directory-card,
.listing-card,
.portal-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.portal-card {
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.portal-card:hover,
.portal-program:hover,
.portal-event:hover,
.portal-news:hover,
.facility-card:hover,
.directory-card:hover,
.listing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 50, 71, .22);
  box-shadow: var(--shadow-md);
}

.portal-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(11, 79, 145, .09);
  color: #0b4f91;
  font-size: 24px;
  margin-bottom: 16px;
}

.portal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(224, 50, 71, .08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.portal-card h3,
.portal-program h3,
.portal-event h3,
.portal-news h3,
.facility-card h3,
.portal-department h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  margin: 12px 0 10px;
}

.portal-card p,
.portal-program p,
.portal-event p,
.portal-news p,
.facility-card p,
.portal-department p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.portal-card a,
.portal-department a,
.portal-news a,
.facility-card a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.portal-program,
.portal-event,
.portal-news {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.portal-program img,
.portal-event img,
.portal-news img,
.listing-card img,
.directory-card img {
  width: 100%;
  object-fit: cover;
}

.portal-program img {
  height: 190px;
}

.portal-program-body,
.portal-news-body {
  padding: 22px;
}

.portal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.portal-meta span {
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f8fafc;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.apply-panel {
  padding: 34px 0;
  background: #fff;
}

.apply-panel .row {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.apply-panel-image,
.apply-panel-copy {
  min-height: 290px;
  padding: clamp(26px, 4vw, 48px);
}

.apply-panel-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.apply-panel-image h2 {
  color: #fff;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 10px;
}

.apply-panel-image p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.apply-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(120deg, #0f172a, #1e293b);
  color: #fff;
}

.apply-panel-copy h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.12;
}

.apply-panel-copy p {
  color: rgba(255,255,255,.82);
  max-width: 680px;
}

.portal-department {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  padding: 24px;
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}

.portal-department span {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-department h3 {
  color: #fff;
}

.portal-department p {
  color: rgba(255,255,255,.86);
  margin-bottom: 14px;
}

.portal-department a {
  color: #fff;
}

.portal-event img {
  height: 150px;
}

.portal-event-body {
  display: flex;
  gap: 16px;
  padding: 18px;
}

.portal-event .event-date {
  flex: 0 0 54px;
  min-width: 54px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--blue);
  line-height: 1;
}

.portal-event .event-date strong {
  font-size: 24px;
  font-weight: 900;
}

.portal-event .event-date span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.portal-event a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.portal-news img {
  height: 220px;
}

.portal-news small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}

.notice-resource-section {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.portal-panel {
  padding: 24px;
}

.notice-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
}

.notice-row:last-child {
  border-bottom: 0;
}

.notice-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.notice-row strong {
  color: var(--navy);
  font-size: 15px;
}

.notice-row em {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.resource-chip {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: inherit;
  background: #f8fafc;
}

.resource-chip i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(11, 79, 145, .1);
  color: #0b4f91;
}

.resource-chip span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.resource-chip small {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.facility-card {
  padding: 24px;
}

.facility-card > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b4f91, #E03247);
  color: #fff;
  font-size: 24px;
  margin-bottom: 16px;
}

.about-text h2 {
  color: var(--yellow);
  font-weight: 900;
}

.listing-page .filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.listing-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.listing-card.no-image {
  grid-template-columns: 1fr;
}

.listing-card img {
  height: 100%;
  min-height: 230px;
}

.listing-card-body {
  padding: 22px;
}

.listing-card h2 {
  color: var(--navy);
  font-size: 21px;
  font-weight: 900;
  margin: 12px 0 6px;
}

.listing-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 10px;
}

.listing-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.directory-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.directory-card img {
  height: 100%;
  min-height: 270px;
}

.directory-card > div {
  padding: 24px;
}

.directory-card h2 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  margin: 12px 0 10px;
}

.directory-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-accordion .accordion-button {
  color: var(--navy);
  font-weight: 900;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(224, 50, 71, .08);
  color: var(--blue);
}

.faq-accordion .accordion-body {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1199.98px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .portal-hero-carousel,
  .portal-hero-carousel .carousel-inner,
  .portal-hero-carousel .carousel-item,
  .portal-hero-slide {
    min-height: 520px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head .section-title {
    text-align: left;
  }

  .notice-row,
  .listing-card,
  .directory-card {
    grid-template-columns: 1fr;
  }

  .notice-row {
    gap: 5px;
  }

  .listing-card img,
  .directory-card img {
    height: 230px;
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .portal-hero-copy {
    padding: 48px 0;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .portal-panel {
    padding: 18px;
  }
}

/* Faculty department pages */
.faculty-department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.faculty-profile-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.faculty-profile-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 50, 71, .22);
  box-shadow: var(--shadow-md);
}

.faculty-photo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faculty-photo,
.faculty-photo-placeholder {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.faculty-photo-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0b4f91, #E03247);
  font-size: 22px;
  font-weight: 900;
}

.faculty-profile-card h2,
.faculty-profile-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.faculty-designation {
  margin-top: 4px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.faculty-profile-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.faculty-profile-card dt {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.faculty-profile-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.faculty-department-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Governance tree */
.governance-tree {
  display: grid;
  gap: 34px;
  position: relative;
}

.tree-level {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  position: relative;
}

.tree-level:not(:first-child)::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: min(74%, 820px);
  height: 22px;
  transform: translateX(-50%);
  border-top: 2px solid rgba(11, 79, 145, .28);
}

.governance-node {
  position: relative;
  width: min(100%, 260px);
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.tree-level:not(:first-child) .governance-node::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  height: 22px;
  border-left: 2px solid rgba(11, 79, 145, .28);
}

.governance-node.primary {
  border-color: rgba(224, 50, 71, .26);
  box-shadow: var(--shadow-lg);
}

.governance-node img,
.governance-placeholder {
  width: 86px;
  height: 86px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
}

.governance-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0b4f91, #E03247);
  font-weight: 900;
  font-size: 24px;
}

.governance-node h2,
.governance-node h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 7px;
}

.governance-node p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.board-section-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.board-member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.board-member {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
}

.board-member strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.board-member span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  margin-top: 4px;
}

/* Career page */
.career-form .form-label {
  color: var(--navy);
  font-weight: 800;
}

.career-form .form-control,
.career-form .form-select {
  min-height: 46px;
  border-radius: 8px;
}

.career-form textarea.form-control {
  min-height: 130px;
}

.opening-card {
  height: 100%;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.opening-card h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.opening-card p {
  color: var(--muted);
  font-size: 14px;
}

/* Footer readability upgrade */
.footer h5 {
  font-size: 19px !important;
  line-height: 1.35;
}

.footer p,
.footer li,
.footer a {
  font-size: 15.5px !important;
  line-height: 1.65;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  display: inline-block;
  padding: 2px 0;
}

.footer a:hover,
.footer a:focus {
  color: #ffffff !important;
}

.footer .copyright {
  font-size: 14.5px !important;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .faculty-department-grid,
  .board-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tree-level:not(:first-child)::before,
  .tree-level:not(:first-child) .governance-node::before {
    display: none;
  }
}

@media (max-width: 1399.98px) and (min-width: 992px) {
  .site-nav .nav-wrap {
    max-width: 100%;
  }

  .nav-logo {
    min-width: 174px;
    margin-right: 6px;
    gap: 8px;
  }

  .nav-logo-img {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
  }

  .nav-logo-text strong {
    font-size: 22px !important;
  }

  .nav-logo-text small {
    font-size: 9.5px !important;
  }

  .site-nav .nav-list {
    gap: 1px;
  }

  .site-nav .nav-link {
    font-size: 12.4px;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .nav-actions {
    display: none;
  }

  .academics-panel {
    width: min(820px, calc(100vw - 28px)) !important;
  }

  .about-panel {
    width: min(720px, calc(100vw - 28px)) !important;
  }

  .admissions-panel,
  .resources-panel {
    width: min(620px, calc(100vw - 28px)) !important;
  }
}

@media (max-width: 575.98px) {
  .faculty-department-grid,
  .board-member-grid {
    grid-template-columns: 1fr;
  }

  .faculty-photo-wrap {
    align-items: flex-start;
  }

  .governance-node {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .nav-dropdown-panel {
    display: none;
  }

  .nav-dropdown:hover > .nav-dropdown-panel,
  .nav-dropdown:focus-within > .nav-dropdown-panel,
  .nav-dropdown.dropdown-open > .nav-dropdown-panel {
    display: block;
  }

  .nav-dropdown > .align-end-panel {
    left: auto !important;
    right: 0 !important;
    transform: translateY(8px) !important;
  }

  .nav-dropdown:hover > .align-end-panel,
  .nav-dropdown:focus-within > .align-end-panel,
  .nav-dropdown.dropdown-open > .align-end-panel {
    transform: translateY(0) !important;
  }
}

/* Admissions popup slider */
.admission-popup-backdrop {
  z-index: 19990 !important;
  background: rgba(2, 8, 23, 0.76);
  backdrop-filter: blur(3px);
}

.admission-popup-modal {
  z-index: 20000 !important;
}

.admission-popup-dialog {
  width: min(1080px, calc(100vw - 24px));
  max-width: min(1080px, calc(100vw - 24px));
  margin: 12px auto;
}

.admission-popup-content {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #07111f;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.admission-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #071f45 0%, #0b3a72 46%, #e03247 100%);
}

.admission-popup-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.admission-popup-header h2 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.15;
}

.admission-popup-carousel {
  background: #020617;
}

.admission-popup-slide {
  display: block;
  width: 100%;
  height: min(68vh, 720px);
  min-height: 420px;
  background: radial-gradient(circle at 24% 20%, rgba(13, 58, 114, 0.42), transparent 34%), #020617;
}

.admission-popup-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admission-popup-control {
  width: 54px;
  opacity: 0.95;
}

.admission-popup-control .carousel-control-prev-icon,
.admission-popup-control .carousel-control-next-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(224, 50, 71, 0.86);
  background-size: 52%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.admission-popup-indicators {
  bottom: 8px;
  margin-bottom: 0;
}

.admission-popup-indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.5);
}

.admission-popup-indicators .active {
  background-color: #e03247;
}

.admission-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #081827 0%, #102f59 58%, #161b2c 100%);
}

.admission-popup-copy strong,
.admission-popup-copy span {
  display: block;
}

.admission-popup-copy strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.admission-popup-copy span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.admission-popup-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.admission-popup-actions .btn {
  min-width: 136px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  padding: 9px 16px;
}

@media (max-width: 767.98px) {
  .admission-popup-dialog {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    margin: 8px auto;
  }

  .admission-popup-header {
    padding: 13px 14px;
  }

  .admission-popup-header h2 {
    font-size: 21px;
  }

  .admission-popup-slide {
    height: min(58vh, 460px);
    min-height: 250px;
  }

  .admission-popup-footer {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .admission-popup-actions {
    justify-content: stretch;
  }

  .admission-popup-actions .btn {
    flex: 1 1 140px;
  }

  .admission-popup-control {
    width: 42px;
  }

  .admission-popup-control .carousel-control-prev-icon,
  .admission-popup-control .carousel-control-next-icon {
    width: 28px;
    height: 28px;
  }
}
