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

:root {
  --bg: oklch(97.5% 0.012 75);
  --surface: oklch(99% 0.008 80);
  --fg: oklch(22% 0.05 255);
  --muted: oklch(46% 0.025 255);
  --border: oklch(89% 0.018 75);
  --accent: oklch(63% 0.18 42);
  --green: oklch(49% 0.13 148);
  /* Darker variants reserved for small text, so accent/green meet WCAG AA (4.5:1). */
  --accent-text: oklch(48% 0.16 42);
  --green-text: oklch(43% 0.13 148);
  --warli-brown: oklch(42% 0.12 35);
  --warli-soft: oklch(95% 0.025 35);
  --navy: oklch(22% 0.05 255);
  --saffron: oklch(63% 0.18 42);
  --navy-soft: oklch(95% 0.018 255);
  --saffron-soft: oklch(94% 0.045 64);
  --green-soft: oklch(95% 0.04 148);
  --footer: oklch(19% 0.055 255);
  --footer-muted: oklch(78% 0.02 245);

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;

  --fs-h1: clamp(38px, 7vw, 76px);
  --fs-h2: clamp(28px, 4vw, 48px);
  --fs-h3: clamp(19px, 2vw, 23px);
  --fs-lead: clamp(17px, 2vw, 21px);
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-meta: 12px;
  --fs-xs: 11px;

  --gutter: clamp(12px, 3.5vw, 40px);
  --container: 1160px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 18px 60px color-mix(in oklch, var(--fg) 10%, transparent);
  --shadow-sm: 0 4px 12px color-mix(in oklch, var(--fg) 7%, transparent);
  --shadow-md: 0 12px 30px color-mix(in oklch, var(--fg) 6%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; color: var(--green-text); }
h3 { font-size: var(--fs-h3); line-height: 1.22; letter-spacing: -0.015em; }

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(58px, 8vw, 108px); }
.section + .section { border-top: none; }
.hero + .section { border-top: none; }
.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.lead {
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 62ch;
}
.meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: 0.02em;
}
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Shrink the header once the page is scrolled (toggled by app.js). */
.topnav.is-scrolled {
  box-shadow: var(--shadow-sm);
}
.topnav-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(180px, 300px) 1fr auto;
  align-items: center;
  gap: 26px;
  transition: min-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.topnav.is-scrolled .topnav-inner {
  min-height: 76px;
}
.brand-lockup img {
  height: 132px;
  margin-block: -16px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin-block 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.topnav.is-scrolled .brand-lockup img {
  height: 96px;
  margin-block: -12px;
}
.navlinks {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.navlinks a:hover, .navlinks a.active {
  color: var(--accent-text);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--fg);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-cta { display: none; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}
.btn-mentor {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}
.btn-mentor:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--surface);
}
.btn-green {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}
.btn-green:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--surface);
}
.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}
.btn-secondary:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--surface);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--surface);
  transition: border-color 0.2s ease;
}
.form-control:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 15%, transparent);
}

.hero {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-block: clamp(62px, 9vw, 132px) clamp(56px, 7vw, 96px);
  background: radial-gradient(circle at 12% 18%, var(--saffron-soft), transparent 30%), linear-gradient(180deg, var(--surface), var(--bg));
}
.hero::before {
  content: "";
  position: absolute;
  width: min(86vw, 720px);
  aspect-ratio: 1;
  right: 0;
  transform: translateX(50%);
  top: 48px;
  background: url("Images/circle.png") center / contain no-repeat;
  opacity: 1;
  pointer-events: none;
  animation: rotateCircle 60s linear infinite;
}
@keyframes rotateCircle {
  from {
    transform: translateX(50%) rotate(0deg);
  }
  to {
    transform: translateX(50%) rotate(-360deg);
  }
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin-inline: auto;
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}
.hero-art {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-copy {
  text-align: center;
}
.hero-copy .lead {
  margin-top: 22px;
  margin-inline: auto;
}
.hero-actions, .trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  justify-content: center;
}
.hub-hero, .mentor-hero, .program-hero {
  text-align: center;
}
.hub-hero .lead, .mentor-hero .lead, .program-hero .lead {
  margin-inline: auto;
}

