:root {
  --blue: #0066b3;
  --mid-blue: #0d6ddf;
  --navy: #02375a;
  --yellow: #f8d548;
  --text: #1f2a37;
  --muted: #5f6c7b;
  --bg: #f5f6fb;
  --white: #fff;
  --shadow: 0 18px 30px rgba(19, 41, 104, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  margin: 0;
  padding: 0;
  background: var(--bg);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.top-bar {
  background: var(--navy);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.35rem 1rem;
  position: relative;
}

.top-icons {
  position: absolute;
  right: 2rem;
  color: var(--white);
  display: flex;
  gap: 0.5rem;
  font-weight: 600;
}

.main-nav {
  background: var(--white);
  box-shadow: var(--shadow);
}


.nav-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--blue);
  justify-self: start;
}

.brand img {
  width: 150px;
  height: 64px;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-weight: 500;
  color: var(--muted);
  justify-self: center;
  justify-content: center;
  width: max-content;
}

.nav-links.is-hovering a {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.nav-links.is-hovering a.is-hovered {
  opacity: 1;
}

.nav-links a {
  padding: 0.25rem 0;
  display: inline-flex;
}

.nav-cta {
  justify-self: end;
  white-space: nowrap;
}


.dark-toggle {
  border: 1.5px solid rgba(2, 55, 90, 0.2);
  border-radius: 999px;
  background: var(--white);
  padding: 0.4rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(2, 55, 90, 0.08);
}

.dark-toggle__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8d548, #ffd36a);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dark-toggle__icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  transform: translate(4px, -4px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(2, 55, 90, 0.2);
  background: var(--white);
  justify-content: center;
  align-items: center;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
  display: block;
}

nav a.active,
nav a:hover {
  color: var(--blue);
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.65rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn.primary {
  background: var(--yellow);
  color: var(--navy);
}

.btn.success {
  background: #0ac950;
  color: var(--white);
  box-shadow: 0 18px 30px rgba(10, 201, 80, 0.35);
}

.btn.secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--white);
}

.btn.tertiary {
  background: var(--mid-blue);
  color: var(--white);
  box-shadow: 0 12px 20px rgba(13, 109, 223, 0.25);
}

.hero {
  position: relative;
  min-height: 70vh;
  background: url("https://images.unsplash.com/photo-1527689368864-3a821dbccc34?auto=format&fit=crop&w=1280&q=80")
      center/cover,
    linear-gradient(115deg, rgba(0, 0, 0, 0.65), rgba(0, 10, 40, 0.55));
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 55, 90, 0.9), rgba(0, 0, 0, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  padding: 4rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yellow);
  margin: 0 0 0.3rem;
}

.hero .eyebrow {
  color: var(--white);
  opacity: 0.85;
  margin-bottom: 0.45rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0;
}

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

.hero .subtitle {
  margin: 1rem 0 2rem;
  font-size: 1.05rem;
  max-width: 420px;
}

.about-hero {
  background: url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=1280&q=80")
      center/cover,
    linear-gradient(115deg, rgba(0, 0, 0, 0.55), rgba(0, 10, 40, 0.55));
  min-height: 50vh;
}

.courses-hero {
  background: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1280&q=80")
      center/cover,
    linear-gradient(110deg, rgba(0, 0, 0, 0.65), rgba(2, 55, 90, 0.65));
  min-height: 60vh;
}

.contact-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.contact-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 55, 90, 0.92), rgba(0, 0, 0, 0.45));
}

.contact-hero__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 4rem 0;
}

.contact-demo {
  background: var(--bg);
  margin-top: 0;
  padding: 3.5rem 0;
}

.contact-card {
  background: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 2.5rem;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(2, 55, 90, 0.18);
}

.contact-card h2 {
  margin-top: 0;
  color: var(--blue);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-field span {
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  border: 1.5px solid rgba(2, 55, 90, 0.2);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.enquiry-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.15);
}

.form-field textarea {
  border-radius: 24px;
  resize: vertical;
}

.form-field--full {
  grid-column: 1 / -1;
}

