:root {
  --color-primary: #0c2340;
  --color-accent: #dc7d2c;
  --color-bg: #0b1220;
  --color-text-dark: #0f172a;

  --color-text-muted-dark: #64748b;
  --header-height: 4.25rem;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.02rem;
}

/* Sections */

.section {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.section--full {
  min-height: calc(100vh - var(--header-height));
}

/* Full-bleed background */

.section--with-bg {
  position: relative;
  overflow: hidden;
  color: #e5e7eb;
}

.section--with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--section-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

.section__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.15));
  z-index: -1;
}

.section__overlay--strong {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.5  ), rgba(15, 23, 42, 0.75));
}

.section__overlay--light {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.9));
}

/* Divider between hero and about */

.section-divider {
  height: 48px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7  ), #f8fafc);
}

/* Typography */

.section__title {
  font-size: 2.25rem;
  margin: 0;
  color: #f9fafb;
}

.section__title--dark {
  color: var(--color-text-dark);
}

.section__lead {
  font-size: 1.05rem;
  max-width: 640px;
  color: #e5e7eb;
}

.section__lead--dark {
  color: var(--color-text-muted-dark);
}

.section__lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__list {
  padding-left: 1.25rem;
}

.section__list li + li {
  margin-top: 0.25rem;
}

.section__bullets {
  font-size: 0.98rem;
  color: var(--color-text-muted-dark);
}

.section__bullets li::before {
  content: "•";
  margin-right: 0.5rem;
}

/* Hero */

.section--hero {
  background: transparent;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1rem;
  color: #cbd5f5;
}

.hero__title {
  color: #f9fafb;
}

.hero__subtitle {
  color: #e5e7eb;
}

/* Navbar */

.site-header__logo {
  height: 32px;
  width: auto;
}

/* Cards / feature blocks */

.feature-card {
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  background: #0b1120;
  color: #e5e7eb;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.section.bg-body .feature-card {
  background: #0f172a;
}

.card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.card--program {
  background: #020617;
  color: #e5e7eb;
}

.bg-dark .card--program {
  background: #020617;
}

.card--light {
  background: #f9fafb;
  color: var(--color-text-dark);
}

/* Buttons */

.btn--primary {
  background: var(--color-accent);
  color: #111827;
  border-radius: 999px;
  border: none;
  padding-inline: 1.5rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.btn--primary:hover {
  background: var(--color-accent);
  filter: brightness(0.9);
}

.btn--ghost {
  border-radius: 999px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(248, 250, 252, 0.7);
  background: transparent;
}

.btn--on-accent {
  color: #111827;
}

/* Timeline */

.timeline {
  margin-top: 2.25rem;
  border-left: 2px solid rgba(148, 163, 184, 0.6);
  padding-left: 1.5rem;
}

.timeline__item {
  position: relative;
  margin-bottom: 1.75rem;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__badge {
  position: absolute;
  left: -1.8rem;
  top: 0;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #f9fafb;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.timeline__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.timeline__body {
  margin: 0;
  font-size: 0.96rem;
  color: var(--color-text-muted-dark);
}

/* Contact form */

.contact-form {
  border-radius: 1.1rem;
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.contact-form__field {
  margin-bottom: 0.9rem;
}

.contact-form__field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-form__note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Footer */

.site-footer__org {
  color: #e5e7eb;
}

.site-footer__meta {
  font-size: 0.85rem;
}

/* Responsive tweaks */

@media (max-width: 767.98px) {
  .section {
    padding: 4rem 0;
  }

  .hero__title {
    font-size: 2.1rem;
  }
}

/* --------------------------------------------------
   Scroll reveal animations
   -------------------------------------------------- */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 550ms ease-out,
    transform 550ms ease-out;
  will-change: opacity, transform;
}

/* When JS says it's visible */
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional stagger delays controlled via data attributes */
.reveal-on-scroll[data-reveal-delay="sm"] {
  transition-delay: 120ms;
}

.reveal-on-scroll[data-reveal-delay="md"] {
  transition-delay: 220ms;
}

.reveal-on-scroll[data-reveal-delay="lg"] {
  transition-delay: 320ms;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .feature-card,
  .card,
  .btn--primary {
    transition: none !important;
  }
}

/* --------------------------------------------------
   Cards & buttons – micro-interactions
   -------------------------------------------------- */

.feature-card,
.card {
  transition:
    transform 200ms ease-out,
    box-shadow 200ms ease-out,
    border-color 200ms ease-out;
}

.feature-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.55);
  border-color: rgba(220, 125, 44, 0.9); /* accent-ish */
}

.btn--primary {
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    filter 160ms ease-out;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
}

/* Optional: navbar "on scroll" polish */
.navbar.navbar--scrolled {
  background-color: rgba(15, 23, 42, 0.98) !important;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
}