.pill {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface) 86%, transparent);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.portal-card, .card, .screen-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portal-card { box-shadow: var(--shadow); overflow: hidden; }
.portal-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.portal-card-body, .card { padding: clamp(22px, 3vw, 30px); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.track-list { display: grid; gap: 12px; }
.track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.track-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--navy-soft);
  font-family: var(--font-mono);
  font-weight: 800;
}
.track span, .pillar-card p, .screen-card p, .directory-row span { color: var(--muted); }
.track > div > strong { display: block; }
.track > div > span { display: block; margin-top: 2px; font-size: var(--fs-sm); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: clamp(30px, 5vw, 54px);
}
.section-head > div {
  max-width: 720px;
  margin-inline: auto;
}
.section-head h2 {
  padding-bottom: 10px;
  border-bottom: 3px solid color-mix(in oklch, var(--warli-brown) 35%, transparent);
}
.section-head .lead {
  margin-top: 14px;
  margin-inline: auto;
}

.grid-3, .template-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pillar-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.pillar-card:hover, .screen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.iconbox {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--navy-soft);
  margin-bottom: 22px;
}
.iconbox svg, .iconbox img { width: 44px; height: 44px; object-fit: contain; }
.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
.mini-list li {
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.registry, .support-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
}
.support-layout { grid-template-columns: 1fr 1fr; }
.registry-panel { background: var(--footer); color: var(--surface); }
.registry-panel p, .field-token { color: var(--footer-muted); }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.field-token {
  padding: 10px 12px;
  border: 1px solid color-mix(in oklch, var(--surface) 16%, transparent);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.mentor-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mentor-table th, .mentor-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.mentor-table th {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}
.availability { color: var(--green-text); font-family: var(--font-mono); font-size: 11px; font-weight: 800; }

.directory-card { display: grid; gap: 18px; padding: 0; overflow: hidden; }
.directory-card header { padding: 24px 24px 0; }
.directory-card .body { display: grid; gap: 12px; padding: 0 24px 24px; }
.directory-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.directory-row > div > strong { display: block; }
.directory-row > div > span { display: block; margin-top: 3px; font-size: var(--fs-sm); }
.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 850;
}

.screen-card { display: grid; gap: 18px; padding: 18px; cursor: pointer; }
.screen-preview {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--navy-soft), var(--surface));
  padding: 14px;
  display: grid;
  gap: 8px;
}
.preview-bar { height: 8px; border-radius: 99px; background: color-mix(in oklch, var(--fg) 12%, transparent); }
.preview-bar.short { width: 56%; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.preview-cell { min-height: 48px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }

.warli-band {
  min-height: 130px;
  background-image: url("Images/figures.png");
  background-repeat: repeat-x;
  background-size: auto 112px;
  background-position: center bottom;
  border-bottom: 1px solid var(--border);
  animation: scrollWarli 150s linear infinite;
}

@keyframes scrollWarli {
  from { background-position: 0px bottom; }
  to { background-position: -2000px bottom; }
}

.pagefoot {
  background: var(--footer);
  color: var(--surface);
  padding-block: clamp(42px, 7vw, 74px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 36px;
  text-align: center;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  max-width: 320px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 22px;
  margin-inline: auto;
}
.pagefoot p, .pagefoot a, .pagefoot .meta { color: var(--footer-muted); word-break: break-word; }
.pagefoot h3 { margin-bottom: 16px; }
.pagefoot-contact-details { margin: 0; }
.partner-slots {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.partner-slot {
  display: flex;
  align-items: center;
}
.partner-slot img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border: 6px solid #fff;
  border-radius: 8px;
}

.whatsapp {
  margin-top: 18px;
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}
.whatsapp:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--surface);
}