.phone-input {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(2, 55, 90, 0.2);
  border-radius: 999px;
  background: var(--white);
  padding: 0.25rem 0.35rem 0.25rem 0.75rem;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--blue);
}

.phone-input input {
  border: none;
  padding: 0;
  flex: 1;
}

.contact-submit {
  align-self: center;
  padding: 0.9rem 2.5rem;
  box-shadow: 0 16px 32px rgba(248, 213, 72, 0.35);
}

.footer-newsletter {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.35rem;
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
}

.footer-newsletter input {
  background: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(248, 213, 72, 0.35);
}

.footer-newsletter button {
  border: none;
  background: var(--yellow);
  border-radius: 999px;
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
  color: var(--navy);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.footer-newsletter button:hover {
  transform: translateY(-1px) scale(1.03);
}

.enquiry-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.enquiry-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.enquiry-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 39, 0.65);
}

.enquiry-modal__content {
  position: relative;
  background: var(--white);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(3, 39, 75, 0.35);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2.5rem;
  width: min(95vw, 960px);
  z-index: 1;
}

.enquiry-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
}

.enquiry-modal__info h3 {
  margin: 0 0 1rem;
  color: var(--navy);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.enquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.enquiry-form input {
  border: 1.5px solid rgba(2, 55, 90, 0.2);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
}

.enquiry-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.enquiry-modal__visual img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.lead-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
  padding: 2rem;
}

.lead-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 52, 90, 0.65);
}

.lead-modal__content {
  position: relative;
  width: min(90vw, 900px);
  max-width: 900px;
  max-height: calc(100vh - 4rem);
  background: var(--white);
  border-radius: 36px;
  box-shadow: 0 40px 100px rgba(3, 39, 75, 0.35);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 3rem;
  z-index: 1;
  overflow-y: auto;
}

.lead-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  font-size: 2.25rem;
  color: var(--muted);
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 10;
}

.lead-modal__close:hover {
  background: var(--white);
  color: var(--navy);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.lead-modal__intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.lead-form input,
.lead-form textarea {
  border: 1.5px solid rgba(2, 55, 90, 0.2);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  outline: none;
}

.lead-form__full {
  grid-column: 1 / -1;
}

.lead-modal__note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1rem 0 0;
}

.lead-modal__visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  background: radial-gradient(circle at top, rgba(248, 213, 72, 0.25), transparent 60%);
  border-radius: 28px;
  padding: 2rem;
}

