/* =========================================================
   eLMNOP — Shared Stylesheet
   Theme: brand blue (from official eLMNOP logo) + warm gold accent
   ========================================================= */

:root{
  --flame: #1789c9;
  --flame-dark: #0c5f8f;
  --gold: #e8a33d;
  --gold-dark: #c07d1f;
  --gold-light: #e7f4fb;
  --ink: #142430;
  --teal: #0b4f7a;
  --teal-dark: #062f47;
  --cream: #f5fafd;
  --paper: #ffffff;
  --line: #d7e6f0;
  --muted: #55697a;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 30px -12px rgba(6, 47, 71, 0.18);
  --maxw: 1120px;
  font-size: 16px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: "Poppins", "Segoe UI", sans-serif;
  line-height: 1.22;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--teal-dark);
}

h1{ font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 1em; color: var(--ink); }
a{ color: var(--flame-dark); text-decoration: none; }
a:hover{ text-decoration: underline; }
ul{ padding-left: 1.2em; }
img{ max-width: 100%; display: block; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--flame-dark);
  background: var(--gold-light);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before{ content: "●"; color: var(--gold); margin-right: 6px; font-size: 0.6rem; vertical-align: middle; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 251, 253, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--teal-dark);
}

.brand .logo-img{
  height: 48px;
  width: auto;
  display: block;
}

