:root {
  --bg-dark: #021b0f;
  --bg-light: #f8fffb;
  --accent: #1db954;
  --accent-soft: #a9f5c1;
  --text-main: #041410;
  --text-light: #f8fffb;
  --border-soft: rgba(255, 255, 255, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.15);
  --transition-fast: 0.25s ease-out;
  --max-width: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

a { text-decoration: none; color: inherit; }

/* ========== NAV BAR ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 24, 12, 0.94);
  backdrop-filter: blur(14px);
}

.nav-bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Desktop links */

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-link-toggle {
  border: 0;
  background: none;
  color: #f5fff7;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.25rem 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover,
.nav-link-toggle:hover {
  color: #d5ff9f;
}

.nav-item-cta .nav-cta-btn {
  padding-inline: 1.2rem;
  font-size: 0.94rem;
}

/* Caret */

.nav-link-caret {
  width: 0.6rem;
  height: 0.6rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  display: inline-block;
  margin-top: -2px;
  transition: transform 0.18s ease;
}

.nav-item.is-open > .nav-link-toggle .nav-link-caret {
  transform: rotate(135deg);
}

/* Dropdown panel */

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.33);
  padding: 0.75rem 0;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: 16px 0;
  filter: blur(6px);
  pointer-events: none;
  transition:
    opacity 0.32s cubic-bezier(.22,.61,.36,1),
    transform 0.32s cubic-bezier(.22,.61,.36,1),
    filter 0.32s cubic-bezier(.22,.61,.36,1);
}

.nav-dropdown-inner {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-link {
  padding: 0.55rem 1.25rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.92rem;
  color: #0f1b12;
  border-radius: 12px;
}

.nav-dropdown-link:hover {
  background: #f2f7ff;
}

.nav-dropdown-title {
  font-weight: 600;
}

.nav-dropdown-note {
  font-size: 0.8rem;
  color: #6b7280;
}

.nav-dropdown-link.is-muted .nav-dropdown-title,
.nav-dropdown-link.is-muted .nav-dropdown-note {
  opacity: 0.6;
}

/* PREMIUM ANIMATION – desktop only uses .is-open (no raw :hover) */

@media (min-width: 900px) {
  /* show when .is-open is present */
  .nav-item.is-open > .nav-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
  }

  /* staggered fade for links */
  .nav-dropdown-link {
    opacity: 0;
    transform: translateY(4px);
    transition:
      opacity 0.22s ease-out,
      transform 0.22s ease-out,
      background-color 0.18s ease;
  }

  .nav-item.is-open .nav-dropdown-link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-dropdown-link:nth-child(1) { transition-delay: 0.06s; }
  .nav-dropdown-link:nth-child(2) { transition-delay: 0.09s; }
  .nav-dropdown-link:nth-child(3) { transition-delay: 0.12s; }
  .nav-dropdown-link:nth-child(4) { transition-delay: 0.15s; }
  .nav-dropdown-link:nth-child(5) { transition-delay: 0.18s; }
}

/* Mobile nav */

