:root {
  color-scheme: light;
  --bg-base: #f5f1ea;
  --bg-panel: #ffffff;
  --bg-soft: #f0e7dd;
  --bg-hero: #1f1b18;
  --text-strong: #1b1f24;
  --text-muted: #5f6368;
  --text-subtle: color-mix(
    in srgb,
    var(--text-muted) 70%,
    var(--text-strong) 30%
  );
  --brand-400: #f0c49f;
  --brand-500: #e2a972;
  --brand-600: #c78345;
  --brand-700: #8b4f1f;
  --accent-500: #756377;
  --accent-600: #4f3f50;
  --border-subtle: rgba(27, 31, 36, 0.08);
  --border-strong: rgba(27, 31, 36, 0.18);
  --shadow-soft: 0 16px 40px rgba(27, 24, 21, 0.14);
  --hero-foreground: #fdf8f1;
  --hero-muted: rgba(253, 248, 241, 0.78);
  --hero-pill-bg: rgba(255, 255, 255, 0.12);
  --hero-pill-text: rgba(255, 255, 255, 0.9);
  --hero-highlight-bg: rgba(255, 255, 255, 0.18);
  --hero-highlight-text: #ffffff;
  --hero-panel-surface: #ffffff;
  --hero-panel-border: rgba(27, 31, 36, 0.08);
  --hero-panel-foreground: #1b1f24;
  --hero-panel-muted: #5f6368;
  --projects-panel-bg: #1f1d1a;
  --projects-panel-foreground: #fefaf6;
  --projects-panel-muted: rgba(254, 250, 246, 0.82);
  --projects-panel-border: rgba(255, 255, 255, 0.1);
  --projects-icon-bg: rgba(255, 255, 255, 0.18);
  --nav-surface: rgba(21, 17, 14, 0.9);
  --nav-border: rgba(255, 255, 255, 0.08);
  --nav-link: rgba(255, 255, 255, 0.72);
  --nav-link-active: #ffffff;
  --logo-nav-width: clamp(100px, 11vw, 155px);
  --logo-nav-height: clamp(36px, 3.8vw, 54px);
  --logo-footer-width: clamp(140px, 22vw, 220px);
  --logo-footer-height: clamp(48px, 7vw, 78px);
  --btn-ghost-surface: rgba(0, 0, 0, 0.04);
  --btn-ghost-border: rgba(27, 31, 36, 0.15);
  --btn-ghost-foreground: var(--text-strong);
  --btn-ghost-hover-surface: rgba(0, 0, 0, 0.08);
  --btn-ghost-hover-border: rgba(27, 31, 36, 0.25);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-base: #0c0a08;
  --bg-panel: #141210;
  --bg-soft: #1b1815;
  --bg-hero: #050403;
  --text-strong: #fdf7ee;
  --text-muted: #d7c8bc;
  --text-subtle: color-mix(
    in srgb,
    var(--text-muted) 65%,
    var(--text-strong) 35%
  );
  --border-subtle: rgba(244, 235, 225, 0.22);
  --border-strong: rgba(244, 235, 225, 0.4);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.65);
  --hero-foreground: #f8efe4;
  --hero-muted: rgba(248, 239, 228, 0.75);
  --hero-pill-bg: rgba(248, 239, 228, 0.12);
  --hero-pill-text: #fef7ed;
  --hero-highlight-bg: rgba(248, 239, 228, 0.16);
  --hero-highlight-text: #fef7ed;
  --hero-panel-surface: rgba(20, 18, 18, 0.95);
  --hero-panel-border: rgba(244, 235, 225, 0.2);
  --hero-panel-foreground: #fdf9f5;
  --hero-panel-muted: rgba(239, 223, 209, 0.75);
  --projects-panel-bg: #161514;
  --projects-panel-foreground: #fdf9f5;
  --projects-panel-muted: rgba(245, 235, 224, 0.8);
  --projects-panel-border: rgba(255, 255, 255, 0.12);
  --projects-icon-bg: rgba(255, 255, 255, 0.18);
  --nav-surface: rgba(8, 7, 6, 0.92);
  --nav-border: rgba(255, 255, 255, 0.12);
  --nav-link: rgba(255, 255, 255, 0.78);
  --nav-link-active: #ffffff;
  --btn-ghost-surface: rgba(255, 255, 255, 0.08);
  --btn-ghost-border: rgba(255, 255, 255, 0.35);
  --btn-ghost-foreground: #ffffff;
  --btn-ghost-hover-surface: rgba(255, 255, 255, 0.12);
  --btn-ghost-hover-border: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

