/* Particles container: ensure it covers the entire viewport */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1; /* behind the content */
  top: 0;
  left: 0;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #bbebd5; /* fallback background */
  color: #333;
}

/* Header base */
.header {
  background-color: #2c9e72;
  color: white;
  padding: 2rem 1rem;
}

/* Flex container for desktop */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Logo styling */
.header-logo {
  width: 100px;
  height: auto;
}

/* Text block */
.header-text {
  text-align: center;
}

.header-text h1 {
  margin: 0;
  font-size: 4.0rem;   /* increased from 2.5rem */
  font-weight: bold;
}

.header-text p {
  margin: 0.3rem 0;
  font-style: italic;
  font-size: 2.0rem;   /* increased from 1.2rem */
}

/* Mobile styling */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .header-logo {
    margin-bottom: 1rem;
  }

  .header-text {
    text-align: center;
  }

  .header-text h1 {
    font-size: 2.5rem;  /* increased from 2rem */
  }

  .header-text p {
    font-size: 1.2rem;  /* increased from 1rem */
  }
}

/* — Navigation — */
nav {
  background-color: #3CB371; /* a slightly lighter green for variety */
  padding: 1rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s;
}

nav ul li a:hover {
  background-color: #FFA500; /* accent color on hover */
}

/* — Quote Section — */
.quote-section {
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: 10px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quote-image img {
  width: 180px;
  height: auto;
  border-radius: 8px;
}

.quote-text h2 {
  margin-top: 0;
}

/* — Carousel Section — */
.carousel-section {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
  padding: 0 1rem;
}

.carousel-section h2 {
  margin-bottom: 1rem;
}

/* Set a fixed height for the carousel to make images uniform */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 500px;  /* Adjust this value as needed for your design */
}

.carousel-item {
  display: none;
  width: 100%;
  height: 100%;
  transition: opacity 0.8s ease-in-out;
}

.carousel-item.active {
  display: block;
}

/* Ensure images cover the container consistently */
.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation buttons styling */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(46, 139, 87, 0.7);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.2rem 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 50%;
}

.carousel button:hover {
  background-color: #FFA500;
}

.carousel .prev {
  left: 10px;
}

.carousel .next {
  right: 10px;
}
footer {
  text-align: center;
  padding: 5px; /* Reduced padding */
  background-color: #2E8B57;
  color: white;
  font-size: 12px; /* Smaller font size */
}
/* Background Particles */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

/* Universal Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #bbebd5, #2E8B57);
  color: #333;
}

/* — Header — */
header {
  background-color: #2E8B57;
  color: white;
  display: flex;               /* make it a flex container */
  flex-direction: column;      /* stack children vertically */
  align-items: center;         /* center them horizontally */
  justify-content: center;     /* center them vertically */
  padding: 2rem 1rem;
  position: relative;
  text-align: center;
}

header img {
  /* remove absolute positioning */
  position: static;
  width: 120px;       /* responsive size */
  height: auto;
  margin-bottom: 1rem;/* space between logo & title */
}

header h1 {
  margin: 0;
  font-size: 2rem;    /* adjust as you like */
}

header p {
  margin: 0.5rem 0 0;
  font-style: italic;
  font-size: 1.1rem;
}

/* Navigation */
nav {
  background-color: #3CB371;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #FFA500;
}

/* About Section */
.about-section {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Work section */
.work-section {
  text-align: center;
  padding: 2rem 1rem;
}

/* Section heading */
.work-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* Gallery container */
.work-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

/* Each image */
.work-gallery img {
  width: 250px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

/* --- Responsive for mobile --- */
@media (max-width: 768px) {
  .work-gallery {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 1rem;
  }

  .work-gallery img {
    width: 100%;
    max-width: 400px; /* prevent from being too large */
    margin: 0 auto;
  }
}
/* Footer */
footer {
  text-align: center;
  padding: 5px;
  background-color: #2E8B57;
  color: white;
  font-size: 12px;
}

/* Members Section */
.members-section {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
}
.members-section {
  max-width: 900px;
  margin: 3rem auto;
  text-align: left;
  padding: 0 1rem;
}

/* Member Cards */
.member-card {
  display: flex;
  align-items: center;
  background: white;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s;
  gap:1.5rem;
}

.member-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Member Images */
.member-card img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 5px;
  background-color: #2E8B57;
  color: white;
  font-size: 12px;
}
/* Program Section */
.program-section {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
}

.program {
  display: flex;
  align-items: center;
  background: white;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.program:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Program Icons */
.program img {
  width: 18px;
  height: 18px;
  margin-right: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}
.title {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 24px;
  color: #333;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 40px 40px;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-color: rgb(255, 255, 255);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.label {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  color: rgb(255, 255, 255);
  padding: 10px;
  text-align: left;
  font-weight: bold;
  font-size: 16px;
}

/* Footer */
footer {
  text-align: center;
  padding: 5px;
  background-color: #2E8B57;
  color: white;
  font-size: 12px;
}

/* Volunteer Section */
.volunteer-section {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* CTA Volunteer Button */
.volunteer-button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 1rem;
  font-size: 16px;
  color: white;
  background-color: #FFA500;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

.volunteer-button:hover {
  background-color: #FF7F00;
}

/* Testimonials Section */
.testimonial-section {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
}

.testimonial {
  display: flex;
  align-items: center;
  background: white;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial p {
  font-style: italic;
}

/* Footer */
footer {
  text-align: center;
  padding: 5px;
  background-color: #2E8B57;
  color: white;
  font-size: 12px;
}

/* Donation Section */ 
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 15px;
  padding: 20px;
  text-align: center;
  background-color: #4CAF50;
}

.menu-grid a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  background-color: #45a049;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.menu-grid a:hover {
  background-color: #388e3c;
}
.donation-section {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* CTA Donate Button */
.donate-button {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 1rem;
  font-size: 18px;
  color: white;
  background-color: #FFA500;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

.donate-button:hover {
  background-color: #FF7F00;
}

/* Impact Section */
.impact-section {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Impact Boxes */
.impact-box {
  display: inline-block;
  margin: 1rem;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 220px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.impact-box:hover {
  transform: scale(1.1);
}

.impact-box p {
  margin: 10px 0;
  font-size: 16px;
  font-weight: normal;
}

/* Contact Section */
.contact-section {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Form Button */
.contact-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #FFA500;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: #FF7F00;
}

/* Map Section */
.map-section {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
}

.map-section iframe {
  width: 100%;
  max-width: 600px;
  height: 450px;
  border-radius: 10px;
}
#visitCount {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 10px;
  font-family: Arial, sans-serif;
}

/* Footer */
footer {
  text-align: center;
  padding: 5px;
  background-color: #2E8B57;
  color: white;
  font-size: 12px;
}

/* === Visitor Counter Style === */
footer p {
  font-size: 1.0rem; /* Slightly bigger text */
  font-weight: 600; /* Semi-bold */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Clean readable font */
  color: #f8f8f8;
  text-align: center;
  padding: 15px 0;
  background-color: #2e8b57; /* Match your existing footer green */
  border-top: 2px solid #ffffff22; /* Light top border */
}

#visitor-count {
  font-size: 1.0rem; /* Make the number pop */
  color: #f8f8f8; /* Soft yellow for highlight */
  font-weight: bold;
}