.footer-logo{
  height: 46px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.brand small{
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

nav.main-nav{ display: flex; }
nav.main-nav > ul{
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

nav.main-nav > ul > li{ position: relative; }

nav.main-nav > ul > li > a{
  display: block;
  padding: 10px 16px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  border-radius: 8px;
}

nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li.active > a{
  background: var(--gold-light);
  color: var(--flame-dark);
  text-decoration: none;
}

.submenu{
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}

nav.main-nav > ul > li:hover .submenu,
nav.main-nav > ul > li:focus-within .submenu{
  opacity: 1; visibility: visible; transform: translateY(0);
}

.submenu li a{
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.88rem;
  color: var(--ink);
}
.submenu li a:hover{ background: var(--gold-light); color: var(--flame-dark); text-decoration: none; }

.nav-cta{
  background: var(--teal) !important;
  color: var(--white) !important;
  margin-left: 6px;
}
.nav-cta:hover{ background: var(--teal-dark) !important; color: var(--white) !important; }

.menu-toggle{
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--teal-dark);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover{ transform: translateY(-1px); text-decoration: none; }

.btn-primary{ background: linear-gradient(135deg, var(--flame) 0%, var(--flame-dark) 100%); color: var(--white); box-shadow: 0 10px 22px -8px rgba(23,137,201,0.5); }
.btn-primary:hover{ background: linear-gradient(135deg, var(--flame-dark) 0%, var(--teal-dark) 100%); color: var(--white); box-shadow: 0 12px 26px -8px rgba(6,47,71,0.45); }

.btn-secondary{ background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-secondary:hover{ background: var(--teal); color: var(--white); }

.btn-light{ background: var(--white); color: var(--teal-dark); }
.btn-light:hover{ background: var(--gold-light); }

.btn-row{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Hero ---------- */
.hero{
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--cream) 100%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero .container{ max-width: 820px; text-align: center; }
.hero .subhead{ font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto; }
.hero .btn-row{ justify-content: center; }

.page-hero{
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--cream) 100%);
  padding: 54px 0 44px;
  border-bottom: 1px solid var(--line);
}
.page-hero .container{ max-width: 780px; }

/* ---------- Guru Purnima Tribute Card ---------- */
.tribute{
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 34px 36px;
  box-shadow: var(--shadow);
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.tribute::before{
  content: "";
  position: absolute;
  top: 0; left: 32px;
  width: 56px; height: 6px;
  background: linear-gradient(90deg, var(--flame), var(--gold));
  border-radius: 0 0 6px 6px;
}
.tribute blockquote{
  margin: 0 0 16px;
  font-size: 1.12rem;
  font-style: italic;
  color: var(--teal-dark);
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}
.tribute blockquote p{ margin: 0 0 0.9em; }
.tribute .signee{
  font-weight: 600;
  color: var(--flame-dark);
  font-style: normal;
}
.tribute .sub-copy{ color: var(--muted); font-size: 0.95rem; margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }

/* ---------- Sections ---------- */
section{ padding: 56px 0; }
section.alt{ background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head{ max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head.left{ text-align: left; margin-left: 0; }
.section-head h2{ position: relative; padding-top: 20px; }
.section-head h2::before{
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--flame), var(--gold));
}
.section-head.left h2::before{ left: 0; transform: none; }

/* ---------- Cards / Grids ---------- */
.grid{ display: grid; gap: 22px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 20px 42px -16px rgba(6,47,71,0.24); }
.card h3{ margin-bottom: 10px; }
.card .icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-light);
  color: var(--flame-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 14px; font-size: 1.1rem;
}

/* ---------- Stats ---------- */
.stat-strip{
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 46px 0;
}
.stat-strip .grid{ text-align: center; }
.stat-strip .stat-num{ font-size: 2.3rem; font-weight: 700; color: var(--gold); }
.stat-strip .stat-label{ font-size: 0.9rem; color: #cfe9f7; margin-top: 4px; }
.stat-strip .legacy-note{ text-align: center; margin-top: 28px; color: #a9d3e8; font-size: 0.85rem; }

/* ---------- Timeline / Steps ---------- */
.steps{ counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li{
  counter-increment: step;
  position: relative;
  padding: 4px 0 26px 54px;
  border-left: 2px solid var(--gold);
  margin-left: 20px;
}
.steps li:last-child{ border-left-color: transparent; padding-bottom: 0; }
.steps li::before{
  content: counter(step);
  position: absolute;
  left: -21px; top: 0;
  width: 40px; height: 40px;
  background: var(--flame);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.steps li h3{ margin-bottom: 6px; }

/* ---------- Table ---------- */
table{ width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td{ padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th{ background: var(--teal); color: var(--white); font-weight: 600; }
tr:last-child td{ border-bottom: none; }

/* ---------- Tier cards ---------- */
.tier-card{ border-top: 5px solid var(--flame); }
.tier-card.tier-b{ border-top-color: var(--gold); }
.tier-card.tier-c{ border-top-color: var(--teal); }
.tier-tag{ font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }

/* ---------- Course menu ---------- */
.course-track{ margin-bottom: 34px; }
.course-track h3{ color: var(--flame-dark); border-bottom: 2px solid var(--gold-light); padding-bottom: 8px; margin-bottom: 18px; }
.course-item{ margin-bottom: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.course-item h4{ margin: 0 0 6px; color: var(--teal-dark); font-size: 1.02rem; }
.course-item p{ margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Blog cards ---------- */
.blog-card{ display: flex; flex-direction: column; height: 100%; }
.blog-card .eyebrow{ align-self: flex-start; }
.blog-card p.excerpt{ color: var(--muted); font-size: 0.94rem; flex-grow: 1; }
details.blog-full{ margin-top: 10px; }
details.blog-full summary{ cursor: pointer; font-weight: 600; color: var(--flame-dark); }
details.blog-full p{ font-size: 0.92rem; color: var(--ink); margin-top: 12px; }

/* ---------- Impact case study ---------- */
.case-block{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.case-block h4{ color: var(--flame-dark); margin-top: 22px; }
.outcome-list{ columns: 2; column-gap: 32px; }
.outcome-list li{ break-inside: avoid; margin-bottom: 8px; }

/* ---------- Quote / testimonial ---------- */
.quote-card{ background: var(--gold-light); border-radius: var(--radius); padding: 26px 30px; font-style: italic; color: var(--teal-dark); }

/* ---------- Partner logos / ways ---------- */
.way-list{ list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.way-list li{ background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.way-list strong{ color: var(--flame-dark); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.cta-banner h2{ color: var(--white); }
.cta-banner p{ color: #cfe6f2; max-width: 560px; margin: 0 auto 8px; }
.cta-banner .btn-row{ justify-content: center; }

/* ---------- Contact / Forms ---------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-info-card{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-info-card p{ margin-bottom: 10px; }
.contact-info-card .label{ font-weight: 600; color: var(--teal-dark); display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }

form.enquiry{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
form.enquiry label{ font-weight: 600; font-size: 0.88rem; color: var(--teal-dark); display: block; margin-bottom: 4px; }
form.enquiry input, form.enquiry select, form.enquiry textarea{
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 0.94rem; background: var(--paper);
}
form.enquiry textarea{ min-height: 110px; resize: vertical; }
form.enquiry .btn-primary{ border: none; justify-self: start; }

.social-links{ display: flex; gap: 12px; margin-top: 14px; }
.social-links a{ width: 38px; height: 38px; border-radius: 50%; background: var(--gold-light); display: flex; align-items: center; justify-content: center; color: var(--flame-dark); font-weight: 700; }
.social-links a:hover{ background: var(--flame); color: var(--white); text-decoration: none; }

/* ---------- Footer ---------- */
footer.site-footer{
  background: var(--teal-dark);
  color: #cbe1f0;
  padding: 46px 0 22px;
}
footer.site-footer .grid{ grid-template-columns: 2fr 1fr 1fr 1fr; margin-bottom: 30px; }
footer.site-footer h4{ color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
footer.site-footer ul{ list-style: none; padding: 0; margin: 0; }
footer.site-footer li{ margin-bottom: 8px; }
footer.site-footer a{ color: #cbe1f0; font-size: 0.9rem; }
footer.site-footer a:hover{ color: var(--gold); }
footer.site-footer .foot-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 0.82rem;
  color: #8fb4cc;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Photography ---------- */
figure.photo{ margin: 0; }
figure.photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
figure.photo figcaption{
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

.media-split{ display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.media-split.reverse .media-col{ order: 2; }
.media-split .media-col{ order: 1; }
.media-split figure.photo img{ aspect-ratio: 4/3; }

.hero-photo{
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  max-height: 460px;
}
.hero-photo img{ width: 100%; height: 100%; object-fit: cover; max-height: 460px; display: block; }

.photo-strip{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-strip figure.photo img{ aspect-ratio: 1/1; }

.photo-band{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.photo-band img{ width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }
.photo-band .band-caption{
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(6,47,71,0.85), transparent);
  color: #fff; padding: 22px 26px 16px; font-size: 0.9rem;
}

.avatar-frame{
  width: 190px; height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--gold);
  box-shadow: var(--shadow);
  margin: 0 auto 18px;
}
.avatar-frame img{ width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq-item{ background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; }
.faq-item summary{ cursor: pointer; font-weight: 600; color: var(--teal-dark); list-style: none; }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::before{ content: "+"; color: var(--flame-dark); font-weight: 700; margin-right: 10px; }
.faq-item[open] summary::before{ content: "\2212"; }
.faq-item p{ margin: 12px 0 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Timeline (vertical, alt to steps) ---------- */
.timeline{ position: relative; padding-left: 28px; border-left: 2px solid var(--gold); }
.timeline-item{ position: relative; margin-bottom: 30px; }
.timeline-item::before{
  content: "";
  position: absolute; left: -34px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--flame); border: 3px solid var(--gold-light);
}
.timeline-item .year{ font-weight: 700; color: var(--flame-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.timeline-item h3{ margin: 4px 0 6px; }

/* ---------- Registration form (multi-section) ---------- */
.form-section-title{
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--flame-dark); font-weight: 700; margin: 26px 0 12px;
  border-bottom: 2px solid var(--gold-light); padding-bottom: 6px;
}
.form-section-title:first-child{ margin-top: 0; }
.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full{ grid-column: 1 / -1; }
.radio-row{ display: flex; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.radio-row label{ font-weight: 500; font-size: 0.9rem; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.radio-row input{ width: auto; }
.checkbox-line{ display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; }
.checkbox-line input{ width: auto; margin-top: 4px; }
.checkbox-line label{ font-weight: 400; font-size: 0.88rem; color: var(--muted); }

@media (max-width: 900px){
  .media-split{ grid-template-columns: 1fr; }
  .media-split.reverse .media-col{ order: 1; }
  .photo-strip{ grid-template-columns: repeat(2, 1fr); }
  .form-grid{ grid-template-columns: 1fr; }
}

/* ---------- Pills ---------- */
.pill-list{ display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pill{
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--gold-light); color: var(--flame-dark);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em;
}

/* ---------- Profile feature block ---------- */
.profile-feature{ display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.profile-feature.reverse{ direction: rtl; }
.profile-feature.reverse > *{ direction: ltr; }
.profile-visual{ text-align: center; }
.profile-visual .role-badge{
  display: inline-block; margin-top: 12px; padding: 6px 16px; border-radius: 999px;
  background: var(--teal); color: #fff; font-size: 0.78rem; font-weight: 700;
}

/* ---------- Press / news clipping ---------- */
.press-frame{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow); max-width: 420px; margin: 0 auto;
}
.press-frame img{ width: 100%; border-radius: 4px; display: block; }
.press-frame .press-tag{ text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 10px; font-style: italic; }

/* ---------- Testimonial cards ---------- */
.testimonial-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); height: 100%;
}
.testimonial-card p.quote{ font-style: italic; color: var(--ink); font-size: 0.94rem; }
.testimonial-card .attribution{ margin-top: 14px; font-weight: 700; color: var(--teal-dark); font-size: 0.86rem; }
.testimonial-card .attribution span{ display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

/* ---------- Ken Burns hero slideshow ---------- */
.kb-hero{
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--teal-dark);
}
.kb-slide{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: kb-fade 24s infinite;
  filter: brightness(0.55);
}
.kb-slide:nth-child(1){ animation-delay: 0s; }
.kb-slide:nth-child(2){ animation-delay: 6s; }
.kb-slide:nth-child(3){ animation-delay: 12s; }
.kb-slide:nth-child(4){ animation-delay: 18s; }
@keyframes kb-fade{
  0%   { opacity: 0; transform: scale(1); }
  4%   { opacity: 1; }
  22%  { opacity: 1; transform: scale(1.08); }
  27%  { opacity: 0; }
  100% { opacity: 0; }
}
.kb-content{ position: relative; z-index: 2; color: #fff; text-align: center; width: 100%; }
.kb-content .container{ max-width: 820px; }
.kb-content h1{ color: #fff; }
.kb-content .subhead{ color: #dcecf5; }
.kb-content .eyebrow{ background: rgba(255,255,255,0.15); color: var(--gold); }
.kb-content .btn-row{ justify-content: center; }
.kb-badge{
  position: absolute; bottom: 18px; right: 22px; z-index: 3;
  background: rgba(6,47,71,0.6); color: #fff; font-size: 0.72rem;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.04em;
}

/* ---------- Image banner (page hero background) ---------- */
.banner-hero{
  position: relative;
  min-height: 300px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
}
.banner-hero::before{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,47,71,0.90) 0%, rgba(6,47,71,0.64) 55%, rgba(6,47,71,0.35) 100%);
}
.banner-hero .container{ position: relative; z-index: 2; }
.banner-hero .breadcrumb{ color: #cbe1f0; }
.banner-hero .breadcrumb a{ color: #cbe1f0; }
.banner-hero h1{ color: #fff; }
.banner-hero .subhead{ color: #eaf4fa; }
.banner-hero .eyebrow{ background: rgba(255,255,255,0.15); color: var(--gold); }

/* ---------- Infra spec table ---------- */
.spec-table td:first-child{ font-weight: 600; color: var(--teal-dark); width: 40%; }

@media (max-width: 900px){
  .profile-feature, .profile-feature.reverse{ grid-template-columns: 1fr; direction: ltr; }
  .kb-hero{ min-height: 460px; }
}

/* ---------- Layer sections (Home) ---------- */
.layer-eyebrow-row{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.layer-num{
  width:30px; height:30px; border-radius:50%; background:var(--teal); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.85rem; flex-shrink:0;
}

/* ---------- SDG badges ---------- */
.sdg-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:18px; }
.sdg-badge{
  display:flex; align-items:center; gap:10px;
  background:#fff; border:1px solid var(--line); border-radius:10px;
  padding:10px 16px; box-shadow:var(--shadow); font-size:0.85rem; font-weight:600; color:var(--ink);
}
.sdg-chip{
  width:34px; height:34px; border-radius:8px; color:#fff; font-weight:800; font-size:0.95rem;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.sdg-4{ background:#C5192D; }
.sdg-5{ background:#FF3A21; }
.sdg-10{ background:#DD1367; }
.sdg-17{ background:#19486A; }

/* ---------- Pricing cards (courses) ---------- */
.price-tag{
  display:inline-block; background:var(--teal); color:#fff; font-weight:700;
  font-size:0.85rem; padding:5px 14px; border-radius:999px; margin-left:10px;
}
.course-item{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; }
.course-item .course-copy{ flex:1; min-width:220px; }
.course-item .course-action{ flex-shrink:0; text-align:right; }
.course-action .btn{ padding:9px 18px; font-size:0.85rem; }
.course-action .price-tag{ display:block; margin:0 0 8px; text-align:center; }

/* ---------- Enrollment modal ---------- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(6,36,48,0.6); z-index:1000;
  display:none; align-items:center; justify-content:center; padding:20px;
}
.modal-overlay.open{ display:flex; }
.modal-box{
  background:#fff; border-radius:var(--radius); padding:30px; max-width:440px; width:100%;
  box-shadow:0 30px 60px -20px rgba(6,36,48,0.4); max-height:90vh; overflow-y:auto; position:relative;
}
.modal-box h3{ margin-bottom:4px; }
.modal-box .modal-course{ color:var(--flame-dark); font-weight:700; font-size:0.9rem; margin-bottom:18px; }
.modal-close{
  position:absolute; top:14px; right:16px; background:none; border:none; font-size:1.3rem;
  cursor:pointer; color:var(--muted); line-height:1;
}
.modal-box form{ display:grid; gap:12px; }
.modal-box label{ font-weight:600; font-size:0.85rem; color:var(--teal-dark); display:block; margin-bottom:4px; }
.modal-box input{
  width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px;
  font-family:inherit; font-size:0.92rem;
}
.modal-box .btn{ width:100%; text-align:center; border:none; margin-top:6px; }
.modal-note{ font-size:0.78rem; color:var(--muted); margin-top:12px; text-align:center; }

/* ---------- Gallery ---------- */
.gallery-filter{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:32px; }
.gallery-filter button{
  background:#fff; border:1px solid var(--line); color:var(--ink); font-weight:600; font-size:0.85rem;
  padding:8px 18px; border-radius:999px; cursor:pointer; transition:all .15s ease;
}
.gallery-filter button:hover{ background:var(--gold-light); }
.gallery-filter button.active{ background:var(--teal); color:#fff; border-color:var(--teal); }
.gallery-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:18px;
}
.gallery-item{
  cursor:pointer; border-radius:12px; overflow:hidden; box-shadow:var(--shadow);
  position:relative; aspect-ratio:4/3; background:var(--gold-light);
}
.gallery-item img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease; }
.gallery-item:hover img{ transform:scale(1.06); }
.gallery-item .gallery-cap{
  position:absolute; left:0; right:0; bottom:0; padding:14px 16px 10px;
  background:linear-gradient(0deg, rgba(6,47,71,0.88), transparent);
  color:#fff; font-size:0.82rem; opacity:0; transition:opacity .2s ease;
}
.gallery-item:hover .gallery-cap{ opacity:1; }
.lightbox{
  position:fixed; inset:0; background:rgba(6,20,28,0.92); z-index:1100;
  display:none; align-items:center; justify-content:center; padding:30px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width:100%; max-height:80vh; border-radius:8px; box-shadow:0 30px 60px rgba(0,0,0,0.5); }
.lightbox .lightbox-cap{ color:#fff; text-align:center; margin-top:14px; font-size:0.92rem; max-width:640px; }
.lightbox-close{
  position:absolute; top:24px; right:32px; color:#fff; font-size:2rem; background:none; border:none; cursor:pointer;
}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.15);
  border:none; color:#fff; font-size:1.6rem; width:48px; height:48px; border-radius:50%; cursor:pointer;
}
.lightbox-prev{ left:20px; }
.lightbox-next{ right:20px; }

/* ---------- Contact quick links ---------- */
.contact-quicklinks{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-bottom:40px; }
.quicklink-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px;
  text-align:center; box-shadow:var(--shadow);
}
.quicklink-card .icon{ margin:0 auto 12px; }

@media (max-width: 900px){
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); }
  .contact-quicklinks{ grid-template-columns:1fr; }
  .course-item{ flex-direction:column; }
  .course-action{ text-align:left !important; }
}
@media (max-width: 600px){
  .gallery-grid{ grid-template-columns:1fr; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb{ font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a{ color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  footer.site-footer .grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .outcome-list{ columns: 1; }
}

@media (max-width: 760px){
  .menu-toggle{ display: block; }
  nav.main-nav{
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--paper);
    display: none;
    padding: 10px 20px 40px;
    overflow-y: auto;
  }
  nav.main-nav.open{ display: block; }
  nav.main-nav > ul{ flex-direction: column; gap: 2px; }
  .submenu{ position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 12px; }
  nav.main-nav > ul > li.open .submenu{ display: block; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}
