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

body {
  font-family: 'DM Sans', Arial, sans-serif;
  background: #f7f7f7;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0e3e37;
  color: white;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo a {
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #38bdf8;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

.btn-donate {
  background: #38bdf8;
  padding: 8px 16px;
  border-radius: 20px;
  color: white !important;
}

/* Hero Slider */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
}


.slide.active {
  z-index: 2;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  bottom: 0%;
  left: 0%;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 28px;
  max-width: 600px;
}

/* Grid Sections */
.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 60px 0;
}

.card {
  background: white;
  padding: 0px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  border-radius: 12px;
}

.page {
  padding: 60px 0;
}

/* Footer */
.footer {
  background: #0f3d22;
  color: white;
  padding: 40px 0;
}

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

.footer a {
  color: #38bdf8;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
}

/* Forms */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact-form button {
  background: #38bdf8;
  border: none;
  color: white;
  padding: 12px;
  cursor: pointer;
  border-radius: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #0f172a;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
  /* Footer Quick Links Two-Column Layout */
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px 20px;
}

.footer-links li {
  list-style: none;
}

@media (max-width: 500px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Footer alignment to match header width */
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-grid {
  gap: 40px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 5%;
}

/* Footer heading spacing */
.footer h3 {
margin-bottom: 12px;
}


.footer h3 + p,
.footer h3 + ul {
margin-top: 6px;
}
/* Slider Controls */
.slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0,0,0,0.5);
color: #fff;
border: none;
padding: 10px 14px;
cursor: pointer;
font-size: 20px;
border-radius: 50%;
z-index: 3;
}


.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }


.slider-btn:hover {
background: rgba(0,0,0,0.8);
}


/* Dots */
.slider-dots {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 8px;
z-index: 3;
}


.slider-dots .dot {
width: 10px;
height: 10px;
background: rgba(255,255,255,0.5);
border-radius: 50%;
cursor: pointer;
}


.slider-dots .dot.active {
background: #38bdf8;
}
/* Ensure overlay always stays above slides */
.hero-overlay {
  position: absolute;
  z-index: 5;
}

/* Ensure slides stay behind text */

.slide.active {
  z-index: 2;
}
/* Slider stacking + visibility fix */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero {
    max-height: 85vh;
  }
}

.slide {
    background-size: contain;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 90vh;
    height: 90vh;
  }
}

.hero-overlay {
  position: absolute;
  z-index: 5;
}

/* Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 6;
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: #38bdf8;
}

/* Custom Hero Content Styling */
.custom-overlay {
  z-index: 6;
  text-align: center;
  max-width: 1060px;
  margin: auto;
  padding: 10px 20px;
  position: relative;
  top: 46%;
  transform: translateY(-50%);
}

.badge {
  display: inline-block;
  padding: 0px 0px;
  border-radius: 999px;
  background: rgb(231 197 29);
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  margin-bottom: 0px;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 6vw, 5rem);
  font-weight: bold;
  margin-bottom: 45px;
  line-height: 0.2;
  color: white;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-accent {
  color: #F8E538;
  font-style: italic;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.9);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.btn-primary {
  background: #38bdf8;
  color: white;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #0ea5e9;
  transform: scale(1.05);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 1.1rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}
/* Hero title spacing fix */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-line {
  display: block;
  margin-bottom: 0.05em;
}
/* Logo in Header */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo {
  height: 40px;
  width: auto;
}

.site-title {
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: bold;
}

/* Centered Crisis Section */
.crisis-section {
  background: #f8fafc;
  padding: 120px 0;
}

.crisis-center {
  max-width: 850px;
  margin: 3% auto;
  text-align: center;
}

.crisis-label {
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 20px;
}

.crisis-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(3.3rem, 0vw, 3rem);
  line-height: 1.5;
  margin-bottom: 0px;
  color: #0f172a;
}

.crisis-description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #043004;
  max-width: 850px;
  margin: 10px auto;
}


.crisis-section {
  background: #f8fafc;
  padding: 5px 0;
}


.crisis-label {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #ab38f8;
  padding: 15px 25px;
  border-radius: 999px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: auto;
}


/* Mobile */
@media (max-width: 600px) {
  .issue-card img {
    height: 160px;
  }
}

