:root {
  --blue: #092171;
  --green: #168143;
  --green-dark: #0b5b2f;
  --red: #ab0a25;
  --gold: #f2b233;
  --ink: #1d2430;
  --muted: #687386;
  --line: #dbe3ee;
  --soft: #f6f9fd;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(18, 32, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Hind, Arial, sans-serif;
  background: var(--white);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
}

.top-strip__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.top-strip a {
  margin-left: auto;
  background: var(--red);
  padding: 7px 16px;
  font-weight: 600;
}

.brand-area {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand-area__inner {
  min-height: 164px;
  display: grid;
  grid-template-columns: 138px 1fr 138px;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.brand-logo {
  width: 126px;
  height: 126px;
  object-fit: contain;
}

.brand-logo--right {
  justify-self: end;
}

.brand-title__hi {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: clamp(21px, 3vw, 32px);
  font-weight: 700;
}

.brand-title h1 {
  margin: 0;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.2;
}

.brand-title p {
  margin: 4px 0 0;
  color: var(--red);
  font-weight: 600;
}

.brand-title .brand-title__affiliation {
  display: inline-block;
  padding: 3px 10px;
  color: var(--white);
  background: var(--red);
  border-radius: 3px;
}

.brand-title .brand-title__small {
  color: var(--green-dark);
  font-size: 15px;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--blue);
  box-shadow: 0 6px 18px rgba(9, 33, 113, 0.12);
}

.nav-wrap {
  min-height: 46px;
  display: flex;
  align-items: center;
}

.main-nav > .nav-wrap > ul {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

.main-nav a,
.dropdown-toggle {
  display: block;
  border: 0;
  background: transparent;
  padding: 12px 10px;
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.18s ease;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.dropdown-toggle:hover,
.dropdown-toggle:focus-visible {
  background: var(--green-dark);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: none;
  width: 240px;
  margin: 0;
  padding: 5px 0;
  list-style: none;
  background: var(--white);
  border-top: 3px solid var(--green-dark);
  box-shadow: 0 10px 24px rgba(9, 33, 113, 0.2);
}

.dropdown-menu a {
  padding: 11px 16px;
  color: var(--green-dark);
  font-size: 12px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--white);
}

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

.main-nav > .nav-wrap > ul > li:last-child .dropdown-menu {
  right: 0;
  left: auto;
}

.merit-notice {
  width: 100%;
  overflow: hidden;
  background: #f4a261;
  color: #4a2500;
  border-bottom: 2px solid #d97920;
}

.merit-notice__track {
  width: max-content;
  min-width: 100%;
  padding: 8px 0;
  animation: merit-notice-scroll 26s linear infinite;
  will-change: transform;
}

.merit-notice a {
  display: inline-block;
  padding: 0 24px;
  color: #4a2500;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.merit-notice:hover .merit-notice__track,
.merit-notice:focus-within .merit-notice__track {
  animation-play-state: paused;
}

.merit-notice a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@keyframes merit-notice-scroll {
  from {
    transform: translateX(100vw);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .merit-notice__track {
    width: 100%;
    animation: none;
    text-align: center;
  }
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: var(--green-dark);
  color: var(--white);
  min-height: 40px;
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
}

.hero {
  background:
    linear-gradient(90deg, rgba(9, 33, 113, 0.95), rgba(22, 129, 67, 0.88)),
    linear-gradient(135deg, #eef5ff, #ffffff);
  color: var(--white);
}

.hero__grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 500px);
  gap: 42px;
  align-items: center;
  padding: 42px 0;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h2,
.panel h2,
.course-box h2,
.news-box h2 {
  margin: 0 0 12px;
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.18;
}

.hero h2 {
  max-width: 760px;
  font-size: clamp(30px, 4.2vw, 54px);
}

.hero p {
  max-width: 650px;
  margin: 0;
  font-size: 18px;
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 2px solid transparent;
  font-weight: 700;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.image-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(9, 18, 38, 0.42);
}

.image-popup.is-hidden {
  display: none;
}

.image-popup__box {
  position: relative;
  width: min(25vw, 380px);
  min-width: 280px;
  background: var(--white);
  border: 6px solid var(--white);
  box-shadow: 0 18px 46px rgba(9, 18, 38, 0.32);
}

.image-popup__box img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: var(--white);
}

.image-popup__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(9, 18, 38, 0.22);
  cursor: pointer;
  font: 700 28px/1 Arial, sans-serif;
}

.image-popup__close:hover,
.image-popup__close:focus-visible {
  background: var(--blue);
}

.hero__visual {
  position: relative;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  background: #e9f2ff;
}

.campus-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.campus-slider {
  aspect-ratio: 4 / 3;
}

.campus-slide.is-active {
  opacity: 1;
}

.campus-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.campus-slider__dots span {
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  background: rgba(255, 255, 255, 0.4);
}

.campus-slider__dots span.is-active {
  background: var(--gold);
}

.quick-links {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 22px 0;
}

.quick-links a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--white);
  border-top: 4px solid var(--green);
  box-shadow: 0 8px 22px rgba(18, 32, 58, 0.08);
  color: var(--blue);
  font-weight: 700;
  text-align: center;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 46px 0;
}