.nav-toggle-btn {
  display: none;
  position: relative;
  width: 38px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5f9ff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-btn.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-btn.is-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile layout */

@media (max-width: 899px) {
  .nav-toggle-btn {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 56px 0 0 0;
    background: radial-gradient(circle at top left, #083c2c 0, #020816 55%);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem 2.5rem;
    gap: 0.6rem;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link,
  .nav-link-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    padding: 0.55rem 0.25rem;
  }

  .nav-dropdown {
    position: static;
    background: rgba(6, 78, 59, 0.45);
    box-shadow: none;
    border-radius: 14px;
    margin-top: 0.25rem;
    padding: 0.35rem 0;
    transform: none;
    filter: none;
  }

  .nav-dropdown-link {
    color: #e5fdf4;
    padding-inline: 1rem;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-dropdown-note {
    color: #c4ddd3;
  }

  .nav-links .nav-item-cta {
    margin-top: 0.75rem;
  }
}


/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn-solid {
  background: linear-gradient(135deg, #12c764, #087c34);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(7, 116, 49, 0.4);
}
.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(7, 116, 49, 0.45);
}

.btn-solid.alt {
  background: #ffffff;
  color: #087c34;
  border-color: rgba(0, 0, 0, 0.08);
}

.btn-outline {
  border-color: #087c34;
  color: #087c34;
  background: #ffffff;
}
.btn-outline:hover {
  background: #087c34;
  color: #ffffff;
}

.link-btn {
  border: none;
  background: transparent;
  color: #087c34;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0;
}

/* Sections */

.section {
  padding: 4.5rem 1.5rem;
}
.section-light {
  background: var(--bg-light);
}
.section-dark {
  background: radial-gradient(circle at top, #0b3c23 0, #021b0f 60%);
  color: var(--text-light);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-inner.narrow {
  max-width: 720px;
}
.section-text {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.newsect{
  color: #035920;
}

/* Hero */

.hero {
  padding: 3.5rem 1.5rem 3rem;
  background: linear-gradient(150deg, #f6fff8 0, #e5f9ed 30%, #ffffff 100%);
}
.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.hero-panel {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.hero-nec {
  background: radial-gradient(circle at top left, #11b85d 0, #021b0f 80%);
  color: #f9fff9;
}
.hero-tour {
  background: #ffffff;
}

.hero-panel h1 {
  font-size: clamp(1.8rem, 2.2vw + 1.2rem, 2.4rem);
  margin: 0 0 0.75rem;
}
.hero-text {
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.9;
}
.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  background: rgba(2, 27, 15, 0.5);
}

/* Stats */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}
.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #087c34;
}
.stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Two-column sections */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2rem;
  align-items: center;
}
.two-column.reverse {
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
}
.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

/* Lists */

.bullet-list {
  padding-left: 1.2rem;
  margin: 1rem 0;
}
.bullet-list li {
  margin-bottom: 0.35rem;
}
.bullet-list.small {
  font-size: 0.9rem;
}
.small-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* States strip */

.states-strip {
  margin: 2rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.state-pill {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.8rem;
  background: rgba(255,255,255,0.06);
  color: #f0fff6;
  cursor: pointer;
}
.state-pill:hover,
.state-pill.active {
  background: #1db954;
  color: #021b0f;
  border-color: #1db954;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 2rem;
}
.faq-item {
  margin-bottom: 0.8rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

/* Footer */

.site-footer {
  padding: 1.5rem 1.5rem 2rem;
  background: #021b0f;
  color: rgba(255,255,255,0.8);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  gap: 1rem;
}

/* Signup page */

.signup-page h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.form-card {
  margin-top: 1.75rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #087c34;
  box-shadow: 0 0 0 1px rgba(8, 124, 52, 0.18);
}

/* Alerts */

.alert {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.alert-success {
  background: #e7fbe9;
  color: #035920;
  border: 1px solid #a0e7aa;
}
.alert-error {
  background: #fff4f4;
  color: #7c1c1c;
  border: 1px solid #f0b1b1;
}
.alert-error ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* Reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline */

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.timeline-block h3 {
  margin-bottom: 0.75rem;
}
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1.25rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.timeline-list li:last-child {
  border-bottom: none;
}
.tl-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #087c34;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tl-body strong {
  font-size: 0.95rem;
}
.tl-body p {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* State spotlight */

.state-spotlight {
  margin-top: 1.5rem;
  padding: 1.5rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(2, 27, 15, 0.85);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}
.state-spotlight h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}
.spotlight-meta {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  opacity: 0.9;
}
.spotlight-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}
.spotlight-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.spotlight-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Partners strip */

.partners-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.partner-card {
  min-width: 140px;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px dashed rgba(8, 124, 52, 0.3);
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

/* Responsive */

@media (max-width: 768px) {
  .two-column,
  .two-column.reverse,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* you can replace this with a mobile menu later */
  }
}


/* ===============================
   NEC Modal — Backdrop
   =============================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;                     /* Hidden by default */
    background: rgba(0, 0, 0, 0.45);   /* Dim background */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}

/* When the modal is open */
.modal-backdrop.is-open {
    display: flex;
}


/* ===============================
   Modal Shell (Container)
   =============================== */
.modal-shell {
    position: relative;
    width: 100%;
    max-width: 680px;
    background: #ffffff;
    border-radius: 24px;
    padding: 2.25rem 2rem 2rem;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.25),
        0 4px 14px rgba(0, 0, 0, 0.12);
    animation: modalFadeIn 0.28s ease-out;
}

/* Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ===============================
   Close Button
   =============================== */
.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;

    background: #f1f1f1;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.18s ease;
}

.modal-close:hover {
    background: #e3e3e3;
    transform: scale(1.08);
}

.modal-close:active {
    transform: scale(0.94);
}


/* ===============================
   Spacing + Form Layout
   =============================== */
.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.modal-desc {
    margin-top: -2px;
    margin-bottom: 1.4rem;
    font-size: 1rem;
    color: #555;
}

.modal-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1.1rem; /* row / column gap */
}

.modal-fields label {
    display: block;
    font-size: 0.87rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #2d2d2d;
}

.modal-fields input,
.modal-fields select,
.modal-fields textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #dedede;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.20s ease, box-shadow 0.20s ease;
    background: #fafafa;
}

.modal-fields input:focus,
.modal-fields select:focus,
.modal-fields textarea:focus {
    border-color: #0d8a36;       /* NEC green */
    box-shadow: 0 0 0 3px rgba(13, 138, 54, 0.2);
    outline: none;
}

.modal-fields textarea {
    grid-column: span 2;
    min-height: 110px;
    resize: vertical;
}


/* ===============================
   Submit Button
   =============================== */
.modal-submit {
    margin-top: 1.2rem;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #0c8e33, #0aa92f);
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modal-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 128, 0, 0.25);
}

