
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root { 
  --maroon-90: rgba(94, 10, 10, .90);
  --maroon-75: rgba(94, 10, 10, .75);
  --maroon-18: rgba(94, 10, 10, .18);
  --maroon-10: rgba(94, 10, 10, .10);
  --maroon-06: rgba(94, 10, 10, .06); 
  --text: #4a2424;
  --shadow: 0 18px 45px rgba(94, 10, 10, .12);
  --radius: 18px;
  --header-h: 82px;

  --dark-maroon: #3a0505;
  --maroon: #5e0a0a;
  --bg: #ffffff;
  --soft: #f0f0f0; 
  --muted: #6b6b6b;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 24px;

  /* Premium layered shadows */
  --s1: 0 10px 24px rgba(0, 0, 0, 0.08);
  --s2: 0 18px 45px rgba(0, 0, 0, 0.1);
  --s3: 0 30px 70px rgba(0, 0, 0, 0.14);

  --white: #ffffff;
  --light-pink: #d4b6b6;
  --black: #000000;
  --dark-grey: #262626;
  --mid-grey: #353535;
  --text-grey: #d7d7d7;
  --light-grey: #b5b5b5;
  --light-color: #e9e9e9;
  --orange: #cc5500;
  --yellow: #db9d00;

  --teal: green;

  --box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  height: 12vh;
  top: 0;
  z-index: 1000; 
  background: rgba(255,255,255,.97); 
  backdrop-filter: blur(12px);
}

.header-inner {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  margin-right: auto;
  display: flex;
  align-items: center;
} 

.brand img { 
  width: 200px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--maroon);
  transition: width .25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--maroon);
  background: var(--maroon);
  color: var(--white) !important;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
} 

.nav-cta.contact-button { 
  border: 1px solid var(--maroon); 
  background: var(--white);
  color: var(--black) !important;  
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--maroon-18);
}

.btn-outline {
  background: var(--white);
  color: var(--maroon) !important;
}

.btn-outline:hover {
  background: var(--maroon-06);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--maroon-18);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--maroon);
  transition: transform .25s ease, opacity .25s ease;
}

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

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

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

.hero {
  position: relative;
  width: 99%;
  min-height: 80vh;
  margin: 0 auto;
  padding: 4.5vw;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(var(--dark-maroon), var(--black));
  color: var(--white);
} 

.hero-image {
  position: absolute;
  z-index: 0;
  right: 1%;
  bottom: 0;
  height: min(96%, 550px);
  width: auto;
  object-fit: contain;
  object-position: right bottom;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 99%;
  height: calc(80vh - 9vw);
  margin: 0 auto; 
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}

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

.hero-copy {
  max-width: 720px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end; 
}

.hero-eyebrow {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.74);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 20px;
}

.hero-tagline {
  max-width: 650px;
  font-size: clamp(16px, 1.45vw, 20px);
  color: rgba(255,255,255,.86);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btn {
  border-color: var(--white);
  background: var(--white);
  color: var(--maroon) !important;
}

.hero .btn-outline {
  background: transparent;
  color: var(--white) !important;
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,.10);
}

main {
  width: 90%;
  margin: 0 auto;
}

.section {
  padding: 74px 0 0;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--maroon);
}

.section-heading {
  max-width: 800px;
  color: var(--maroon);
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.section-intro {
  max-width: 820px;
  margin-top: 12px;
  font-size: 15px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  margin-top: 28px;
}

.card {
  border: 1px solid var(--maroon-10);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-pad {
  padding: 30px;
}

.card-maroon {
  color: var(--white);
  background: var(--maroon);
  border-color: var(--maroon);
}

.card-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--maroon-10);
  color: var(--maroon);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-maroon .card-label {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.card h2,
.card h3 {
  color: var(--maroon);
  line-height: 1.25;
}

.card-maroon h2,
.card-maroon h3 {
  color: var(--white);
}

.card h2 {
  font-size: clamp(24px, 2.3vw, 34px);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
}

.list-clean {
  list-style: none;
  display: grid;
  gap: 10px;
}

.list-clean li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
}

.list-clean li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: -1px;
  color: var(--maroon);
  font-size: 20px;
  font-weight: 700;
}

.list-clean.career-list li::before {
  content: ""; 
}


.card-maroon .list-clean li::before {
  color: var(--white);
}

.career-list {
  grid-template-columns: repeat(2, minmax(0,1fr));
  list-style: none; 
}

.study-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  margin-top: 24px;
}

.route-stack {
  display: grid;
  gap: 24px;
}

.route-card {
  padding: 28px;
}

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

.detail-card {
  padding: 25px;
  min-height: 100%;
  box-shadow: none;
}

.detail-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.note {
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 5px solid var(--maroon);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--maroon-06);
}

.note strong {
  color: var(--maroon);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.benefit {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--maroon);
  color: var(--white);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.benefit::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -35px;
  top: -35px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
}

