/* ===== CSS Variables ===== */
:root {
  --primary-green: #1e8449;
  --dark-green: #14532d;
  --light-green: #ebf7ee;
  --accent-gold: #f59e0b;
  --white: #ffffff;
  --light-gray: #f8fafc;
  --medium-gray: #e2e8f0;
  --dark-gray: #1e293b;
  --text-dark: #0f172a;
  --section-padding: 6rem 0;
  --container-width: 1200px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --transition-fast: all 0.2s ease;
  --transition-medium: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-gray);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-green);
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.section-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition-medium);
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-donate {
  background: var(--primary-green);
  color: var(--white);
}

.btn-donate:hover {
  background: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-volunteer {
  background: var(--white);
  color: var(--primary-green);
  border-color: var(--white);
}

.btn-volunteer:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-sponsor {
  background: var(--accent-gold);
  color: var(--white);
}

.btn-sponsor:hover {
  background: var(--white);
  color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-learn-more {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-learn-more:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-3px);
}

.subscribe {
  background: #1e8449;
  color: #ffffff;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.8rem;
}

.subscribe:hover {
  background: #14532d;
}

.btn-view-all {
  background: var(--dark-green);
  color: var(--white);
  margin-top: 2rem;
}

.btn-view-all:hover {
  background: var(--primary-green);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-text {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

.pulse {
  animation: pulse 2s infinite;
}

/* ===== Cookie Consent ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-gray);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Floating Contact */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center; /* Center icon in resting state */
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-box i {
  font-size: 1.2rem;
  position: relative;
  z-index: 1; /* Ensure icon stays above text */
}

.contact-box span {
  position: absolute;
  left: 40px; /* Position text to right of icon on hover */
  white-space: nowrap;
  opacity: 0; /* Hidden in resting state */
  transition: var(--transition-medium);
  font-size: 0.9rem; /* Smaller font for longer text */
  color: var(--white);
}

.contact-box:hover {
  width: 220px; /* Expand to show full text */
  border-radius: 50px;
  justify-content: flex-start; /* Left-align content on hover */
}

.contact-box:hover i {
  margin-left: 15px; /* Shift icon left on hover */
}

.contact-box:hover span {
  opacity: 1; /* Show text on hover */
}

.phone-box {
  background: var(--primary-green);
}

.email-box {
  background: var(--accent-gold);
}

/* ===== Header ===== */
.header {
  background: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition-medium);
}

.header.shrink {
  padding: 0.2rem 0;
  box-shadow: var(--shadow-md);
}

.header.shrink .logo img {
  height: 50px;
}

.header.shrink .navbar a {
  padding: 0.3rem 0 !important;
}

.header .container {
  display: flex;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1rem 0;
  transition: var(--transition-medium);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 70px;
  transition: var(--transition-medium);
}

.logo span {
  font-weight: 700;
  color: var(--dark-green);
  font-size: 1.1rem;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar a {
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: var(--transition-medium);
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.navbar a.active {
  color: var(--primary-green);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-green);
}

.btn-donate-nav {
  background: var(--accent-gold);
  color: var(--white);
   padding: 0.5rem 0.6rem !important;
  margin-left: 1rem;
  border-radius: 0.3rem;
}

.btn-donate-nav:hover {
  background: var(--white);
  color: var(--accent-gold);
}

/* Hero Section with Parallax */
.parallax-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/001.jpg');
  background-size: cover;
  background-position:top;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 16rem 0 8rem;
  position: relative;
}

.parallax-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Opacity overlay to match original gradient */
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #e2e8f0;
  font-weight: 800;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"></path></svg>');
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-wave.hide {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* ===== Mission Section ===== */
.mission {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.mission .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.mission-content {
  flex: 1;
}

.mission-image {
  flex: 1;
}

.image-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%;
  height: auto;
  transition: var(--transition-medium);
}

.image-frame:hover img {
  transform: scale(1.03);
}

.image-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-gold);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* ===== Featured Programs ===== */
.featured-programs {
  padding: var(--section-padding);
  background: var(--white);
}

.programs-tabs {
  margin-top: 3rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  background: var(--light-green);
}

.tab-btn {
  flex: 1;
  min-width: 200px;
  padding: 1.2rem;
  background: transparent;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--dark-green);
  cursor: pointer;
  transition: var(--transition-medium);
  text-align: center;
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-green);
  transition: var(--transition-medium);
}

.tab-btn:hover::after,
.tab-btn.active::after {
  width: 100%;
}

.tab-btn.active {
  background: var(--white);
  color: var(--primary-green);
}

.tab-content {
  display: none;
  padding: 2rem;
  background: var(--white);
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-content-inner {
  display: flex;
  gap: 3rem;
}

.tab-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.tab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.tab-image:hover img {
  transform: scale(1.05);
}

.tab-text {
  flex: 1;
}

.tab-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
}

.tab-text ul {
  margin: 1.5rem 0;
}

.tab-text li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tab-text i {
  color: var(--primary-green);
  margin-top: 3px;
}

/* ===== All Programs Grid ===== */
.all-programs {
  padding: var(--section-padding);
  background: var(--light-green);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-medium);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.program-card:hover::before {
  opacity: 1;
}

.program-card:hover .program-icon {
  background: var(--white);
  color: var(--primary-green);
}

.program-card:hover h3 {
  color: var(--white);
}

.program-card:hover .program-link {
  color: var(--white);
}

.program-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-medium);
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
  transition: var(--transition-medium);
}

.program-card p {
  margin-bottom: 1.5rem;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-green);
  font-weight: 600;
  transition: var(--transition-medium);
}