*::selection {
  background: rgba(196, 106, 30, 0.2);
  color: var(--text-strong);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  overflow-x: hidden;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg-base);
  color: var(--text-strong);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

#main {
  display: block;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  width: auto;
  height: auto;
}

.shell {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 1.5rem);
  }
}

/* Small screen overrides */
@media (max-width: 640px) {
  html {
    scroll-padding-top: 65px;
  }

  .section--hero {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero__title {
    margin: 0.75rem 0 0.6rem;
  }

  .hero__copy {
    font-size: 1rem;
  }

  .hero__instructor-card {
    padding: 0.85rem 1rem;
    margin: 0.9rem 0;
  }

  .hero__instructor-card h3 {
    font-size: 1.1rem;
  }

  .hero__cta {
    flex-direction: column;
    margin-top: 1.5rem;
  }

  .hero__cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero__highlights--detailed {
    grid-template-columns: 1fr;
    margin: 1.25rem 0 0;
    gap: 0.6rem;
  }

  .hero__visual {
    gap: 1rem;
  }

  .hero-panel {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .hero-panel__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mentor-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .mentor-card img {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }

  .hero-projects li {
    font-size: 0.9rem;
  }

  .section {
    padding: clamp(2.5rem, 7vw, 4rem) 0;
  }

  .section__lead {
    font-size: 1rem;
  }

  .section__intro {
    margin-bottom: 0.5rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    padding: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.25rem;
  }

  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__sub {
    font-size: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .plan-card__price {
    font-size: 2.25rem;
  }

  .surface-block {
    padding: 1.25rem;
  }

  .profile-card {
    padding: 1.5rem 1rem;
  }

  .profile-card img {
    width: 90px;
    height: 90px;
  }

  .testimonial-card {
    padding: 1.25rem;
    min-height: 0;
  }

  .testimonial-card__quote {
    font-size: 0.95rem;
    -webkit-line-clamp: 8;
  }

  .community-card {
    padding: 1.25rem;
  }

  .program-card {
    padding: 1.25rem;
  }

  .mou-card {
    padding: 1.1rem;
  }

  .mou-card__image-wrapper {
    width: 80px;
    height: 80px;
  }

  .btn--lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .learning-vertical__eyebrow {
    font-size: 0.65rem;
  }

  .profile-contact li {
    overflow-wrap: anywhere;
    word-break: break-all;
  }
}

/* Tablet range (641–899px) */
@media (min-width: 641px) and (max-width: 899px) {
  html {
    scroll-padding-top: 80px;
  }

  .section--hero {
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 1.75rem;
  }

  .program-card {
    padding: 1.75rem;
  }

  .surface-block {
    padding: 1.5rem;
  }

  .site-footer__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Landscape phones */
@media (max-height: 500px) and (max-width: 900px) {
  .section--hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .hero__title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    margin: 0.5rem 0;
  }
}

/* Large screens: expand shell slightly */
@media (min-width: 1400px) {
  .shell {
    width: min(1320px, calc(100% - 4rem));
  }
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  width: 100%;
}

.section--surface {
  background: var(--bg-panel);
}

.section--muted {
  background: var(--bg-soft);
}

.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-hero);
  color: var(--hero-foreground);
  padding-top: 10rem;
  padding-bottom: 6rem;
}

.stack-sm > * + * {
  margin-top: 1rem;
}

.stack-md > * + * {
  margin-top: 1.5rem;
}

.stack-lg > * + * {
  margin-top: 2.5rem;
}

.section__intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.section__eyebrow,
.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  background: rgba(196, 106, 30, 0.15);
  color: var(--brand-600);
}

.section__title {
  font-size: clamp(1.65rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  margin: 1.25rem 0 0.75rem;
  color: var(--text-strong);
}

.section__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 auto;
}

.program-card,
.plan-card,
.surface-block,
.profile-card,
.contact-card,
.community-card,
.testimonial-card,
.plan-card__features span,
.plan-card__features li,
.profile-contact,
.achievement-list,
.contact-card p {
  color: var(--text-strong);
}

.program-card p,
.plan-card p,
.surface-block p,
.profile-card p,
.contact-card p,
.community-card p,
.testimonial-card p,
.program-card li,
.surface-block li,
.achievement-list li {
  color: var(--text-muted);
}

