:root {
  --logo-purple: #690F95;
  --logo-plum: #690F95;
  --logo-pink: #FB0068;
  --logo-pink-bright: #FB0068;
  --logo-pink-hot: #FB0068;
  --navy: #171F32;
  --navy-dark: #111843;
  --magenta: #FB0068;
  --magenta-dark: #D80052;
  --magenta-active: #690F95;
  --orange: #690F95;
  --orange-dark: #690F95;
  --teal: #AADDDD;
  --yellow: #EEFFBB;
  --ink: #333333;
  --muted: #515151;
  --medium-gray: #767676;
  --line: #EBE9EB;
  --soft: #EBE9EB;
  --white: #FFFFFF;
  --shadow-raised: rgba(0, 0, 0, 0.05) 0 4px 12px;
  --shadow-elevated: rgba(0, 0, 0, 0.1) 0 0 25px;
  --shadow-high: rgba(0, 0, 0, 0.15) 0 0 30px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.is-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 16px;
  left: 16px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--navy);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--magenta);
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: 48px;
  font-weight: 800;
  line-height: 56px;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 30px;
}

p {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  color: var(--navy);
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  min-height: 56px;
  padding: 8px 35px;
  color: var(--white);
  background: var(--magenta);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--magenta-dark);
}

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

.button--light:hover,
.button--light:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.button--outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.button--outline:hover,
.button--outline:focus-visible {
  background: rgba(23, 31, 50, 0.08);
}

.site-header {
  background: var(--white);
}

.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: rgba(0, 0, 0, 0.04) 0 2px 14px;
}

.topbar {
  color: var(--white);
  background: var(--logo-purple);
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
}

.topbar__contacts,
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

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

.topbar__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 14px;
  color: var(--white) !important;
  background: var(--logo-pink-bright);
  border-radius: 4px;
  font-weight: 700;
}

.topbar__apply:hover,
.topbar__apply:focus-visible {
  background: var(--logo-pink-hot);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 96px;
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 224px;
  line-height: 0;
}

.brand img {
  width: 100%;
  height: 86px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a,
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"],
.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-expanded="true"],
.nav-item.is-current > .nav-link {
  color: var(--magenta);
}

.nav-item--has-menu > .nav-link::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  min-width: 240px;
  padding: 14px 0;
  margin: 0;
  list-style: none;
  background: var(--white);
  box-shadow: var(--shadow-high);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.submenu--wide {
  min-width: 330px;
}

.submenu a {
  display: block;
  min-height: 42px;
  padding: 10px 20px;
  color: var(--ink);
  font-size: 15px;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--magenta);
  background: #EBE9EB;
}

.nav-item--has-menu:hover .submenu,
.nav-item--has-menu:focus-within .submenu,
.nav-item--has-menu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.nav-toggle__line {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  background: var(--navy);
}

.hero-slider {
  position: relative;
  min-height: 670px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide[hidden] {
  display: block;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 67, 0.9) 0%, rgba(23, 31, 50, 0.78) 48%, rgba(23, 31, 50, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.24));
}

.hero-slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 80px;
  color: var(--white);
}

.hero-slide__content h1 {
  color: var(--white);
}

.hero-slide__content p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 17px;
  line-height: 30px;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--magenta);
  border: 0;
  border-radius: 55px;
  box-shadow: var(--shadow-elevated);
  transform: translateY(-50%);
}

.slider-control span[aria-hidden="true"] {
  font-size: 34px;
  line-height: 1;
}

.slider-control--prev {
  left: 24px;
}

.slider-control--next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dots button {
  width: 13px;
  height: 13px;
  padding: 0;
  background: rgba(255, 255, 255, 0.68);
  border: 0;
  border-radius: 50%;
}

.slider-dots button.is-active {
  background: var(--magenta);
}

.feature-strip {
  background: var(--white);
}

.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  transform: translateY(-42px);
  box-shadow: var(--shadow-elevated);
}

.feature-strip article {
  min-height: 132px;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: 0;
}

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

.feature-strip strong {
  color: var(--navy);
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  line-height: 28px;
}

.feature-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.section {
  padding-block: 80px;
}

.section--soft {
  background: var(--soft);
}

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

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  text-align: left;
}

.section-heading--split > div {
  max-width: 760px;
}

.about__grid,
.degree-cta__grid,
.apply__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.section-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}

.image-frame {
  background: var(--teal);
  border: 16px solid var(--teal);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.stats-grid article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  color: var(--magenta);
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 38px;
}

.stats-grid span {
  color: var(--muted);
  font-size: 14px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.course-card,
.course-area-card,
.why-grid article,
.news-card,
.enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
}

