
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #111111;
  --bg-light: #F5F5F5;
  --text-primary-dark: #FFFFFF;
  --text-primary-light: #111111;
  --text-secondary-dark: #A0A0A0;
  --text-secondary-light: #666666;
  --accent-whatsapp: #25D366;
  /* Brand accent. Course pages override --accent on <body> with their own
     programme colour; every other page falls back to this. */
  --accent: #EF150C;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-pill: 100px;
}

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

html {
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-primary-light);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-heading); 
  font-weight: 600; 
  letter-spacing: -0.03em; 
}

/* Page Transition Overlay */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 999999;
  pointer-events: none;
}
.btn-outline {
  background: transparent; color: var(--text-primary-dark); 
  padding: 15px 35px; font-size: 14px; font-weight: 600; 
  text-decoration: none; border: 1px solid rgba(255,255,255,0.3); 
  cursor: pointer; border-radius: var(--radius-pill); display: inline-block;
  transition: all 0.3s ease;
}
.btn-outline:hover { background: #fff; color: #111; }

.btn-dark {
  background: var(--bg-dark); color: #fff;
  padding: 16px 36px; font-size: 14px; font-weight: 600;
  border-radius: var(--radius-pill); text-decoration: none;
  display: inline-block; transition: all 0.3s ease;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* New Hero Style (Officex Reference) */
.hero-container {
  padding: 16px;
  height: 100vh;
  height: 100dvh;
}
.hero-box {
  background-color: var(--bg-dark);
  background-image: url('assets/landing_bg.jpg');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-box::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.8) 0%, rgba(17,17,17,0.2) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; padding: 0 48px; width: 100%;
}
.hero-massive-text {
  font-family: var(--font-heading);
  font-size: 22vw;
  font-weight: 700;
  color: var(--text-primary-dark);
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-align: center;
  margin-top: -8vh;
  margin-bottom: 8vh;
}
.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 40px;
}
.hero-sub {
  color: var(--text-primary-dark);
}
.hero-sub h1,
.hero-sub h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-sub p {
  font-size: 16px; color: var(--text-secondary-dark);
  max-width: 400px;
}
.hero-search-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
}

