:root {
  --navy: #061d33;
  --navy-deep: #03172b;
  --navy-mid: #0c2a47;
  --gold: #e4a91b;
  --gold-bright: #ffbd08;
  --white: #ffffff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Philosopher", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Philosopher", sans-serif;
  color: #12243a;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 2000;
  padding: 10px 14px;
  color: #000;
  background: #fff;
}

.skip-link:focus {
  left: 10px;
}

/* TOP BAR */
.topbar {
  min-height: 38px;
  color: #fff;
  background: linear-gradient(100deg, #03172a, #082747);
  font-size: 14px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-keyword em {
  color: var(--gold-bright);
  font-style: italic;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-contact a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.topbar-contact i {
  color: var(--gold-bright);
}

.topbar-divider {
  height: 17px;
  width: 1px;
  background: rgba(255, 255, 255, 0.5);
}

/* HEADER */
.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 4px 18px rgba(5, 23, 42, 0.08);
}

.site-header .navbar {
  min-height: 80px;
  padding: 0;
}

.nav-container {
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--navy);
}

.brand-wordmark {
  position: relative;
  padding: 0 13px 5px 0;
  font: 700 42px/0.95 var(--serif);
  letter-spacing: -2px;
}

.brand-swoosh {
  position: absolute;
  left: 0;
  right: 12px;
  bottom: 0;
  height: 5px;
  border-bottom: 3px solid var(--gold);
  border-radius: 50%;
  transform: rotate(-3deg);
}

.brand-divider {
  height: 42px;
  width: 1px;
  background: #cbd0d6;
  margin: 0 12px 0 2px;
}

.brand-description {
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.navbar-nav {
  gap: 2px;
}

.navbar-nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 29px 9px !important;
  color: #101d30;
  font-size: 16px;
  /* font-weight: 700; */
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #b77c00;
}

/* No underline animation: avoids the unwanted hover line. */
.navbar-nav .nav-link::before,
.navbar-nav .nav-link::after {
  display: none !important;
}

.menu-chevron {
  color: #c58a0b;
  font-size: 10px;
  transition: transform 0.22s ease;
}

.dropdown.show > .nav-link .menu-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  min-width: 225px;
  padding: 10px;
  margin-top: 0;
  border: 0;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 38px rgba(5, 24, 43, 0.17);
}