.panel,
.course-box,
.news-box {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px;
}

.principal-panel {
  min-height: 315px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, rgba(22, 129, 67, 0.12), rgba(9, 33, 113, 0.1));
}

.principal-photo {
  width: 170px;
  height: 210px;
  object-fit: cover;
  object-position: center top;
  background: var(--soft);
  border: 6px solid var(--white);
  box-shadow: 0 8px 22px rgba(18, 32, 58, 0.12);
}

.principal-panel p {
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
}

.principal-name {
  color: var(--blue) !important;
  font-weight: 600;
}

.text-link {
  color: var(--red);
  font-weight: 700;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.panel-heading a {
  color: var(--red);
  font-weight: 700;
}

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

.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.notice-list time {
  min-height: 68px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  line-height: 1.05;
  text-align: center;
}

.notice-list strong {
  display: block;
  font-size: 25px;
}

.notice-list a {
  align-self: center;
  color: var(--ink);
  font-weight: 700;
}

.feature-links {
  padding: 42px 0 30px;
  background: var(--white);
}

.feature-links__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 52px 32px;
}

.feature-link-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 28px;
  background: #ececec;
  color: #081421;
  text-align: center;
  border-radius: 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-link-card:hover,
.feature-link-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(18, 32, 58, 0.14);
}

.feature-link-card__icon {
  position: absolute;
  top: -34px;
  left: 50%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: #fff800;
  border-radius: 7px;
  transform: translateX(-50%);
}

.feature-link-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #001527;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-link-card h2 {
  margin: 0 0 12px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.feature-link-card p {
  margin: 0;
  color: #34383f;
  font-size: 15px;
}

.feature-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 42px 0;
}

.info-card {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 5px solid var(--green);
  box-shadow: 0 8px 24px rgba(18, 32, 58, 0.08);
}

.info-card span {
  color: var(--red);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.info-card h3 {
  margin: 12px 0 8px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.vision-section {
  background: var(--white);
  padding: 48px 0;
}

.vision-title {
  max-width: 920px;
  margin-bottom: 24px;
}

.vision-title h2 {
  margin: 0 0 4px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.18;
}

.vision-title p {
  margin: 0 0 18px;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
}

.vision-title blockquote {
  margin: 0;
  padding: 18px 22px;
  border-left: 5px solid var(--green);
  background: var(--soft);
  color: var(--blue);
  font-size: 21px;
  font-weight: 700;
}

.vision-title blockquote span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.vision-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}

.vision-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  box-shadow: 0 8px 24px rgba(18, 32, 58, 0.08);
}

.vision-card--wide {
  grid-row: span 2;
}

.vision-card h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 22px;
}

.vision-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.vision-card ul,
.vision-card ol {
  margin: 0;
  padding-left: 21px;
  color: var(--muted);
}