.course-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 32px 28px;
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.course-card:hover,
.course-area-card:hover,
.news-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.course-card__number {
  color: var(--magenta);
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.course-card h3 {
  margin-top: 18px;
}

.course-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.course-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--magenta);
  font-weight: 700;
  text-decoration: none;
}

.course-card--featured {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.course-card--featured h3,
.course-card--featured a,
.course-card--featured .course-card__number {
  color: var(--white);
}

.course-card--featured p {
  color: rgba(255, 255, 255, 0.78);
}

.course-area-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.course-area-card {
  min-height: 260px;
  padding: 30px 26px;
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.course-area-card span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--magenta);
  border-radius: 55px;
  font-weight: 800;
}

.course-area-card h3 {
  margin-top: 22px;
}

.course-area-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.degree-cta {
  color: var(--white);
  background: var(--navy-dark);
  padding-block: 72px;
}

.degree-cta h2,
.degree-cta .eyebrow {
  color: var(--white);
}

.degree-cta p {
  max-width: 680px;
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

.degree-cta img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-grid article {
  min-height: 230px;
  padding: 32px;
}

.why-grid article::before {
  display: block;
  width: 48px;
  height: 5px;
  margin-bottom: 24px;
  background: var(--magenta);
  content: "";
}

.why-grid p {
  margin-top: 12px;
  color: var(--muted);
}

.partners {
  background: var(--white);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.partner-grid span {
  display: grid;
  min-height: 108px;
  place-items: center;
  padding: 20px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  font-weight: 700;
  text-align: center;
}

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

.news-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--navy);
}

.news-card div {
  padding: 28px;
}

.news-card span {
  color: var(--magenta);
  font-size: 14px;
  font-weight: 700;
}

.news-card h3 {
  margin-top: 10px;
}

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

.apply-steps {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: apply-step;
}

.apply-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 96px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  counter-increment: apply-step;
}

.apply-steps li::before {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: var(--orange);
  border-radius: 55px;
  font-weight: 800;
  content: counter(apply-step);
}

.apply-steps strong,
.apply-steps span {
  display: block;
}

.apply-steps strong {
  color: var(--navy);
}

.apply-steps span {
  color: var(--muted);
}

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

.contact h2,
.contact .eyebrow {
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  font-style: normal;
}

.contact-list strong {
  color: var(--white);
}

.contact-list span,
.contact-list a {
  color: rgba(255, 255, 255, 0.82);
}

.contact-list a {
  width: fit-content;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--white);
}

.enquiry-form {
  display: grid;
  gap: 16px;
  padding: 36px;
  color: var(--ink);
  box-shadow: var(--shadow-elevated);
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  color: #111B21;
  background: var(--white);
  border: 1px solid #CCCCCC;
  border-radius: 24px;
  outline: 0;
}

.field-group input,
.field-group select {
  height: 48px;
  padding: 0 15px;
}

.field-group textarea {
  resize: vertical;
  min-height: 130px;
  padding: 14px 15px;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(251, 0, 104, 0.12);
}

.form-status {
  min-height: 26px;
  color: var(--magenta);
  font-weight: 700;
}

.site-footer {
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(105, 15, 149, 0.18), rgba(251, 0, 104, 0.08)),
    var(--logo-pink);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.8fr 0.8fr;
  gap: 48px;
  align-items: start;
  padding-block: 64px 44px;
}

.footer__logo {
  width: 260px;
  padding: 0;
  background: transparent;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.96;
}

.footer__grid p {
  margin-top: 16px;
  max-width: 360px;
}

.footer__grid h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-family: "Nunito", sans-serif;
  font-size: 20px;
}

.footer__grid a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer__grid a:hover,
.footer__bottom a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  background: var(--logo-purple);
  border-top: 0;
  box-shadow: 0 0 0 100vmax var(--logo-purple);
  clip-path: inset(0 -100vmax);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(17, 24, 67, 0.96), rgba(23, 31, 50, 0.9)),
    linear-gradient(160deg, transparent 0 58%, rgba(251, 0, 104, 0.24) 58% 72%, rgba(105, 15, 149, 0.16) 72% 100%),
    var(--navy);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.74fr);
  gap: 56px;
  align-items: center;
  min-height: 430px;
  padding-block: 72px;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Roboto Slab", Georgia, serif;
}

.page-hero img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.54);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
  gap: 56px;
  align-items: start;
}

.info-panel,
.value-grid article,
.admission-card,
.contact-panel,
.course-detail-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.info-panel {
  padding: 34px;
  box-shadow: var(--shadow-elevated);
}

