/* ============================================
   Debs Global Empowerment Initiative (DGEI)
   Modern NGO Website Stylesheet
   ============================================ */

:root {
  --primary: #0d6e6e;          /* Deep teal */
  --primary-dark: #0a5252;
  --primary-light: #e6f4f4;
  --accent: #e85d4c;           /* Warm coral */
  --accent-hover: #d14a3a;
  --dark: #1a2b2b;
  --text: #2c3e3e;
  --text-light: #5a6b6b;
  --white: #ffffff;
  --off-white: #f8fafa;
  --border: #e0eaea;
  --shadow: 0 4px 20px rgba(13, 110, 110, 0.08);
  --shadow-hover: 0 8px 30px rgba(13, 110, 110, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 76, 0.35);
}

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

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

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

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

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

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

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

.nav a:hover {
  color: var(--primary);
}

.nav .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* ========== HERO ========== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f0f9f9 0%, #fff5f3 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content .lead {
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  object-fit: cover;
  width: 100%;
  height: 420px;
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: 30px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
}

.hero-badge span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== IMPACT STRIP ========== */
.impact-strip {
  background: var(--primary);
  color: white;
  padding: 40px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.impact-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.impact-item span {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ========== SECTIONS ========== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-header .lead {
  margin: 0 auto;
}

/* ========== OUR STORY ========== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-content p {
  margin-bottom: 18px;
  color: var(--text-light);
}

.story-content p:last-of-type {
  margin-bottom: 0;
}

.story-highlight {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--dark);
}

.story-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  height: 480px;
  object-fit: cover;
  width: 100%;
}

/* ========== PROGRAMS / WHAT WE DO ========== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

.program-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.program-card h3 {
  color: var(--primary);
}

.program-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== HOW YOU CAN HELP ========== */
.help-section {
  background: var(--off-white);
}

.help-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.help-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.help-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.help-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
}

.help-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.help-card p {
  font-size: 0.92rem;
  color: var(--text-light);
}

.help-cta {
  text-align: center;
  background: var(--primary);
  color: white;
  padding: 48px;
  border-radius: var(--radius-lg);
}

.help-cta h3 {
  color: white;
  margin-bottom: 12px;
}

.help-cta p {
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.help-image-wrapper {
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.help-image-wrapper img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 70px 0;
  text-align: center;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: #a0b0b0;
  padding: 60px 0 30px;
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 18px;
}

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

.footer ul a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #2a3c3c;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero-grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image img,
  .story-image img {
    height: 340px;
  }

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

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

  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

  .nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

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

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

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

  .hero-buttons {
    flex-direction: column;
  }

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