/* Logo in standard header */
.floating-logo { position: fixed; top: 18px; left: 24px; z-index: 1000; }
.floating-logo a {
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.floating-logo img { display: block; height: 28px !important; }

/* Standard top nav bar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  z-index: 999;
  width: 100%;
  max-width: none;
  padding: 14px 24px 14px 200px; /* Space for logo on left */
  justify-content: flex-end;
  flex-wrap: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-radius: 0;
  overflow-x: auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.site-nav::-webkit-scrollbar {
  display: none;
}
.hero-nav-link {
  color: var(--text-primary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.hero-nav-link:hover { background: var(--bg-dark); color: #fff; }
.hero-nav-link.is-active { background: var(--bg-dark); color: #fff; }

/* Sections */
.section-light { padding: 120px 48px; background: var(--bg-light); }

/* Intro Split */
.intro-split { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; max-width: 1400px; margin: 0 auto; }
.intro-label { font-size: 14px; color: var(--text-secondary-light); font-weight: 500; }
.intro-headline { font-size: clamp(32px, 4vw, 48px); line-height: 1.2; color: var(--text-primary-light); max-width: 800px; }

/* Image Grid */
.img-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.img-card { display: flex; flex-direction: column; gap: 16px; }
.img-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(0,0,0,0.06); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.img-card:hover img { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.img-card-title { font-size: 18px; font-weight: 600; }
.img-card-sub { font-size: 14px; color: var(--text-secondary-light); }

/* Dark Boxed Section */
.dark-box {
  background: var(--bg-dark); border-radius: var(--radius-lg); padding: 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; color: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.dark-box h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.1; margin-bottom: 24px; }
.dark-box p { font-size: 16px; color: var(--text-secondary-dark); margin-bottom: 40px; max-width: 400px; }

/* Footer */
.footer-new {
  background: var(--bg-dark);
  color: #a0a0a0;
  padding: 80px 24px 40px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  gap: 80px;
  justify-content: space-between;
  margin-bottom: 64px;
}
.footer-brand {
  flex: 1;
  max-width: 320px;
}
.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 24px;
}
.footer-note {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-socials a:hover {
  color: var(--accent);
}
.footer-links-grid {
  display: flex;
  flex: 2;
  gap: 64px;
  justify-content: space-between;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.footer-col a {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 48px; }
  .footer-links-grid { flex-wrap: wrap; gap: 48px; }
  .footer-col { min-width: calc(50% - 24px); }
}

@media (max-width: 600px) {
  .footer-new { padding: 64px 20px 32px; text-align: center; }
  .footer-links-grid { flex-direction: column; gap: 40px; }
  .footer-col { width: 100%; align-items: center; }
  .footer-socials { justify-content: center; }
  .footer-brand { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
  .footer-legal { flex-direction: column; align-items: center; gap: 16px; text-align: center; justify-content: center; }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px;
  background: var(--accent-whatsapp); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; text-decoration: none;
  box-shadow: 0 8px 32px rgba(37,211,102,0.3); z-index: 9999;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* Responsive Utility Classes */
.grid-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* -------------------------------------------
   Mobile Optimizations (max-width: 768px)
------------------------------------------- */
@media (max-width: 768px) {
  /* Global Spacing */
  .section-light, .section-dark { padding: 64px 24px; }
  .section-boxed { padding: 24px; }
  
  /* Typography Scaling */
  .hero-massive-text { font-size: 28vw; margin-top: -4vh; margin-bottom: 4vh; }
  .hero-sub h1, .hero-sub h2 { font-size: 32px; }
  .footer-giant { font-size: 24vw; margin-bottom: 40px; }
  
  /* Navigation */
  .nav-wrapper { padding: 24px; }
  .nav {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .nav-solid { padding: 16px 24px; }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
  }
  .nav .btn-dark {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
  }
  
  /* Standard top header for mobile */
  .floating-logo { top: 12px; left: 16px; z-index: 1001; }
  .floating-logo img { height: 24px !important; }
  .site-nav {
    width: 100%;
    max-width: none;
    padding: 10px 16px 10px 130px; /* space for logo */
    gap: 4px;
    top: 0;
    bottom: auto;
    justify-content: flex-start;
  }
  .hero-nav-link { font-size: 13px; padding: 8px 12px; flex-shrink: 0; }
  
  /* Grids Collapsing */
  .intro-split { grid-template-columns: 1fr; gap: 40px; }
  .img-grid { grid-template-columns: 1fr; gap: 32px; }
  .dark-box { grid-template-columns: 1fr; padding: 40px 24px; gap: 40px; }
  .trusted-grid { grid-template-columns: 1fr; padding: 0; margin-top: 40px; }
  .footer-bottom-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { flex-direction: column; gap: 8px; }
  
  /* CTA Banner */
  .cta-banner { margin: 64px 24px; padding: 64px 24px; }
  .cta-banner h2 { font-size: 32px; }
  
  /* Forms */
  .newsletter-box { flex-direction: row; }
  
  /* Utility Overrides for Mobile */
  .grid-cols-2 { grid-template-columns: 1fr !important; }
  .flex-col-mobile { flex-direction: column !important; align-items: flex-start !important; text-align: left !important; gap: 16px; }
}

/* -------------------------------------------
   Floating UI: keep the bottom pill nav and the
   WhatsApp button clear of each other and of
   the last block of page content.
------------------------------------------- */
body { padding-bottom: 120px; }
.whatsapp-float { bottom: 116px; right: 24px; }

/* -------------------------------------------
   Course Detail Pages
   Each page sets its own --accent on .course-page.
------------------------------------------- */
.course-page { --accent: #EF150C; }

.course-hero { padding: 16px; }
.course-hero-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: min(76vh, 720px);
  display: flex;
  align-items: flex-end;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
}
.course-hero-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.94) 0%, rgba(17,17,17,0.55) 50%, rgba(17,17,17,0.25) 100%);
}
.course-hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 56px;
  color: var(--text-primary-dark);
  max-width: 920px;
}
.course-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  margin-bottom: 24px;
}
.course-hero-title {
  font-size: clamp(38px, 6.2vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.course-hero-tagline {
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
}

/* Sections */
.course-section { padding: 104px 48px; }
.course-section-inner { max-width: 1240px; margin: 0 auto; }
.course-section--white { background: #fff; }
.course-section--tint { background: var(--bg-light); }

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.section-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary-light);
  max-width: 780px;
}
.section-lead + .section-lead { margin-top: 18px; }

/* Two-column split with media */
.split-2 {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-2--reverse .split-media { order: -1; }
.split-media img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

/* Feature cards (Why VONA / Why study / Experience) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.course-section--white .feature-card { background: var(--bg-light); border-color: #e4e4e4; }
.feature-card-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.feature-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary-light);
  margin-top: 10px;
}

/* Curriculum list */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  margin-top: 40px;
}
.learn-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid #e6e6e6;
}
.learn-index {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  min-width: 24px;
  font-variant-numeric: tabular-nums;
}
.learn-label { font-size: 16px; font-weight: 500; line-height: 1.45; }

/* Software / tool chips */
.tool-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.tool-chip {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.course-section--white .tool-chip { background: var(--bg-light); }

/* Career role grid */
.career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.career-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 22px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.career-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.course-section--white .career-card { background: var(--bg-light); border-color: #e4e4e4; }
.career-card::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* -------------------------------------------
   Founding firm logos (NDS, AVO, OZORA, DVA)
   Every logo file is the same 720x200 transparent canvas, so a fixed box plus
   object-fit: contain renders all four at a matching optical size no matter
   how different their own proportions are. All four marks are dark, so they
   always sit on a light surface.
------------------------------------------- */
.firm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.firm-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
}
.firm-card img {
  display: block;
  width: 100%;
  max-width: 176px;
  height: 54px;
  object-fit: contain;
}

/* Horizontal credit strip (home page) */
.firm-strip-block { margin-top: 72px; text-align: center; }
.firm-strip-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary-light);
  margin-bottom: 32px;
}
.firm-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 56px;
}
.firm-strip img {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.firm-strip a:hover img,
.firm-strip img:hover { opacity: 1; }

/* Three grouped role columns (About → Career opportunities) */
.career-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}

/* Simple tag cloud (concepts, audiences, projects) */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tag-pill {
  border: 1px solid #dcdcdc;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-primary-light);
}

/* Dark statement band */
.quote-band {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--bg-dark);
  color: var(--text-primary-dark);
  border-radius: var(--radius-lg);
  padding: 76px 56px;
  text-align: center;
}
.quote-band p {
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.9vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 840px;
  margin: 0 auto;
}
.quote-band .quote-attrib {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-secondary-dark);
  margin-top: 24px;
}

