/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Container for consistent padding */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Navbar Styles ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #28a745; /* Green background */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

.logo h1 {
  font-family: 'Mystical Woods Smooth Script', cursive; /* Mystical Woods font */
  font-size: 1.8rem;
  color: #fff; /* White text */
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #fff; /* White hamburger lines for contrast */
  transition: all 0.3s;
}

.nav-menu ul {
  display: flex;
  list-style: none;
}

.nav-menu ul li {
  margin-left: 20px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #fff; /* White text for nav links */
  font-weight: bold;
  transition: color 0.3s;
}

.nav-menu ul li a:hover {
  color: #f4a261; /* Orange on hover for contrast */
}

/* ===== Hero Section Styles ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.active {
  opacity: 1;
}

/* Hero Content Styles */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content h2 {
  font-family: 'Mystical Woods Smooth Script', cursive;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background-color: transparent;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #f4a261;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e76f51;
}

/* Navigation Dots for Slideshow */
.nav-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s, background-color 0.3s;
}

.dot.active {
  opacity: 1;
  background-color: #f4a261;
}

.dot:hover {
  opacity: 1;
  background-color: #e76f51;
}

/* ===== About Section ===== */
.about {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2a9d8f;
}

.about p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 1rem auto;
  font-style: italic;
}

.section-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 1rem auto;
  border-radius: 5px;
  display: block;
}

/* ===== Programs Section ===== */
.programs {
  padding: 60px 0;
  text-align: center;
}

.programs h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2a9d8f;
}

.programs .section-image {
  margin-bottom: 2rem;
}

.programs p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.program-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.program {
  flex: 1 1 300px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.program h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2a9d8f;
}

.program p {
  font-size: 1rem;
  font-style: italic;
}

.program .section-image {
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
}

/* ===== Donation Section ===== */
.donate {
  padding: 60px 0;
  background-color: #2a9d8f;
  color: #fff;
  text-align: center;
}

.donate h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.donate p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.donate .section-image {
  margin-bottom: 2rem;
}

.donate-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.donate-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* ===== Gallery Section ===== */
.gallery {
  padding: 60px 0;
  text-align: center;
}

.gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2a9d8f;
}

.gallery p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-style: italic;
}

#load-gallery {
  margin-bottom: 2rem;
}

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

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

/* ===== Contact Section ===== */
.contact {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2a9d8f;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.social-links li {
  margin: 15px 0;
  font-size: 18px;
}

.social-links a {
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #e4405f; /* Instagram pink on hover */
}

.social-icon {
  width: 26px;
  height: 26px;
  margin-right: 12px;
  filter: grayscale(100%) brightness(0);
  transition: all 0.3s;
}

.social-links a:hover .social-icon {
  filter: none;
}

/* Specific color for Instagram icon */
.social-links a[href*="instagram"] .social-icon {
  filter: none;
}
.social-links a[href*="instagram"]:hover .social-icon {
  transform: scale(1.1);
}

/* ===== Footer Styles ===== */
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer p {
  font-size: 1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #28a745; /* Match navbar green */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 20px;
  }

  .nav-menu ul li {
    margin: 10px 0;
  }

  .nav-toggle:checked ~ .nav-menu {
    display: block;
  }

  .nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .program-list {
    flex-direction: column;
  }

  .donate-options {
    flex-direction: column;
  }

  .section-image {
    max-width: 100%;
  }
}