:root {
  --brand: #011C4B;
  --brand-dark: #082C63;
  --brand-deep: #001338;
  --accent-green: #E6B12C;
  --ink: #212529;
  --body: #3d454b;
  --muted: #66727b;
  --line: #dbe2e5;
  --paper: #ffffff;
  --wash: #f5f7f7;
  --blue-wash: #EFF3F9;
  --brand-wash: #EAF0F8;
  --shadow: 0 14px 38px rgba(26, 48, 53, .09);
  --radius: 14px;
  --container: 1200px;
  --sans: "Roboto", Arial, sans-serif;
  --heading: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 180px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }
img { display: block; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand-deep); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f0b642; outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-140%); padding: 10px 15px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: none; }

.utility-bar { background: var(--blue-wash); color: #33424b; font-size: 13px; }
.utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.utility-inner p { margin: 0; }
.utility-inner a { color: var(--brand-dark); text-decoration: none; font-weight: 700; }
.utility-contact { display: flex; flex-wrap: wrap; gap: 18px; }
.main-header { position: sticky; top: 0; z-index: 100; background: var(--brand); box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.brand { display: flex; align-items: center; flex: 0 0 360px; }
.brand img { width: 360px; height: auto; background: var(--brand); }
.nav-toggle { display: none; border: 1px solid rgba(255,255,255,.72); border-radius: 8px; padding: 8px 11px; background: #fff; color: var(--brand-deep); font-weight: 700; }
.primary-nav { background: var(--brand); color: #fff; }
.nav-inner { min-height: 172px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a { display: inline-flex; min-height: 51px; align-items: center; padding: 0 17px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; transition: background .15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(0,0,0,.13); color: #fff; }
.nav-action { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 16px; border-radius: 5px; background: #fff; color: var(--brand-deep); text-decoration: none; font-weight: 700; font-size: 14px; }
.nav-action:hover { background: #EFF3F9; color: var(--brand-deep); }

.eyebrow { margin: 0 0 12px; color: var(--brand-dark); font: 700 13px/1.4 var(--heading); letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3, h4 { margin: 0; color: #202a2e; font-family: var(--heading); line-height: 1.2; }
h1 { font-size: clamp(37px, 4.4vw, 60px); letter-spacing: -.045em; }
h2 { font-size: clamp(29px, 3.1vw, 40px); letter-spacing: -.035em; }
h3 { font-size: 21px; letter-spacing: -.02em; }
p { margin: 0 0 16px; }
.lead { max-width: 690px; color: var(--body); font-size: 19px; line-height: 1.6; }
.section { padding: 82px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading > p { max-width: 510px; margin-bottom: 3px; color: var(--body); font-size: 17px; }
.section-heading h2 { max-width: 720px; }
.section-heading h2 .accent { color: var(--brand-dark); }
.accent { color: var(--brand-dark); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 11px 19px; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-weight: 700; transition: background .15s ease, color .15s ease, transform .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand-dark); color: #fff; }
.button-primary:hover { background: var(--brand-deep); color: #fff; }
.button-secondary { background: #fff; border-color: var(--brand-dark); color: var(--brand-dark); }
.button-secondary:hover { background: var(--brand-wash); }
.button-light { background: #fff; color: var(--brand-deep); }
.button-light:hover { background: #EAF0F8; color: var(--brand-deep); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid #D5DFEC; border-radius: 99px; background: var(--brand-wash); color: var(--brand-deep); font-size: 13px; font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-green); }

.home-hero { padding: 55px 0 38px; background: linear-gradient(115deg, #f7fbfb 0%, #fff 63%, #edf8f6 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(410px, 1.05fr); gap: 58px; align-items: center; }
.hero-copy .pill { margin-bottom: 18px; }
.hero-copy h1 { max-width: 640px; margin-bottom: 19px; }
.hero-copy h1 span { color: var(--brand-dark); }
.hero-copy .lead { margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.hero-note { color: var(--muted); font-size: 14px; }
.hero-note strong { color: #38434a; }
.hero-media-wrap { position: relative; padding: 0 0 28px 28px; }
.hero-media-wrap::before { position: absolute; content: ""; z-index: 0; top: 28px; right: 0; bottom: 0; left: 0; border-radius: 12px; background: #DDE7F2; }
.hero-media { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 16 / 9; border: 5px solid #fff; border-radius: 11px; background: #102c35; box-shadow: var(--shadow); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.media-caption { position: absolute; z-index: 2; left: -15px; bottom: 0; max-width: 255px; padding: 13px 17px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.media-caption span { display: block; color: var(--brand-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.media-caption strong { color: #263136; font: 700 15px/1.4 var(--heading); }
.stats-strip { border-block: 1px solid #e1e8e9; background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 24px; border-right: 1px solid #e1e8e9; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; }
.stat strong { display: block; margin-bottom: 3px; color: var(--brand-dark); font: 700 22px/1.3 var(--heading); }
.stat span { color: var(--muted); font-size: 14px; }

.path-section { background: var(--wash); }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path-card { min-height: 205px; display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .18s ease, transform .18s ease; }
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.path-card .card-index { margin-bottom: 20px; color: var(--brand-dark); font: 700 13px/1 var(--heading); }
.path-card h3 { margin-bottom: 10px; }
.path-card p { margin-bottom: 17px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.path-card a { margin-top: auto; text-decoration: none; font-size: 14px; font-weight: 700; }

.featured-courses { background: #fff; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { overflow: hidden; display: flex; flex-direction: column; min-height: 392px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 3px 12px rgba(30,48,54,.035); }
.course-top { min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 20px 22px; background: var(--brand-wash); }
.course-top span { color: var(--brand-dark); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.course-top strong { font: 700 17px/1.35 var(--heading); color: #253438; }
.course-content { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.course-content h3 { margin-bottom: 10px; }
.course-content p { color: var(--body); font-size: 15px; line-height: 1.6; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 1px 0 16px; }
.course-meta span { padding: 5px 9px; border-radius: 4px; background: #f0f3f3; color: #465257; font-size: 13px; }
.course-content .text-link { margin-top: auto; }
.course-disclaimer { margin: 24px 0 0; color: var(--muted); font-size: 14px; }

.learning-video { background: #f0f7f6; }
.video-grid { display: grid; grid-template-columns: minmax(370px, 1.05fr) minmax(0, .95fr); gap: 58px; align-items: center; }
.video-frame { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #122c35; box-shadow: var(--shadow); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-copy h2 { margin-bottom: 15px; }
.video-copy p:not(.eyebrow) { max-width: 530px; color: var(--body); font-size: 17px; }
.video-copy .text-link { margin-top: 5px; }

.mentors-section { background: #fff; }
.mentor-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: center; }
.mentor-copy h2 { margin-bottom: 16px; }
.mentor-copy > p:not(.eyebrow) { color: var(--body); font-size: 17px; }
.mentor-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 24px 0; padding: 0; list-style: none; }
.mentor-highlights li { position: relative; padding-left: 23px; color: #344146; font-size: 15px; }
.mentor-highlights li::before { position: absolute; left: 0; content: "✓"; color: var(--brand-dark); font-weight: 700; }
.mentor-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mentor-photo { overflow: hidden; border-radius: 11px; background: #e9efed; box-shadow: var(--shadow); }
.mentor-photo img { width: 100%; aspect-ratio: .88; object-fit: cover; object-position: 50% 20%; }
.mentor-photo figcaption { padding: 13px 15px; background: #fff; }
.mentor-photo strong { display: block; color: #263438; font: 700 17px/1.3 var(--heading); }
.mentor-photo span { color: var(--muted); font-size: 13px; }

.formats-section { background: var(--blue-wash); }
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.format-card { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 27px; border: 1px solid #d5e2ef; border-radius: var(--radius); background: #fff; }
.format-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-wash); color: var(--brand-dark); font: 700 21px/1 var(--heading); }
.format-card h3 { margin-bottom: 7px; }
.format-card p { margin: 0; color: var(--muted); font-size: 15px; }
.address { display: block; margin-top: 9px; color: #39474c; font-size: 14px; font-weight: 700; }

.reviews-section { background: var(--wash); }
.review-summary { display: flex; align-items: center; gap: 17px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.review-score { color: var(--brand-dark); font: 700 29px/1 var(--heading); }
.review-summary p { margin: 0; color: var(--muted); font-size: 14px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { min-height: 202px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stars { margin-bottom: 13px; color: #b98014; font-size: 16px; letter-spacing: .1em; }
.review-card blockquote { margin: 0 0 17px; color: #364248; font-size: 16px; line-height: 1.6; }
.review-card figcaption { margin-top: auto; color: var(--muted); font-size: 14px; font-weight: 700; }
.review-more { margin-top: 25px; }
.google-reviews-widget { width: 100%; margin-top: 18px; }
.google-reviews-widget .repocean-grid-main { max-width: 100%; background: transparent !important; border-color: transparent !important; }
.google-reviews-widget--home .repocean-grid-main .grid-box-parent .grid-box:nth-child(n+4) { display: none !important; }
.google-reviews-widget--home .repocean-grid-main #loadMore { display: none !important; }
.review-feed-fallback { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--body); }
.review-feed-fallback a { color: var(--brand-dark); font-weight: 700; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 55px; align-items: start; }
.faq-intro p:not(.eyebrow) { margin-top: 13px; color: var(--body); font-size: 17px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 18px 34px 18px 0; color: #273438; cursor: pointer; font: 700 17px/1.45 var(--heading); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 4px; top: 15px; content: "+"; color: var(--brand-dark); font: 400 26px/1 var(--sans); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -3px 35px 17px 0; color: var(--body); font-size: 15px; }

.cta-band { padding: 50px 0; background: var(--brand-dark); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner h2 { max-width: 730px; color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta-inner p { margin: 7px 0 0; color: #e2f3f1; }

.site-footer { padding: 49px 0 20px; background: var(--brand); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1fr; gap: 36px; padding-bottom: 35px; }
.footer-brand img { width: 270px; height: auto; margin-bottom: 15px; background: var(--brand); }
.footer-brand p, .footer-col p { max-width: 325px; color: #D7E1EF; font-size: 14px; }
.footer-col h3 { margin: 2px 0 14px; color: #fff; font-size: 16px; }
.footer-col ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.footer-col li, .footer-col a { color: #E7EDF6; font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: var(--accent-green); text-decoration: underline; text-underline-offset: 3px; }
.footer-col .footer-policy-arrow { margin-right: 5px; color: var(--accent-green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.24); color: #D7E1EF; font-size: 13px; }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 720px; }

/* Contact page form tabs and enrollment sections. */
.form-tabs { display: flex; gap: 8px; margin: -3px 0 25px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.form-tab { min-height: 44px; padding: 9px 16px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--brand-dark); cursor: pointer; font-weight: 700; }
.form-tab:hover { background: var(--brand-wash); }
.form-tab.is-active { border-color: var(--brand); background: var(--brand); color: #fff; }
.form-tab-panel[hidden] { display: none; }
.form-tab-panel > p { margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.enrollment-section-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 4px; }
.enrollment-section-tabs a { padding: 7px 12px; border: 1px solid #D5DFEC; border-radius: 999px; background: var(--brand-wash); color: var(--brand-dark); font-size: 13px; font-weight: 700; text-decoration: none; }
.enrollment-section-tabs a:hover { border-color: var(--brand); background: #fff; }
.enrollment-section { display: grid; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 190px; }
.enrollment-section h3 { color: var(--brand); font-size: 20px; }
.enrollment-section h3 span { color: var(--muted); font: 500 13px var(--sans); }
.enrollment-section .form-row { margin-bottom: 0; }
.choice-field { margin: 0; padding: 0; border: 0; }
.choice-field legend { margin-bottom: 4px; }
.field small { color: var(--muted); font-size: 12px; }
.aadhaar-section { padding: 20px; border: 1px solid #D5DFEC; border-radius: 8px; background: #F8FAFD; }
.aadhaar-section .privacy-notice { margin-top: 0; }
.check-consent { display: flex; align-items: flex-start; gap: 9px; color: #39454b; font-size: 14px; line-height: 1.55; }
.check-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.declaration { margin-top: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #FBFCFE; }
.payment-notice { border-left-color: #E6B12C; }
.form-success { margin-top: 20px; padding: 20px; border: 1px solid #D6E5DA; border-radius: 8px; background: #F0F7F2; color: #244434; }
.form-success[hidden] { display: none; }
.form-success h3 { margin-bottom: 10px; color: var(--brand); font-size: 22px; }
.form-success p { margin-bottom: 10px; }
.form-success .eyebrow { margin-bottom: 8px; color: #286548; }
.preview-disclosure { margin: 15px 0 0 !important; padding-top: 12px; border-top: 1px solid #D6E5DA; color: #5C6C62; font-size: 12px; }

@media (max-width: 700px) {
  .form-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .form-tab { padding-inline: 8px; font-size: 13px; }
  .enrollment-section-tabs a { flex: 1 1 auto; text-align: center; }
  .form-row-three { grid-template-columns: 1fr; }
  .aadhaar-section { padding: 15px; }
}

.page-hero { padding: 48px 0 44px; background: linear-gradient(120deg, #F4F7FC 0%, #f7f9fa 65%, #e8f1fc 100%); }
.breadcrumbs { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--brand-dark); text-decoration: none; }
.page-hero h1 { max-width: 850px; margin-bottom: 14px; font-size: clamp(36px, 4vw, 51px); }
.page-hero .lead { margin-bottom: 0; }
.catalog { display: grid; gap: 20px; }
.catalog-section-heading { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 10px; color: var(--brand-dark); font-size: 25px; }
.catalog-card { display: grid; grid-template-columns: 255px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 3px 14px rgba(30,48,54,.035); }
.catalog-aside { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: var(--brand-wash); }
.catalog-level { color: var(--brand-dark); font: 700 13px/1.4 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.catalog-aside h2 { margin: 14px 0; font-size: 22px; }
.catalog-aside p { margin: 0; color: #4e5b60; font-size: 14px; }
.catalog-body { padding: 25px 29px; }
.catalog-body h3 { margin-bottom: 10px; font-size: 23px; }
.catalog-body > p { max-width: 850px; color: var(--body); }
.catalog-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0; }
.catalog-meta span { padding: 5px 10px; border-radius: 4px; background: #f0f3f3; color: #435057; font-size: 14px; }
.catalog-body ul { display: flex; flex-wrap: wrap; gap: 5px 24px; margin: 13px 0 18px; padding-left: 20px; color: #36434a; font-size: 15px; }
.catalog-body li::marker { color: var(--brand-dark); }
.catalog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 17px; }
.price-note { color: var(--muted); font-size: 14px; }
.course-section-label { margin: 18px 0 8px; color: var(--brand-dark); font: 700 14px/1.4 var(--heading); }
.course-phase-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 10px 0 17px; }
.course-phase { padding: 13px 14px; border: 1px solid var(--line); border-left: 3px solid var(--accent-green); border-radius: 7px; background: #fbfcfe; }
.course-phase strong { display: block; margin-bottom: 5px; color: var(--brand-dark); font: 700 13px/1.4 var(--heading); }
.course-phase span { display: block; color: #52616d; font-size: 13px; line-height: 1.55; }
.course-mentor-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 12px 0 16px; }
.course-mentor { padding: 14px; border-radius: 7px; background: var(--brand-wash); }
.course-mentor strong { display: block; margin-bottom: 5px; color: var(--brand-dark); font: 700 13px/1.45 var(--heading); }
.course-mentor span { display: block; color: #52616d; font-size: 13px; line-height: 1.5; }
.course-learning-note { margin: 12px 0; padding: 13px 15px; border-left: 3px solid var(--brand); background: #F4F7FB; color: #43535c; font-size: 14px; }
.course-link-note { margin: 10px 0 0; color: #647383; font-size: 13px; line-height: 1.5; }
.learning-disclaimer { padding: 18px 20px; border-left: 4px solid var(--brand); background: var(--brand-wash); color: #36454a; font-size: 14px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.about-card { display: grid; gap: 12px; }
.about-copy p { color: var(--body); font-size: 17px; }
.principles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; margin-top: 33px; }
.principle { padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.principle span { display: block; margin-bottom: 13px; color: var(--brand-dark); font: 700 13px var(--heading); }
.principle h3 { margin-bottom: 8px; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }
.founder-bio { display: grid; grid-template-columns: 280px 1fr; gap: 35px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.founder-bio + .founder-bio { margin-top: 20px; }
.founder-bio img { width: 100%; aspect-ratio: .82; object-fit: cover; object-position: 50% 15%; border-radius: 8px; }
.founder-bio h2 { margin: 4px 0 9px; font-size: 27px; }
.founder-role { margin-bottom: 15px; color: var(--brand-dark); font-size: 14px; font-weight: 700; }
.founder-bio p:not(.founder-role) { color: var(--body); font-size: 16px; }
.founder-bio .button { margin-top: 4px; }
.photo-note { margin-top: 24px; color: var(--muted); font-size: 14px; }

.story-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.story-card { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.story-card blockquote { margin: 11px 0 19px; color: #38464b; font-size: 17px; }
.story-card figcaption { color: var(--muted); font-size: 14px; font-weight: 700; }
.story-note { color: var(--muted); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 32px; align-items: start; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); }
.contact-card h2 { margin-bottom: 18px; font-size: 25px; }
.contact-item { padding: 15px 0; border-top: 1px solid #dce4e6; }
.contact-item strong { display: block; color: #29373c; font: 700 15px var(--heading); }
.contact-item a, .contact-item address { color: #46555c; font-style: normal; text-decoration: none; }
.form-panel { padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form-panel h2 { margin-bottom: 8px; font-size: 26px; }
.form-panel > p { margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; }
.field label, .field legend { color: #29363b; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bdc9ce; border-radius: 5px; background: #fff; color: #252e32; }
.field input[type="checkbox"], .field input[type="radio"] { width: 18px; min-height: 18px; padding: 0; }
.field textarea { min-height: 100px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #717c82; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-dark); outline: 3px solid rgba(1,28,75,.16); }
.field fieldset { margin: 0; padding: 0; border: 0; }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px 17px; margin-top: 7px; }
.choice-list label { display: inline-flex; align-items: flex-start; gap: 7px; color: #3a464b; font-size: 14px; font-weight: 400; }
.choice-list input { margin-top: 5px; accent-color: var(--brand-dark); }
.form-notice { margin-top: 15px; padding: 12px 14px; border-left: 3px solid var(--brand); background: var(--brand-wash); color: #3b484c; font-size: 13px; }
.form-status { display: none; margin-top: 15px; padding: 12px 14px; border-radius: 5px; background: #e5f5ec; color: #165b3b; font-weight: 700; }
.form-status.is-visible { display: block; }

@media (max-width: 980px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .brand, .brand img { flex-basis: 220px; width: 220px; height: auto; }
  .nav-inner { min-height: 120px; }
  .nav-links a { padding-inline: 8px; font-size: 13px; }
  .nav-action { padding-inline: 12px; font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .path-grid { grid-template-columns: repeat(2,1fr); }
  .mentor-layout, .video-grid, .about-grid { gap: 35px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .catalog-card { grid-template-columns: 210px 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), calc(100% - 30px)); }
  .utility-inner { min-height: 44px; justify-content: center; text-align: center; }
  .utility-inner > p { font-size: 12px; }
  .utility-contact { display: none; }
  .brand, .brand img { flex-basis: 190px; width: 190px; height: auto; }
  .nav-toggle { display: inline-flex; grid-column: 2; grid-row: 1; align-items: center; gap: 7px; justify-self: end; }
  .primary-nav { display: block; }
  .nav-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; min-height: 0; padding: 8px 0 12px; }
  .nav-links { display: none; grid-column: 1 / -1; align-items: stretch; flex-direction: column; width: 100%; }
  .primary-nav.is-open .nav-links { display: flex; }
  .nav-action { display: none; grid-column: 1 / -1; justify-self: start; }
  .primary-nav.is-open .nav-action { display: inline-flex; }
  .nav-links a { min-height: 44px; padding: 8px 11px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .nav-action { align-self: start; margin: 3px 0 0 10px; }
  .section { padding: 58px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 24px; }
  .section-heading > p { font-size: 16px; }
  .home-hero { padding: 38px 0 27px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 51px); }
  .lead { font-size: 17px; }
  .hero-media-wrap { padding: 0 0 17px 14px; }
  .media-caption { left: 0; bottom: -1px; max-width: 225px; padding: 10px 12px; }
  .media-caption strong { font-size: 13px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px 12px; border-bottom: 1px solid #e1e8e9; }
  .stat:first-child { padding-left: 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat strong { font-size: 18px; }
  .stat span { font-size: 13px; }
  .path-grid, .course-grid, .format-grid, .review-grid, .principles-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 0; }
  .course-card { min-height: 0; }
  .video-grid, .mentor-layout, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 27px; }
  .video-grid { grid-template-columns: 1fr; }
  .mentor-photos { gap: 11px; }
  .mentor-photo img { aspect-ratio: .8; }
  .mentor-highlights { grid-template-columns: 1fr; gap: 7px; }
  .format-card { grid-template-columns: 45px 1fr; padding: 20px; }
  .format-icon { width: 43px; height: 43px; }
  .review-summary { align-items: flex-start; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-hero { padding: 35px 0; }
  .page-hero h1 { font-size: 37px; }
  .catalog { gap: 14px; }
  .catalog-card { grid-template-columns: 1fr; }
  .catalog-aside { min-height: 125px; gap: 4px; }
  .catalog-aside h2 { margin: 2px 0; }
  .catalog-body { padding: 21px; }
  .catalog-body ul { display: block; }
  .course-phase-grid, .course-mentor-grid { grid-template-columns: 1fr; }
  .founder-bio { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .founder-bio img { max-width: 350px; aspect-ratio: 1.15; object-position: 50% 24%; }
  .story-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 21px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* NISM-inspired full-bleed homepage video hero. */
.home-hero { padding: 18px 0 0; background: #fff; }
.hero-video-shell { position: relative; width: min(1920px, calc(100% - 40px)); height: clamp(540px, calc(100vh - 185px), 710px); margin: 0 auto; overflow: hidden; border-radius: 28px; background: #102c35; isolation: isolate; }
.hero-background-video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.14); }
.hero-video-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(1, 15, 43, .75) 0%, rgba(1, 15, 43, .51) 50%, rgba(1, 15, 43, .08) 100%), linear-gradient(0deg, rgba(1, 15, 43, .31), transparent 45%); }
.hero-video-content { position: relative; z-index: 2; display: flex; height: 100%; align-items: center; padding-top: 48px; padding-bottom: 78px; }
.hero-copy { max-width: 790px; }
.hero-copy .eyebrow { color: #E7EFFA; }
.hero-copy h1 { max-width: 760px; margin-bottom: 17px; color: #fff; }
.hero-copy h1 span { color: #F0B52C; }
.hero-copy .lead { max-width: 690px; color: #F4F7FC; }
.hero-copy .hero-note { color: #F4F7FC; }
.hero-copy .hero-note strong { color: #fff; }
.hero-copy .button-secondary { border-color: #fff; background: rgba(255,255,255,.96); color: var(--brand-deep); }
.stats-strip { position: relative; z-index: 4; margin-top: -54px; padding: 0 0 10px; border: 0; background: transparent; }
.stats-grid { gap: 13px; }
.stat, .stat:first-child { min-height: 126px; padding: 21px 16px; border: 0; border-radius: 13px; background: #011C4B; text-align: center; box-shadow: 0 11px 26px rgba(1,20,54,.18); }
.stat:nth-child(even) { background: #0B326A; }
.stat strong { color: #fff; font-size: 25px; }
.stat span { color: #E7EDF7; }
@media (max-width: 980px) {
  .hero-video-shell { height: clamp(530px, calc(100vh - 165px), 680px); }
  .hero-video-shade { background: linear-gradient(90deg, rgba(1,15,43,.75), rgba(1,15,43,.42) 78%, rgba(1,15,43,.2)); }
  .stats-grid { gap: 10px; }
}
@media (max-width: 700px) {
  .home-hero { padding-top: 10px; }
  .hero-video-shell { width: calc(100% - 20px); height: min(76svh, 690px); min-height: 570px; border-radius: 19px; }
  .hero-video-shade { background: linear-gradient(90deg, rgba(1,15,43,.76), rgba(1,15,43,.52)), linear-gradient(0deg, rgba(1,15,43,.25), transparent 58%); }
  .hero-video-content { align-items: flex-start; padding-top: 74px; padding-bottom: 84px; }
  .hero-copy h1 { max-width: 540px; font-size: clamp(35px, 9vw, 49px); }
  .hero-copy .lead { font-size: 17px; }
  .stats-strip { margin-top: -42px; }
  .stats-grid { gap: 9px; }
  .stat, .stat:first-child { min-height: 105px; padding: 14px 8px; }
  .stat strong { font-size: 18px; }
  .stat span { font-size: 12px; line-height: 1.4; }
}

/* Keep the chart video unobstructed and use a shorter, cleaner navigation bar. */
.nav-inner { min-height: 94px; }
.brand { flex-basis: 270px; }
.brand img { width: 270px; max-height: 70px; object-fit: contain; }
.nav-links a { min-height: 42px; }
.main-header .nav-toggle { background: #fff !important; color: var(--brand-deep) !important; box-shadow: none !important; }
.main-header .nav-toggle:hover { background: #EFF3F9 !important; color: var(--brand-deep) !important; }
.hero-video-shell { height: clamp(320px, 42vw, 600px); }
.hero-video-shade, .hero-video-content { display: none; }
.hero-intro { padding: 34px 0 28px; background: #F4F7FC; }
.hero-copy { max-width: 1000px; }
.hero-copy .pill { margin-bottom: 15px; }
.hero-copy .eyebrow { margin-top: 0; color: var(--brand-dark); }
.hero-copy h1 { max-width: 1000px; margin-bottom: 14px; color: var(--brand); }
.hero-copy h1 span { color: #C58A13; }
.hero-copy .lead { max-width: 900px; margin-bottom: 20px; color: var(--body); }
.hero-copy .hero-note { margin-bottom: 0; color: var(--muted); }
.hero-copy .hero-note strong { color: var(--brand); }
.stats-strip { margin-top: 0; padding: 0 0 16px; }

@media (max-width: 1120px) {
  .nav-inner { min-height: 82px; }
  .brand { flex-basis: 200px; }
  .brand img { width: 200px; max-height: 58px; }
  .nav-links a { padding-inline: 8px; font-size: 13px; }
  .nav-action { padding-inline: 11px; font-size: 12px; }
}

@media (max-width: 700px) {
  .brand { flex-basis: 160px; width: 160px; }
  .brand img { width: 160px; max-height: 52px; }
  .nav-inner { min-height: 0; padding: 5px 0; }
  .hero-video-shell { height: clamp(250px, 60vw, 420px); min-height: 0; border-radius: 14px; }
  .hero-intro { padding: 26px 0 22px; }
  .hero-copy h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-copy .lead { font-size: 17px; }
}

.photo-upload-field input[type="file"] { min-height: 48px; padding: 6px; background: #fff; }
.photo-upload-field input[type="file"]::file-selector-button { min-height: 34px; margin-right: 10px; padding: 5px 11px; border: 0; border-radius: 4px; background: var(--brand-wash); color: var(--brand); font: 700 13px var(--sans); cursor: pointer; }
.photo-upload-field small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.photo-upload-preview { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--body); font-size: 14px; overflow-wrap: anywhere; }
.photo-upload-preview img { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 5px; object-fit: cover; }