/* Numbered pathway (career road map, stage lists) */
.pathway {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  counter-reset: pathstep;
}
.pathway-step {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pathway-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.course-section--white .pathway-step { background: var(--bg-light); border-color: #e4e4e4; }
.pathway-step::before {
  counter-increment: pathstep;
  content: counter(pathstep, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.pathway-step h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
.pathway-step p { font-size: 14px; line-height: 1.6; color: var(--text-secondary-light); }

/* Course CTA */
.course-cta {
  margin: 0 48px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 92px 56px;
  text-align: center;
  color: var(--text-primary-dark);
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.course-cta h2 {
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.course-cta p {
  font-size: 17px;
  color: var(--text-secondary-dark);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.course-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-accent {
  background: var(--accent);
  color: #fff;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* Programme index cards (courses.html) */
/* Modern Creative Programme Grid */
.modern-programme-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.modern-programme-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 440px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}
.modern-programme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.mpc-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.modern-programme-card:hover .mpc-bg {
  transform: scale(1.05);
}
.mpc-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
  transition: background 0.4s ease;
}
.modern-programme-card:hover .mpc-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
}
.mpc-content {
  position: relative;
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.mpc-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  align-self: flex-start;
}
.mpc-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.mpc-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}
.mpc-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: gap 0.3s ease;
}
.modern-programme-card:hover .mpc-arrow {
  gap: 16px;
}
.mpc-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.modern-programme-card:hover .mpc-arrow svg {
  transform: translateX(4px);
}

/* Card Spans */
.mpc-span-7 { grid-column: span 7; }
.mpc-span-5 { grid-column: span 5; }
.mpc-span-4 { grid-column: span 4; }

/* Amenities grid (campus.html) */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.amenity-card { display: flex; flex-direction: column; gap: 16px; }
.amenity-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}
.amenity-name { font-family: var(--font-heading); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

/* Campus gallery */
.gallery-viewer {
  position: relative;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark);
}
.gallery-viewer img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(to top, rgba(17,17,17,0.88), rgba(17,17,17,0));
  color: var(--text-primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.gallery-controls { display: flex; gap: 8px; flex-shrink: 0; }
.gallery-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gallery-controls button:hover { background: #fff; color: var(--text-primary-light); }
.gallery-track-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  margin-top: 20px;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.gallery-thumb {
  width: 240px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.2s ease, transform 0.2s ease;
}
.gallery-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.gallery-thumb:hover { transform: translateY(-3px); }
.gallery-thumb.is-active { outline-color: var(--text-primary-light); }

/* Contact details + forms */
.contact-detail-block { margin-bottom: 28px; }
.contact-detail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888;
  margin-bottom: 8px;
}
.contact-detail-value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary-light);
  text-decoration: none;
}
a.contact-detail-value:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.course-section--white .contact-form { background: var(--bg-light); }
.form-group { display: flex; flex-direction: column; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-primary-light);
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus { border-color: var(--text-primary-light); }
select.form-input { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit-btn { width: 100%; padding: 18px; border: none; cursor: pointer; font-family: inherit; font-size: 14px; }
.form-hint { font-size: 13px; line-height: 1.6; color: var(--text-secondary-light); }
.form-hint a { color: var(--text-primary-light); }
.form-status { font-size: 14px; font-weight: 500; color: var(--text-primary-light); }

/* -------------------------------------------
   Course / shared component tablet + mobile
------------------------------------------- */
@media (max-width: 1024px) {
  .career-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .pathway { grid-template-columns: repeat(2, 1fr); }
  .split-2 { gap: 44px; }
  .modern-programme-card { grid-column: span 6 !important; min-height: 400px; }
  .modern-programme-card:last-child { grid-column: span 12 !important; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .career-columns { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}@media (max-width: 768px) {
  /* The nav is now at the top, so we only need a bit of clearance for the WhatsApp button */
  body { padding-bottom: 80px; }
  .whatsapp-float { width: 48px; height: 48px; bottom: 24px; right: 16px; }

  /* Keep footer links above the 24px minimum touch target */
  .footer-links { grid-template-columns: 1fr; gap: 32px; }
  .footer-links a { padding: 6px 0; }

  .hero-container { padding: 12px; }
  .course-hero { padding: 12px; }
  .course-hero-box { min-height: 64vh; }
  .course-hero-inner { padding: 40px 20px; }

  .course-section { padding: 56px 20px; }
  .section-lead { font-size: 16px; }

  .split-2 { grid-template-columns: 1fr; gap: 32px; }
  .split-2--reverse .split-media { order: 0; }

  .feature-grid, .pathway, .career-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .feature-card, .pathway-step { padding: 26px; }
  .career-card { min-height: 0; padding: 18px 20px; }

  .learn-grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }

  .quote-band { padding: 40px 20px; border-radius: var(--radius-md); margin: 0 16px; }
  .course-cta { margin: 0 16px; padding: 48px 20px; border-radius: var(--radius-md); }
  .course-cta-actions { flex-direction: column; }
  .course-cta-actions > a { width: 100%; }

  .modern-programme-grid { display: flex; flex-direction: column; gap: 16px; margin-left: 0; margin-right: 0; }
  .modern-programme-card { grid-column: span 12 !important; min-height: 360px; padding: 32px 24px; }

  .amenity-grid { grid-template-columns: 1fr; gap: 28px; }
  .tool-chip { padding: 10px 18px; font-size: 13px; }

  .gallery-viewer { border-radius: var(--radius-md); margin-top: 32px; }
  .gallery-caption { padding: 18px 20px; font-size: 15px; }
  .gallery-controls button { width: 38px; height: 38px; font-size: 15px; }
  .gallery-thumb { width: 180px; }

  .contact-form { padding: 24px; }
  .career-columns { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }

  .firm-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .firm-card { min-height: 100px; padding: 16px 14px; }
  .firm-card img { height: 40px; max-width: 132px; }

  .firm-strip-block { margin-top: 48px; }
  .firm-strip { gap: 24px 36px; }
  .firm-strip img { height: 34px; }
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 16px)); }
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
