@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --green: #2e7d32;
  --light-green: #a5d6a7;
  --yellow: #fff59d;
  --pale-yellow: #fffde7;
  --font-family: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  background-color: #fdfdfd;
  color: #333;
}

/* Hero Carousel */
.hero-carousel,
.hero-slide {
  height: 85vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.bg-overlay {
  background: rgba(0, 100, 0, 0.6);
}

/* Swiper */
.swiper {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 300px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide:hover {
  transform: scale(1.03);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
  color: var(--green);
  font-size: 24px;
  transition: color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #1b5e20;
}

.swiper-pagination-bullet {
  background: var(--green);
}

/* Section Titles */
.section-title {
  color: var(--green);
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Founder Message */
.founder-message {
  background-color: #fffbe7;
}

.founder-message img {
  max-height: 400px;
  object-fit: cover;
  border: 4px solid #c5e1a5;
}

/* Mission/Vision */
.mission-vision ul {
  padding-left: 1.2rem;
}
.mission-vision li {
  margin-bottom: 0.5rem;
}
.highlight {
  color: var(--green);
  font-weight: 600;
}

/* Counters */
.counter-section {
  background-color: var(--yellow);
}
.counter-box {
  background: #fff;
  padding: 2rem;
  margin: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: var(--green);
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
}

/* Testimonials */
.testimonial {
  background-color: var(--pale-yellow);
  padding: 1.5rem;
  border-left: 4px solid var(--green);
  margin-bottom: 1.5rem;
  border-radius: 8px;
  color: #333;
  font-style: italic;
}

/* ===== Event Cards (Swiper) ===== */
.event-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.75rem; /* matches Bootstrap rounded */
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover img {
  transform: scale(1.08); /* zoom on hover */
}

.event-overlay {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.55); /* dark overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.event-card:hover .event-overlay {
  opacity: 1;
}

.event-overlay h5 {
  font-size: 1.1rem;
  font-weight: 700; /* bold */
  margin-bottom: 0.3rem;
  color: #fff !important; /* force white */
}

.event-overlay p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.85;
}

/* Footer */
footer {
  background-color: var(--green);
  color: white;
  padding: 2rem 0 1.2rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 400;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

footer .footer-links {
  margin-bottom: 0.8rem;
}

footer .footer-links a {
  color: #fffde7;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: #ffeb3b;
}

/* Responsive */
@media (max-width: 768px) {
  .swiper-slide {
    width: 80%;
    height: 240px;
  }

  .event-overlay h5 {
    font-size: 1rem;
  }

  .event-overlay p {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .counter-box {
    font-size: 1rem;
    padding: 1rem;
  }

  footer {
    font-size: 0.85rem;
  }
}