.modal-submit:active {
    transform: scale(0.97);
}


/* Mobile tweaks */
@media (max-width: 640px) {
    .modal-shell {
        padding: 1.8rem 1.3rem 1.4rem;
        border-radius: 20px;
    }
    .modal-fields {
        grid-template-columns: 1fr;
    }
    .modal-fields textarea {
        grid-column: span 1;
    }
}


.partner-card img {
  max-width: 140px;
  max-height: 45px;
  object-fit: contain;
}

/* Partnerships page */

.page-partners main {
  background: #f1f8f3;
}

/* Hero */

.hero-partners {
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at top left, #1a6431 0, #022010 50%, #011208 100%);
  color: #f9fafb;
}

.hero-partners-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 3rem;
  align-items: center;
}

.hero-partners-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 0 0 0.7rem;
}

.hero-partners-copy .hero-subtext {
  font-size: 1rem;
  max-width: 34rem;
  color: #e5f4ea;
  margin-bottom: 1.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.hero-badge {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.25);
}

.hero-badge-label {
  opacity: 0.75;
  margin-right: 0.3rem;
}

.hero-badge-value {
  font-weight: 600;
}

.hero-partners-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  border-radius: 20px;
  padding: 1.35rem 1.3rem;
  background: rgba(10, 37, 18, 0.9);
  border: 1px solid rgba(88, 225, 134, 0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.hero-card-soft {
  background: rgba(3, 28, 13, 0.9);
  border-style: dashed;
}

.hero-card h3,
.hero-card h4 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.hero-card p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: #d7fbe3;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #d7fbe3;
}

/* Value grid */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.value-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.2rem 1.15rem;
  box-shadow: 0 14px 35px rgba(15, 118, 54, 0.06);
}

.value-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.value-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #4b5563;
}

/* Pill toggle section */

.pill-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 1.25rem;
}

