:root {
  --bg: #0b1d14;
  --bg2: #0f2a1d;
  --card: rgba(255, 255, 255, 0.08);
  --text: #f2f6f4;
  --muted: rgba(242, 246, 244, 0.75);
  --gold: #c7ad73;
  --green: #6bbf6b;
  --ring: rgba(199, 173, 115, 0.35);
  --border: rgba(255, 255, 255, 0.10);
  --shadow: rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 10%, #193a2a 0%, var(--bg) 55%, #06120c 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1100px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(6, 18, 12, 0.65);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 50;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--ring);
}
.brand__name { font-weight: 700; letter-spacing: 0.2px; }

.nav__toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}
.nav__links { display: flex; align-items: center; gap: 14px; }
.nav__link { color: var(--muted); padding: 8px 10px; border-radius: 10px; }
.nav__link:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.is-active { color: var(--text); }
.nav__cta {
  background: linear-gradient(135deg, rgba(107,191,107,0.25), rgba(199,173,115,0.18));
  border: 1px solid rgba(199,173,115,0.35);
  color: var(--text);
}

.hero { position: relative; min-height: 72vh; display: grid; place-items: center; }
.hero--compact { min-height: 44vh; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg-media { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: saturate(1.05) contrast(1.05); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 15% 30%, rgba(107,191,107,0.22), transparent 60%),
    linear-gradient(to bottom, rgba(6,18,12,0.35), rgba(6,18,12,0.88));
}
.hero__content { position: relative; padding: 64px 0; }
.hero h1 { font-size: clamp(28px, 4vw, 46px); margin: 0 0 12px; letter-spacing: 0.2px; }
.hero p { color: var(--muted); max-width: 68ch; line-height: 1.6; }

/* Soften the seam where hero meets the next section */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero__buttons { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 30px var(--shadow);
  cursor: pointer;
}
.btn--primary { background: linear-gradient(135deg, rgba(107,191,107,0.35), rgba(199,173,115,0.25)); border-color: rgba(199,173,115,0.45); }
.btn--ghost { background: rgba(255,255,255,0.06); }
.btn--small { padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.btn:focus { outline: 2px solid var(--ring); outline-offset: 2px; }

.trust { display: flex; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.trust__item { background: rgba(255,255,255,0.06); border: 1px solid var(--border); padding: 12px 14px; border-radius: 16px; }
.trust__value { display: block; font-weight: 800; color: var(--gold); }
.trust__label { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

.section { padding: 56px 0; position: relative; }
.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 72px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  opacity: 0.55;
  pointer-events: none;
}

/* Home + Working Professionals: avoid visible "banding" at joins */
.page-home .section::before,
.page-pro .section::before {
  display: none;
}
.section--contact { padding-top: 84px; }
.contact-grid { margin-top: 14px; }
.section--alt {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.028),
    rgba(255,255,255,0.018),
    transparent
  );
  border-top: 0;
  border-bottom: 0;
}
.section h2 { margin: 0 0 14px; font-size: 28px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.text-link { color: var(--gold); }

.grid { display: grid; gap: 16px; }
.grid--cards { grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) ); }
.grid--cards-center {
  /* Default behavior (tablet/mobile): keep normal responsive cards */
  grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
}

/* Desktop: if we have a 5th card wrapping, center it */
@media (min-width: 980px) {
  .grid--cards-center { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--cards-center > .card:last-child {
    grid-column: 2 / span 2;
    justify-self: center;
    width: min(520px, 100%);
  }
}
.grid--two { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 820px) { .grid--two { grid-template-columns: 1fr; } }

.card, .panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }

.kicker { color: var(--gold); font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; font-size: 12px; }
.muted { color: var(--muted); }

.list { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }

.cta { padding: 54px 0; background:
  radial-gradient(800px 400px at 20% 30%, rgba(199,173,115,0.18), transparent 60%),
  radial-gradient(800px 400px at 70% 30%, rgba(107,191,107,0.18), transparent 60%);
}
.cta__inner { text-align: center; }
.cta p { color: var(--muted); }

.footer { padding: 32px 0 22px; border-top: 0; position: relative; }
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 72px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02));
  pointer-events: none;
}
.footer__grid { display: grid; gap: 18px; grid-template-columns: 2fr 1fr 1fr; }
.footer a { display: block; color: var(--muted); margin-top: 8px; }
.footer a:hover { color: var(--text); }
.footer__bottom { margin-top: 20px; padding-top: 14px; border-top: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.input::placeholder { color: rgba(242, 246, 244, 0.55); }
.label { display:block; margin-bottom: 8px; color: var(--muted); }

.form-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .form-grid { grid-template-columns: 1fr; } }

.notice {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(199,173,115,0.45);
  background: rgba(199,173,115,0.10);
  color: var(--muted);
}

/* Mobile menu */
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 64px;
    padding: 12px;
    background: rgba(6,18,12,0.92);
    border: 1px solid var(--border);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav__links.is-open { display: flex; }
}

.hero__bg-media--blur {
  filter: blur(6px) saturate(1.05) contrast(1.05) brightness(0.85);
  transform: scale(1.08);
}

.hero__bg-fallback {
  position: absolute;
  inset: 0;
}

.hero__content {
  padding: 80px 0;
}

.trust {
  gap: 12px;
}

.video {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
}

/* Home: alumni testimonial video cards */
.testimonial-grid .card { text-align: center; }
.testimonial-grid .video { margin-top: 10px; }
.testimonial-grid .muted { margin-left: auto; margin-right: auto; }