.info-panel h2,
.admission-card h2,
.contact-panel h2,
.course-detail-card h2,
.event-list h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  line-height: 30px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--magenta);
  border-radius: 55px;
  content: "";
}

.value-grid,
.admission-grid,
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-grid article,
.admission-card,
.contact-panel {
  min-height: 220px;
  padding: 32px;
}

.value-grid p,
.admission-card p,
.contact-panel p {
  margin-top: 12px;
  color: var(--muted);
}

.contact-panel a {
  color: var(--magenta);
  font-weight: 700;
  text-decoration: none;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

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

.course-detail-card {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  padding: 36px;
}

.course-detail-card > span {
  color: var(--magenta);
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}

.course-detail-card p {
  margin-top: 14px;
  color: var(--muted);
}

.course-detail-card .button {
  width: fit-content;
  margin-top: auto;
}

.course-detail-card--featured {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.course-detail-card--featured h2,
.course-detail-card--featured > span,
.course-detail-card--featured .check-list li {
  color: var(--white);
}

.course-detail-card--featured p {
  color: rgba(255, 255, 255, 0.78);
}

.course-detail-card--featured .check-list li::before {
  background: var(--teal);
}

.event-list {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.event-list article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.event-list time {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--white);
  background: var(--magenta);
  border-radius: 55px;
  font-weight: 800;
  text-align: center;
}

.event-list p {
  margin-top: 6px;
  color: var(--muted);
}

.contact--page {
  padding-top: 80px;
}

@media (max-width: 1180px) {
  .course-grid,
  .course-area-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid,
  .partner-grid,
  .feature-strip__grid,
  .value-grid,
  .admission-grid,
  .contact-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-strip article:nth-child(2) {
    border-right: 0;
  }

  .feature-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 1023px) {
  h1 {
    font-size: 42px;
    line-height: 52px;
  }

  h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .hero-slider {
    min-height: 610px;
  }

  .about__grid,
  .degree-cta__grid,
  .apply__grid,
  .contact__grid,
  .page-hero__grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .degree-cta img {
    max-height: 300px;
  }

  .news-grid,
  .footer__grid,
  .course-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .topbar__inner,
  .topbar__contacts,
  .topbar__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .topbar__inner {
    padding-block: 10px;
  }

  .navbar {
    min-height: 74px;
  }

  .brand {
    width: 168px;
  }

  .brand img {
    height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: block;
    width: min(70vw, 320px);
    padding: 86px 18px 24px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 30px;
    transform: translateX(110%);
    transition: transform 180ms ease;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-menu a,
  .nav-link {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 8px;
    text-align: left;
  }

  .submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 8px 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item--has-menu.is-open .submenu {
    display: block;
  }

  .submenu a {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 14px;
  }

  h1 {
    font-size: 34px;
    line-height: 42px;
  }

  h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .hero-slider {
    min-height: 600px;
  }

  .hero-slide__content {
    padding-block: 64px;
  }

  .hero-slide__content p:not(.eyebrow) {
    font-size: 15px;
    line-height: 26px;
  }

  .slider-control {
    top: auto;
    bottom: 24px;
    width: 44px;
    height: 44px;
  }

  .slider-control--prev {
    left: 16px;
  }

  .slider-control--next {
    right: 16px;
  }

  .slider-dots {
    bottom: 38px;
  }

  .feature-strip__grid {
    grid-template-columns: 1fr;
    transform: none;
    box-shadow: none;
  }

  .feature-strip article,
  .feature-strip article:nth-child(2),
  .feature-strip article:nth-child(-n + 2) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .section {
    padding-block: 48px;
  }

  .course-grid,
  .course-area-grid,
  .why-grid,
  .partner-grid,
  .news-grid,
  .stats-grid,
  .footer__grid,
  .value-grid,
  .admission-grid,
  .contact-card-grid,
  .course-detail-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-heading--split {
    display: block;
    margin-bottom: 32px;
    text-align: left;
  }

  .section-heading--split .button {
    margin-top: 20px;
  }

  .course-card,
  .course-area-card,
  .why-grid article,
  .course-detail-card,
  .info-panel,
  .value-grid article,
  .admission-card,
  .contact-panel {
    min-height: auto;
    padding: 24px;
  }

  .page-hero__grid {
    gap: 30px;
    min-height: auto;
    padding-block: 52px;
  }

  .page-hero img {
    max-height: 230px;
  }

  .event-list article {
    grid-template-columns: 1fr;
  }

  .image-frame {
    border-width: 12px;
  }

  .enquiry-form {
    padding: 24px;
  }

  .apply-steps li {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
  }
}