.pill-tab {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.9rem;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pill-tab.active {
  background: #22c55e;
  color: #04130a;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.45);
}

.pill-pane-wrapper {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 24px;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.pill-pane {
  display: none;
}

.pill-pane.active {
  display: block;
}

.pill-pane-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
}

.pill-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.pill-highlight {
  background: radial-gradient(circle at top left, rgba(34,197,94,0.1), rgba(15,23,42,0.95));
  border-radius: 20px;
  padding: 1rem 1rem;
  border: 1px solid rgba(34,197,94,0.25);
  font-size: 0.9rem;
  color: #e5e7eb;
}

.pill-highlight h4 {
  margin: 0.3rem 0 0.2rem;
  font-size: 0.9rem;
}

.pill-mini-list {
  margin: 0 0 0.3rem 1rem;
  padding: 0;
}

/* Metrics strip */

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.metric-card {
  border-radius: 18px;
  padding: 1rem 0.9rem;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.metric-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #047857;
  margin-bottom: 0.15rem;
}

.metric-label {
  font-size: 0.85rem;
  color: #4b5563;
}

/* Tiers */

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.tier-card {
  background: radial-gradient(circle at top left, rgba(34,197,94,0.10), rgba(15,23,42,1));
  border-radius: 20px;
  padding: 1.3rem 1.2rem;
  border: 1px solid rgba(34,197,94,0.35);
  color: #e5e7eb;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.tier-card h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.tier-tagline {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: #a7f3d0;
}

.tier-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

/* Form section */

.section-form-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
  gap: 2rem;
  align-items: flex-start;
}

.form-copy h2 {
  margin-top: 0;
}

.form-bullets {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.form-panel {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 18px 40px rgba(15, 118, 54, 0.12);
}

/* Responsive tweaks */

@media (max-width: 900px) {
  .hero-partners-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-partners-panel {
    max-width: 480px;
  }
  .pill-pane-grid,
  .section-form-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    max-width: 100px;
    object-fit: contain;
    display: block;
}


/* ------------------------------
   Nav base
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
}

.nav-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.95rem;
  text-decoration: none;
  color: #1f2933;
  padding: 0.2rem 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: #059669;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-highlight {
  color: #047857;
  font-weight: 700;
}

.nav-link-highlights {
  color: #fff200;
  font-weight: 700;
}

/* existing button style gets reused for Volunteer */
.btn.btn-outline {
  border-radius: 999px;
  border: 1px solid #047857;
  padding: 0.35rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #047857;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn.btn-outline:hover {
  background: #047857;
  color: #ffffff;
}

/* ------------------------------
   Mobile menu toggle (hamburger)
------------------------------ */

.mobile-menu-toggle {
  display: none; /* hidden on desktop */
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.mobile-menu-toggle span + span {
  margin-top: 4px;
}

/* optional: you can add a 'open' style if you want the icon to animate to X */

/* ------------------------------
   Mobile menu overlay
------------------------------ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel {
  width: 78%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  padding: 1.25rem 1.5rem 1.75rem;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.4);
  transform: translateX(100%);
  transition: transform 0.18s ease;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0%);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.mobile-menu-logo img {
  height: 32px;
  width: auto;
}

.mobile-menu-close {
  border: none;
  background: rgba(15, 23, 42, 0.06);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-close:hover {
  background: rgba(15, 23, 42, 0.12);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-link {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.98rem;
  text-decoration: none;
  color: #111827;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mobile-menu-link:last-child {
  border-bottom: none;
}

.mobile-menu-link:hover {
  color: #047857;
}

.mobile-menu-cta {
  margin-top: 0.75rem;
  border-radius: 999px;
  border: 1px solid #047857;
  text-align: center;
  background: #047857;
  color: #ffffff !important;
}

/* prevent background scroll when mobile menu is open */
.no-scroll {
  overflow: hidden;
}

/* ------------------------------
   Responsive behaviour
------------------------------ */

@media (max-width: 768px) {
  .nav-links {
    display: none; /* hide desktop nav */
  }

  .mobile-menu-toggle {
    display: flex; /* show hamburger */
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important; /* never show on desktop */
  }
}

/* ------------------------------
   Base header / nav
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
}

.nav-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.95rem;
  text-decoration: none;
  color: #111827;
  position: relative;
  padding: 0.2rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: #059669;
  transition: width 0.2s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.nav-link-highlight {
  color: #047857;
  font-weight: 700;
}

.btn.btn-outline {
  border-radius: 999px;
  border: 1px solid #047857;
  padding: 0.35rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #047857;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn.btn-outline:hover {
  background: #047857;
  color: #ffffff;
}

/* ---------------------------------
   NEC THEMED BOTTOM MOBILE NAV
---------------------------------- */

.mobile-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0;
  right: 0;
  top: auto !important;

  z-index: 9999;

  /* NEC dark green glass-like */
  background: #021b0f;
  backdrop-filter: blur(8px);

  /* Soft NEC-green border */
  border-top: 1px solid rgba(29, 185, 84, 0.25);

  padding-bottom: env(safe-area-inset-bottom);
  padding-top: 0.25rem;

  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  /* Subtle NEC shadow upward */
  box-shadow: 0 -4px 18px rgba(2, 27, 15, 0.65);
}

.mobile-bottom-nav .tab-item {
  text-decoration: none;
  color: #d4ffe4;                    /* soft mint-green */
  font-size: 0.72rem;
  padding: 0.45rem 0 0.35rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 0.25rem;

  transition: color 0.22s ease, transform 0.22s ease;
}

.mobile-bottom-nav .tab-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.9;
}