.lead-modal__mascot {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.lead-modal__mascot img {
  width: 120px;
  height: 120px;
}

.lead-modal__badge {
  position: absolute;
  bottom: -12px;
  right: 12px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.lead-modal__board {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 20px 40px rgba(2, 55, 90, 0.3);
}

[data-animate] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="slide-left"] {
  transform: translateX(40px);
}

[data-animate="slide-right"] {
  transform: translateX(-40px);
}

[data-animate="slide-left"].is-visible,
[data-animate="slide-right"].is-visible {
  transform: translateX(0);
}

[data-parallax] {
  position: relative;
  will-change: transform, background-position;
}

[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

[data-tooltip]:hover::after {
  opacity: 1;
}

.main-nav.is-sticky {
  position: sticky;
  top: 0;
  animation: dropIn 0.35s ease;
  z-index: 1100;
}

@keyframes dropIn {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.dark-mode {
  background: #0a1a2f;
  color: rgba(255, 255, 255, 0.9);
}

.dark-mode .main-nav,
.dark-mode .card,
.dark-mode .course-card,
.dark-mode .programme-card,
.dark-mode .contact-card,
.dark-mode .lead-modal__content,
.dark-mode .enquiry-modal__content {
  background: rgba(9, 22, 41, 0.85);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.dark-mode .btn.primary {
  background: #ffce3c;
  color: #1a1a1a;
}

.dark-mode .book-demo-chip__label {
  background: #ffce3c;
  color: #1a1a1a;
}

.dark-mode .footer-newsletter input {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.dark-mode .footer-newsletter button {
  background: #ffce3c;
  color: #1a1a1a;
}

.dark-mode .hero::after,
.dark-mode .contact-hero__overlay {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.75), rgba(0, 10, 40, 0.85));
}

@media (max-width: 1024px) {
  .lead-modal__content {
    width: min(90vw, 800px);
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .lead-modal {
    padding: 1rem;
  }

  .lead-modal__content {
    grid-template-columns: 1fr;
    width: min(95vw, 600px);
    padding: 2rem;
    gap: 1.5rem;
    max-height: calc(100vh - 2rem);
  }

  .lead-modal__visual {
    order: -1;
    padding: 1.5rem;
  }

  .lead-modal__mascot img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 640px) {
  .enquiry-modal__content {
    padding: 2rem;
  }

  .enquiry-modal__close {
    font-size: 1.5rem;
  }

  .lead-modal__content {
    width: calc(100vw - 2rem);
    padding: 1.5rem;
    border-radius: 20px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }

  .lead-modal__close {
    font-size: 1.5rem;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
  }

  .lead-modal__visual {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .lead-modal__mascot img {
    width: 80px;
    height: 80px;
  }

  .lead-modal__badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .lead-modal__board {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .lead-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lead-form label {
    font-size: 0.85rem;
  }

  .lead-form input,
  .lead-form textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .lead-modal__note {
    font-size: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .contact-card {
    padding: 1.75rem;
  }

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

.about-hero .hero-content {
  max-width: 640px;
}

section {
  padding: 4rem 0;
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-grid,
.vision-grid,
.mission-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-text h2,
.vision-text h3,
.mission-text h3 {
  color: var(--blue);
  margin-top: 0;
}

.about-text p,
.mission-text p,
.vision-text p {
  color: var(--muted);
  line-height: 1.75;
}

.about-visual {
  border: 6px solid var(--yellow);
  border-radius: 28px;
  padding: 1rem;
  background: var(--white);
}

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

.vision-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.vision-text {
  padding-right: 3rem;
}

.vision-illustration img {
  width: 260px;
  margin-left: auto;
}

.mission-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.mission-illustration img {
  max-width: 300px;
}

.objectives {
  background: var(--bg);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.objectives-visual img {
  max-width: 320px;
  margin: 0 auto;
}

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

.programmes h3 {
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.programme-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.programme-card {
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.programme-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.programme-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.programme-body h4 {
  margin: 0;
  color: var(--navy);
}

.programme-body ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.programme-body li + li {
  margin-top: 0.35rem;
}

.course-highlight {
  background: var(--white);
}

.course-highlight .eyebrow {
  font-weight: 600;
  color: var(--yellow);
}

.course-highlight h2 {
  color: var(--blue);
  margin: 0 0 2rem;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-card__badge {
  align-self: flex-start;
  background: var(--blue);
  color: var(--white);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.course-card h3 {
  margin: 0;
  color: var(--navy);
}

.course-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.link-arrow {
  color: var(--mid-blue);
  font-weight: 600;
}

.course-insights {
  background: var(--bg);
  padding-top: 2rem;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.insight-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.insight-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.insight-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.insight-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.course-plan {
  background: var(--white);
}

.course-plan h3 {
  text-align: center;
  color: var(--blue);
  margin-bottom: 2rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.plan-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-media {
  position: relative;
}

.plan-media img {
  width: 100%;
  border-radius: 22px;
  height: 200px;
  object-fit: cover;
}

.plan-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.85rem;
}

.plan-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.course-online {
  background: var(--bg);
}

.course-online .eyebrow {
  text-align: center;
  font-weight: 600;
  color: var(--yellow);
}

.course-online h2 {
  text-align: center;
  color: var(--blue);
  margin-bottom: 2rem;
}

.online-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.online-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.online-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.online-body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.online-body h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.online-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.course-plan.tiers {
  background: var(--bg);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.tier-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tier-card .plan-tag {
  position: static;
  display: inline-block;
  margin-bottom: 0.25rem;
  background: rgba(255, 255, 255, 0.15);
}

.tier-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.tier-card .link-arrow {
  color: var(--yellow);
}

.course-aiml {
  background: var(--white);
}

.course-aiml .eyebrow,
.course-ecosystem .eyebrow {
  text-align: center;
  font-weight: 600;
  color: var(--yellow);
}

.course-aiml h2,
.course-ecosystem h2 {
  text-align: center;
  color: var(--blue);
  margin-bottom: 2rem;
}

.aiml-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.aiml-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.aiml-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.aiml-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aiml-body h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.aiml-body p {
  margin: 0;
  color: var(--muted);
}

.course-ecosystem {
  background: var(--bg);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.ecosystem-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ecosystem-card h4 {
  margin: 0;
  color: var(--blue);
}

.ecosystem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.course-ecosystem .brochure-cta {
  margin-top: 2rem;
}

@media (max-width: 1100px) {
  .online-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .online-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .online-grid {
    grid-template-columns: 1fr;
  }
}
.about-programmes {
  background: var(--bg);
}

.about-programme {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  align-items: center;
}

.about-programme.reverse {
  direction: rtl;
}

.about-programme.reverse > * {
  direction: ltr;
}

.about-programme__media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-programme__text h4 {
  color: var(--yellow);
  margin-top: 0;
}

.about-programme__text p {
  color: var(--muted);
  line-height: 1.9;
}

.learning-pillars {
  background: var(--white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.pillars-text h3 {
  color: var(--blue);
  margin: 0 0 1rem;
}

.pillars-text p {
  color: var(--muted);
  line-height: 1.75;
}

.pillars-visual {
  text-align: center;
}

.pillars-visual img {
  max-width: 360px;
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
  margin: 0 auto 0.75rem;
}

.pillars-footnote {
  font-weight: 600;
  color: var(--navy);
}


.learning-gallery {
  background: var(--white);
}

.learning-gallery h3 {
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.gallery-surface {
  background: var(--yellow);
  border-radius: 36px;
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow);
  max-width: 960px;
  margin: 0 auto;
}

.gallery-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.gallery-row.top-row {
  margin-bottom: 0.5rem;
}

.gallery-row.bottom-row {
  margin-top: 0.5rem;
}

.gallery-card {
  background: var(--white);
  border-radius: 24px;
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  width: 220px;
}

.gallery-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 20px;
}

.gallery-card p {
  margin: 0.8rem 0 0;
  font-weight: 600;
  color: var(--navy);
}

/* Bottom row cards follow same responsive sizing */

.brochure-cta {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .gallery-card {
    width: 100%;
  }
}

.brochure-cta {
  text-align: center;
  margin-top: 2rem;
}

.site-footer {
  background: var(--blue);
  color: var(--white);
  padding-top: 3rem;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.85);
  margin: 1rem 0;
  line-height: 1.6;
}

.footer-robot {
  width: 140px;
}

.footer-column h5 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--yellow);
}

.footer-column p,
.footer-column a,
.footer-column li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-newsletter {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 999px;
  padding: 0.25rem;
  margin: 0.75rem 0 1rem;
}

.footer-newsletter input {
  border: none;
  flex: 1;
  padding: 0.45rem 0.85rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
}

.footer-newsletter button {
  border: none;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
  cursor: pointer;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.footer-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 1rem 0.75rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-meta a {
  color: var(--yellow);
}

.footer-bar {
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-icons {
  display: flex;
  gap: 0.5rem;
}

.footer-icons span {
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-grid {
    grid-template-columns: auto auto;
    align-items: center;
    text-align: left;
    gap: 0.5rem 1rem;
  }

  .nav-links,
  .nav-cta {
    grid-column: 1 / -1;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links a {
    width: 100%;
  }

  .nav-cta {
    display: none;
    width: 100%;
    justify-content: center;
  }

  .nav-grid.is-open .nav-links,
  .nav-grid.is-open .nav-cta {
    display: flex;
  }

  .top-icons {
    display: none;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-content {
    padding: 3rem 0;
  }

  .vision-text {
    padding-right: 0;
  }

  section {
    padding: 3rem 0;
  }

  .footer-meta {
    flex-direction: column;
    text-align: center;
  }

  .footer-bar {
    flex-direction: column;
  }
}