@media (max-width: 980px) {
  .topnav-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 84px;
    transition: min-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .topnav.is-scrolled .topnav-inner {
    min-height: 68px;
  }
  .brand-lockup img {
    height: 104px;
    margin-block: -12px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin-block 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .topnav.is-scrolled .brand-lockup img {
    height: 84px;
    margin-block: -10px;
  }
  .nav-toggle { display: inline-grid; }
  .topnav .btn-mentor { display: none; }
  .navlinks { display: none; }
  .navlinks.is-open .nav-cta {
    display: block;
    margin-top: 8px;
    background: var(--green);
    border: 1px solid var(--green);
    color: var(--surface);
    text-align: center;
    font-weight: 750;
  }
  .navlinks.is-open {
    display: grid;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px var(--gutter) 18px;
    background: color-mix(in oklch, var(--surface) 97%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    justify-content: stretch;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .navlinks.is-open a {
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 15px;
    text-align: left;
  }
  .navlinks.is-open a:hover { background: var(--navy-soft); }
  .hero-grid, .registry, .support-layout, .template-strip { grid-template-columns: 1fr; }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 > *:last-child:nth-child(odd) {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid > *:first-child {
    grid-column: span 2;
    margin-bottom: 20px;
  }
  .section-head { display: block; }
}
@media (max-width: 620px) {
  .topnav-inner {
    min-height: 72px;
  }
  .topnav.is-scrolled .topnav-inner {
    min-height: 58px;
  }
  .brand-lockup img {
    height: 84px;
    margin-block: -8px;
  }
  .topnav.is-scrolled .brand-lockup img {
    height: 68px;
    margin-block: -6px;
  }
  .topnav .btn { padding-inline: 13px; font-size: 13px; }
  .hero-actions .btn { width: 100%; }
  .trust-strip { display: grid; grid-template-columns: 1fr; }
  .track { grid-template-columns: auto 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .mentor-table th:nth-child(2), .mentor-table td:nth-child(2) { display: none; }
  .warli-band { min-height: 90px; background-size: auto 76px; }
  .partner-slots { justify-content: center; gap: 12px; }
  
  /* Stacking layout for mobile screens */
  .grid-5, .grid-2, .services-grid, .mentor-grid, .grid-3, .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 > *:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .footer-grid > *:first-child {
    grid-column: auto;
    margin-bottom: 0;
  }
}

/* Extra small mobile adjustments */
@media (max-width: 360px) {
  .brand-lockup img {
    height: 72px;
  }
  .topnav.is-scrolled .brand-lockup img {
    height: 60px;
  }
}

/* Custom Added Styles for Client Content */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.sector-card {
  grid-column: span 2;
}
.sector-card:nth-child(1), .sector-card:nth-child(2) {
  grid-column: span 3;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.sector-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.sector-card h3 {
  font-size: 18px;
  color: var(--accent-text);
  margin-top: 5px;
}
.about-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.about-tab-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--surface);
  border: 1px solid var(--border);
}
.about-tab-btn:hover {
  background: var(--navy-soft);
  color: var(--fg);
  border-color: var(--muted);
}
.about-tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}
.about-pane {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}
.about-pane.active {
  display: block;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.member-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s ease;
}
.member-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.member-card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.member-card p {
  margin: 5px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.member-card .designation {
  font-weight: 700;
  font-size: 11px;
  margin-top: 5px;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}
.member-card .designation.founder-desc {
  color: var(--accent-text);
}
.member-card .designation.bod-desc {
  color: var(--green-text);
}
.member-card .bio {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.45;
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  text-align: left;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card h3 {
  font-size: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-top: 5px;
}
.service-card ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.mentor-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.mentor-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--accent-text);
  font-size: 20px;
  font-weight: 750;
  display: grid;
  place-items: center;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.mentor-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mentor-card h4 {
  margin: 0;
  font-size: 16px;
  color: var(--fg);
}
.mentor-card .meta {
  font-size: 12px;
  color: var(--accent-text);
  font-weight: 600;
}
.mentor-card p {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 980px) {
  .grid-2, .services-grid, .mentor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sector-card, .sector-card:nth-child(1), .sector-card:nth-child(2) {
    grid-column: auto;
  }
}
@media (max-width: 620px) {
  .grid-5, .grid-2, .services-grid, .mentor-grid, .grid-3, .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll entrance animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* CSS-based validation indicators */
.form-control:focus-visible:valid {
  border-color: var(--green);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--green) 15%, transparent);
}
.form-control:not(:placeholder-shown):not(:focus-visible):invalid {
  border-color: oklch(50% 0.15 20);
  box-shadow: 0 0 0 4px color-mix(in oklch, oklch(50% 0.15 20) 15%, transparent);
}

/* Global Card Hover Shadows */
.card, 
.sector-card, 
.service-card, 
.mentor-card, 
.member-card, 
.level-card, 
.journey-step-card, 
.comm-program-card, 
.coordinator-card, 
.portal-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover, 
.sector-card:hover, 
.service-card:hover, 
.mentor-card:hover, 
.member-card:hover, 
.level-card:hover, 
.journey-step-card:hover, 
.comm-program-card:hover, 
.coordinator-card:hover, 
.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Navigation Dropdown Menu & Topnav Partner Logos */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-toggle {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: var(--font-body);
}
.nav-dropdown-toggle:hover, 
.nav-dropdown-toggle.active {
  color: var(--accent-text);
}
.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 180px;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  margin-top: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  transition-delay: 0.5s; /* Keep dropdown for 0.5 sec so it's easier to tap into */
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover, 
.nav-dropdown-menu a.active {
  background: var(--navy-soft);
  color: var(--accent-text);
}
@media (min-width: 981px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
  }
}

.topnav-logos {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
  margin-left: 10px;
}
.nav-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.topnav.is-scrolled .nav-logo {
  height: 38px;
}
.nav-logo.logo-dbl {
  height: 42px;
}
.topnav.is-scrolled .nav-logo.logo-dbl {
  height: 33px;
}


@media (max-width: 980px) {
  .topnav-logos {
    display: none; /* Hide in mobile sticky bar */
  }
  .nav-dropdown {
    display: grid;
    gap: 2px;
  }
  .nav-dropdown-toggle {
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 15px;
    text-align: left;
    width: 100%;
    color: var(--muted);
    font-weight: 650;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-dropdown-toggle svg {
    transition: transform 0.2s ease;
  }
  .nav-dropdown-toggle.is-active svg {
    transform: rotate(180deg);
  }
  .nav-dropdown-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 0;
    min-width: unset;
    transition: none;
    transition-delay: 0s;
  }
  .nav-dropdown-menu.is-open {
    display: grid;
    gap: 2px;
  }
  .nav-dropdown-menu a {
    padding: 10px 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .mentor-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .mentor-info {
    align-items: center;
  }
}

/* Responsiveness for very large screens and ultra-wide monitors (e.g. 27" to 33" display) */
@media (min-width: 1440px) {
  :root {
    --container: 1320px;
  }
  .hero::before {
    width: min(86vw, 840px);
  }
}

@media (min-width: 1920px) {
  :root {
    --container: 1560px;
    --fs-body: 18px;
    --fs-sm: 15px;
    --fs-meta: 13px;
  }
  .hero::before {
    width: min(86vw, 1000px);
    top: 60px;
  }
  .btn {
    min-height: 48px;
    padding: 12px 22px;
    font-size: 15px;
  }
  .brand-lockup img {
    height: 150px;
  }
  .topnav.is-scrolled .brand-lockup img {
    height: 110px;
  }
  .topnav-inner {
    min-height: 120px;
  }
  .topnav.is-scrolled .topnav-inner {
    min-height: 86px;
  }
  .nav-logo {
    height: 56px;
  }
  .topnav.is-scrolled .nav-logo {
    height: 44px;
  }
  .nav-logo.logo-dbl {
    height: 50px;
  }
  .topnav.is-scrolled .nav-logo.logo-dbl {
    height: 39px;
  }
  .warli-band {
    min-height: 180px;
    background-size: auto 148px;
  }
}

@media (min-width: 2560px) {
  :root {
    --container: 1800px;
    --fs-body: 20px;
    --fs-sm: 16px;
    --fs-meta: 14px;
  }
  .hero::before {
    width: min(86vw, 1200px);
    top: 80px;
  }
  .btn {
    min-height: 52px;
    padding: 14px 26px;
    font-size: 16px;
  }
  .brand-lockup img {
    height: 170px;
  }
  .topnav.is-scrolled .brand-lockup img {
    height: 125px;
  }
  .topnav-inner {
    min-height: 136px;
  }
  .topnav.is-scrolled .topnav-inner {
    min-height: 96px;
  }
  .nav-logo {
    height: 64px;
  }
  .topnav.is-scrolled .nav-logo {
    height: 48px;
  }
  .nav-logo.logo-dbl {
    height: 56px;
  }
  .topnav.is-scrolled .nav-logo.logo-dbl {
    height: 42px;
  }
  .warli-band {
    min-height: 220px;
    background-size: auto 178px;
  }
}

/* ==================== BACKGROUND DECORATION SYSTEM ==================== */
.section {
  position: relative;
}

.section > .container {
  position: relative;
  z-index: 2;
}

.decor-left,
.decor-right {
  overflow: hidden;
}

.decor-left::before,
.decor-right::before {
  content: "";
  position: absolute;
  top: clamp(20px, 3vw, 50px);
  width: clamp(140px, 16vw, 280px);
  height: clamp(140px, 16vw, 280px);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, opacity;
}

/* Default visible state (fallback if JS is off/not loaded) */
.decor-left::before {
  left: 2%;
  opacity: 0.07;
  filter: blur(0);
}

.decor-right::before {
  right: 2%;
  opacity: 0.07;
  filter: blur(0);
}

/* Hidden State (staged by JS before scroll) */
.decor-left.decor-animate::before {
  opacity: 0;
  filter: blur(12px);
}
.decor-right.decor-animate::before {
  opacity: 0;
  filter: blur(12px);
}

/* Visible State (after scroll intersection) */
.decor-left.decor-visible::before {
  opacity: 0.07;
  filter: blur(0);
}
.decor-right.decor-visible::before {
  opacity: 0.07;
  filter: blur(0);
}

@media (min-width: 1440px) {
  .decor-left::before,
  .decor-left.decor-visible::before {
    left: 4%;
    opacity: 0.12;
    filter: blur(0);
  }
  .decor-right::before,
  .decor-right.decor-visible::before {
    right: 4%;
    opacity: 0.12;
    filter: blur(0);
  }
}

.decor-el-1::before { background-image: url("Images/element%20svg/LOGO%20ELEMENTS-01.svg"); }
.decor-el-2::before { background-image: url("Images/element%20svg/LOGO%20ELEMENTS-02.svg"); }
.decor-el-3::before { background-image: url("Images/element%20svg/LOGO%20ELEMENTS-03.svg"); }
.decor-el-4::before { background-image: url("Images/element%20svg/LOGO%20ELEMENTS-04.svg"); }
.decor-el-5::before { background-image: url("Images/element%20svg/LOGO%20ELEMENTS-05.svg"); }
.decor-el-6::before { background-image: url("Images/element%20svg/LOGO%20ELEMENTS-06.svg"); }
.decor-el-7::before { background-image: url("Images/element%20svg/LOGO%20ELEMENTS-07.svg"); }
.decor-el-8::before { background-image: url("Images/element%20svg/LOGO%20ELEMENTS-08.svg"); }

/* Mobile enhancements for responsiveness */
.mobile-nav-logos {
  display: none;
}
@media (max-width: 980px) {
  .mobile-nav-logos {
    display: block;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    text-align: center;
    width: 100%;
  }
  .mobile-nav-logos-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-mono);
  }
  .mobile-nav-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
  .mobile-nav-logos-grid img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.03));
  }
  .hero::before {
    width: min(70vw, 360px) !important;
    opacity: 0.35 !important;
  }
}

@media (max-width: 768px) {
  .about-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 12px !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: flex-start !important;
    scrollbar-width: none; /* Hide scrollbar for clean look in Firefox */
  }
  .about-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome/Safari */
  }
  .about-tab-btn {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
  }
}