/* ===== Impact Section ===== */
.impact-section {
  padding: var(--section-padding);
  background: var(--white);
}

.impact-section .container {
  display: flex;
  gap: 3rem;
}

.impact-content {
  flex: 1;
}

.impact-image {
  flex: 1;
  position: relative;
}

.impact-image img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-quote {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: var(--primary-green);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.impact-quote blockquote {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.impact-quote cite {
  font-weight: 600;
  font-style: normal;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-green);
  border-radius: 10px;
  transition: var(--transition-medium);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: var(--section-padding);
  background: var(--light-green);
}

.testimonials-slider {
  margin-top: 3rem;
  padding-bottom: 3rem;
}

.testimonial-slide {
  height: auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-image {
  height: 250px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.testimonial-card:hover .testimonial-image img {
  transform: scale(1.1);
}

.testimonial-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-content h3 {
  font-size: 1.3rem;
  color: var(--primary-green);
  margin-bottom: 0.3rem;
}

.testimonial-role {
  display: block;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.testimonial-content p {
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-rating {
  color: var(--accent-gold);
}

.swiper-pagination-bullet {
  background: var(--medium-gray);
  opacity: 1;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  background: var(--primary-green);
}

/* ===== Program Gallery ===== */
.program-gallery {
  padding: var(--section-padding);
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 132, 73, 0.8);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.gallery-overlay p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.gallery-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--accent-gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== Program FAQ ===== */
.program-faq {
  padding: var(--section-padding);
  background: var(--light-green);
}

.faq-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--dark-green);
}

.faq-question i {
  color: var(--primary-green);
  transition: var(--transition-fast);
}

.faq-item.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--dark-gray);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(rgba(30, 132, 73, 0.9), rgba(30, 132, 73, 0.9)), url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200 0L0 0 892.25 114.72 1200 0z" fill="%23ffffff"></path></svg>');
  background-size: cover;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark-green);
  color: var(--white);
  padding: 5rem 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200 0L0 0 892.25 114.72 1200 0z" fill="%23ebf7ee"></path></svg>');
  background-size: cover;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 70px;
  margin-bottom: 1.5rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.footer-social a:hover {
  background: var(--primary-green);
  transform: translateY(-3px);
}

.footer h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-gold);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  opacity: 0.8;
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-gold);
  transform: translateX(5px);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  opacity: 0.8;
}

.footer-contact i {
  margin-top: 3px;
  color: var(--accent-gold);
}

.footer-newsletter input {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a {
  opacity: 0.7;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--accent-gold);
}

/* ===== Modal Styles ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 10px;
  max-width: 900px;
  width: 90%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  display: flex;
}

.modal-program-image {
  flex: 1;
}

.modal-program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-program-content {
  flex: 1;
  padding: 2rem;
}

.modal-program-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
}

.program-details {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light-green);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
}

.detail-item i {
  color: var(--primary-green);
}

.program-description {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-gray);
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
  z-index: 99;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dark-green);
  transform: translateY(-5px);
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
  .impact-section .container {
    flex-direction: column;
  }
  
  .impact-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .modal-content {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .modal-program-image {
    height: 250px;
  }
}

@media (max-width: 992px) {
  .mission .container,
  .tab-content-inner {
    flex-direction: column;
  }
  
  .mission-image,
  .tab-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }
  
  .header .container {
    padding: 0.5rem 0;
  }
  
  .navbar {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: var(--white);
    padding: 2rem;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  
  .navbar.active {
    left: 0;
  }
  
  .navbar ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .navbar a {
    padding: 0.2rem 0;
    display: block;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  
.footer-copyright{
  margin-bottom: -26px;
  margin-top: -10px;
  text-align: center;
}

  
  .btn {
    width: 100%;
    max-width: 250px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  

  
.impact-quote {
  
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: var(--primary-green);
  color: var(--white);
  padding: 0.6rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 9px;
}

.impact-quote blockquote {
  font-style: italic;
  margin-bottom: 0.2rem;
}

.impact-quote cite {
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
}



  
  .footer-content{
    margin-left: 15px;
    margin-right: 15px;
    
  }
    .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: -12px;
  }
  .footer-content {
 
  gap: 1rem;
  margin-bottom: 3rem;
}
  .cta-content h2{
    font-size: 36px;
  }
   .cta-content p{
    font-size: 18px;
   }
   .cta-buttons a{
    font-size: 13px;
    padding: 10px !important;
   }

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200 0L0 0 892.25 114.72 1200 0z" fill="%23ebf7ee"></path></svg>');
  background-size: cover;
}
.footer {
 
  padding: 2.3rem 0 0;
  
}
.cta-section {
  padding: 2.3rem 0;

}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200 0L0 0 892.25 114.72 1200 0z" fill="%23ffffff"></path></svg>');
  background-size: cover;
}


/* Hero Section with Parallax */
.parallax-hero {
 background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/001.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 12rem 0 8rem;
  position: relative;
 
}
.hero h1 {
    font-size: 2rem;
    margin-top: -7%;
  }

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: -37px;
 margin-bottom:-22%;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height:0px;
 background-size: cover;
  background-repeat: no-repeat;
  display: none;
}

.hero-wave.hide {
 display: none;
}
.footer-newsletter{
  margin-bottom: -7%;
}
.btn-donate{
  margin-top: 10px;
   padding: 8px;
 font-size: 12px !important;
}
.btn-volunteer {
 padding: 10px;
 font-size: 12px !important;
}


}

@media (max-width: 576px) {
  .tab-buttons {
    flex-direction: column;
  }
  
  .tab-btn {
    width: 100%;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .modal-close {
    top: 10px;
    right: 10px;
  }
}