* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  background-color: rgba(231, 228, 211, 0.897);
  color: #222;
}

.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;
}

 /*to prevent purple visited link*/
 a {
  color: inherit;
  text-decoration: none;
}
a:visited {
  color: inherit;
}

.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;
}

.main-hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

/*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;
  }
}



.hero-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5vw;
  z-index: 2;
}

.hero-content {
  color: #fff;
  max-width: 600px;
  animation: fadeInUp 1.5s ease;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-message {
  display: none;
  opacity: 0;
  transform: scale(0.8);
  transition: transform 1.5s ease, opacity 1.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hero-message.active {
  display: block;
  opacity: 1;
  transform: scale(1.05);
  animation: pop-in 1.5s ease;
  position: relative;
}

.hero-btn {
  display: inline-block;
  background-color: #fdd835;
  color: #000;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.hero-btn:hover {
  background-color: #fbc02d;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* second page
/* ... other styles remain unchanged ... */

/* Intro Banner */
.intro-banner {
  background-color: #f5d400;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.intro-banner h1 {
  font-size: 2rem;
  font-weight: normal;
}

.intro-banner h1 strong {
  font-weight: bold;
}

.intro-banner h2 {
  font-size: 1.8rem;
  margin: 20px 0;
}

.intro-banner .highlight {
  color: rgb(10, 10, 10);
  font-weight: bold;
}

.volunteer-btn {
  margin-top: 30px;
  padding: 12px 25px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.volunteer-btn:hover {
  background-color: #eaeaea;
}

/* Yellow Info Section */
.black-section {
  background-color: #0a0a0a;
  color: #eaeaea;
  text-align: center;
  padding: 60px 20px;
  font-size: 1.6rem;
  font-weight: 500;
}

.black-section .large-highlight {
  font-size: 2.8rem;
  font-weight: bold;
}

/* Anyone Can Volunteer Section */
.anyone-section {
  background-color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.anyone-section h2 {
  font-size: 2rem;
  font-weight: normal;
}

.anyone-section strong {
  font-weight: bold;
}

.subtext {
  margin-top: 20px;
  color: #333;
  font-size: 1rem;
}

/* who are we and what are we */

.about-section {
  padding: 60px 20px;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.about-content.reverse {
  flex-direction: row-reverse;
}

.image-side {
  flex: 1 1 40%;
  text-align: center;
}

.about-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.text-side {
  flex: 1 1 55%;
  color: inherit;
}

.text-side h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.text-side p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.dark-theme {
  background-color: #000;
  color: #fff;
}

.light-theme {
  background-color: #fff;
  color: #000;
}

.highlight-yellow {
  color: #f5d400;
  font-weight: bold;
}

.highlight-blue {
  color: #00c4ff;
  font-weight: bold;
}

/* Footer Base Styles */
.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 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;
  }
}

