/* =========================================
   AGORA — Main Stylesheet
   Color: #780000 | Font: Lexend | White BG
   ========================================= */

@font-face {
  font-family: 'Lexend';
  src: url('../Lexend-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --crimson: #780000;
  --crimson-dark: #560000;
  --crimson-light: #a00000;
  --crimson-faint: #f9f0f0;
  --white: #ffffff;
  --off-white: #fafafa;
  --text-dark: #1a1a1a;
  --text-mid: #444444;
  --text-light: #777777;
  --border: #e8e0e0;
  --section-gap: 96px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lexend', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Force Lexend on every element — no system font fallbacks leaking through */
*, *::before, *::after {
  font-family: inherit;
}

input, textarea, select, button {
  font-family: 'Lexend', sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--crimson);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--crimson-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(120,0,0,0.25);
}

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

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo svg { height: 36px; width: auto; }

/* Real logo image — nav */
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* Real logo image — footer (white tint) */
.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--crimson);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta { margin-left: 8px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
}

.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--crimson); }

.nav-mobile .btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

/* ---- Hero ---- */
.hero {
  padding-top: 160px;
  padding-bottom: var(--section-gap);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Parallax background layer */
.hero-bg {
  position: absolute;
  inset: -30% 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

/* White overlay for readability */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.80);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--crimson-faint);
  border: 1px solid #e8c5c5;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--crimson);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-eyebrow span.dot {
  width: 6px; height: 6px;
  background: var(--crimson);
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  max-width: 820px;
  margin: 0 auto 24px;
  text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

.hero h1 em {
  font-style: normal;
  color: var(--crimson);
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 300;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* hero-actions removed — buttons not used on hero */

/* ---- Divider ---- */
.divider {
  width: 48px;
  height: 3px;
  background: var(--crimson);
  border-radius: 2px;
  margin: 20px 0 32px;
}

/* ---- Mission Section ---- */
.mission {
  padding: var(--section-gap) 0;
  background: var(--off-white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.mission-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.mission-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-icon-wrap {
  width: 280px;
  height: 280px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 48px rgba(120,0,0,0.1);
  position: relative;
}

.mission-icon-wrap svg {
  width: 140px;
  height: 140px;
}

/* ---- Stats ---- */
.stats {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--crimson);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* ---- What We Do ---- */
.what-we-do {
  padding: var(--section-gap) 0;
}

.what-we-do-intro {
  max-width: 860px;
  margin: 0 auto 56px;
}

.what-we-do-intro p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.what-we-do-intro p:last-child {
  margin-bottom: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--crimson);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.pillar-card:hover {
  border-color: #e8c5c5;
  box-shadow: 0 8px 32px rgba(120,0,0,0.08);
  transform: translateY(-4px);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--crimson-faint);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--crimson);
}

.pillar-icon svg { width: 24px; height: 24px; }

.pillar-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.pillar-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ---- Collaborate Section ---- */
#collaborate {
  padding: var(--section-gap) 0;
  background: var(--off-white);
}

.collaborate-intro {
  max-width: 700px;
  margin: 0 auto 72px;
  text-align: center;
}

.collaborate-intro h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.collaborate-intro p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.way-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 36px;
  transition: all 0.25s ease;
}

.way-card:hover {
  border-color: #e8c5c5;
  box-shadow: 0 8px 32px rgba(120,0,0,0.08);
  transform: translateY(-3px);
}

.way-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 16px;
  display: block;
}

.way-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-dark);
  line-height: 1.2;
}

.way-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

.way-card .way-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--crimson);
  transition: gap 0.2s;
}

.way-card:hover .way-link { gap: 10px; }

/* ---- Contact CTA ---- */
.contact-cta {
  background: var(--crimson);
  border-radius: 12px;
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
}

.contact-cta h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-cta p {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn-white {
  background: var(--white);
  color: var(--crimson);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--crimson-faint);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ---- Values ---- */
.values {
  padding: var(--section-gap) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.value-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.value-item h4::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--crimson);
  border-radius: 50%;
  flex-shrink: 0;
}

.value-item p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  padding-left: 18px;
}

/* ---- Footer ---- */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.65;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 300;
  font-family: 'Lexend', sans-serif;
  opacity: 0.75;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: normal;
}

.footer-linkedin:hover { opacity: 1; }

.footer-col ul a:hover { opacity: 1; }

/* ========== ELIGIBILITY ========== */
.eligibility {
  padding: var(--section-gap) 0;
  background: var(--crimson-faint);
}

.eligibility-intro {
  max-width: 860px;
  margin: 0 auto 56px;
}

.eligibility-intro p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.eligibility-aims {
  margin-top: 32px;
  background: #fff;
  border-radius: 12px;
  padding: 32px 36px;
  border: 1px solid rgba(0,0,0,0.07);
}

.eligibility-aims h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.eligibility-aims ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eligibility-aims ul li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}

.eligibility-aims ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--crimson);
  font-weight: 400;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.eligibility-block {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.25s ease;
}

.eligibility-block:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.eligibility-block h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.eligibility-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eligibility-block ul li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}

.eligibility-block ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--crimson);
  font-weight: 400;
}

@media (max-width: 1024px) {
  .eligibility-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  font-weight: 300;
  opacity: 0.5;
}

.footer-bottom a {
  opacity: 0.5;
  font-size: 13px;
  transition: opacity 0.2s;
}
.footer-bottom a:hover { opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root { --section-gap: 72px; }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mission-visual { order: -1; }

  .mission-icon-wrap {
    width: 200px;
    height: 200px;
  }

  .mission-icon-wrap svg { width: 100px; height: 100px; }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --section-gap: 56px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: flex; }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid .stat-item {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
  }
  .stats-grid .stat-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

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

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

  .values-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-cta {
    padding: 48px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }


}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---- Privacy page ---- */
.privacy-hero {
  padding-top: 140px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.privacy-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.privacy-hero .meta {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 400;
}

.privacy-content {
  max-width: 720px;
  padding-bottom: 96px;
}

.privacy-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 48px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.privacy-content h2:first-child {
  border-top: none;
  margin-top: 0;
}

.privacy-content p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content ul li {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 8px;
}

.privacy-content a {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--crimson);
  margin-bottom: 48px;
  transition: gap 0.2s;
}

.back-link:hover { gap: 12px; }