/* Crisis emphasis colors */
.crisis-act {
  color: #16a34a; /* green */
}

.crisis-now {
  color: #dc2626; /* red */
}

/* Issues Section */
.issues-section {
  padding: 20px 0;
  background: #16a34a47;
}

.issues-center {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
  max-width: 1100px;
  margin: auto;
}

.issue-card {
  background: rgb(250 26 183 / 60%);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  overflow: visible; /* Allow image to float outside */
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
  color: white;
  text-align: center;
  padding-top: 80px; /* Space for floating image */
}

.issue-card:hover {
  transform: translateY(-8px);
}

/* Centered floating images */
.issue-image {
  display: flex;
  justify-content: center;
  margin-top: -60px;
  margin-bottom: 20px;
}

.issue-image img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.6);
  background: #000;
}

 
.issue-card h3 {
 font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  margin: 20px 0 10px;
}

.issue-card p {
 padding: 0 24px 28px;
  line-height: 1.7;
  color: rgb(255 255 255);
}

/* We Envision Section */
.vision-section {
  padding: 120px 0;
  background: #ef671ead;
  text-align: center;
}

.vision-center {
  max-width: 900px;
  margin: auto;
}

.vision-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.3;
  color: #0f172a;
  margin-bottom: 40px;
}

.vision-cta {
  display: flex;
  justify-content: center;
}

.btn-vision {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #0f172a;
  border: 2px solid rgba(15, 23, 42, 0.2);
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.btn-vision:hover {
  background: #38bdf8;
  color: white;
  border-color: #38bdf8;
  transform: translateY(-2px) scale(1.05);
}

/* Real Impact Section */
.impact-section {
  background: #0e3e37;
  color: white;
  padding: 120px 0;
}

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

/* Left Side */
.impact-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.impact-accent {
  color: #38bdf8;
  font-style: italic;
}

.impact-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

/* Stats Grid */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #38bdf8;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Right Side */
.impact-quote-wrap {
  position: relative;
}

.impact-quote {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 50px;
  text-align: center;
}

.quote-box h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.quote-author {
  font-style: italic;
  opacity: 0.8;
}

/* Floating Fact Card */
.impact-fact {
  position: absolute;
  bottom: auto;
  left: -35px;
  background: #ffffff;              
  /* Pure white background */
  color: #0f172a;
  padding: 20px;
  border-radius: 16px;
  max-width: 235px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(0,0,0,0.08); /* Soft separation border */
}

.fact-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.fact-text {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.8;
}

/* Mobile */
@media (max-width: 900px) {
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .impact-fact {
    position: static;
    margin-top: 30px;
  }

  .impact-quote {
    padding: 40px 30px;
  }
}

/* Call to Action Section */
.cta-section {
  padding: 140px 0;
  background: #ede9c2;
  text-align: center;
  position: relative;
}

.cta-center {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: bold;
  margin-bottom: 24px;
  color: #0f172a;
}

.cta-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 50px;
}

/* Buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.btn-cta-primary {
  background: #38bdf8;
  color: white;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: #0ea5e9;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
}

.btn-cta-secondary {
  background: transparent;
  color: #0f172a;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  border: 2px solid rgba(15, 23, 42, 0.2);
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-4px) scale(1.05);
}

/* Desktop: cinematic full screen */
.slide {
  background-size: cover;
  background-position: center center;
}

/* Mobile: show full image */
@media (max-width: 768px) {
  .slide {
    background-size: contain;
    background-position: center top;
    background-color: #000; /* Fills empty space nicely */
  }
}

@media (max-width: 480px) {
  .hero {
    height: 80vh;
    min-height: 80vh;
  }
}

/* === Stable Responsive Slider System === */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* All slides same height */
  max-height: 90vh;     /* Never exceed screen height */
  overflow: hidden;
}

/* Slides always fill hero */
.slide {
  position: absolute;
  inset: 0;
  background-size: contain;  /* Show full image on desktop */
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #c9eac7de;    /* Fills empty space cleanly */
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Mobile tweak: show more image instead of cropping */
@media (max-width: 768px) {
  .slide {
    background-size: contain;
    background-color: #be11efc7;
  }
}
.developer-credit {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #ccc;
}

.developer-credit a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.developer-credit a:hover {
  color: #ffffff;
  text-decoration: underline;
}