.vision-card li {
  margin-bottom: 8px;
}

.values-card strong {
  color: var(--blue);
}

.course-news {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  padding: 46px 0;
}

.page-hero {
  padding: 58px 0;
  background:
    linear-gradient(90deg, rgba(9, 33, 113, 0.96), rgba(22, 129, 67, 0.88)),
    var(--blue);
  color: var(--white);
}

.page-hero h2 {
  max-width: 820px;
  margin: 0 0 8px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.department-profile {
  padding: 48px 0 64px;
}

.department-profile__image {
  display: block;
  width: 100%;
  max-width: 1039px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 32, 58, 0.12);
}

.about-page {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  padding: 46px 0 24px;
}

.about-main h2,
.about-message h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
}

.about-main p,
.about-message p {
  color: var(--muted);
  font-size: 17px;
}

.intro-quote {
  margin: 10px 0 22px;
  padding: 16px 20px;
  color: var(--blue);
  background: #f3f6fb;
  border-left: 4px solid var(--red);
  font-size: 18px;
  font-weight: 600;
}

.intro-quote span {
  display: block;
  margin-top: 6px;
  color: var(--red);
  font-size: 15px;
}

.intro-quote--closing {
  margin: 24px 0 0;
}

.about-facts ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.about-facts li {
  margin-bottom: 10px;
}

.about-facts strong {
  color: var(--blue);
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 24px;
}

.about-message {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 46px;
}

.glance-page {
  padding: 46px 0;
}

.glance-article {
  max-width: 980px;
  margin: 0 auto;
}

.glance-article h2,
.glance-article h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
}

.glance-article h3 {
  margin-top: 24px;
  font-size: 22px;
}

.glance-article p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  text-align: justify;
}

.glance-article blockquote {
  margin: 0 0 22px;
  padding: 18px 22px;
  border-left: 5px solid var(--green);
  background: var(--soft);
  color: var(--blue);
  font-size: 21px;
  font-weight: 700;
}

.glance-article blockquote span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.gallery-page {
  padding: 46px 0;
  display: grid;
  gap: 22px;
}

.photo-gallery-page {
  padding: 46px 0 60px;
}

.photo-gallery {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
}

.photo-gallery__viewport {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #101827;
  border-radius: 10px;
}

.photo-gallery__status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  color: var(--white);
  text-align: center;
}

.photo-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease;
}

.photo-gallery__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.photo-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.photo-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: rgba(9, 33, 113, 0.78);
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font: 700 26px/1 Arial, sans-serif;
}

.photo-gallery__arrow:hover,
.photo-gallery__arrow:focus-visible {
  background: var(--red);
}

.photo-gallery__arrow--previous {
  left: 18px;
}

.photo-gallery__arrow--next {
  right: 18px;
}

.photo-gallery__counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 10px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.66);
  border-radius: 20px;
  font-weight: 700;
}

.photo-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 16px;
}

.photo-gallery__dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  background: #c5cedc;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.photo-gallery__dots button.is-active {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(190, 20, 45, 0.16);
}