.plan-card--accent {
  color: #fff;
}

.text-gray-500 {
  color: var(--text-muted) !important;
}

.text-gray-600 {
  color: var(--text-subtle) !important;
}

.text-blue-600 {
  color: var(--brand-600) !important;
}

.text-blue-400 {
  color: var(--brand-400) !important;
}

.hover\:text-blue-600:hover {
  color: var(--brand-600) !important;
}

.hover\:text-blue-400:hover {
  color: var(--brand-400) !important;
}

.bg-blue-600 {
  background: var(--brand-600) !important;
  color: #fff !important;
}

.hover\:bg-blue-700:hover {
  background: var(--brand-700) !important;
}

.text-white\/50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-white\/70 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.text-white\/85 {
  color: rgba(255, 255, 255, 0.85) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn--brand {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 12px 30px rgba(14, 30, 28, 0.2);
}

.btn--brand:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--btn-ghost-border);
  color: var(--btn-ghost-foreground);
  background: var(--btn-ghost-surface);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--btn-ghost-hover-border);
  background: var(--btn-ghost-hover-surface);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  width: 100%;
  background: var(--nav-surface);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--nav-border);
}

.site-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #fff;
}

.site-nav__brand-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.site-nav__logo {
  width: var(--logo-nav-width);
  height: var(--logo-nav-height);
  border-radius: clamp(0.5rem, 1.2vw, 1.2rem);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.35rem;
  box-shadow: none;
  overflow: hidden;
  flex-shrink: 0;
}

.site-nav__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-nav__brand-subtitle {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: 1.2rem;
  font-weight: 500;
}

.site-nav__cluster {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav__link {
  color: var(--nav-link);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.active-link {
  color: var(--nav-link-active);
  background: rgba(255, 255, 255, 0.15);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav__cta {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.mobile-panel {
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--nav-surface);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.mobile-panel--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-panel__body {
  padding: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-nav__links--mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-nav__links--mobile .site-nav__link {
  display: block;
  padding: 0.9rem 0;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}

.site-nav__links--mobile .site-nav__link:hover,
.site-nav__links--mobile .site-nav__link.active-link {
  background: transparent;
  color: #fff;
  font-weight: 600;
}

@media (min-width: 900px) {
  .site-nav__links {
    display: flex;
  }

  .site-nav__cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-panel {
    display: none;
  }
}

/* Compact nav links on mid-range screens to prevent crowding */
@media (min-width: 900px) and (max-width: 1100px) {
  .site-nav__links {
    gap: 0.25rem;
  }

  .site-nav__link {
    padding: 0.3rem 0.55rem;
    font-size: 0.83rem;
  }

  .site-nav__cta {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .site-nav__actions {
    gap: 0.5rem;
  }
}

body.mobile-menu-open {
  overflow: hidden;
}

.nav-toggle--active span {
  background: transparent;
}

.nav-toggle--active span::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle--active span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Theme toggle */

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle[data-theme="light"] .sun {
  display: none;
}

.theme-toggle[data-theme="dark"] .moon {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero__pill {
  display: inline-flex;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--hero-pill-bg);
  color: var(--hero-pill-text);
}

.hero__title {
  font-size: clamp(1.9rem, 6.5vw, 4.5rem);
  margin: 1.5rem 0 1rem;
  line-height: 1.1;
}

.hero__title span {
  color: var(--brand-400);
}

.hero__copy {
  color: var(--hero-muted);
  font-size: 1.2rem;
}

.hero__instructor-card {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--hero-panel-border);
  background: var(--hero-panel-surface);
  color: var(--hero-panel-foreground) !important;
}

.hero__label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--hero-panel-muted);
}

html[data-theme="light"] .hero__instructor-card,
html[data-theme="light"] .hero-detail,
html[data-theme="light"] .mentor-card {
  background: #ffffff;
  color: var(--text-strong) !important;
}

html[data-theme="light"] .hero__label,
html[data-theme="light"] .hero-detail span,
html[data-theme="light"] .mentor-card__label {
  color: var(--text-muted);
}

.hero__instructor-card h3 {
  margin: 0.35rem 0 0.15rem;
  font-size: 1.25rem;
}

.hero__details {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-detail {
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid var(--hero-panel-border);
  background: var(--hero-panel-surface);
  color: var(--hero-panel-foreground) !important;
}

.hero-detail span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--hero-panel-muted);
  margin-bottom: 0.2rem;
}

.hero-detail p {
  margin: 0;
  color: var(--hero-panel-foreground);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__highlights {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.hero__highlights li {
  display: flex;
  gap: 0.75rem;
  color: var(--hero-foreground);
}

.hero__highlights span {
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  background: var(--hero-highlight-bg);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--hero-highlight-text);
}

.hero__highlights--detailed {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hero__highlights--detailed li {
  align-items: flex-start;
  gap: 0.65rem;
}

.hero__highlights--detailed i {
  color: var(--brand-400);
}

.hero__highlights--detailed span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-weight: 500;
}

.hero__stats {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stat-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
  color: var(--hero-foreground);
}

html[data-theme="light"] .stat-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border-subtle);
  color: var(--text-strong);
}

.hero__visual {
  display: grid;
  gap: 1.5rem;
}

.hero-panel {
  border-radius: 1.75rem;
  padding: 2rem;
  border: 1px solid var(--hero-panel-border);
  background: var(--hero-panel-surface);
  color: var(--hero-panel-foreground);
}

.hero-panel--projects {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-panel__label {
  color: var(--hero-panel-muted);
  letter-spacing: 0.3em;
}

.hero-panel__copy {
  color: var(--hero-panel-muted);
}

.hero-panel__metrics {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 400px) {
  .hero-panel__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-panel__metrics span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-600);
}

.hero-panel__metrics small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hero-panel-muted);
}

