/* General Reset */
body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  background-color: #fdfdfd;
  color: #333;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

h1, h2, h3 {
  font-weight: 700;
}

/* Container */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* Section spacing */
.section {
  padding: 60px 20px;
}

/* Hero Section */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* darken image for contrast */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.hero-buttons a {
  padding: 12px 24px;
  border-radius: 30px;
  margin: 0 10px;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
}

.btn-primary {
  background-color: #28a745;
  color: white;
}

.btn-primary:hover {
  background-color: #218838;
}

.btn-secondary {
  background-color: #ffc107;
  color: #000;
}

.btn-secondary:hover {
  background-color: #e0a800;
}

/* Navigation Bar */

/* Nav Container */
.navbar {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 70px;       /* adjust to your logo size */
  width: auto;
  vertical-align: middle;
}

.logo span {
  margin-left: 8px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links li a {
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #28a745;
  background-color: #f0f0f0;
  border-radius: 6px;
}

/* Dropdown Styling */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 180px;
  z-index: 10;
}

.dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  font-weight: 500;
}

.dropdown-content li a:hover {
  background-color: #f9f9f9;
  color: #28a745;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Donate Button */
.donate-btn {
  background-color: #28a745;
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.donate-btn:hover {
  background-color: #218838;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: #28a745;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 20px;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 220px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
  }

  .dropdown-content li a {
    padding-left: 25px;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
  }
}


/* Vision & Mission Refinement */
.vision-mission-section .column {
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.vision-mission-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  color: #28a745;
  margin-bottom: 15px;
}

.vision-mission-section i {
  font-size: 1.5rem;
}

/* Objectives */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.objective-card {
  background: #ffffff;
  border-left: 5px solid #28a745;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.objective-card:hover {
  transform: translateY(-5px);
}

.objective-card i {
  font-size: 2rem;
  color: #28a745;
  margin-bottom: 10px;
  display: block;
}

/* Contact & Donation Form */
.contact-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  align-self: start;
}

/* Reach Us Section */
.reach-us-section {
  background-color: #003366;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.reach-us-section .section-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.reach-us-section .section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.reach-us-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.reach-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.reach-box:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.reach-box i {
  color: #ffc107;
  margin-bottom: 15px;
  display: block;
}

.reach-box h4 {
  margin-top: 10px;
  font-size: 1.3rem;
}

.reach-box p {
  font-size: 1rem;
  margin-top: 5px;
}

/* Footer Section */
.footer {
  background-color: #001a33;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.footer-socials a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #28a745;
}

.footer p {
  margin: 0;
  font-size: 1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float i {
  font-size: 22px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #1ebe5d;
}

/* About Section Refinement */
.about-section p {
  margin-bottom: 1.4rem;
  font-size: 1.08rem;
  line-height: 1.7;
}


/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 180px;   /* keeps all images/videos the same height */
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
}

/* Captions below images */
.gallery-item .caption {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
}



