/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #F0C300;
  --primary-light: #F5CC19;
  --primary-dark: #1A1A2E;
  --accent: #2E86C1;
  --accent-light: #EDF3F8;
  --accent-warm: #D94B2B;
  --text: #1A1A2E;
  --text-light: #4A4A5A;
  --bg: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-blue: #EDF3F8;
  --border: #DEE2E6;
  --success: #27AE60;
  --white: #FFFFFF;
  --shadow: 0 2px 15px rgba(43,41,38,0.08);
  --shadow-lg: 0 10px 40px rgba(43,41,38,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #2E5A85;
}

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

h1, h2, h3, h4, h5 {
  color: var(--primary-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-light);
}

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

.section--dark {
  background: var(--primary-dark);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: rgba(255,255,255,0.85);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header .label {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
}

.nav__logo::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 3px;
  flex-shrink: 0;
}

.nav__logo-usa {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-left: 0.4rem;
  padding: 0.2rem 0.45rem;
  background: var(--accent-light);
  border-radius: 3px;
  line-height: 1;
  vertical-align: middle;
}

.footer__brand .nav__logo-usa {
  color: var(--primary);
  background: rgba(255,255,255,0.12);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav__links a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--accent);
  background: var(--accent-light);
}

.nav__cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav__cta:hover {
  background: var(--primary-light) !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: var(--transition);
}

/* === HERO === */
.hero {
  padding: 8rem 0 3.5rem;
  background: linear-gradient(135deg, #C9A300 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,220,100,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 680px;
}

.hero__wordmark {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__wordmark-usa {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(255,255,255,0.85);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  line-height: 1;
  align-self: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.hero h1 {
  color: var(--primary-dark);
  font-size: 3.25rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero p {
  color: var(--primary-dark);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
  opacity: 0.85;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.hero__stat h3 {
  color: var(--primary-dark);
  font-size: 2.25rem;
  font-weight: 800;
}

.hero__stat p {
  font-size: 0.9rem;
  color: var(--primary-dark);
  opacity: 0.7;
  margin: 0;
}

/* === PAGE HERO (for inner pages) === */
.page-hero {
  padding: 7rem 0 2.5rem;
  background: linear-gradient(135deg, #C9A300 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--primary-dark);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--primary-dark);
  opacity: 0.85;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: #2E5A85;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(61,111,160,0.4);
}

.btn--secondary {
  background: rgba(0,0,0,0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(0,0,0,0.15);
}

.btn--secondary:hover {
  background: rgba(0,0,0,0.15);
  color: var(--primary-dark);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--primary);
}

.btn--white:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

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

/* === CARDS === */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.card__number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
}

/* === FEATURE SECTIONS === */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature--reverse {
  direction: rtl;
}

.feature--reverse > * {
  direction: ltr;
}

.feature__content h2 {
  margin-bottom: 1rem;
}

.feature__content p {
  margin-bottom: 1.5rem;
}

.feature__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent);
  border-radius: var(--radius-lg);
}

/* === STATS BAR === */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stats-bar__item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.stats-bar__item p {
  font-size: 0.9rem;
  font-weight: 500;
}

/* === TESTIMONIAL === */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--accent-light);
  position: absolute;
  top: 1rem;
  left: 2rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial__text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  font-weight: 600;
  color: var(--primary-dark);
}

.testimonial__role {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* === STEPS / TIMELINE === */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--accent-light);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--accent-light);
}

.step h4 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
}

/* === LIST ITEMS === */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--text-light);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-sizing: border-box;
}

.check-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-80%) rotate(-45deg);
}

/* === TEAM === */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--bg-light));
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
  border: 3px solid var(--accent-light);
}

.team-card__photo {
  width: 140px;
  height: 140px;
  min-width: 140px;
  min-height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--accent-light);
  display: block;
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.team-card .role {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.9rem;
}

/* === CTA SECTION === */
.cta {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, #C9A300, var(--primary));
  color: var(--white);
}

.cta h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.cta p {
  color: var(--primary-dark);
  opacity: 0.85;
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__brand span {
  color: var(--primary-light);
}

.footer__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  margin: 0;
}

.footer__desc span {
  display: block;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.footer__bottom a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
}

/* === HERO BACKGROUND WORLD MAP (seamless scroll, like intint.org) === */
.hero__map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero__map-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  animation: heroMapScroll 90s linear infinite;
  will-change: transform;
}

.hero__map-img {
  height: 100%;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  opacity: 0.55;
  filter: blur(2px);
  display: block;
}

/* Translate by exactly one image width so the second copy lines up seamlessly with the first, then loop */
@keyframes heroMapScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Keep hero content above the map */
.hero .container { position: relative; z-index: 1; }

/* Keep IntraAct USA + Evidence-Based Literacy System pill vertically aligned on one line */
.hero__top-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__top-row .hero__wordmark,
.hero__top-row .hero__label {
  margin-bottom: 0;
}

/* === FORM === */
.form {
  display: grid;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

.form input,
.form select,
.form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,134,193,0.15);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

/* === CONTACT CARDS === */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-card__icon {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-card h4 {
  margin-bottom: 0.5rem;
}

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .feature { gap: 2.5rem; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav__links.active {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .hero {
    padding: 6.5rem 0 2.5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero__wordmark {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }

  .hero__wordmark-usa {
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .page-hero {
    padding: 6rem 0 2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature--reverse {
    direction: ltr;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay classes for staggered animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
