:root {
  --navy: #061a3a;
  --navy-2: #0b2b5c;
  --ink: #102033;
  --red: #d81f2a;
  --red-dark: #a9141d;
  --teal: #0a8b95;
  --teal-dark: #04616d;
  --gold: #f3b33d;
  --sky: #e8f5fb;
  --mist: #f6f8fb;
  --white: #ffffff;
  --line: rgba(16, 32, 51, 0.12);
  --shadow: 0 24px 70px rgba(6, 26, 58, 0.18);
  --shadow-soft: 0 16px 42px rgba(6, 26, 58, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(10, 139, 149, 0.08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 42%, #ffffff 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

.container-xl {
  --bs-gutter-x: 1.5rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(6, 26, 58, 0.14);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, padding 220ms ease;
}

.site-header .container-xl {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 10px 16px;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(6, 26, 58, 0.2);
}

.nav-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(6, 26, 58, 0.08);
  border-radius: 14px 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--navy), var(--teal-dark));
}

.nav-topline a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 42px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--white);
  transition: transform 220ms ease;
}

.brand:hover img {
  transform: scale(1.06) rotate(-2deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.1;
}

.brand small {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  gap: 4px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav .nav-link {
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--navy);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-nav .nav-link.active {
  color: var(--navy);
  background: var(--sky);
  transform: translateY(-1px);
}

.site-nav .nav-link:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  border-radius: 99px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav .nav-link:not(.nav-cta):hover::after,
.site-nav .nav-link:not(.nav-cta).active::after {
  transform: scaleX(1);
}

.nav-cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--red), #ef4d55);
  box-shadow: 0 10px 24px rgba(216, 31, 42, 0.28);
}

.dropdown-menu {
  padding: 10px;
  border: 1px solid rgba(6, 26, 58, 0.1);
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(6, 26, 58, 0.18);
}

.dropdown-item {
  border-radius: 8px;
  color: var(--navy);
  font-weight: 800;
  padding: 10px 12px;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.menu-toggle:focus {
  box-shadow: 0 0 0 4px rgba(10, 139, 149, 0.22);
}

.menu-toggle .navbar-toggler-icon {
  width: 1.35em;
  height: 1.35em;
  margin: 0;
  background-image: var(--bs-navbar-toggler-icon-bg);
  filter: invert(1) brightness(2);
}

.menu-toggle > span:not(.navbar-toggler-icon) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle.is-open > span:not(.navbar-toggler-icon):nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open > span:not(.navbar-toggler-icon):nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open > span:not(.navbar-toggler-icon):nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88vh;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-carousel,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  z-index: 3;
  width: 7%;
  opacity: 0.62;
}

.hero-carousel .carousel-indicators {
  z-index: 4;
  right: auto;
  bottom: 24px;
  left: max(16px, calc((100vw - 1180px) / 2));
  justify-content: flex-start;
  width: auto;
  margin: 0;
}

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

.hero-carousel .carousel-indicators .active {
  background-color: var(--gold);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 26, 58, 0.94), rgba(6, 26, 58, 0.72) 42%, rgba(216, 31, 42, 0.2)),
    linear-gradient(0deg, rgba(6, 26, 58, 0.7), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 176px 0 62px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges .badge {
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  box-shadow: 0 12px 28px rgba(6, 26, 58, 0.16);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 9vw, 7.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #f04b55);
  box-shadow: 0 14px 32px rgba(216, 31, 42, 0.32);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.08);
}

.btn.light {
  color: var(--navy);
  background: var(--white);
}

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

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(6, 26, 58, 0.2);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 26px;
  color: var(--red);
  font-weight: 900;
}