/* Hover state - neon green glow */
.mobile-bottom-nav .tab-item:hover {
  color: #1db954;
  transform: translateY(-1px);
}

/* ACTIVE PAGE highlight */
.mobile-bottom-nav .tab-item.active {
  color: #1db954;
  font-weight: 700;
}

.mobile-bottom-nav .tab-item.active svg {
  opacity: 1;
}

/* Mobile visibility */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: grid !important;
  }

  body {
    padding-bottom: 3.6rem !important;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* FINAL MOBILE OVERRIDE – keep only logo at top, use bottom bar for nav */
@media (max-width: 768px) {
  /* hide all the header links on mobile */
  .site-header .nav-links {
    display: none !important;
  }

  /* slightly tighten header on mobile so it feels cleaner */
  .site-header .nav-bar {
    padding: 0.5rem 1rem;
  }

  /* optional: give header a subtle bottom border to separate it */
  .site-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }
}

/* ==============================
   School Tour page styling
   ============================== */

.hero-tour-schools {
  padding: 4.5rem 1.5rem 3.5rem;
  background: radial-gradient(circle at top left, #11b85d 0, #021b0f 55%, #000000 100%);
  color: #f9fff9;
}

.hero-tour-schools-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-tour-copy h1 {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  margin: 0 0 0.75rem;
}

.hero-tour-cta-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-mode-btn {
  min-width: 190px;
}

.hero-tour-stats {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-tour-stat {
  background: rgba(2, 27, 15, 0.72);
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(185, 255, 214, 0.18);
  min-width: 150px;
}

.hero-tour-number {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #a9f5c1;
}

.hero-tour-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

.hero-tour-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-tour-card {
  border-radius: 18px;
  padding: 1.25rem 1.2rem;
  background: rgba(3, 28, 13, 0.92);
  border: 1px solid rgba(120, 228, 160, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  font-size: 0.93rem;
}

.hero-tour-card-soft {
  background: rgba(1, 18, 9, 0.9);
  border-style: dashed;
}

.hero-tour-card h3,
.hero-tour-card h4 {
  margin: 0 0 0.5rem;
}

.hero-tour-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-tour-card li {
  margin-bottom: 0.25rem;
  color: #d5ffe5;
}

/* Role cards row */

.page-tour-schools-main {
  background: #f7fff9;
}

.role-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.role-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.3rem 1.25rem 1.15rem;
  box-shadow: 0 12px 30px rgba(8, 124, 52, 0.08);
  border: 1px solid rgba(15, 118, 54, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.role-card-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #065f3a;
  opacity: 0.8;
}

.role-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.role-card p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.role-card ul {
  margin: 0.4rem 0 0.7rem;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: #4b5563;
}

.role-card-btn {
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  border: 1px solid #087c34;
  background: #ffffff;
  color: #087c34;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.role-card-btn:hover {
  background: #087c34;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 124, 52, 0.25);
  transform: translateY(-1px);
}

.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(8, 124, 52, 0.14);
  border-color: rgba(8, 124, 52, 0.26);
}

.role-card.is-selected {
  background: linear-gradient(135deg, #f0fff7, #ffffff);
  border-color: rgba(8, 124, 52, 0.5);
  box-shadow: 0 18px 40px rgba(8, 124, 52, 0.18);
}

/* Forms animations */

.role-forms-wrapper {
  margin-top: 1rem;
}

.role-form {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
}

.role-form.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 1200px;
}

.role-form + .role-form {
  margin-top: 0.75rem;
}

.form-title {
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.form-subtitle {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.role-hint {
  font-size: 0.85rem;
  color: #4b5563;
  margin-top: 0.5rem;
}

/* Responsive tweaks */

@media (max-width: 900px) {
  .hero-tour-schools-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-tour-panel {
    max-width: 480px;
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-tour-schools {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
}


/* School Tour role selector */
.role-toggle {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: #e5f5eb;
  border: 1px solid rgba(8, 124, 52, 0.18);
}

.role-option {
  border: none;
  background: transparent;
  padding: 0.45rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  color: #065f3a;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.role-option.active {
  background: #087c34;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(8, 124, 52, 0.35);
}

.role-hint {
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 1.25rem;
}

/* Contact & Safeguarding */
.contact-safety {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.contact-safety-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.contact-safety-header {
  text-align: left;
  margin-bottom: 2rem;
}

.contact-safety-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin: 0.25rem 0 0.4rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 118, 89, 0.2);
  border: 1px solid rgba(45, 212, 191, 0.6);
  color: #bbf7d0;
}

.contact-safety-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.contact-flag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78rem;
  color: #e5f9f0;
}

.contact-flag .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-right: 0.35rem;
  background: #22c55e;
}

/* Cards */
.contact-safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 1.75rem;
}

.contact-safety-card {
  position: relative;
  padding: 1.5rem 1.4rem 1.35rem;
  border-radius: 22px;
  background: radial-gradient(circle at top left,
    rgba(34, 197, 94, 0.12),
    rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: #e5f4ee;
}

.contact-safety-card-legal {
  background: radial-gradient(circle at top left,
    rgba(248, 250, 252, 0.06),
    rgba(15, 23, 42, 1));
  border-color: rgba(248, 250, 252, 0.4);
}

.contact-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.contact-safety-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.contact-body {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* tags */
.contact-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  border: 1px solid rgba(52, 211, 153, 0.7);
  background: rgba(6, 95, 70, 0.55);
  color: #bbf7d0;
}

.contact-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  margin-right: 0.35rem;
}

.contact-tag-em {
  border-color: rgba(250, 204, 21, 0.9);
  background: rgba(161, 98, 7, 0.7);
  color: #fef3c7;
}

.contact-tag-outline {
  border-color: rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.7);
}

/* meta */
.contact-meta {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.contact-meta div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.6rem;
}

.contact-meta dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9ca3af;
}

