/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:    #1A5C5E;
  --brand-dk: #0D3B3D;
  --brand-lt: #EDF5F5;
  --text:     #2D2D2D;
  --text-sec: #6B7280;
  --bg:       #FFFFFF;
  --bg-alt:   #F9FAFB;
  --border:   #E5E7EB;
  --amber:    #92400E;
  --amber-lt: #FFFBEB;
  --radius:   10px;
  --shadow:   0 1px 4px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:0 4px 24px rgba(0,0,0,.10);
  --max:      1100px;
  --nav-h:    68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-sec); line-height: 1.7; }
p.dark { color: var(--text); }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-alt{ padding: 80px 0; background: var(--bg-alt); }
.section-teal{ padding: 72px 0; background: var(--brand); color: #fff; }
.section-teal p { color: rgba(255,255,255,.8); }

/* ── Video Section ─────────────────────────────────────────── */
.section-video { padding: 0 0 80px; }
.video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--brand-dk);
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow-lg);
}
.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .92;
}
/* Subtle gradient overlay — keeps any on-screen text readable
   and gives the video a cinematic, slightly branded feel */
.video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,59,61,.15) 0%,
    rgba(13,59,61,.0)  40%,
    rgba(13,59,61,.0)  60%,
    rgba(13,59,61,.35) 100%
  );
  pointer-events: none;
}
.video-overlay-text {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 2;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
}
/* Fallback appearance when no video file is present yet */
.video-wrap:not(:has(video[src])) video,
.video-wrap video:not([src]) {
  display: none;
}
.video-wrap:empty,
.video-wrap video[src="assets/reel.mp4"]:not([poster]) {
  /* dark placeholder — looks intentional, not broken */
}

.section-label {
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header.center { margin: 0 auto 52px; text-align: center; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9375rem; font-weight: 600;
  padding: 12px 24px; border-radius: var(--radius);
  cursor: pointer; border: 2px solid transparent;
  transition: all .18s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand); color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-dk); border-color: var(--brand-dk);
  text-decoration: none; color: #fff;
}
.btn-outline {
  background: transparent; color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand-lt); text-decoration: none;
}
.btn-white {
  background: #fff; color: var(--brand);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--brand-lt); text-decoration: none;
}
.btn-outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  border-color: #fff; background: rgba(255,255,255,.1);
  text-decoration: none; color: #fff;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--text-sec);
  padding: 6px 12px; border-radius: 6px;
  transition: color .15s, background .15s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-lt); }