.benefit span {
  max-width: 220px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.institutions-cta {
  margin-top: 74px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-radius: 24px;
  background: var(--maroon);
  color: var(--white);
}

.institutions-cta h2 {
  margin-bottom: 9px;
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1.2;
}

.institutions-cta p {
  max-width: 760px;
  color: rgba(255,255,255,.80);
}

.institutions-cta .btn {
  background: var(--white);
  color: var(--maroon) !important;
  border-color: var(--white);
  white-space: nowrap;
}

.disclaimer {
  margin: 24px 0 0;
  font-size: 12px;
  color: var(--maroon-75);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 28px;
}

.sector-link {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--maroon-10);
  border-radius: 14px;
  background: var(--white);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.sector-link::after {
  content: "→";
  font-size: 19px;
}

.sector-link:hover,
.sector-link:focus-visible {
  transform: translateY(-3px);
  background: var(--maroon);
  color: var(--white);
}


/* ========================================================================== */
/* FOOTER */
/* ========================================================================== */

/* ******************** Footer ******************** */

.top-footer {
  display: flex;
  justify-content: flex-start;
  /* keep first columns left */
  align-items: flex-start;
  flex-wrap: wrap;
  /* allow small screens to wrap if necessary */
  margin-bottom: 5vh;
}

@media (max-width: 1023px) {
  .top-footer {
    display: block;
    margin-bottom: 5vh;
  }
}

.footer-logo {
  border-radius: 2px;
  width: 250px;
}

.contribution {
  width: 70%;
  margin-top: 3vh;
  height: 5vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bee {
  width: 7vh;
  height: 7vh;
  border-radius: 50%;
  margin-top: 5vh;
  background: var(--white);
  color: var(--maroon);
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.bee.active-btn {
  background: var(--dark-maroon);
  color: var(--white);
}

.display span {
  display: none;
}

.display .active-content {
  display: inline-block;
  color: var(--teal);
  font-size: 12px;
  margin-top: 6vh;
}

/* ========================================================================== */

/* FOOTER */

/* ========================================================================== */

footer {
  width: 100%;
  padding: 5vh 5% 5vw;
    background: radial-gradient(var(--dark-maroon), var(--black));
}

.top-footer {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.footer-logo {
  width: 70%;
  margin-right: 30%;
}

.footer-column {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-column h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 5vh;
}

.footer-column a {
  margin-top: 2vh;
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
  width: fit-content;
}

.footer-column a:hover {
  color: var(--light-grey);
}

.footer-column a.active-page {
  color: var(--light-grey);
  font-weight: 600;
}

.matric-hub {
  width: 160px;
  padding: 10px;
  margin-top: 2vh;
  margin-left: -10px;
  border-radius: 50px;
  text-align: center;
  background: var(--dark-maroon);
  color: var(--white);
}

.active-btn {
  background: var(--white);
  color: var(--black);
}

.display span {
  display: none;
  margin-bottom: 2vh;
}

.display .active-content {
  display: inline-block;
  color: var(--white);
  font-weight: bold;
  font-size: 13px;
}

footer .social {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 2vh;
}

.subfooter {
  background: var(--dark-maroon);
  padding: 5vh;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: rgba(234, 247, 238, 0.62);
  font-size: 12px;
  flex-wrap: wrap;
}

.legal {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal a {
  color: rgba(234, 247, 238, 0.62);
}

.legal a:hover {
  color: rgba(234, 247, 238, 0.88);
}

.icon-btn {
  width: 40px;
  height: 40px;
  padding: 11px;
  border-radius: 50px;
  background: var(--maroon);
  display: grid;
  place-items: center;
  box-shadow: var(--bg);
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.icon-btn.on-footer {
  background: var(--white);
}

.icon-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.icon-btn.on-footer svg {
  fill: var(--maroon);
}


/* ========================================================================== */
/* RESPONSIVE OVERRIDES */
/* ========================================================================== */

@media (max-width: 1023px) { 
  .top-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 55px 40px;
  }

  .footer-logo {
    width: min(250px, 100%);
    margin-right: 0;
  }

  .contribution,
  footer .social {
    width: min(280px, 100%);
  }
} 

@media (max-width: 760px) { 

  .top-footer {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-column {
    justify-content: flex-start;
  }

  .footer-column h3 {
    margin: 0 0 10px;
  }

  .footer-column a {
    margin-top: 14px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .subfooter {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) { 

  footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .legal {
    flex-direction: column;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

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

@media (max-width: 1050px) {
  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    min-height: 520px;
  }

  .hero-image {
    opacity: .56;
    right: -5%;
  }

  .overview-grid,
  .study-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .benefits-grid,
  .sector-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 72px;
  }

  .brand img {
    max-height: 48px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 3%;
    right: 3%;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--maroon-10);
    border-radius: 0 0 18px 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 11px 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 7px;
  }

  .hero,
  .hero-content {
    min-height: 500px;
  }

  .hero {
    border-radius: 0 0 18px 18px;
    background:
      linear-gradient(90deg, rgba(94,10,10,.98) 0%, rgba(94,10,10,.94) 58%, rgba(94,10,10,.68) 100%),
      var(--maroon);
  }

  .hero-image {
    right: -15%;
    opacity: .24;
    max-width: 80%;
  }

  .hero-copy {
    max-width: 92%;
  } 
}

@media (max-width: 620px) {
  main {
    width: min(91%, 1320px);
  }

  .hero-content {
    width: 99%;
    min-height: 480px;
  }

  .hero {
    min-height: 480px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding-top: 58px;
  }

  .card-pad,
  .route-card {
    padding: 23px;
  }

  .career-list,
  .detail-grid,
  .benefits-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .institutions-cta {
    padding: 30px 24px;
    grid-template-columns: 1fr;
  }

  .institutions-cta .btn {
    width: 100%;
  } 
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Career possibility → programme route links */
.career-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.career-list li:last-child { border-bottom: 0; }
.career-name { min-width: 0; }
.career-route-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.career-route-link:hover, .career-route-link:focus-visible {
  background: #fff;
  color: #5e0a0a;
  transform: translateY(-1px);
}
@media (max-width: 520px) {
  .career-list li { align-items: flex-start; flex-direction: column; gap: 8px; }
}