.contact-meta dd {
  margin: 0;
  color: #f9fafb;
}

.contact-safety-card a {
  color: #6ee7b7;
  text-decoration: none;
  border-bottom: 1px dotted rgba(110, 231, 183, 0.7);
}
.contact-safety-card a:hover {
  border-bottom-style: solid;
}

/* footer note */
.contact-safety-footer {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .contact-safety-header {
    text-align: left;
  }
  .contact-safety-card {
    padding: 1.4rem 1.25rem 1.25rem;
  }
}

/* ---------- Student hero ---------- */

.hero-student-zone {
  background: radial-gradient(circle at top left, #0d3b2a 0, #02160f 45%, #010b07 100%);
  color: #f5fff8;
}

.hero-student-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-student-copy h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin-bottom: 0.75rem;
}

.hero-student-copy .hero-text {
  max-width: 40rem;
}

.hero-student-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.hero-student-stat {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(6, 81, 55, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hero-student-number {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-student-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Hero images */

.hero-student-media {
  max-width: 520px;
  margin-left: auto;
}

.student-hero-image-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.student-hero-main {
  grid-row: 1 / span 2;
}

.student-hero-image-grid figure {
  border-radius: 16px;
  overflow: hidden;
  background: #022218;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.student-hero-image-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.student-hero-image-grid figcaption {
  font-size: 0.75rem;
  padding: 0.4rem 0.65rem 0.55rem;
  background: rgba(1, 13, 9, 0.85);
  color: #e5fff4;
}

.hero-student-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #d0f6e4;
}

/* ---------- Tabs (before/during/after) ---------- */

.student-steps-tabs {
  margin: 1.5rem 0 1.1rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: #d6f0e4;
}

.student-tab-btn {
  border: none;
  background: transparent;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #085239;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.student-tab-btn:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.9);
}

.student-tab-btn.is-active {
  background: #0a7b4e;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.student-steps-panels {
  margin-top: 0.5rem;
}

.student-step-panel {
  display: none;
}

.student-step-panel.is-active {
  display: block;
}

/* ---------- Roles grid ---------- */

.student-roles-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.student-role-card {
  background: radial-gradient(circle at top left, rgba(23, 112, 76, 0.9), rgba(2, 23, 15, 0.98));
  border-radius: 18px;
  padding: 1.5rem 1.7rem;
  color: #f5fff8;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(160, 227, 198, 0.4);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.student-role-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.student-role-card .small-note {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  color: #d6f7e8;
}

.student-role-card .bullet-list.small li {
  font-size: 0.9rem;
}

.student-role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
  border-color: rgba(183, 255, 214, 0.75);
}

/* ---------- Gallery ---------- */

.student-gallery-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.student-gallery-item {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  background: #ffffff;
}

.student-gallery-item img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.student-gallery-item figcaption {
  padding: 0.7rem 0.9rem 0.9rem;
  font-size: 0.9rem;
}

/* ---------- FAQ styling tweaks (re-uses existing .faq-accordion styles) ---------- */

.student-faq-accordion .faq-item {
  border-radius: 0;
}

.student-faq-accordion .faq-question {
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-student-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .hero-student-media {
    max-width: none;
  }

  .student-roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .student-roles-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .student-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.is-open .faq-answer {
  /* optional extra padding when open */
}

/* ========== MOBILE BOTTOM NAV ========== */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(circle at top, #020617 0, #020814 55%);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: none;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
  z-index: 50;
}

.mobile-bottom-nav .tab-item {
  flex: 1;
  border: none;
  background: none;
  color: #e5f0ff;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding-top: 0.2rem;
}

.mobile-bottom-nav .tab-item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #e5f0ff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-bottom-nav .tab-item span {
  letter-spacing: 0.02em;
}

.mobile-bottom-nav .tab-item-more svg {
  stroke-width: 2;
}

/* Show only on small screens */
@media (max-width: 899px) {
  .mobile-bottom-nav {
    display: flex;
  }
}

/* ========== MOBILE BOTTOM SHEET (“MORE”) ========== */

.mobile-sheet-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s ease;
  z-index: 60;
}