.text-link::after {
  content: ">";
  margin-left: 10px;
  transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.text-link.centered {
  margin-right: auto;
  margin-left: auto;
}

.motto-mark {
  display: inline-grid;
  gap: 2px;
  margin-top: 34px;
  padding-left: 18px;
  border-left: 5px solid var(--gold);
}

.motto-mark span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.motto-mark strong {
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.hero-admission-card {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: min(360px, 34vw);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-admission-card p {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-admission-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.hero-admission-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-admission-card li:last-child {
  border-bottom: 0;
}

.hero-admission-card li span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-admission-card li strong {
  color: var(--white);
  font-size: 0.95rem;
  text-align: right;
}

.hero-admission-card .btn {
  width: 100%;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: var(--white);
}

.proof-strip div {
  min-height: 112px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease, transform 180ms ease;
}

.proof-strip div:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.proof-strip span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.split,
.trust,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.apply-copy p,
.contact-section p {
  margin: 22px 0 0;
  color: #526070;
  font-size: 1.04rem;
}

.fees-preview {
  max-width: 980px;
  text-align: center;
}

.fees-preview .text-link {
  margin-right: auto;
  margin-left: auto;
}

.why-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.why-card:hover {
  border-color: rgba(10, 139, 149, 0.28);
  box-shadow: 0 24px 56px rgba(6, 26, 58, 0.14);
  transform: translateY(-6px);
}

.why-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.why-card p {
  color: #526070;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mini-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  font-weight: 800;
  background: var(--mist);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.mini-list span:hover {
  border-color: rgba(10, 139, 149, 0.28);
  background: var(--sky);
  transform: translateY(-2px);
}

.image-feature {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.image-feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.image-feature:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.color-band {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #f6fbfd, #fff7ec);
}

.section-heading {
  max-width: 850px;
}

.section-heading.narrow {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.experience-grid,
.requirement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.experience-card,
.requirement-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(6, 26, 58, 0.08);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.experience-card:hover,
.requirement-grid article:hover,
.detail-grid article:hover,
.fees-grid article:hover,
.requirement-list article:hover {
  border-color: rgba(10, 139, 149, 0.28);
  box-shadow: 0 24px 56px rgba(6, 26, 58, 0.14);
  transform: translateY(-6px);
}

.experience-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.experience-card div {
  padding: 22px;
}

.experience-card p,
.requirement-grid p {
  margin: 0;
  color: #526070;
}

.requirement-grid article {
  padding: 28px;
}

.requirement-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  background: var(--teal);
}

.certificate {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.certificate img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 57% center;
}

.trust {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 70px max(16px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(6, 26, 58, 0.96), rgba(10, 139, 149, 0.9)),
    url("../images/697792739_122242091372114898_1429203071177540908_n.jpg") center / cover;
}

.apply-section h2 {
  color: var(--white);
}

.apply-copy {
  max-width: 720px;
}

.apply-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.apply-actions {
  justify-content: flex-end;
  max-width: 470px;
  margin: 0;
}

.contact-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

address {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-style: normal;
}

address a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 800;
  background: var(--mist);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

address a:hover,
address a:focus-visible {
  border-color: rgba(10, 139, 149, 0.28);
  background: var(--sky);
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(16px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: #061327;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 64vh;
  padding: 176px max(16px, calc((100vw - 1180px) / 2)) 70px;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 58, 0.93), rgba(6, 26, 58, 0.62)),
    linear-gradient(0deg, rgba(6, 26, 58, 0.72), transparent);
}

.page-hero > div {
  position: relative;
  max-width: 850px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 7rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.about-hero {
  background-image: url("../images/Students.jpg");
  background-position: center 24%;
}

.programs-hero {
  background-image: url("../images/Students%20in%20class.jpg");
}

.requirements-hero {
  background-image: url("../images/Adv1.jpg");
  background-position: center 36%;
}

.fees-hero {
  background-image: url("../images/Adv2.jpg");
  background-position: center 35%;
}

.contact-hero {
  background-image: url("../images/697792739_122242091372114898_1429203071177540908_n.jpg");
}

.apply-hero {
  background-image: url("../images/Students.jpg");
  background-position: center 30%;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.detail-grid article,
.fees-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(6, 26, 58, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.detail-grid img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.detail-grid h3,
.detail-grid p {
  margin-right: 22px;
  margin-left: 22px;
}

.detail-grid h3 {
  margin-top: 22px;
}

.detail-grid p {
  margin-bottom: 22px;
  color: #526070;
}

.program-card {
  overflow: hidden;
  border-radius: 12px;
}

.program-card .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.program-card .badge {
  font-weight: 800;
}

.program-tabs-section {
  padding-top: 30px;
}

.program-pills {
  gap: 10px;
  margin: 34px 0 22px;
}

.program-pills .nav-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 900;
  padding: 11px 18px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(6, 26, 58, 0.07);
}

.program-pills .nav-link.active {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.program-tab-content {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.program-tab-content h3 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.program-tab-content p {
  color: #526070;
  font-size: 1.05rem;
}

.requirement-list {
  display: grid;
  gap: 16px;
}

.apply-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.apply-steps article {
  position: relative;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.apply-steps article:hover {
  border-color: rgba(10, 139, 149, 0.28);
  box-shadow: 0 24px 56px rgba(6, 26, 58, 0.14);
  transform: translateY(-6px);
}

.apply-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--teal));
}

.apply-steps p {
  color: #526070;
}

.apply-steps.compact article {
  min-height: 230px;
}

.requirement-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(6, 26, 58, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.requirement-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  background: var(--teal);
}

.requirement-list h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.requirement-list p {
  margin: 12px 0 0;
  color: #526070;
}

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

.fees-grid article {
  padding: 32px;
}

.fees-grid span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fees-grid strong {
  display: block;
  margin: 8px 0 14px;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
}

.fees-grid p {
  margin: 0;
  color: #526070;
}

.cta-panel {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto 88px;
  padding: 48px;
  border-radius: 8px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), var(--teal));
  box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
  margin-bottom: 26px;
  color: var(--white);
}

.page-apply {
  margin-top: 0;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--red);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.accordion {
  display: grid;
  gap: 12px;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 88px;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(6, 26, 58, 0.08);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  color: var(--navy);
  font: inherit;
  font-weight: 900;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.accordion-trigger::after {
  content: "+";
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
}

.accordion-item.is-open .accordion-trigger::after {
  content: "-";
  background: var(--red);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.accordion-panel p,
.accordion-panel ul {
  margin: 0;
  padding: 0 22px 22px;
  color: #526070;
}

.accordion-panel ul {
  padding-left: 42px;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.2%, -1%, 0);
  }
}

@media (max-width: 991.98px) {
  .site-header {
    width: min(720px, calc(100% - 20px));
  }

  .site-header .container-xl {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(232, 245, 251, 0.72);
  }

  .site-nav .navbar-nav {
    align-items: stretch !important;
    gap: 6px;
  }

  .site-nav .nav-link {
    padding: 12px;
    border-radius: 10px;
  }

  .dropdown-menu {
    margin-top: 6px;
    box-shadow: none;
  }

  .hero {
    min-height: 86vh;
  }


  .hero-admission-card {
    position: static;
    width: min(100%, 420px);
    margin-top: 28px;
  }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(6, 26, 58, 0.95), rgba(6, 26, 58, 0.68) 70%, rgba(216, 31, 42, 0.16)),
      linear-gradient(90deg, rgba(6, 26, 58, 0.85), rgba(6, 26, 58, 0.28));
  }

  .proof-strip,
  .experience-grid,
  .requirement-grid,
  .detail-grid,
  .fees-grid,
  .apply-steps,
  .split,
  .trust,
  .apply-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .apply-actions {
    justify-content: flex-start;
    max-width: none;
  }

  address {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 58vh;
  }

  .accordion {
    width: calc(100% - 32px);
  }
}

@media (max-width: 560px) {
  .site-header {
    margin-top: 10px;
  }

  .nav-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 8px 12px;
  }

  .brand strong {
    max-width: 178px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-top: 170px;
    padding-bottom: 62px;
  }


  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    display: none;
  }

  .hero-carousel .carousel-indicators {
    bottom: 18px;
    left: 14px;
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.6rem);
  }

  .hero-actions,
  .apply-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    width: calc(100% - 28px);
    padding: 64px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 56vh;
    padding-top: 170px;
    padding-bottom: 48px;
  }

  .requirement-list article {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .cta-panel {
    width: calc(100% - 28px);
    margin-bottom: 64px;
    padding: 34px 22px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
