/* ===== PURE IMPACT — Global Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --card: #161616;
  --border: rgba(255,255,255,0.07);
  --white: #f5f0e8;
  --cream: #e8e0d0;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --green: #4a7c59;
  --green-light: #5f9e71;
  --red: #8b2635;
  --muted: rgba(245,240,232,0.45);
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--white);
}

.nav-logo span { color: var(--gold); }

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-links .btn-nav {
  color: var(--black);
  background: var(--gold);
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 600;
}

.nav-links .btn-nav:hover { background: var(--gold-light); color: var(--black); }

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.7) 60%, rgba(10,10,10,0.95) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-title strong {
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  padding: 14px 36px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

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

.btn-outline {
  border: 1px solid rgba(245,240,232,0.3);
  color: var(--white);
  padding: 14px 36px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s, transform 0.2s;
  display: inline-block;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  max-width: 100%;
  padding: 100px 0;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-title strong { font-weight: 700; }

.section-body {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ===== PILLARS ===== */
#pillars {
  background: var(--dark);
  max-width: 100%;
  padding: 100px 48px;
}

.pillars-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  margin-top: 64px;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 4px;
}

.pillar-card {
  background: var(--card);
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}

.pillar-card:last-child { border-right: none; }
.pillar-card:hover { background: #1e1e1e; }

.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.pillar-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ===== COUNTRIES ===== */
#countries {
  padding: 100px 48px;
}

.countries-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 64px;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.country-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.country-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.4);
}

.country-flag {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.country-flag::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(22,22,22,0.8));
}

.country-body { padding: 24px; }

.country-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.country-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.country-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 16px;
  font-weight: 500;
}

.tag-active { background: rgba(74,124,89,0.2); color: #5f9e71; border: 1px solid rgba(74,124,89,0.3); }
.tag-expanding { background: rgba(201,168,76,0.15); color: var(--gold-light); border: 1px solid rgba(201,168,76,0.25); }

/* ===== MISSION STRIP ===== */
.mission-strip {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 64px 48px;
}

.mission-strip h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.mission-strip p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.75;
  line-height: 1.75;
}

.btn-dark {
  background: var(--black);
  color: var(--gold);
  padding: 14px 36px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-dark:hover { opacity: 0.8; }

/* ===== STATS ===== */
.stats-bar {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 48px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

/* ===== PROCESS ===== */
#process {
  padding: 100px 48px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 64px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.3s;
}

.process-step:first-child { padding-top: 0; }
.process-step:last-child { border-bottom: none; }
.process-step:hover { padding-left: 8px; }

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(201,168,76,0.3);
  line-height: 1;
  min-width: 52px;
  padding-top: 4px;
}

.step-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.process-visual {
  position: sticky;
  top: 100px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
  text-align: center;
}

.process-visual h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gold);
}

.process-visual p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 64px 48px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.social-links a:hover { color: var(--gold); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 160px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
}

.page-hero h1 strong { font-weight: 700; color: var(--gold); }

.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ===== BIGGER PICTURE PAGE ===== */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
  background: var(--border);
}

.vision-item {
  background: var(--card);
  padding: 48px;
}

.vision-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}

.vision-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

.process-full {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}

.process-list {
  margin-top: 64px;
  counter-reset: process;
}

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: process;
}

.process-item:last-child { border-bottom: none; }

.process-item-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
}

.process-item-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-item-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== PROJECTS PAGE ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.35);
}

.project-card-img {
  height: 220px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.project-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(22,22,22,0.5));
}

.project-card-body { padding: 28px; }

.project-card-body .country-tag { margin-top: 0; margin-bottom: 12px; }

.project-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-card-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== CONTACT / AID FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}

.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 40px;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-info p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

.contact-info a {
  color: var(--gold);
  text-decoration: none;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
}

.form-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-card > p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201,168,76,0.5);
}

.form-group select option { background: var(--dark); }

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

.form-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.form-success .check {
  width: 60px; height: 60px;
  background: rgba(74,124,89,0.2);
  border: 1px solid rgba(74,124,89,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.form-success h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--dark);
    padding: 32px 24px;
    border-top: 1px solid var(--border);
    gap: 24px;
  }
  .nav-hamburger { display: flex; }

  section { padding: 64px 24px; }
  #pillars { padding: 64px 24px; }
  #countries { padding: 64px 24px; }
  #process { padding: 64px 24px; }
  .mission-strip { padding: 48px 24px; }
  .stats-bar { padding: 48px 24px; }
  footer { padding: 48px 24px 24px; }

  .process-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 24px 60px; }
  .process-full { padding: 64px 24px; }
  .form-card { padding: 32px 24px; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}

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

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== PULSE DOT ===== */
.pulse-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #5f9e71;
  letter-spacing: 0.08em;
}

.pulse-dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5f9e71;
  box-shadow: 0 0 0 0 rgba(95,158,113,0.5);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(95,158,113,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(95,158,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,158,113,0); }
}