.hero-projects {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.hero-projects li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--hero-panel-foreground);
  font-weight: 600;
}

.hero-projects span {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.mentor-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--hero-panel-surface);
  border: 1px solid var(--hero-panel-border);
  color: var(--hero-panel-foreground) !important;
}

.mentor-card img {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  object-fit: cover;
}

html[data-theme="light"] .mentor-card img {
  border-color: rgba(0, 0, 0, 0.08);
}

.mentor-card__label {
  color: var(--hero-panel-muted);
}

.mentor-card__title {
  color: var(--hero-panel-foreground);
  opacity: 0.9;
}

.mentor-card__experience {
  color: var(--brand-400);
}

.mentor-card--inline {
  margin-top: 1rem;
}

.learning-vertical {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .learning-vertical {
    gap: 2.5rem;
    padding-left: 1rem;
  }
}

.learning-vertical__item {
  position: relative;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .learning-vertical__item {
    padding-left: 3.5rem;
  }

  .learning-vertical__item::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    bottom: -2.5rem;
    width: 2px;
    background: var(--border-subtle);
  }

  .learning-vertical__item:last-child::before {
    display: none;
  }

  .learning-vertical__item::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    top: 1.25rem;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--brand-500);
    box-shadow: 0 0 0 6px rgba(196, 106, 30, 0.12);
  }

  html[data-theme="dark"] .learning-vertical__item::after {
    box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.2);
  }
}

@media (max-width: 767px) {
  .learning-vertical__item + .learning-vertical__item {
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-subtle);
  }
}

.learning-vertical__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(196, 106, 30, 0.12);
  color: var(--brand-600);
  width: fit-content;
}

.learning-vertical__eyebrow--dark {
  background: rgba(255, 255, 255, 0.18);
  color: #f8fafc;
}

.program-card {
  border-radius: 1.75rem;
  padding: 2rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
}

.program-card__meta {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .program-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-muted);
}

.feature-list i {
  color: var(--accent-500);
  margin-top: 0.15rem;
}

.projects-panel {
  border-radius: 1.5rem;
  padding: 2rem;
  background: var(--projects-panel-bg);
  color: var(--projects-panel-foreground);
}

.projects-panel p {
  color: var(--projects-panel-muted);
}

.projects-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.projects-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--projects-panel-border);
}

.projects-item:last-child {
  border-bottom: none;
}

.projects-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 1rem;
  background: var(--projects-icon-bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--projects-panel-foreground);
}

.plans-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.plans-section {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.plans-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.plans-header p {
  color: var(--text-muted);
  margin-top: 0.75rem;
}

@media (min-width: 880px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  background: var(--bg-panel);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.plan-card--accent {
  background: var(--brand-700);
  color: #fff;
  border: none;
}

.plan-card__badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--accent-500);
  color: #1a1027;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.plan-card__price {
  font-size: 3rem;
  font-weight: 700;
  color: inherit;
}

