@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-social: #7c3aed;
  --color-social-light: #a78bfa;
  --color-social-dark: #5b21b6;
  --color-social-bg: rgba(124, 58, 237, 0.06);
  --color-accent: #06b6d4;
  --color-warm: #f59e0b;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.45);
  --text-primary: #1e1b4b;
  --text-secondary: #4a4a6a;
  --text-muted: #6b7280;
  --text-on-dark: #f5f3ff;
  --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #4f46e5 40%, #0ea5e9 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --shadow-soft: 0 4px 24px rgba(124, 58, 237, 0.10);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(124, 58, 237, 0.18);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: #f5f3ff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 2rem 1.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 40%);
  animation: heroShimmer 12s ease-in-out infinite alternate;
}

@keyframes heroShimmer {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-3%, 2%) rotate(2deg); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, #f5f3ff 0%, transparent 100%);
  z-index: 1;
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  background: white;
}

.hero-shapes .shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -5%;
  right: -5%;
  animation: float1 8s ease-in-out infinite;
}

.hero-shapes .shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: -3%;
  animation: float2 10s ease-in-out infinite;
}

.hero-shapes .shape:nth-child(3) {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 15%;
  animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-25px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--color-social);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  background: #faf5ff;
}

.hero-cta .arrow {
  transition: transform 0.3s ease;
}

.hero-cta:hover .arrow {
  transform: translateX(4px);
}

/* Back link */
.back-link {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

.back-link.scrolled {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border);
  color: var(--color-social);
  box-shadow: var(--shadow-soft);
}

/* ===========================
   SECTION COMMON
   =========================== */
.section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-social);
  background: var(--color-social-bg);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* Reveal animation for sections */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===========================
   ABOUT / BRIEFING SECTION
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

.about-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background: var(--gradient-hero);
  color: white;
}

.about-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===========================
   IMPACT COUNTER SECTION
   =========================== */
.impact-section {
  background: var(--gradient-hero);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
}

.impact-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.impact-section .section-label {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.impact-section .section-title {
  color: white;
}

.impact-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 3rem;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.counter-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.counter-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.counter-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.counter-number .plus {
  color: #fde68a;
}

.counter-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===========================
   LOGOS SECTION (NGOs & Companies)
   =========================== */
.logos-section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logos-section + .logos-section {
  padding-top: 0;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 2rem;
}

.logo-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 90px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-card);
}

.logo-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.logo-card img {
  max-height: 50px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-card .logo-placeholder {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* ===========================
   FOOTER
   =========================== */
.page-footer {
  background: var(--text-primary);
  padding: 3rem 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  height: 28px;
  width: 28px;
  border-radius: 6px;
}

.footer-brand span {
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.footer-text {
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-text a {
  color: var(--color-social-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-text a:hover {
  color: white;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .counter-card {
    padding: 2rem 1rem;
  }

  .logo-card {
    min-width: 130px;
    padding: 1.25rem 1.5rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .impact-section {
    padding: 3.5rem 1.25rem;
  }

  .logos-section {
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 1rem;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  .logos-grid {
    gap: 1rem;
  }

  .logo-card {
    min-width: 110px;
    min-height: 70px;
    padding: 1rem;
  }

  .logo-card img {
    max-height: 36px;
  }
}