.dropdown-item {
  padding: 10px 12px;
  border-radius: 4px;
  color: #24364b;
  font-size: 13px;
  font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item:focus {
  padding-left: 17px;
  color: #986900;
  background: #f7f2e7;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 8px 15px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  margin-left: 15px;
  /* font-weight: 800; */
  letter-spacing: 0.3px;
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.apply-btn:hover,
.apply-btn:focus {
  color: var(--navy);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.apply-btn i {
  font-size: 16px;
}

.nav-toggle {
  padding: 8px !important;
  border: 0 !important;
  box-shadow: none !important;
}

.toggle-lines {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.toggle-lines span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.2s;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .toggle-lines span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .toggle-lines span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .toggle-lines span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  color: #fff;
  background: var(--navy-deep);
}

.hero-background {
  position: absolute;
  inset: 0;

  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 23, 43, 0.99) 0%,
    rgba(3, 23, 43, 0.97) 29%,
    rgba(3, 23, 43, 0.83) 47%,
    rgba(3, 23, 43, 0.38) 72%,
    rgba(3, 23, 43, 0.22) 100%
  );
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 720px;
  padding-top: 35px;
  padding-bottom: 35px;
}

.hero-label {
  color: #fff;
  font-size: 14px;

  letter-spacing: 0.7px;
}

.hero-label i {
  color: var(--gold-bright);
  font-size: 16px;
}

.hero h1 {
  margin: 0 0 20px;
  font: 700 clamp(42px, 4.2vw, 62px) / 1.08 var(--sans);
  letter-spacing: -1.8px;
}

.hero h1 span {
  color: var(--gold-bright);
}

.hero-description {
  max-width: 600px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.programme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 27px;
}

.programme-tags a {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.programme-tags a:hover {
  color: var(--navy);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}

.hero-btn {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.25s;
}

.hero-btn-primary {
  color: var(--navy-deep);
  background: var(--gold-bright);
  border: 1px solid var(--gold-bright);
}

.hero-btn-primary:hover {
  color: #fff;
  background: var(--navy);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(3, 23, 43, 0.25);
}

.hero-btn-secondary:hover {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  max-width: 650px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
  gap: 18px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-stats strong {
  color: #fff;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* HIGHLIGHT STRIP */
.highlights-section {
  position: relative;
  z-index: 4;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.highlights {
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
}

.highlight-item {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 8px 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.highlight-item:last-child {
  border-right: 0;
}

.highlight-item i {
  color: var(--gold-bright);
  font-size: 34px;
  line-height: 1;
  flex-shrink: 0;
}

/* FOOTER - no decorative SVG; add your own image if required */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #061d33;
  background-image: linear-gradient(100deg, rgba(4, 23, 42, 0.97), rgba(5, 29, 51, 0.96));
}

/* To use your own footer image, add this rule:
.site-footer { background-image: linear-gradient(rgba(4,23,42,.91),rgba(4,23,42,.94)), url("../images/footer-bg.jpg"); background-size:cover; background-position:center; }
*/
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.95fr 0.75fr 1.75fr;
  gap: 26px;
  padding-top: 38px;
  padding-bottom: 36px;
}

.footer-about {
  padding: 0 24px 0 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 15px;
  color: #fff;
}

.footer-brand-name {
  font: 700 49px/0.95 var(--serif);
  letter-spacing: -1px;
}

.footer-brand-sub {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.footer-about p {
  max-width: 290px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  transition: 0.25s;
}

.footer-social a:hover {
  color: var(--navy);
  background: var(--gold-bright);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-links h2,
.footer-contact-panel h2 {
  margin: 3px 0 8px;
  color: var(--gold-bright);
  font-size: 16px;
  font-weight: 800;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  line-height: 1.4;
  transition: 0.2s;
}

.footer-links a::before {
  content: "›";
  margin-right: 9px;
  color: var(--gold-bright);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--gold-bright);
  transform: translateX(3px);
}

.footer-contact-panel {
  align-self: stretch;
  padding: 20px 22px;
  border: 1px solid rgba(228, 169, 27, 0.85);
  border-radius: 22px 0 0 0;
}

.footer-contact-panel h2 {
  margin: 0 0 16px;
  font-size: 19px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 12.5px;
  line-height: 1.55;
}

.footer-contact-row i {
  min-width: 18px;
  color: var(--gold-bright);
  font-size: 17px;
}

.footer-contact-row a {
  color: rgba(255, 255, 255, 0.94);
}

.footer-contact-row a:hover {
  color: var(--gold-bright);
}

.location-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: -1px 0 17px 30px;
  padding: 9px 13px;
  border: 1px solid var(--gold-bright);
  border-radius: 4px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  transition: 0.25s;
}

.location-button:hover {
  color: var(--navy);
  background: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(228, 169, 27, 0.75);
}

.footer-bottom-inner {
  min-height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 17px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.footer-legal a:hover {
  color: var(--gold-bright);
}

.footer-legal span {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
}

@media (min-width: 1200px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    animation: menuFade 0.18s ease-out;
  }

  @keyframes menuFade {
    from {
      opacity: 0;
      transform: translateY(7px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1399px) {
  .navbar-nav .nav-link {
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 12px;
  }

  .brand-wordmark {
    font-size: 37px;
  }

  .brand-description {
    font-size: 12px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.75fr 0.9fr 0.7fr 1.55fr;
    gap: 18px;
  }
}

@media (max-width: 1199px) {
  .site-header .navbar {
    min-height: 74px;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 13px 24px 22px;
    background: #fff;
    box-shadow: 0 18px 28px rgba(5, 23, 42, 0.14);
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .navbar-nav .nav-link {
    justify-content: space-between;
    padding: 13px 5px !important;
    border-bottom: 1px solid #edf0f2;
    font-size: 14px;
  }

  .menu-chevron {
    font-size: 12px;
    margin-left: auto;
  }

  .dropdown-menu {
    display: none;
    position: static !important;
    float: none;
    width: 100%;
    margin: 0 0 8px 8px;
    padding: 4px 10px;
    border: 0;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown-menu.show {
    display: block;
  }

  .apply-btn {
    width: 100%;
    margin-top: 15px;
  }

  .footer-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-about {
    border: 0;
  }

  .footer-contact-panel {
    grid-column: 1 / -1;
    max-width: 680px;
  }
}

@media (max-width: 767px) {
  .topbar {
    min-height: 0;
    padding: 8px 0;
  }

  .topbar-inner {
    min-height: 0;
    justify-content: center;
  }

  .topbar-keyword {
    display: none;
  }

  .topbar-contact {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 11px;
  }

  .topbar-contact a {
    gap: 6px;
  }

  .topbar-contact i {
    font-size: 12px;
  }

  .topbar-divider {
    height: 12px;
  }

  .site-header .navbar {
    min-height: 68px;
  }

  .brand-wordmark {
    font-size: 34px;
  }

  .brand-description {
    font-size: 11px;
  }

  .brand-divider {
    height: 36px;
    margin-left: 1px;
    margin-right: 9px;
  }

  .hero {
    min-height: 0;
  }

  .hero-background {
    background-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(3, 23, 43, 0.98) 0%,
        rgba(3, 23, 43, 0.9) 55%,
        rgba(3, 23, 43, 0.58) 100%
      ),
      linear-gradient(0deg, rgba(3, 23, 43, 0.35), transparent);
  }

  .hero-content {
    padding-top: 48px;
    padding-bottom: 28px;
  }

  .hero-label {
    margin-bottom: 18px;
    padding: 8px 13px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(37px, 9vw, 51px);
    line-height: 1.1;
    letter-spacing: -1.1px;
    margin-bottom: 15px;
  }

  .hero-description {
    max-width: 540px;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 19px;
  }

  .programme-tags {
    gap: 7px;
    margin-bottom: 21px;
  }

  .programme-tags a {
    padding: 6px 11px;
    font-size: 11px;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 23px;
  }

  .hero-btn {
    min-height: 47px;
    padding: 0 15px;
    gap: 8px;
    font-size: 12px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
    padding-top: 17px;
  }

  .hero-stats strong {
    font-size: 18px;
  }

  .hero-stats span {
    font-size: 9px;
  }

  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 7px 0;
  }

  .highlight-item {
    justify-content: flex-start;
    min-height: 69px;
    padding: 11px 10px;
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 11.5px;
  }

  .highlight-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .highlight-item:last-child {
    grid-column: 1 / -1;
    justify-content: center;
    border-right: 0;
    border-bottom: 0;
  }

  .highlight-item i {
    font-size: 27px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 18px;
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .footer-about {
    grid-column: 1 / -1;
    padding: 0;
  }

  .footer-brand-name {
    font-size: 43px;
  }

  .footer-about p {
    max-width: 480px;
  }

  .footer-links h2 {
    font-size: 14px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 12px;
    white-space: normal;
  }

  .footer-contact-panel {
    grid-column: 1 / -1;
    max-width: none;
    padding: 19px;
    border-radius: 15px 0 0 0;
  }

  .footer-contact-panel h2 {
    font-size: 17px;
  }

  .footer-bottom-inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .footer-bottom p,
  .footer-legal a {
    font-size: 11px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .topbar-contact {
    gap: 8px 11px;
    font-size: 10px;
  }

  .brand-wordmark {
    font-size: 31px;
  }

  .brand-description {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-btn {
    padding: 0 8px;
    font-size: 11px;
  }

  .highlight-item {
    padding-left: 7px;
    gap: 7px;
    font-size: 10.5px;
  }

  .highlight-item i {
    font-size: 24px;
  }

  .footer-main {
    column-gap: 13px;
  }
}

/* CMAT WELCOME SECTION
   Requires Bootstrap 5 grid and Bootstrap Icons.
   Replace the image path with your approved campus photograph.
*/
.cmat-welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0;
  background: #fff;
}

.cmat-welcome::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -115px;
  bottom: -210px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(198, 161, 91, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.cmat-welcome-visual {
  position: relative;
  padding: 0 0 0 24px;
}

.cmat-welcome-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -23px;
  left: 0;
  width: 36%;
  height: 48%;
  border-radius: 24px 24px 0 24px;
  background: #f2b82f;
}

.cmat-welcome-image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 4px 26px 4px 26px;
  box-shadow: 0 20px 45px rgba(8, 29, 51, 0.13);
}

.cmat-welcome-content {
  max-width: 760px;
  padding: 5px 0 5px 12px;
}

.cmat-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1px;
  color: #e5a429;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

.cmat-eyebrow span {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: #e5ad27;
}

.cmat-welcome-content h2 {
  margin: 0 0 1px;
  color: #0a2038;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.4px;
}

.cmat-welcome-content h3 {
  margin: 0;
  color: #102943;
  font-size: 20px;
}

.cmat-welcome-description {
  max-width: 720px;
  margin: 10px 0 25px;
  color: #26272a;
  font-size: 15px;
  line-height: 1.6;
}

.cmat-welcome-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 25px;
}

.cmat-welcome-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 0 17px;
  color: #10243b;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  border-right: 1px solid #e3e5e8;
}

.cmat-welcome-feature:first-child {
  padding-left: 0;
}

.cmat-welcome-feature:last-child {
  padding-right: 0;
  border-right: 0;
}

.cmat-feature-icon {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 12px;
  color: #102943;
  background: #ffe7b8;
}

.cmat-feature-icon i {
  font-size: 27px;
  line-height: 1;
}

.cmat-welcome-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 45px;
  padding: 0 15px;
  border: 1px solid #071f38;
  border-radius: 4px;
  color: #fff;
  background: #071f38;
  font-size: 15px;
  /* font-weight: 700; */
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.cmat-welcome-button i {
  font-size: 19px;
  transition: transform 0.25s ease;
}

.cmat-welcome-button:hover,
.cmat-welcome-button:focus-visible {
  color: #071f38;
  background: #efb52e;
  border-color: #efb52e;
  transform: translateY(-2px);
}

.cmat-welcome-button:hover i {
  transform: translateX(4px);
}

/* Tablet */
@media (max-width: 991.98px) {
  .cmat-welcome {
    padding: 75px 0;
  }

  .cmat-welcome-visual {
    max-width: 650px;
    margin: 0 auto;
  }

  .cmat-welcome-content {
    max-width: 760px;
    padding: 0;
  }

  .cmat-welcome-content h2 {
    font-size: clamp(38px, 6vw, 54px);
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .cmat-welcome {
    padding: 55px 0 60px;
  }

  .cmat-welcome-visual {
    padding-left: 13px;
  }

  .cmat-welcome-visual::before {
    top: -13px;
    width: 38%;
    border-radius: 15px 15px 0 15px;
  }

  .cmat-welcome-image {
    aspect-ratio: 1.12 / 1;
    border-radius: 3px 17px 3px 17px;
  }

  .cmat-welcome-content {
    padding-top: 5px;
  }

  .cmat-eyebrow {
    gap: 11px;
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 2.5px;
  }

  .cmat-eyebrow span {
    width: 34px;
  }

  .cmat-welcome-content h2 {
    font-size: clamp(34px, 9vw, 43px);
    letter-spacing: -0.8px;
  }

  .cmat-welcome-content h3 {
    font-size: 21px;
  }

  .cmat-heading-line {
    width: 78px;
    margin: 16px 0 19px;
  }

  .cmat-welcome-description {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.75;
  }

  .cmat-welcome-features {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 25px;
  }

  .cmat-welcome-feature,
  .cmat-welcome-feature:first-child,
  .cmat-welcome-feature:last-child {
    min-height: 65px;
    padding: 9px 0;
    border-right: 0;
    border-bottom: 1px solid #e8e9eb;
    font-size: 14px;
  }

  .cmat-welcome-feature:last-child {
    border-bottom: 0;
  }

  .cmat-feature-icon {
    flex-basis: 47px;
    width: 47px;
    height: 47px;
    border-radius: 10px;
  }

  .cmat-feature-icon i {
    font-size: 23px;
  }

  .cmat-welcome-button {
    width: 100%;
    min-height: 51px;
    padding: 0 18px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmat-welcome-button,
  .cmat-welcome-button i,
  .cmat-welcome-feature {
    transition: none;
  }
}

/* =========================================================
   CMAT ACADEMIC PROGRAMMES
   Requires Bootstrap 5 grid + Bootstrap Icons.
   Replace the two programme image paths with approved photos.
   ========================================================= */

.cmat-programmes {
  --cp-navy: #0a2340;
  --cp-navy-deep: #061a31;
  --cp-gold: #d9ad32;
  --cp-gold-dark: #ce9000;
  --cp-ink: #172b46;
  --cp-muted: #606b78;
  position: relative;
  overflow: hidden;
  padding: 45px 0 45px;
  background: radial-gradient(ellipse at 0% 0%, rgb(71 147 240 / 60%), #afcdf152 28%),
    linear-gradient(135deg, #fbfcfe 0%, #f4f6f9 100%);
}

.cmat-programmes::before {
  content: "";
  position: absolute;
  top: -145px;
  right: -125px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(217, 173, 50, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.cmat-programmes-heading {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto 28px;
  text-align: center;
}

.cmat-section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  /* margin-bottom: 13px; */
  color: var(--cp-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.cmat-section-kicker span {
  width: 48px;
  height: 2px;
  background: var(--cp-gold);
}

.cmat-programmes-heading h2 {
  margin: 0 0 2px;
  color: var(--cp-navy);

  font-size: clamp(35px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.2px;
}

.cmat-programmes-heading p {
  margin: 0;
  color: #28292b;
  font-size: 16px;
}

.cmat-programmes-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 1.22fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: 22px;
}

.cmat-programmes-intro {
  align-self: center;
  padding: 12px 18px 12px 0;
}

.cmat-intro-overline {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cp-gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.cmat-programmes-intro h3 {
  margin: 0;
  color: var(--cp-navy);

  font-size: clamp(27px, 2.45vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}

.cmat-programmes-intro h3 em {
  color: var(--cp-gold-dark);
  font-style: normal;
}

.cmat-intro-rule {
  display: block;
  width: 100px;
  height: 2px;
  margin: 12px 0 15px;
  background: var(--cp-gold);
}

.cmat-programmes-intro p {
  margin: 0 0 15px;
  color: #131416;
  font-size: 14px;
  line-height: 1.6;
}

.cmat-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cp-navy);
  font-size: 13px;
  font-weight: 800;
  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

.cmat-intro-link:hover {
  gap: 17px;
  color: var(--cp-gold-dark);
}

/* Course cards */
.cmat-course-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(16, 42, 70, 0.06);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 17px 42px rgba(10, 35, 64, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cmat-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(10, 35, 64, 0.16);
}

.cmat-course-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #dce3e9;
}

.cmat-course-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.55s ease;
}

.cmat-course-card:hover .cmat-course-visual > img {
  transform: scale(1.045);
}

.cmat-course-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 38%;
  min-width: 125px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 13px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(145deg, #0a2a4b, #061a31);
  clip-path: polygon(0 0, 100% 0, 82% 83%, 70% 100%, 0 100%);
}

.cmat-course-ribbon i {
  color: var(--cp-gold);
  font-size: 31px;
}

.cmat-course-ribbon span {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.cmat-course-ribbon b {
  width: 45px;
  height: 3px;
  background: var(--cp-gold);
}

.cmat-course-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 25px 22px;
}

.cmat-course-type {
  margin-bottom: 5px;
  color: #bc860d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.cmat-course-body h3 {
  margin: 0 0 10px;
  color: var(--cp-navy);

  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 600;
}

.cmat-course-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.cmat-course-features li {
  min-width: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 10px 0;
  color: #25364d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  border-bottom: 1px solid #e9edf1;
}

.cmat-course-features li:nth-child(odd) {
  padding-right: 10px;
  border-right: 1px solid #e9edf1;
}

.cmat-course-features li:nth-child(even) {
  padding-left: 12px;
}

.cmat-course-features li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.cmat-feature-icon {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cp-gold-dark);
  background: #fbf5e8;
}

.cmat-feature-icon i {
  font-size: 18px;
}

.cmat-course-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid #f0e5cc;
  border-radius: 10px;
  background: linear-gradient(100deg, #fffaf0, #fbf5e8);
}

.cmat-course-fee {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cp-gold-dark);
}

.cmat-course-fee > i {
  flex: 0 0 auto;
  font-size: 27px;
}

.cmat-course-fee span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cmat-course-fee small {
  color: #27384e;
  font-size: 10px;
  font-weight: 700;
}

.cmat-course-fee strong {
  color: #9a6c08;
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 800;
  white-space: nowrap;
}

.cmat-course-apply {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--cp-navy);
  border-radius: 6px;
  color: #fff;
  background: var(--cp-navy);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.cmat-course-apply:hover,
.cmat-course-apply:focus-visible {
  color: var(--cp-navy);
  border-color: var(--cp-gold);
  background: var(--cp-gold);
}

/* Dark variation for the Global Immersive card */
.cmat-course-card-dark {
  border-color: #102a49;
  background: #102744;
}

.cmat-course-card-dark .cmat-course-body {
  color: #fff;
  background: #102744;
}

.cmat-course-card-dark .cmat-course-type {
  color: #e5c35f;
}

.cmat-course-card-dark .cmat-course-body h3,
.cmat-course-card-dark .cmat-course-features li {
  color: #fff;
}

.cmat-course-card-dark .cmat-course-features li {
  border-color: rgba(255, 255, 255, 0.18);
}

.cmat-course-card-dark .cmat-course-features li:nth-child(odd) {
  border-right-color: rgba(255, 255, 255, 0.18);
}

.cmat-course-card-dark .cmat-feature-icon {
  color: #d7aa34;
  background: rgba(255, 255, 255, 0.1);
}

.cmat-course-card-dark .cmat-course-bottom {
  border-color: rgba(226, 184, 78, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.cmat-course-card-dark .cmat-course-fee small {
  color: #fff;
}

.cmat-course-card-dark .cmat-course-fee strong {
  color: #f0ce65;
}

.cmat-course-card-dark .cmat-course-apply {
  color: var(--cp-navy);
  border-color: var(--cp-gold);
  background: var(--cp-gold);
}

.cmat-course-card-dark .cmat-course-apply:hover {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

/* Tablet */
@media (max-width: 1199.98px) {
  .cmat-programmes-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .cmat-programmes-intro {
    grid-column: 1 / -1;
    max-width: 760px;
    padding: 0;
  }

  .cmat-programmes-intro h3 {
    max-width: 620px;
  }

  .cmat-programmes-intro p {
    max-width: 720px;
  }

  .cmat-course-visual {
    height: 205px;
  }

  .cmat-course-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .cmat-course-apply {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .cmat-programmes {
    padding: 62px 0 68px;
  }

  .cmat-programmes-heading {
    margin-bottom: 31px;
  }

  .cmat-section-kicker {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 1.8px;
  }

  .cmat-section-kicker span {
    width: 25px;
  }

  .cmat-programmes-heading h2 {
    font-size: clamp(31px, 8vw, 42px);
    letter-spacing: -0.6px;
  }

  .cmat-programmes-heading p {
    font-size: 13px;
    line-height: 1.6;
  }

  .cmat-programmes-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .cmat-programmes-intro {
    grid-column: auto;
    padding: 0 0 8px;
  }

  .cmat-programmes-intro h3 {
    max-width: 520px;
    font-size: 30px;
  }

  .cmat-intro-rule {
    margin: 16px 0;
  }

  .cmat-programmes-intro p {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.75;
  }

  .cmat-course-card {
    border-radius: 12px;
  }

  .cmat-course-visual {
    height: clamp(175px, 54vw, 250px);
  }

  .cmat-course-ribbon {
    width: 39%;
    min-width: 112px;
    gap: 10px;
    padding: 14px;
  }

  .cmat-course-ribbon i {
    font-size: 25px;
  }

  .cmat-course-ribbon span {
    font-size: 17px;
  }

  .cmat-course-body {
    padding: 19px 17px 17px;
  }

  .cmat-course-body h3 {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 19px;
  }

  .cmat-course-features {
    margin-bottom: 17px;
  }

  .cmat-course-features li {
    min-height: 67px;
    gap: 8px;
    font-size: 11px;
  }

  .cmat-feature-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .cmat-feature-icon i {
    font-size: 16px;
  }

  .cmat-course-bottom {
    flex-direction: row;
    align-items: center;
    padding: 11px;
  }

  .cmat-course-fee {
    gap: 7px;
  }

  .cmat-course-fee > i {
    font-size: 22px;
  }

  .cmat-course-fee strong {
    font-size: 13px;
  }

  .cmat-course-apply {
    width: auto;
    min-height: 41px;
    padding: 0 12px;
    font-size: 11px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .cmat-course-body {
    padding-left: 13px;
    padding-right: 13px;
  }

  .cmat-course-features li {
    font-size: 10px;
  }

  .cmat-feature-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .cmat-course-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .cmat-course-apply {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmat-course-card,
  .cmat-course-visual > img,
  .cmat-course-apply,
  .cmat-intro-link {
    transition: none;
  }
}

/* =========================================
   CMAT WHY CHOOSE SECTION
========================================= */

.cmat-why-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 45px 0 45px;
  overflow: hidden;
  background: #f9fafc;
}

/* RIGHT SIDE BACKGROUND IMAGE */

.cmat-why-section::after {
  content: "";
  position: absolute;
  z-index: -1;

  top: 0;
  right: 0;

  width: 43%;
  height: 100%;

  background-image: linear-gradient(
      90deg,
      #f9fafc 0%,
      rgba(249, 250, 252, 0.15) 20%,
      rgba(249, 250, 252, 0) 45%
    ),
    url("../images/why-bg.webp");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* MAIN CONTAINER */

.cmat-why-container {
  width: 100%;
  max-width: 1600px;
  margin: auto;
  padding: 0 4%;
}

/* =========================================
   HEADING
========================================= */

.cmat-why-heading {
  width: 66%;
  margin-bottom: 8px;
}

.cmat-why-label {
  display: flex;
  align-items: center;
  gap: 13px;
  /* margin-bottom: 12px; */
  color: #102b4b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.cmat-why-label span {
  width: 40px;
  height: 2px;
  background: #d5a52c;
}

.cmat-why-heading h2 {
  margin: 0 0 10px;
  color: #102743;
  /* font-family: "Playfair Display", Georgia, serif; */
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.02;
}

.cmat-why-heading h2 strong {
  display: block;
  color: #c18c1d;
  font-weight: 700;
}

.cmat-why-heading p {
  max-width: 700px;
  margin: 0;

  color: #1b1c1e;
  font-size: 16px;
  line-height: 1.6;
}

/* =========================================
   USP CARD GRID
========================================= */

.cmat-why-cards {
  width: 66%;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 17px;

  position: relative;
  z-index: 2;
}

/* INDIVIDUAL CARD */

.cmat-why-card {
  min-width: 0;
  min-height: 120px;
  padding: 20px;

  background: rgba(255, 255, 255, 0.96);

  border: 1px solid #edf0f4;
  border-radius: 17px;

  box-shadow:
    0 5px 15px rgba(12, 35, 62, 0.045),
    0 15px 30px rgba(12, 35, 62, 0.045);

  transition: all 0.3s ease;
}

/* SECOND ROW ALIGNMENT */

/* CARD HOVER */

.cmat-why-card:hover {
  transform: translateY(-7px);

  border-color: rgba(213, 165, 44, 0.45);

  box-shadow: 0 12px 30px rgba(12, 35, 62, 0.1);
}

/* =========================================
   ICON
========================================= */

.cmat-why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  width: 76px;
  height: 76px;

  margin-bottom: 15px;

  border-radius: 50%;

  color: #102d50;

  background: linear-gradient(145deg, #fff9ed, #fff0d2);

  transition: all 0.3s ease;
}

.cmat-why-icon i {
  font-size: 37px;
  line-height: 1;
}

.cmat-why-card:hover .cmat-why-icon {
  color: #fff;
  background: #102d50;
  transform: scale(1.05);
}

/* =========================================
   CARD CONTENT
========================================= */

.cmat-why-card h3 {
  margin: 0 0 10px;

  color: #102743;

  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.cmat-card-line {
  display: block;

  width: 38px;
  height: 3px;

  margin-bottom: 13px;

  background: #d5a52c;
}

.cmat-why-card p {
  margin: 0;

  color: #394656;
  font-size: 13px;
  line-height: 1.55;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1199px) {
  .cmat-why-heading,
  .cmat-why-cards {
    width: 100%;
  }

  .cmat-why-section::after {
    opacity: 0.14;
    width: 48%;
  }

  .cmat-why-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 767px) {
  .cmat-why-section {
    padding: 55px 0 60px;
  }

  .cmat-why-container {
    padding: 0 16px;
  }

  .cmat-why-section::after {
    width: 100%;
    opacity: 0.1;
    background-position: 70% center;
  }

  .cmat-why-heading {
    width: 100%;
    margin-bottom: 24px;
  }

  .cmat-why-label {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .cmat-why-label span {
    width: 28px;
  }

  .cmat-why-heading h2 {
    font-size: clamp(32px, 8vw, 42px);
  }

  .cmat-why-heading p {
    font-size: 14px;
    line-height: 1.65;
  }

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

  .cmat-why-card {
    min-height: 220px;
    padding: 16px 13px;
    border-radius: 13px;
  }

  .cmat-why-card:nth-child(5),
  .cmat-why-card:nth-child(6),
  .cmat-why-card:nth-child(7) {
    grid-column: auto;
  }

  .cmat-why-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 12px;
  }

  .cmat-why-icon i {
    font-size: 27px;
  }

  .cmat-why-card h3 {
    min-height: 46px;
    font-size: 13px;
    line-height: 1.35;
  }

  .cmat-card-line {
    width: 30px;
    margin-bottom: 10px;
  }

  .cmat-why-card p {
    font-size: 11px;
    line-height: 1.5;
  }

  /* Seventh card full width */

  .cmat-why-card:last-child {
    grid-column: 1 / -1;
    min-height: 145px;
  }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .cmat-why-container {
    padding: 0 12px;
  }

  .cmat-why-cards {
    gap: 9px;
  }

  .cmat-why-card {
    padding: 14px 10px;
    min-height: 225px;
  }

  .cmat-why-card h3 {
    font-size: 12px;
  }

  .cmat-why-card p {
    font-size: 10.5px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .cmat-why-card,
  .cmat-why-icon {
    transition: none;
  }
}

/* ==========================================
   CMAT CAMPUS HIGHLIGHTS
=========================================== */

.cmat-campus-highlights {
  --campus-navy: #082440;
  --campus-dark: #061a31;
  --campus-gold: #d9aa32;
  --campus-text: #172d49;

  position: relative;
  overflow: hidden;
  padding: 75px 0 85px;

  background: linear-gradient(120deg, rgba(255, 255, 255, 0.97), rgba(247, 249, 252, 0.95));
}

.cmat-campus-container {
  width: min(1296px, calc(100% - 32px));
  margin: auto;
}

/* ==========================================
   SECTION HEADING
=========================================== */

.cmat-campus-heading {
  margin-bottom: 12px;
}

.cmat-campus-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  color: #a87a19;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.cmat-campus-eyebrow span {
  width: 38px;
  height: 3px;
  background: var(--campus-gold);
}

.cmat-campus-heading h2 {
  margin: 0 0 2px;

  color: var(--campus-navy);

  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
}

.cmat-campus-heading h2 strong {
  color: #bd8b20;
}

.cmat-campus-heading p {
  margin: 0;
  color: #202122;
  font-size: 16px;
  line-height: 1.6;
}

/* ==========================================
   MAIN GRID
=========================================== */

.cmat-highlights-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* ==========================================
   TESTIMONIAL BOX
=========================================== */

.cmat-testimonial-box {
  position: relative;
  min-width: 0;
  min-height: 390px;

  overflow: hidden;

  border-radius: 22px;

  color: #fff;

  background: radial-gradient(circle at 90% 20%, rgba(36, 83, 128, 0.65), transparent 38%),
    linear-gradient(130deg, #08294d, #061a32);

  box-shadow: 0 18px 42px rgba(7, 32, 58, 0.13);
}

.cmat-testimonial-box::before {
  content: "";
  position: absolute;

  width: 280px;
  height: 280px;

  right: -100px;
  top: 100px;

  border: 55px solid rgba(217, 170, 50, 0.95);
  border-radius: 50%;

  pointer-events: none;
}
/* ==========================================
   TESTIMONIAL SLIDER
=========================================== */

.cmat-testimonial-slider {
  position: relative;
  min-height: 330px;
}

.cmat-testimonial-slide {
  position: absolute;
  inset: 0;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;

  padding: 30px 28px 0 34px;

  opacity: 0;
  visibility: hidden;

  transform: translateX(18px);

  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0.45s ease;
}

.cmat-testimonial-slide.active {
  position: relative;

  opacity: 1;
  visibility: visible;

  transform: translateX(0);
}

/* TESTIMONIAL CONTENT */

.cmat-testimonial-content {
  position: relative;
  z-index: 2;
  align-self: center;
}

.cmat-quote-icon {
  margin-bottom: 8px;
  color: var(--campus-gold);
  font-size: 55px;
  line-height: 0.8;
}

.cmat-testimonial-text {
  max-width: 440px;
  margin: 0 0 20px;

  color: #fff;

  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.55;
}

.cmat-testimonial-line {
  display: block;
  width: 55px;
  height: 4px;
  margin-bottom: 16px;

  border-radius: 5px;
  background: var(--campus-gold);
}

.cmat-testimonial-content h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.cmat-student-course {
  color: #d1d9e3;
  font-size: 13px;
}

/* STUDENT IMAGE - BOTTOM 0 */

.cmat-student-image {
  position: relative;
  z-index: 1;

  align-self: stretch;

  display: flex;
  justify-content: center;
  align-items: flex-end;

  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.cmat-student-image img {
  display: block;

  width: 100%;
  height: auto;
  max-height: 360px;

  object-fit: contain;
  object-position: bottom center;

  align-self: flex-end;
  margin-bottom: 0;
}

/* ==========================================
   SLIDER CONTROLS
=========================================== */

.cmat-testimonial-controls {
  position: absolute;
  z-index: 5;

  inset: 0;

  display: block;
  pointer-events: none;
}

/* DOTS - BOTTOM LEFT */

.cmat-testimonial-dots {
  position: absolute;

  left: 34px;
  bottom: 22px;

  display: flex;
  align-items: center;
  gap: 10px;

  pointer-events: auto;
}

.cmat-dot {
  width: 11px;
  height: 11px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: #fff;
  opacity: 0.85;

  cursor: pointer;
  transition: all 0.25s ease;
}

.cmat-dot.active {
  width: 14px;
  height: 14px;
  background: var(--campus-gold);
  opacity: 1;
}

/* ARROWS - TOP RIGHT */

.cmat-testimonial-arrows {
  position: absolute;

  top: 22px;
  right: 30px;

  display: flex;
  align-items: center;
  gap: 10px;

  pointer-events: auto;
}

.cmat-arrow {
  display: grid;
  place-items: center;

  width: 43px;
  height: 43px;

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;

  color: #fff;
  background: transparent;

  font-size: 19px;
  cursor: pointer;

  transition: all 0.25s ease;
}

.cmat-arrow:hover {
  color: var(--campus-navy);
  border-color: var(--campus-gold);
  background: var(--campus-gold);
}

/* ==========================================
   NEWS BOX
=========================================== */

.cmat-news-box {
  min-width: 0;

  display: flex;
  flex-direction: column;

  padding: 22px 25px 18px;

  border: 1px solid #e5e9ef;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.95);

  box-shadow: 0 12px 35px rgba(10, 35, 60, 0.055);
}

/* NEWS HEADER */

.cmat-news-header {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 12px;
  padding-bottom: 15px;

  border-bottom: 1px solid #e9edf2;
}

.cmat-news-heading-icon {
  display: grid;
  place-items: center;

  flex: 0 0 54px;

  width: 54px;
  height: 54px;

  border-radius: 15px;

  color: var(--campus-navy);
  background: #fff2d5;

  font-size: 25px;
}

.cmat-news-title {
  flex: 1;
}

.cmat-news-title h3 {
  margin: 0 0 8px;

  color: var(--campus-navy);
  font-size: 21px;
  font-weight: 800;
}

.cmat-news-title span {
  display: block;
  width: 42px;
  height: 3px;
  background: var(--campus-gold);
}

.cmat-news-scroll-controls {
  display: flex;
  gap: 6px;
}

.cmat-news-scroll-controls button {
  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  border: 1px solid #e4e9ef;
  border-radius: 50%;

  color: var(--campus-navy);
  background: #fff;

  cursor: pointer;
  transition: all 0.2s ease;
}

.cmat-news-scroll-controls button:hover {
  color: #fff;
  border-color: var(--campus-navy);
  background: var(--campus-navy);
}

/* NEWS SCROLL */

.cmat-news-scroll {
  flex: 1;
  min-height: 0;
  max-height: 275px;

  overflow-y: auto;
  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color: #c69b3b #f0f2f5;
}

.cmat-news-scroll::-webkit-scrollbar {
  width: 5px;
}

.cmat-news-scroll::-webkit-scrollbar-track {
  background: #f0f2f5;
  border-radius: 10px;
}

.cmat-news-scroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #c69b3b;
}

/* NEWS ITEM */

.cmat-news-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 15px;

  padding: 13px 5px;

  border-bottom: 1px solid #edf0f3;

  color: inherit;
  text-decoration: none;

  transition: background 0.2s ease;
}

.cmat-news-item:hover {
  background: #fbfaf6;
}

.cmat-news-thumb {
  height: 76px;
  overflow: hidden;
  border-radius: 9px;
  background: #e9edf1;
}

.cmat-news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cmat-news-item:hover .cmat-news-thumb img {
  transform: scale(1.07);
}

.cmat-news-info h4 {
  margin: 0 0 8px;

  color: var(--campus-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.cmat-news-info > span {
  display: flex;
  align-items: center;
  gap: 7px;

  color: #77818d;
  font-size: 12px;
}

.cmat-news-info > span i {
  color: #c79520;
}

.cmat-news-link-icon {
  color: #9aa3ad;
  font-size: 17px;
  transition: all 0.2s ease;
}

.cmat-news-item:hover .cmat-news-link-icon {
  color: var(--campus-gold);
  transform: translate(2px, -2px);
}

/* VIEW ALL NEWS */

.cmat-all-news {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 12px;
  padding-top: 8px;

  color: var(--campus-navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;

  transition: color 0.2s ease;
}

.cmat-all-news:hover {
  color: #bd8b20;
}

/* ==========================================
   CAMPUS FACILITIES
=========================================== */

.cmat-facilities-box {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);

  margin-top: 26px;

  min-height: 175px;
  overflow: hidden;

  border: 1px solid #e5eaf0;
  border-radius: 21px;

  background: #fff;

  box-shadow: 0 12px 32px rgba(10, 35, 60, 0.07);
}

/* FACILITY INTRO */

.cmat-facilities-intro {
  position: relative;
  display: flex;
  align-items: center;

  min-height: 175px;
  overflow: hidden;

  background: linear-gradient(90deg, rgba(5, 29, 54, 0.95), rgba(5, 29, 54, 0.65)),
    url("../images/cmat-campus.jpg");

  background-size: cover;
  background-position: center;

  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.cmat-facilities-intro-content {
  position: relative;
  z-index: 2;
  padding: 20px 35px 20px 28px;
}

.cmat-facilities-label {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 12px;

  color: var(--campus-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.cmat-facilities-label span {
  width: 24px;
  height: 3px;
  background: var(--campus-gold);
}

.cmat-facilities-intro h3 {
  max-width: 260px;
  margin: 0 0 13px;

  color: #fff;

  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.cmat-facilities-line {
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 5px;
  background: var(--campus-gold);
}

/* FACILITIES ITEMS */

.cmat-facilities-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;

  padding: 20px 10px;
}

.cmat-facility-item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 112px;
  padding: 8px 5px;

  text-align: center;
}

.cmat-facility-item:not(:last-child)::after {
  content: "";

  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;

  width: 1px;
  background: #e1e6ec;
}

.cmat-facility-icon {
  display: grid;
  place-items: center;

  width: 55px;
  height: 55px;

  margin-bottom: 10px;

  border-radius: 50%;

  color: var(--campus-navy);
  background: #fff4dc;

  font-size: 27px;

  transition: all 0.25s ease;
}

.cmat-facility-item:hover .cmat-facility-icon {
  color: #fff;
  background: var(--campus-navy);
  transform: translateY(-4px);
}

.cmat-facility-item h4 {
  margin: 0;

  color: var(--campus-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

/* ==========================================
   TABLET
=========================================== */

@media (max-width: 1199px) {
  .cmat-campus-container {
    width: calc(100% - 40px);
  }

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

  .cmat-testimonial-slide {
    grid-template-columns: 1fr 0.7fr;
    padding: 25px 18px 10px 22px;
  }

  .cmat-testimonial-text {
    font-size: 16px;
  }

  .cmat-testimonial-controls {
    left: 22px;
    right: 18px;
  }

  .cmat-news-box {
    padding: 18px;
  }

  .cmat-news-item {
    grid-template-columns: 85px minmax(0, 1fr) 15px;
    gap: 10px;
  }

  .cmat-news-thumb {
    height: 68px;
  }

  .cmat-news-info h4 {
    font-size: 13px;
  }

  .cmat-facilities-box {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .cmat-facilities-list {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 10px;
  }

  .cmat-facility-item:nth-child(4)::after {
    display: none;
  }
}

/* ==========================================
   MOBILE
=========================================== */

@media (max-width: 767px) {
  .cmat-campus-highlights {
    padding: 55px 0 60px;
  }

  .cmat-campus-container {
    width: calc(100% - 30px);
  }

  .cmat-campus-heading {
    margin-bottom: 24px;
  }

  .cmat-campus-eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .cmat-campus-heading h2 {
    font-size: clamp(32px, 8vw, 43px);
  }

  .cmat-campus-heading p {
    font-size: 13px;
  }

  /* STACKED TOP CARDS */

  .cmat-highlights-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  /* TESTIMONIAL */

  .cmat-testimonial-box {
    min-height: 350px;
    border-radius: 17px;
  }

  .cmat-testimonial-slider {
    min-height: 295px;
  }

  .cmat-testimonial-slide {
    grid-template-columns: 1fr 0.75fr;
    padding: 22px 14px 10px 19px;
  }

  .cmat-testimonial-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .cmat-testimonial-content h3 {
    font-size: 16px;
  }

  .cmat-student-course {
    font-size: 11px;
  }

  .cmat-student-image img {
    max-height: 280px;
  }

  .cmat-testimonial-controls {
    left: 19px;
    right: 17px;
    bottom: 16px;
  }

  .cmat-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  /* NEWS */

  .cmat-news-box {
    min-height: 400px;
    padding: 17px 15px;
    border-radius: 17px;
  }

  .cmat-news-heading-icon {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
    font-size: 21px;
  }

  .cmat-news-title h3 {
    font-size: 17px;
  }

  .cmat-news-scroll {
    max-height: 285px;
  }

  .cmat-news-item {
    grid-template-columns: 90px minmax(0, 1fr) 14px;
    gap: 11px;
    padding: 12px 2px;
  }

  .cmat-news-thumb {
    height: 68px;
  }

  .cmat-news-info h4 {
    font-size: 12px;
  }

  .cmat-news-info > span {
    font-size: 10px;
  }

  /* FACILITIES */

  .cmat-facilities-box {
    grid-template-columns: 1fr;
    margin-top: 18px;
    border-radius: 17px;
  }

  .cmat-facilities-intro {
    min-height: 145px;
    clip-path: none;
    background-position: center 45%;
  }

  .cmat-facilities-intro-content {
    padding: 20px;
  }

  .cmat-facilities-intro h3 {
    font-size: 23px;
  }

  .cmat-facilities-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 13px 8px;
    gap: 5px 0;
  }

  .cmat-facility-item {
    min-height: 112px;
    padding: 10px 5px;
  }

  .cmat-facility-item:nth-child(4)::after {
    display: block;
  }

  .cmat-facility-item:nth-child(even)::after {
    display: none;
  }

  .cmat-facility-icon {
    width: 48px;
    height: 48px;
    font-size: 23px;
  }

  .cmat-facility-item h4 {
    font-size: 11px;
  }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .cmat-campus-container {
    width: calc(100% - 22px);
  }

  .cmat-testimonial-slide {
    grid-template-columns: 1fr 0.65fr;
    padding-left: 14px;
  }

  .cmat-testimonial-text {
    font-size: 13px;
  }

  .cmat-quote-icon {
    font-size: 43px;
  }

  .cmat-news-scroll-controls button {
    width: 28px;
    height: 28px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .cmat-testimonial-slide,
  .cmat-dot,
  .cmat-arrow,
  .cmat-news-thumb img,
  .cmat-facility-icon {
    transition: none;
  }
}
