
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .gallery img {
    width: 90%;
  }

  .hero-banner h1 {
    font-size: 1.8rem;
  }

  .hero-banner p {
    font-size: 1rem;
  }
}
/* Reset and base styles */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* Header styles */
header {
  background-color: #003366;
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
    text-decoration: underline;
    color: #ffcc00
}

/* Hero section */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #e6f0ff, #ffffff);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #004080;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.donation-appeal {
  text-align: center;
  padding: 40px 20px;
}

/* Stats section */
.stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.stat-box {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-weight: bold;
  width: 200px;
  text-align: center;
}

/* Footer */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  
}
/* Contact form styling */
form {
  max-width: 500px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
}

form button {
  width: 100%;
  padding: 12px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background-color: #0055aa;
}
.container {
    max-width: 1000;
    margin: 0 auto;
    padding: 20px;
}
section {
    margin-bottom: 40px;
}
.cta-button {
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #002a00;
}
.hero-banner {
  color: rgb(38, 38, 42);
  text-align: center;
  padding: 100px 20px;
  border-radius: 8px;
}

.hero-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-banner .cta-button {
  background-color: #ffcc00;
  color: #003366;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
}
.team-gallery {
  text-align: center;
}

.gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  flex-wrap: wrap;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  
}
.social-links {
  text-align: center;
  margin-top: 10px;
}

.social-links a {
  margin: 0 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}
/* Hero Image */
.hero-img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  border-radius: 0;
}

/* Hero Text Overlay (optional) */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

/* Events Gallery */
.gallery {
  display: grid;
  flex-wrap: wrap;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 20px;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  
}

/* Testimonial Image */
.testimonial-img {
  display: block;
  margin: 0 auto 20px;
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* Team Section */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.team-grid .member {
  text-align: center;
  max-width: 200px;
}

.team-grid .member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}
.slideshow {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slideshow-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  padding: 30px;
  border-radius: 10px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  justify-content: center;
  padding: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}
.counter-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.counter-box {
  text-align: center;
  width: 200px;
}
h1, h2, h3 {
  text-align: center;
} 
section p 
{
  margin-top: 10px;
  margin-left: 20px;
}
section {
  padding: 40px 20px;
}
.mission {
  max-width: 800px;
  margin: 0  auto;
  padding: 40px 20px;
  text-align: center;
}
.mission p {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 15px;
}
.program-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
}

.program-box {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.program-box h2 {
  text-align: center;
  margin-bottom: 15px;
}

.program-box ul {
  padding-left: 20px;
}

.program-box li {
  margin-bottom: 10px;
  font-size: 16px;
}
.our-team {
  padding: 40px 20px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.team-photo {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-photo:hover img {
  transform: scale(1.05);
}
.get-involved-intro {
  text-align: center;
  padding: 40px 20px;
}

.involve-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 20px;
}

.involve-box {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.involve-box h2 {
  text-align: center;
  margin-bottom: 15px;
}

.involve-box ul {
  padding-left: 20px;
}

.involve-box li {
  margin-bottom: 10px;
  font-size: 16px;
}

.volunteer-call {
  text-align: center;
  padding: 40px 20px;
}

.cta-button {
  background-color: #004080;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
}
.contact-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px; /* More space between the two boxes */
  padding: 40px 20px;
}

.contact-box {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.contact-box ul {
  list-style: none;
  padding-left: 0;
  font-size: 16px;
  text-align: left;
}

.contact-box li {
  margin-bottom: 10px;
}

.contact-form-section {
  padding: 40px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
}

.contact-form button {
  background-color: #004080;
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  align-self: center;
}