/* Brand logo chips (small thumbnails) */
.brand-chips {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  vertical-align: middle;
  margin-left: 10px;
}
.brand-chip {
  width: 64px;
  height: 22px;
  display: inline-block;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.30));
  opacity: 0.98;
}

/* --- Premium hero look (matches your preferred mock) --- */
.hero--premium { min-height: 70vh; }
.hero__content--left { max-width: 760px; }
.hero__content--left h1 { text-shadow: 0 10px 30px rgba(0,0,0,0.55); }
.hero__content--left p { text-shadow: 0 10px 30px rgba(0,0,0,0.45); }

.hero__overlay--premium {
  background:
    radial-gradient(900px 520px at 20% 35%, rgba(199,173,115,0.18), transparent 65%),
    radial-gradient(900px 520px at 70% 45%, rgba(107,191,107,0.20), transparent 65%),
    linear-gradient(to bottom, rgba(6,18,12,0.35), rgba(6,18,12,0.88));
}

.hero__bokeh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 75%, rgba(255,255,255,0.12), transparent 35%),
    radial-gradient(circle at 28% 55%, rgba(255,255,255,0.10), transparent 38%),
    radial-gradient(circle at 70% 25%, rgba(255,255,255,0.08), transparent 42%),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,0.07), transparent 40%);
  mix-blend-mode: overlay;
  filter: blur(1px);
  opacity: 0.9;
}

/* Banner section */
.banner { padding-top: 26px; padding-bottom: 26px; }
.banner__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 920px) {
  .banner__grid { grid-template-columns: 1fr; }
}

.banner__card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  position: relative;
}
.banner__img {
  width: 100%;
  height: clamp(220px, 28vw, 320px);
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Click hotspot over the "Enroll Now" button inside the banner image */
.banner__cta {
  position: absolute;
  left: 63%;
  top: 72%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(260px, 44vw);
  height: 64px;
  border-radius: 18px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
}
/* Keyboard accessibility */
.banner__cta:focus { outline: none; }
.banner__cta:focus-visible {
  outline: 2px solid rgba(255,255,255,0.18);
  outline-offset: 4px;
}
@media (max-width: 560px) {
  .banner__cta { left: 61%; top: 75%; height: 58px; width: min(240px, 70vw); }
}

/* Alumni carousel */
.alumni {
  display: grid;
  gap: 10px;
  align-content: start;
}
.alumni__card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  transform-style: preserve-3d;
}
.alumni__card:focus { outline: 2px solid var(--ring); outline-offset: 2px; }

.alumni__media { display: block; }
.alumni__img {
  width: 100%;
  height: clamp(220px, 28vw, 320px);
  object-fit: contain;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.05);
  background: rgba(6,18,12,0.35);
  padding: 22px;
}
.alumni__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6,18,12,0.92), rgba(6,18,12,0.10) 62%, rgba(6,18,12,0.55));
  pointer-events: none;
}
.alumni__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(242,246,244,0.98);
  text-shadow: 0 10px 30px rgba(0,0,0,0.65);
}

@keyframes alumniFlip {
  0% { transform: perspective(900px) rotateY(0deg); }
  45% { transform: perspective(900px) rotateY(88deg); }
  55% { transform: perspective(900px) rotateY(92deg); }
  100% { transform: perspective(900px) rotateY(0deg); }
}
.alumni__card.is-flipping { animation: alumniFlip 520ms ease-in-out; }

@media (prefers-reduced-motion: reduce) {
  .alumni__card.is-flipping { animation: none; }
  .hero__bg video { display: none; }
  .hero__bg .hero__bg-fallback { display: block; }
}

/* --- Navigation grouping (Prospective Students vs Support) --- */
.nav__group-label {
  color: rgba(242, 246, 244, 0.6);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 10px;
}

.nav__divider {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  margin: 0 6px;
}

@media (max-width: 860px) {
  .nav__divider { display: none; }
}

/* --- Responsive tables (pricing, schedules) --- */
.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th, td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  text-align: left;
  vertical-align: top;
}

th {
  color: rgba(242, 246, 244, 0.9);
  font-weight: 800;
  background: rgba(0,0,0,0.15);
}

tr:last-child td { border-bottom: 0; }

/* --- Responsive embeds (Google Forms) --- */
.embed {
  position: relative;
  width: 100%;
  padding-top: 125%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



/* Screen-reader-only helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav__group-link {
  text-decoration: none;
  border-radius: 999px;
  padding: 6px 10px;
}
.nav__group-link:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(242, 246, 244, 0.82);
}

/* VDM contact widget (combined chat + WhatsApp) */
.vdm-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10000;
  width: min(210px, 70vw);
  /* Match the actual widget image ratio (682×1024) to avoid interpolation blur */
  aspect-ratio: 682 / 1024;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0,0,0,0.55);
  -webkit-tap-highlight-color: transparent;
}
.vdm-widget__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  /* Ensure crisp rendering on scaled-down hi-DPI */
  image-rendering: auto;
}
/* Invisible hit areas (keeps original image-only look) */
.vdm-widget__hit {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 16%;
  border-radius: 16px;
  display: block;
}
.vdm-widget__hit--chat { top: 58%; }
.vdm-widget__hit--wa { top: 76%; }
.vdm-widget__hit:focus { outline: none; }
.vdm-widget__hit:focus-visible { outline: 2px solid rgba(199,173,115,0.45); outline-offset: 6px; }

@media (max-width: 560px) {
  .vdm-widget { right: 12px; bottom: 12px; width: min(196px, 86vw); }
}

/* Don't rely on CSS to hide Tawk; we hide it via Tawk_API in JS. */