.nav-links .nav-cta a {
  background: var(--brand); color: #fff; padding: 8px 16px;
}
.nav-links .nav-cta a:hover { background: var(--brand-dk); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ↓'; font-size: .7em; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 240px; overflow: hidden;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 12px 16px;
  font-size: .875rem; color: var(--text);
  border-radius: 0;
}
.dropdown-menu a:hover { background: var(--brand-lt); color: var(--brand); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 88px;
  background: linear-gradient(135deg, #f0f7f7 0%, #fff 60%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle at 70% 30%, rgba(26,92,94,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-lt); border: 1px solid rgba(26,92,94,.2);
  color: var(--brand); font-size: .8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero-badge::before { content: '●'; font-size: .5rem; }
.hero h1 { margin-bottom: 20px; max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub {
  font-size: 1.125rem; color: var(--text-sec);
  max-width: 560px; margin-bottom: 36px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-size: 1.75rem; font-weight: 800; color: var(--brand);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8125rem; color: var(--text-sec); margin-top: 4px;
}

/* ── Hero — Video Background variant ─────────────────────── */
.hero-video-bg {
  background: var(--brand-dk);
  border-bottom: none;
}
.hero-video-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13,59,61,.82) 0%,
    rgba(13,59,61,.62) 55%,
    rgba(13,59,61,.78) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-vid-wrap {
  position: absolute; inset: 0;
  z-index: 0; overflow: hidden;
}
.hero-vid-wrap video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: .9;
}
.hero-video-bg .container        { position: relative; z-index: 2; }
.hero-video-bg h1                { color: #fff; }
.hero-video-bg h1 em             { color: #7ECFD1; }
.hero-video-bg .hero-sub         { color: rgba(255,255,255,.78); }
.hero-video-bg .hero-badge       { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.hero-video-bg .hero-stats       { border-top-color: rgba(255,255,255,.15); }
.hero-video-bg .hero-stat-num    { color: #7ECFD1; }
.hero-video-bg .hero-stat-label  { color: rgba(255,255,255,.6); }

/* ── Cards ────────────────────────────────────────────────── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--brand);
}
.card-icon {
  width: 44px; height: 44px;
  background: var(--brand-lt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 16px;
  color: var(--brand);
}
.card h3 { margin-bottom: 8px; }
.card .card-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin: 16px 0;
}
.card .tag {
  font-size: .75rem; font-weight: 600;
  background: var(--brand-lt); color: var(--brand);
  padding: 3px 10px; border-radius: 100px;
}
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 600; color: var(--brand);
  margin-top: 16px;
}
.card .card-link:hover { text-decoration: underline; }

/* Program card accent */
.program-card { border-top: 3px solid var(--brand); }

/* ── Feature grid ─────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
.feature-item { display: flex; gap: 16px; }
.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--brand-lt); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-top: 2px;
  color: var(--brand);
}
.feature-item h4 { margin-bottom: 6px; }

/* ── Stats strip ──────────────────────────────────────────── */
.stats-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.stat-cell {
  background: var(--bg-alt); padding: 36px 32px; text-align: center;
}
.stat-num {
  font-size: 2.5rem; font-weight: 800; color: var(--brand);
  line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: .875rem; color: var(--text-sec); }

/* ── Two column ───────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse > *:first-child { order: 2; }
.two-col.reverse > *:last-child  { order: 1; }

/* ── Info box ─────────────────────────────────────────────── */
.info-box {
  border-left: 4px solid var(--brand);
  background: var(--brand-lt);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box.amber {
  border-left-color: var(--amber);
  background: var(--amber-lt);
}

/* ── Callout banner ───────────────────────────────────────── */
.callout-banner {
  background: var(--brand); border-radius: var(--radius);
  padding: 48px 52px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.callout-banner h2 { color: #fff; margin-bottom: 8px; }
.callout-banner p { color: rgba(255,255,255,.8); margin: 0; }

/* ── Accordion (FAQ) ──────────────────────────────────────── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1rem; font-weight: 600; color: var(--text);
  transition: background .15s;
}
.accordion-trigger:hover { background: var(--bg-alt); }
.accordion-trigger .acc-icon {
  flex-shrink: 0; width: 24px; height: 24px;
  border: 2px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; transition: transform .2s, background .2s, border-color .2s;
}
.accordion-trigger[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.accordion-body {
  display: none; padding: 0 24px 20px;
}
.accordion-body p { color: var(--text-sec); }
.accordion-body.open { display: block; }

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding: 64px 0 56px;
  background: linear-gradient(135deg, var(--brand-lt) 0%, #fff 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero .breadcrumb {
  font-size: .8125rem; color: var(--text-sec); margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--brand); }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .page-hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px;
}
.page-hero-meta .meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; color: var(--text-sec);
}
.page-hero-meta .meta-icon { font-size: 1rem; }

/* ── Curriculum table ─────────────────────────────────────── */
.curriculum-table { width: 100%; border-collapse: collapse; }
.curriculum-table th {
  text-align: left; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-sec); padding: 10px 16px;
  background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
.curriculum-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  font-size: .9375rem; vertical-align: top;
}
.curriculum-table tr:last-child td { border-bottom: none; }
.curriculum-table tr:nth-child(even) td { background: var(--bg-alt); }
.curriculum-table .week-num {
  font-weight: 700; color: var(--brand);
  width: 60px; text-align: center;
}
.curriculum-table .week-title { font-weight: 600; }

/* ── Contact form ─────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .9375rem; font-family: inherit; color: var(--text);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26,92,94,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--brand-dk); color: rgba(255,255,255,.8);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.footer-brand p { font-size: .875rem; line-height: 1.6; margin-bottom: 16px; color: rgba(255,255,255,.6); }
.footer-col h4 { color: #fff; font-size: .875rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.6); font-size: .875rem;
  transition: color .15s; text-decoration: none;
}
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0;
  font-size: .8rem; color: rgba(255,255,255,.45);
  line-height: 1.7;
}

/* ── Disclosure ───────────────────────────────────────────── */
.bppe-disclosure {
  font-size: .775rem; color: rgba(255,255,255,.4);
  margin-top: 12px; line-height: 1.6;
}

/* ── Checklist ────────────────────────────────────────────── */
ul.check-list { list-style: none; padding: 0; }
ul.check-list li {
  padding: 8px 0 8px 28px; position: relative;
  border-bottom: 1px solid var(--border); font-size: .9375rem;
  color: var(--text-sec);
}
ul.check-list li:last-child { border-bottom: none; }
ul.check-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--brand); font-weight: 700;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse > * { order: unset !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .callout-banner { padding: 32px 28px; }
  .callout-banner { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 24px; gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .hero-stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
}