@media (max-width: 680px) {
  .photo-gallery-page {
    padding: 26px 0 40px;
  }

  .photo-gallery {
    padding: 10px;
  }

  .photo-gallery__viewport {
    aspect-ratio: 4 / 3;
  }

  .photo-gallery__arrow {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .photo-gallery__arrow--previous {
    left: 10px;
  }

  .photo-gallery__arrow--next {
    right: 10px;
  }
}

.blank-page {
  min-height: 260px;
}

.document-required-page {
  padding: 46px 0 60px;
}

.document-required-card {
  max-width: 920px;
  margin: 0 auto;
}

.document-required-card h2,
.document-required-card h3 {
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
}

.document-required-card h2 {
  margin: 8px 0 12px;
}

.document-required-card h3 {
  margin: 26px 0 12px;
  font-size: 20px;
}

.document-required-card > p,
.document-required-card li,
.document-note p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.document-required-card ol {
  margin: 0;
  padding-left: 26px;
}

.document-required-card li {
  margin-bottom: 7px;
  padding-left: 4px;
}

.document-note {
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 5px solid var(--red);
  background: #fff7f5;
}

.document-note h3 {
  margin-top: 0;
}

.document-note p {
  margin-bottom: 0;
}

.programme-page {
  padding: 46px 0 60px;
}

.programme-card {
  max-width: 760px;
  margin: 0 auto;
}

.programme-card h2 {
  margin: 8px 0 22px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
}

.programme-card + .programme-card {
  margin-top: 24px;
}

.programme-detail {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.programme-detail:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.programme-detail h3 {
  margin: 0 0 7px;
  color: var(--green);
  font-family: Montserrat, Arial, sans-serif;
}

.programme-detail p {
  margin: 0;
  line-height: 1.7;
}

.programme-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.programme-table th,
.programme-table td {
  padding: 15px 18px;
  border: 1px solid var(--line);
  text-align: left;
}

.programme-table th {
  background: var(--green);
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
}

.programme-table th:last-child,
.programme-table td:last-child {
  width: 130px;
  text-align: right;
}

.programme-table tbody tr:nth-child(even) {
  background: #f5f9f6;
}

.coming-soon-page {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 46px 0 60px;
}

.coming-soon-card {
  width: min(100%, 680px);
  text-align: center;
}

.coming-soon-card h2 {
  margin: 8px 0 12px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
}

.coming-soon-card p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.student-program-page {
  padding: 46px 0 60px;
}

.student-program-card {
  width: min(100%, 820px);
  margin: 0 auto;
  text-align: center;
}

.student-program-card h2 {
  margin: 8px 0 22px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
}

.student-program-image {
  width: min(100%, 680px);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.social-media-page {
  padding: 46px 0 60px;
}

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

.qr-card {
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  box-shadow: var(--shadow);
}

.qr-card img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

.nep-page {
  display: grid;
  gap: 24px;
  padding: 46px 0 60px;
}

.iqac-logo-section {
  display: flex;
  justify-content: center;
  padding-top: 36px;
}

.iqac-page-logo {
  width: min(300px, 72vw);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.nep-content h2 {
  margin: 30px 0 12px;
  color: var(--blue);
  font-family: Hind, Montserrat, Arial, sans-serif;
}

.nep-content h2:first-child {
  margin-top: 0;
}

.nep-content li,
.nep-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.nep-content li {
  margin-bottom: 8px;
}

.nep-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.nep-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.nep-table th,
.nep-table td {
  padding: 13px 15px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  color: var(--muted);
}

.nep-table th {
  background: var(--green);
  color: var(--white);
}

.vac-table {
  min-width: 860px;
}

.vac-table th:first-child,
.vac-table td:first-child {
  width: 72px;
  text-align: center;
}

.vac-table th:nth-child(2),
.vac-table td:nth-child(2) {
  width: 140px;
  white-space: nowrap;
}

.vac-table th:last-child,
.vac-table td:last-child {
  width: 180px;
}

.download-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  box-shadow: var(--shadow);
}

.download-card__icon {
  width: 86px;
  height: 100px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.download-card h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-family: Hind, Montserrat, Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.download-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pdf-viewer {
  padding: 0;
  overflow: hidden;
}

.pdf-viewer iframe {
  display: block;
  width: 100%;
  height: min(78vh, 760px);
  min-height: 520px;
  border: 0;
}

.btn--outline {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--white);
}

.governing-section {
  padding: 46px 0;
}

.governing-section--compact {
  padding: 46px 0 54px;
}

.governing-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.principal-profile {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 30px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    linear-gradient(135deg, rgba(22, 129, 67, 0.12), rgba(9, 33, 113, 0.1));
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  box-shadow: var(--shadow);
}

.principal-profile__photo {
  width: 150px;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  background: var(--soft);
  border: 6px solid var(--white);
  box-shadow: 0 8px 22px rgba(18, 32, 58, 0.12);
}

.principal-profile h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.principal-profile p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.principal-profile__role {
  color: var(--red) !important;
}

.principal-profile a {
  color: var(--red);
}

.table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.people-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

.people-table th,
.people-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.people-table th {
  background: var(--blue);
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
}

.people-table tbody tr:nth-child(even) {
  background: #f9fbfe;
}

.people-table tbody tr:hover {
  background: #eef6ff;
}

.people-table a {
  color: var(--red);
  font-weight: 600;
}

.member-photo,
.photo-placeholder {
  width: 64px;
  height: 72px;
  border: 3px solid var(--white);
  box-shadow: 0 6px 16px rgba(18, 32, 58, 0.12);
}

.member-photo {
  object-fit: cover;
  object-position: center top;
  background: var(--soft);
}

.photo-placeholder {
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
}

.course-box,
.news-box {
  padding: 28px;
}

.course-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.course-columns h3 {
  margin: 10px 0;
  color: var(--blue);
}

.course-columns ul,
.site-footer ul {
  margin: 0;
  padding-left: 18px;
}

.news-box {
  background:
    linear-gradient(90deg, rgba(9, 33, 113, 0.92), rgba(9, 33, 113, 0.78)),
    var(--blue);
  color: var(--white);
}

.news-box p {
  max-width: 720px;
  margin: 0 0 24px;
}

.site-footer {
  background: #111827;
  color: #d7deeb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.2fr;
  gap: 34px;
  padding: 42px 0;
}

.footer-logo {
  width: 86px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
}

.site-footer p {
  margin: 0 0 10px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
  color: #aab5c7;
  font-size: 14px;
}

@media (max-width: 920px) {
  .brand-area__inner {
    grid-template-columns: 76px 1fr;
    text-align: left;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .brand-logo--right {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .main-nav > .nav-wrap > ul {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .main-nav > .nav-wrap > ul.is-open {
    display: flex;
  }

  .main-nav a,
  .dropdown-toggle {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    right: auto;
    width: 100%;
    padding: 0;
    border-top: 0;
    box-shadow: none;
    background: var(--green-dark);
  }

  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open > .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding-left: 34px;
    color: var(--white);
  }

  .hero__grid,
  .content-grid,
  .course-news,
  .about-page,
  .about-message,
  .footer-grid,
  .notice-row {
    grid-template-columns: 1fr;
  }

  .main-nav a,
  .dropdown-toggle {
    padding: 13px 18px;
    font-size: 13px;
  }

  .principal-panel {
    grid-template-columns: 1fr;
  }

  .principal-photo {
    width: 126px;
    height: 150px;
  }

  .quick-links__grid,
  .cards-grid,
  .about-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-links__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 18px;
  }

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

  .vision-card--wide {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .merit-notice__track {
    padding: 7px 0;
    animation-duration: 23s;
  }

  .merit-notice a {
    padding: 0 16px;
    font-size: 13px;
  }

  .student-program-page {
    padding: 28px 0 40px;
  }

  .student-program-card {
    padding: 18px;
  }

  .top-strip__inner {
    gap: 8px 16px;
    padding: 8px 0;
  }

  .top-strip a {
    margin-left: 0;
  }

  .brand-area__inner {
    min-height: 118px;
    gap: 14px;
  }

  .hero__grid {
    min-height: 0;
    padding: 32px 0;
    gap: 28px;
  }

  .image-popup__box {
    width: min(86vw, 380px);
    min-width: 0;
  }

  .quick-links__grid,
  .cards-grid,
  .about-columns,
  .feature-links__grid,
  .course-columns {
    grid-template-columns: 1fr;
  }

  .notice-list li {
    grid-template-columns: 70px 1fr;
  }

  .panel,
  .course-box,
  .news-box,
  .info-card {
    padding: 22px;
  }

  .department-profile {
    padding: 28px 0 40px;
  }

  .department-profile__image {
    border-radius: 6px;
  }

  .document-required-page {
    padding: 28px 0 40px;
  }

  .document-required-card > p,
  .document-required-card li,
  .document-note p {
    font-size: 16px;
  }

  .programme-page {
    padding: 28px 0 40px;
  }

  .programme-table {
    font-size: 16px;
  }

  .programme-table th,
  .programme-table td {
    padding: 12px;
  }

  .social-media-page {
    padding: 28px 0 40px;
  }

  .qr-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .governing-section,
  .governing-section--compact {
    padding: 32px 0;
  }

  .principal-profile {
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 18px;
  }

  .principal-profile__photo {
    width: 92px;
    height: 112px;
    border-width: 4px;
  }

  .principal-profile p {
    overflow-wrap: anywhere;
    font-size: 15px;
  }

  .download-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .download-card__icon {
    width: 72px;
    height: 82px;
  }

  .table-wrapper {
    overflow-x: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .people-table {
    min-width: 0;
    display: block;
  }

  .people-table thead {
    display: none;
  }

  .people-table tbody {
    display: grid;
    gap: 16px;
  }

  .people-table tr {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 6px 14px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 5px solid var(--green);
    box-shadow: 0 8px 22px rgba(18, 32, 58, 0.08);
  }

  .people-table tbody tr:nth-child(even),
  .people-table tbody tr:hover {
    background: var(--white);
  }

  .people-table td {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    border-bottom: 0;
    color: var(--ink);
    overflow-wrap: anywhere;
  }

  .people-table td::before {
    color: var(--blue);
    font-weight: 700;
  }

  .people-table--faculty td:nth-child(1),
  .people-table--staff td:nth-child(1) {
    grid-row: 1 / span 2;
    grid-column: 1;
    display: block;
  }

  .people-table--faculty td:nth-child(1)::before,
  .people-table--staff td:nth-child(1)::before {
    content: none;
  }

  .people-table--faculty td:nth-child(2),
  .people-table--staff td:nth-child(2) {
    grid-column: 2;
    display: block;
    color: var(--blue);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
  }

  .people-table--faculty td:nth-child(n+3),
  .people-table--staff td:nth-child(n+3) {
    grid-column: 1 / -1;
  }

  .people-table--faculty td:nth-child(3)::before {
    content: "Designation";
  }

  .people-table--faculty td:nth-child(4)::before {
    content: "Department";
  }

  .people-table--faculty td:nth-child(5)::before {
    content: "Qualification";
  }

  .people-table--faculty td:nth-child(6)::before {
    content: "Email";
  }

  .people-table--faculty td:nth-child(7)::before {
    content: "Mobile";
  }

  .people-table--staff td:nth-child(3)::before {
    content: "Designation";
  }

  .people-table--staff td:nth-child(4)::before {
    content: "Category";
  }

  .people-table--staff td:nth-child(5)::before {
    content: "Email";
  }

  .people-table--staff td:nth-child(6)::before {
    content: "Mobile";
  }

  .member-photo,
  .photo-placeholder {
    width: 66px;
    height: 76px;
  }

  .nep-table-wrapper--vac {
    overflow-x: visible;
  }

  .vac-table {
    min-width: 0;
    display: block;
  }

  .vac-table thead {
    display: none;
  }

  .vac-table tbody {
    display: grid;
    gap: 14px;
  }

  .vac-table tr {
    display: block;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 5px solid var(--green);
    box-shadow: 0 8px 22px rgba(18, 32, 58, 0.08);
  }

  .vac-table td,
  .vac-table td:first-child,
  .vac-table td:nth-child(2),
  .vac-table td:last-child {
    width: auto;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .vac-table td:last-child {
    border-bottom: 0;
  }

  .vac-table td::before {
    content: attr(data-label);
    color: var(--blue);
    font-weight: 700;
  }
}

@media (max-width: 420px) {
  .people-table td {
    grid-template-columns: 94px minmax(0, 1fr);
    font-size: 15px;
  }
}
