* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  color: #222;
}

/*to prevent purple visited link*/
a {
  color: inherit;
  text-decoration: none;
}
a:visited {
  color: inherit;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 10px 5vw;
  height: 80px;
  box-sizing: border-box;
}

.logo {
  height: 160px;
  transform: translateX(-30px);
  object-fit: contain;
}

.nav-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-size: 1rem;
  font-weight: 500;
}

/* Buttons on the right */
.nav-buttons {
  display: flex;
  align-items: center;
}

.nav-buttons .btn {
  margin-left: 0.75rem;
}

.btn {
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 16px;
  transition: background-color 0.3s;
}

.btn.yellow {
  background-color: #fdd835;
  color: #000;
}

.btn.yellow:hover {
  background-color: #fbc02d;
}

.about-us-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: inherit;
  color: #000;
}

.about-content-box {
  text-align: center;
  margin-bottom: 50px;
}

.about-content-box h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.about-content-box p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.primary-btn {
  background-color: #f5d400;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.primary-btn:hover {
  background-color: #e6c700;
}

/* Vision Section Layout */
.vision-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.vision-img img {
  max-width: 90%;
  height: auto;
  border-radius: 50px;
}

.vision-text {
  max-width: 500px;
}

.vision-text h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.vision-text p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer {
  background-color: #fff;
  color: #000;
  font-family: inherit;
  margin-top: 60px;
}

.footer-top {
  background-color: #f5d400;
  padding: 30px 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-main {
  text-align: center;
  padding: 40px 20px;
}

.footer-cta {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.volunteer-footer-btn {
  padding: 12px 25px;
  background-color: #f5d400;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-links div {
  text-align: left;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  color: #000;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  margin: 10px 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: invert(1);
  /*background-color: #000;*/
  padding: 15px;
  border-radius: 50%;
  color: #000;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
}

.whatsapp-float {
  width: 48px;
  height: 48px;
  color: green;
}

/*for mobile view*/
@media (max-width: 768px) {
  .carousel-slide {
    background-position: 73%;
    background-size: cover;
  }

  .hero-content {
    padding: 0 1.5rem;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}


/* for mobile navbar*/
/* Base styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: relative;
}

.nav-links ul,
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.mobile-menu {
  display: none;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #222;
    
  }

  .mobile-menu a {
    color: #111 !important; /* Change to black or any theme color */
    text-decoration: none;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
  }
  .mobile-menu a:hover {
    color: #fdd835; /* optional hover effect */
  }
  

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .mobile-menu .btn {
    width: 80%;
    margin: 0.5rem auto;
  }
}


@media (max-width: 768px) {
  .carousel-slide {
    height: 80vh;
  }
}