/* ============================================
   EDUCATION FUTURES — Global Stylesheet
   Colors: #336b87 (teal) | #ffee94 (yellow)
   Fonts: Inter (titles) | IBM Plex Sans (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ─── Variables ─────────────────────────────── */
:root {
  --teal:        #336b87;
  --teal-dark:   #245570;
  --teal-light:  #e8f2f7;
  --yellow:      #ffee94;
  --yellow-dark: #f0d850;
  --orange:      #f2786d;
  --dark:        #1a3344;
  --gray:        #5a7080;
  --light-gray:  #f4f7f9;
  --white:       #ffffff;
  --font-title:  'Inter', sans-serif;
  --font-body:   'IBM Plex Sans', sans-serif;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 2px 16px rgba(51,107,135,0.10);
  --shadow-lg:   0 8px 40px rgba(51,107,135,0.15);
  --max-width:   1120px;
  --nav-height:  72px;
}

/* ─── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--gray); }

/* ─── Layout helpers ─────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-label.on-dark { color: var(--yellow); }
.text-center { text-align: center; }
.text-yellow { color: var(--yellow); }
.text-teal   { color: var(--teal); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}
.btn-outline:hover {
  background: rgba(255,238,148,0.12);
  transform: translateY(-1px);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
}
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal-light);
}

/* ─── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid rgba(51,107,135,0.10);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-box {
  background: var(--yellow);
  color: var(--teal);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  padding: 7px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.logo-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; color: var(--white) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(51,107,135,0.10);
  padding: 16px 32px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }

/* ─── Hero ───────────────────────────────────── */
.hero {
  background: var(--teal);
  padding: calc(var(--nav-height) + 80px) 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,238,148,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(255,238,148,0.05) 0%, transparent 50%);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: var(--yellow); margin-bottom: 24px; max-width: 800px; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 640px; margin-bottom: 40px; line-height: 1.75; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,238,148,0.15);
  border: 1px solid rgba(255,238,148,0.3);
  color: var(--yellow);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--teal);
  padding: calc(var(--nav-height) + 64px) 0 72px;
}
.page-hero h1 { color: var(--yellow); margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; font-size: 1.1rem; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-family: var(--font-title);
  margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: var(--yellow); }
.page-hero .breadcrumb span { color: var(--yellow); }

/* ─── Cards ──────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(51,107,135,0.10);
  padding: 36px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 20px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* Card on dark */
.card-dark {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.card-dark h3 { color: var(--yellow); }
.card-dark p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

/* ─── Stats bar ──────────────────────────────── */
.stats-bar {
  background: var(--yellow);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--teal-dark);
  font-weight: 500;
}

/* ─── Pillars section ────────────────────────── */
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(51,107,135,0.12);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s;
  text-decoration: none;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.pillar-number {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal);
  line-height: 1;
}
.pillar-card h3 { font-size: 1.4rem; color: var(--dark); }
.pillar-card p { font-size: 0.95rem; flex: 1; }
.pillar-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 8px;
}

/* ─── Feature block ──────────────────────────── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-content {}
.feature-content h2 { margin-bottom: 20px; }
.feature-content p { margin-bottom: 28px; }
.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.meta-tag {
  background: var(--teal-light);
  color: var(--teal);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}
.meta-tag.yellow { background: var(--yellow); color: var(--dark); }

/* ─── Team ───────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.team-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 3px solid var(--teal);
  overflow: hidden;
  margin-bottom: 20px;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
}
.team-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 16px;
}
.team-bio { font-size: 0.95rem; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }
.team-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.team-logo-tag {
  background: var(--white);
  border: 1px solid rgba(51,107,135,0.15);
  color: var(--gray);
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
}

/* ─── Highlight Box ──────────────────────────── */
.highlight-box {
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.highlight-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: rgba(255,238,148,0.08);
  border-radius: 50%;
}
.highlight-box h2 { color: var(--yellow); margin-bottom: 16px; }
.highlight-box p { color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 520px; }

/* ─── Book showcase ──────────────────────────── */
.book-showcase {
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.book-cover {
  width: 180px;
  background: var(--teal-dark);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 8px 8px 32px rgba(0,0,0,0.3);
}
.book-cover .book-title-text {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.2;
  margin-bottom: 16px;
}
.book-cover .book-subtitle-text {
  font-size: 0.65rem;
  color: rgba(255,238,148,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-title);
}
.book-content h2 { color: var(--yellow); margin-bottom: 16px; }
.book-content p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }

/* ─── Report cards ───────────────────────────── */
.report-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(51,107,135,0.12);
  padding: 32px;
  border-top: 4px solid var(--teal);
  transition: all 0.25s;
}
.report-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.report-card h4 { color: var(--dark); margin-bottom: 12px; font-size: 1rem; line-height: 1.4; }
.report-card .report-question { color: var(--gray); font-style: italic; font-size: 0.88rem; margin-bottom: 16px; line-height: 1.6; }
.report-card .report-with { color: var(--teal); font-size: 0.82rem; font-weight: 500; }

/* ─── Event card ─────────────────────────────── */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(51,107,135,0.12);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.event-header {
  background: var(--teal);
  padding: 28px 36px;
}
.event-header h3 { color: var(--yellow); font-size: 1.3rem; }
.event-header p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 4px; }
.event-body { padding: 32px 36px; }
.event-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.event-detail-icon { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.event-detail-text strong { display: block; color: var(--dark); font-weight: 600; }
.event-detail-text span { color: var(--gray); }

/* ─── Cities roadmap ─────────────────────────── */
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.city-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 2px solid;
  transition: all 0.25s;
}
.city-card.active {
  background: var(--teal);
  border-color: var(--teal);
}
.city-card.active .city-name { color: var(--yellow); }
.city-card.active .city-status { color: rgba(255,255,255,0.75); }
.city-card.upcoming {
  background: var(--light-gray);
  border-color: rgba(51,107,135,0.15);
}
.city-card.upcoming .city-name { color: var(--dark); }
.city-card.upcoming .city-status { color: var(--gray); }
.city-emoji { font-size: 2rem; margin-bottom: 12px; }
.city-name { font-family: var(--font-title); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.city-status { font-size: 0.82rem; }

/* ─── Section with teal bg ───────────────────── */
.section-teal { background: var(--teal); }
.section-teal h2 { color: var(--yellow); }
.section-teal p { color: rgba(255,255,255,0.8); }
.section-yellow { background: var(--yellow); }
.section-yellow h2 { color: var(--teal-dark); }
.section-yellow p { color: var(--teal-dark); }
.section-light { background: var(--light-gray); }

/* ─── Footer ─────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; margin-top: 16px; max-width: 280px; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h5 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--yellow); }

/* ─── Animations ─────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ─── Divider ────────────────────────────────── */
.divider {
  width: 48px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 24px 0;
}
.divider.center { margin: 24px auto; }

/* ─── Podcast embed placeholder ──────────────── */
.embed-placeholder {
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  border: 2px dashed rgba(51,107,135,0.2);
}
.embed-placeholder h4 { color: var(--teal); margin-bottom: 8px; }
.embed-placeholder p { font-size: 0.9rem; }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature-block { gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .team-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .book-showcase { grid-template-columns: 1fr; }
  .book-cover { width: 140px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-box { padding: 36px 28px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .cities-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns .btn { width: 100%; }
  .grid-4 { grid-template-columns: 1fr; }
  .pillar-card { padding: 28px; }
}