.mobile-sheet-root.is-open {
  pointer-events: auto;
  opacity: 1;
}

.mobile-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.mobile-sheet-root.is-open .mobile-sheet-backdrop {
  opacity: 1;
}

.mobile-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 72vh;
  background: #020617;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.6);
  padding: 0.75rem 1.25rem 1.5rem;
  transform: translateY(100%);
  /* smoother, slightly slower animation like your admin “More” panel */
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-sheet-root.is-open .mobile-sheet {
  transform: translateY(0);
}

.mobile-sheet-handle {
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.55);
  margin: 0.25rem auto 0.8rem;
}

.mobile-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.mobile-sheet-header h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5f0ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-sheet-close {
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #9ca3af;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Grid of links inside the sheet */

.mobile-sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.mobile-sheet-link {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), #020617);
  padding: 0.6rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #e5f4ff;
  text-align: left;
}

.mobile-sheet-link:hover {
  border-color: rgba(226, 232, 240, 0.6);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
}

.mobile-sheet-link .icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #22c55e, #047857);
}

.mobile-sheet-link .icon-circle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #f9fafb;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.mobile-sheet-link .title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
}

.mobile-sheet-link .note {
  display: block;
  font-size: 0.7rem;
  color: #9ca3af;
}

.mobile-sheet-link-muted {
  opacity: 0.7;
}

/* Only show sheet on mobile */
@media (min-width: 900px) {
  .mobile-sheet-root {
    display: none;
  }
}