.plan-card__price-original {
  font-size: 1.25rem;
  text-decoration: line-through;
  color: inherit;
  opacity: 0.6;
  font-weight: 500;
  margin-top: 0.25rem;
}

.plan-card--accent .plan-card__price-original {
  color: rgba(255, 255, 255, 0.85);
}

.plan-card__features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-card__features i {
  color: var(--accent-500);
}

.plan-card--accent .plan-card__features li,
.plan-card--accent .plan-card__features span {
  color: #fff;
}

.plan-card--accent .plan-card__features i {
  color: #facc15;
}

.testimonial-swiper {
  padding-bottom: 4rem;
}

.testimonial-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  background: var(--bg-panel);
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
}

/* Equal-height Swiper slides */
.testimonial-swiper .swiper-wrapper,
.affiliation-swiper .swiper-wrapper,
.country-affiliation-swiper .swiper-wrapper {
  align-items: stretch;
}
.testimonial-swiper .swiper-slide,
.affiliation-swiper .swiper-slide,
.country-affiliation-swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}
.testimonial-swiper .swiper-slide .testimonial-card,
.affiliation-swiper .swiper-slide .testimonial-card,
.country-affiliation-swiper .swiper-slide .testimonial-card {
  flex: 1;
  width: 100%;
}

.testimonial-card__quote {
  font-size: 1.05rem;
  color: var(--text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__person img {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  object-fit: cover;
}

.testimonial-meta {
  font-size: 0.85rem;
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.swiper-pagination-bullet {
  background: rgba(148, 163, 184, 0.7);
}

.swiper-pagination-bullet-active {
  background: var(--brand-500);
}

.about-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 980px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.profile-card {
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.profile-card img {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  border: 4px solid rgba(196, 106, 30, 0.25);
}

.profile-contact {
  width: 100%;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-contact a {
  color: var(--brand-600);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.profile-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.surface-block {
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  margin-bottom: 1.5rem;
}

.surface-block:last-child {
  margin-bottom: 0;
}

.achievement-list {
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.achievement-list,
.achievement-list li,
.achievement-list a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.achievement-list li + li {
  margin-top: 0.6rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-card {
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  text-align: center;
}

.contact-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 1rem;
  background: rgba(196, 106, 30, 0.12);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.community-card {
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.social-links a {
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--brand-500);
}

.site-footer {
  background: #020617;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  width: 100%;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}

.site-footer__logo {
  width: var(--logo-footer-width);
  height: var(--logo-footer-height);
  border-radius: 1.75rem;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0;
  box-shadow: 0 22px 45px rgba(3, 1, 0, 0.35);
  overflow: hidden;
}

.site-footer__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__sub {
  margin-top: 2.5rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

#scrollTopBtn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: var(--brand-600);
  color: #fff;
  display: none;
  cursor: pointer;
}

#scrollTopBtn.visible {
  display: grid;
  place-items: center;
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* MOU Affiliations */
.mou-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.mou-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-400);
}

.mou-card__image-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.mou-card__logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mou-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0;
}

.mou-card__hint {
  font-size: 0.85rem;
  color: var(--brand-600);
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.25s ease;
}

.mou-card:hover .mou-card__hint {
  opacity: 1;
  transform: translateY(0);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.modal__container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal__content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

/* ── Bug Report Footer Button ── */
.bug-report-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}
.bug-report-footer-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* ── Bug Report Modal ── */
.bug-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.bug-modal {
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.bug-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.bug-modal__header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bug-modal__close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.bug-modal__close:hover {
  color: #fff;
}
.bug-modal__body {
  padding: 1.25rem 1.5rem;
}
.bug-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Bug Form Groups ── */
.bug-form-group {
  margin-bottom: 1rem;
}
.bug-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: #cbd5e1;
}
.bug-input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.bug-input:focus {
  border-color: var(--brand-500, #3b82f6);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}
.bug-input[type="file"] {
  padding: 0.4rem;
  font-size: 0.82rem;
}

/* ── Bug Buttons ── */
.bug-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}
.bug-btn--cancel {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}
.bug-btn--cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}
.bug-btn--submit {
  background: var(--brand-600, #2563eb);
  color: #fff;
}
.bug-btn--submit:hover {
  background: var(--brand-500, #3b82f6);
}
.bug-btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Bug Alert ── */
.bug-alert {
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.bug-alert--success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.bug-alert--error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
