/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar {
  height: 70px;
  background-color: #ff6b00;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-button {
  background-color: white;
  color: #ff6b00;
  border: none;
  padding: 8px 16px;
  font-size: 16px;
  font-family: inherit;
  border-radius: 5px;
  margin: 0 15px;
  cursor: pointer;
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.nav-button:hover {
  background-color: #ffe4cc;
  color: #d94e00;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.nav-links {
  display: flex;
  gap: 15px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
}

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* FOOTER SECTION */
/* footer */
.site-footer {
  background-color: #fff3e6; /* warm beige-orange */
  padding: 40px 20px 20px;
  color: #333;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-box {
  flex: 1 1 250px;
}

.footer-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #e67e22; /* warm orange */
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 6px 0;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #e67e22;
}

.social-icons {
  display: flex;
  gap: 15px;
  font-size: 24px;
  margin-top: 10px;
}

.social-icons a {
  color: #333;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #e67e22;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #ddd;
  margin-top: 20px;
}

/* MAIN HERO SECTION STARTS */
/* Hero Section */
.hero-section {
  background-image: url("images/herobanner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  height: 100vh;
  position: relative;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay for contrast */
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.btn {
  background-color: #ff6600;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    background-color: #ff6b00;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 20px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .section-container h1 {
    font-size: 2rem;
  }

  .section-container p {
    font-size: 1rem;
  }

  .donate-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* HOME BRIEF SECTION */
.home-briefs {
  background-color: #fff9f4;
  padding: 60px 20px;
}

.briefs-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.section-box {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex: 1 1 45%;
  padding: 20px;
  transition: transform 0.3s ease;
}

.section-box:hover {
  transform: translateY(-5px);
}

/* .section-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
} */

.section-box h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.section-box p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.brief-btn {
  display: inline-block;
  background-color: #ff6b00;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.brief-btn:hover {
  background-color: #e85a00;
}

/* Responsive */
@media (max-width: 768px) {
  .briefs-container {
    flex-direction: column;
  }

  .section-box {
    flex: 1 1 100%;
  }
}

/* HOME BRIEF SECTION */
.home-briefs {
  background-color: #fff9f4;
  padding: 60px 20px;
}

.briefs-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.section-box {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  flex: 1 1 45%;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.section-box:hover {
  transform: translateY(-5px);
}

.section-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Style when image is not present */
.section-box img:empty {
  display: none;
}

.section-box h2,
.section-box h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.section-box p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.brief-btn,
.donate-btn,
.contact-btn {
  display: inline-block;
  background-color: #ff6b00;
  color: white;
  padding: 10px 22px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.brief-btn:hover,
.donate-btn:hover,
.contact-btn:hover {
  background-color: #e65a00;
}

/* Responsive */
@media (max-width: 768px) {
  .briefs-container {
    flex-direction: column;
  }

  .section-box {
    flex: 1 1 100%;
  }
}

.donate-slider {
  position: relative;
  max-width: 100%;
  margin: 50px auto;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
}

.slides {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* Adding transition for fade effect */
}

.slides img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* To show the active slide */
.slides.active {
  display: block;
  opacity: 1;
}

/* CTA Box */
.donate-call {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  color: white;
  width: 80%;
  max-width: 500px;
}

.donate-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 25px;
  background-color: orange;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.donate-btn:hover {
  background-color: #cc7000;
}

.contact-section {
  background: linear-gradient(135deg, #fff8f2, #ffe9d6);
  padding: 60px 20px;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contact-text {
  flex: 1;
  min-width: 300px;
}

.contact-text h2 {
  font-size: 42px;
  color: #333;
  margin-bottom: 20px;
}

.contact-text p {
  font-size: 20px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.contact-details li {
  margin-bottom: 12px;
  font-size: 18px;
  color: #444;
}

.contact-details i {
  color: orange;
  margin-right: 10px;
}

.contact-btn {
  display: inline-block;
  background-color: orange;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.contact-btn i {
  margin-left: 8px;
}

.contact-btn:hover {
  background-color: #cc7000;
}

.contact-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/* hide home page contact img on mobile/tablet */
/* Hide on tablet & mobile */
@media (max-width: 1024px) {
  .contact-image {
    display: none;
  }
}

/* ************************************************************************************************************************ */

/* About Us Section */
.about-us-section {
  background-color: #fdfcf7; /* creamy white */
  padding: 60px 20px;
  text-align: center;
  animation: flipUp 1s ease-out; /* Flip-up animation */
}

/* Content inside the About Us section */
.about-us-content {
  max-width: 900px;
  margin: auto;
  padding-top: 60px;
  opacity: 0; /* Start with the content hidden */
  transform: translateY(50px); /* Start with a slight downward position */
  animation: flipUpContent 1s ease-out forwards; /* Flip-up animation for content */
}

/* Heading style */
.about-us-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

/* Paragraph style */
.about-us-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

/* Flip-up animation for the section */
@keyframes flipUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Flip-up animation for content */
@keyframes flipUpContent {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* FOUNDERS IMAGES */

/* Founder Section */
.founder-section {
  text-align: center;
  padding: 50px 0;
}

.founder-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px; /* Spacing between the cards */
  flex-wrap: wrap; /* Ensures the images are responsive */
  margin: 0 20px;
}

.founder-card {
  flex: 1;
  min-width: 250px; /* Ensures the cards don't shrink too small */
  max-width: 23%; /* Ensures the cards fit well on larger screens */
  text-align: center;
  overflow: hidden; /* Prevents image from overflowing during the zoom-in effect */
  position: relative;
}

.founder-card img {
  width: 100%;
  height: 300px; /* Adjust height to make images large */
  object-fit: cover; /* Ensures the images cover the entire space of the div */
  border-radius: 10px; /* Optional: adds rounded corners */
  animation: breathe 5s ease-in-out infinite; /* Adds breathing effect */
}

/* Breathe animation */
@keyframes breathe {
  0%,
  100% {
    transform: scale(1); /* Normal size */
  }
  50% {
    transform: scale(
      1.05
    ); /* Slightly enlarge at the middle of the animation */
  }
}

.founder-card h4 {
  font-size: 1.5rem;
  margin-top: 15px;
}

.founder-card p {
  font-size: 1rem;
  margin-top: 10px;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .founder-container {
    flex-direction: column;
    align-items: center;
  }

  .founder-card {
    max-width: 90%;
    margin-bottom: 20px;
  }
}

/* Leadership Section */
.president-treasurer-section {
  background-color: #fefaf1;
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 1s ease-out; /* Fade-in animation */
}

.president-treasurer-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #222;
}

/* Container for president and treasurer cards */
.president-treasurer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px; /* Increased gap between president and treasurer */
}

/* President and Treasurer Cards */
.president-card,
.treasurer-card {
  background-color: #fffef9;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  max-width: 300px;
  text-align: center;
  transition:
    transform 0.3s ease,
    opacity 0.5s ease-in-out; /* Adding opacity change */
  opacity: 0; /* Initially hidden */
  transform: translateY(50px); /* Start from a slightly lower position */
  animation: slideUp 1s ease-out forwards; /* Slide-up animation for content */
}

/* Hover effect for president and treasurer cards */
.president-card:hover,
.treasurer-card:hover {
  transform: translateY(-10px); /* Increase lift on hover */
}

/* Images inside president and treasurer cards */
.president-card img,
.treasurer-card img {
  width: 100%;
  height: 300px; /* Adjust to match founder image size */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* Title styles inside cards */
.president-card h4,
.treasurer-card h4 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 8px;
}

/* Description text inside cards */
.president-card p,
.treasurer-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Slide-up animation for president and treasurer cards */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Team Section */
.team-section {
  text-align: center;
  padding: 60px 20px;
}

.team-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.team-card {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  width: 45%; /* Default width of 45% for larger screens */
  max-width: 300px;
  margin: 10px;
}

.team-card:hover {
  transform: scale(1.1);
}

.team-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.team-card h4 {
  font-size: 1.2rem;
  margin-top: 10px;
}

.team-card p {
  font-size: 1rem;
  color: #777;
}
.fullscreen-image-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-image-popup .popup-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.fullscreen-image-popup .close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

/* Fade-In animation for popup */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Zoom-In animation for images */
@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Media Queries for small devices */
@media (max-width: 768px) {
  .team-container {
    justify-content: center; /* Center content for small devices */
  }

  .team-card {
    width: 80%; /* Set width to 80% for smaller screens */
  }
}

@media (max-width: 480px) {
  .team-container {
    flex-direction: column; /* Stack cards vertically for very small screens */
    align-items: center; /* Center cards vertically */
  }

  .team-card {
    width: 90%; /* Set width to 90% for very small screens */
    margin: 15px 0; /* Add space between cards */
  }
}

/* ************************************************************************************************************* */

/* OUR IMPACT */
/* What We Do Section */
.what-we-do-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f8f8;
}

.what-we-do-section h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
}

.what-we-do-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card i {
  color: #ff6347; /* Tomato color for the icons */
  margin-bottom: 15px;
}

.service-card h4 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.service-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}

/* Lightbox overlay */
.lightbox {
  position: relative;
  display: inline-block;
}

.lightbox img {
  max-width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.lightbox img:hover {
  transform: scale(1.05);
}

/* Full-screen Modal (lightbox) */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox-modal.active {
  display: flex;
}

/* ============ IMPACT SECTION - ORANGE THEME ============ */

/* Styling for the section title and descriptions */
.section-title {
  text-align: center; /* Center align the text */
  padding: 50px 20px;
  margin-top: 60px;
  background-color: #f9f9f9; /* Subtle background for contrast */
}

.section-title pre {
  white-space: pre-wrap; /* key line */
  word-break: break-word;
  max-width: 100%;
}

.section-title h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #333; /* Dark text color for contrast */
}

.impact-description {
  font-size: 1.25rem;
  color: #555;
  margin: 10px auto;
  line-height: 1.6;
  max-width: 800px; /* Restrict width for readability */
}

.impact-description:first-child {
  margin-top: 0; /* Remove top margin for the first paragraph */
}

/* Impact Stats Section */
.impact-stats-section {
  text-align: center;
  padding: 60px 20px; /* extra side padding for mobile */
  background-color: #f0f8ff; /* ✅ light background */
}

.impact-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff6600;
}

.impact-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  max-width: 200px;
  text-align: center;
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: black; /* Orange color for numbers */
}

.counter[data-target]:after {
  content: "+";
}

/* stats stacked vertically on mobile */
@media (max-width: 600px) {
  .impact-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    max-width: 100%;
  }
}

/* Instagram Embed Section */
.instagram-heading {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #ff6600;
  font-weight: bold;
}

.instagram-embed-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px;
}

.instagram-media {
  max-width: 220px;
  width: 100%;
}

/* Gallery */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.gallery-container img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

/* Zoom effect */
.gallery-container img.zoomable:hover {
  transform: scale(1.05);
}

/* Initially hidden images */
.hidden-image {
  display: none;
}

#viewMoreBtn {
  display: block;
  margin: 30px auto 0; /* top margin, centered horizontally */
  padding: 10px 20px;
  font-size: 16px;
  background-color: #ff6600; /* Orange for visibility */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#viewMoreBtn:hover {
  background-color: #e65c00;
}

/* .zoomable {
  cursor: pointer;
} */

/* For modal image fullscreen */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-image {
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: white;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
}

.impact-gallery-section h2 {
  font-size: 2rem;
  color: #ff7a00;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Gallery container with flexbox layout */
.gallery {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping of images to the next line */
  gap: 30px; /* Adjust gap between images */
  justify-content: center; /* Center the images */
}

/* Individual image styles */
.gallery img {
  width: 500px; /* Adjust width as needed */
  height: 400px; /* Maintain aspect ratio */
  object-fit: cover; /* Optional: make sure images don't get stretched */
}

.impact-gallery img:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.2);
}

/* Modal Style */
.image-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Black background with transparency */
  justify-content: center;
  align-items: center;
  text-align: center;
}

.modal-image {
  max-width: 90%;
  max-height: 90%;
  border: 2px solid white;
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #ddd;
  text-decoration: none;
  cursor: pointer;
}

.impact-timeline-section {
  padding: 40px;
  text-align: center;
  background-color: #f0f8ff;
  border-radius: 10px;
}

h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #333;
}

.impact-timeline {
  list-style: none;
  padding: 0;
}

.milestone-item {
  display: block; /* ✅ instead of inline-block */
  width: 100%; /* ✅ full width */
  margin: 20px auto; /* ✅ centered */
  padding: 20px; /* reduced for mobile */
  box-sizing: border-box; /* ✅ CRITICAL */
}

.milestone-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.2);
}

.milestone-icon {
  font-size: 40px;
  color: #ff6347;
  margin-bottom: 20px;
  animation: iconAnimation 1s ease-in-out;
}

.milestone-description {
  font-size: 18px;
  color: #333;
  text-align: center;
  line-height: 1.6;
  animation: descriptionAnimation 1s ease-in-out;
}

.milestone-description p {
  margin: 10px 0;
}

@keyframes iconAnimation {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes descriptionAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .milestone-item {
    width: 100%;
    margin: 15px 0;
    padding: 20px;
  }

  .milestone-description {
    font-size: 16px;
  }

  .milestone-icon {
    font-size: 32px;
  }
}

/* Call to Action */
.cta-section {
  background: #ff7a00;
  padding: 3rem 1rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-section p {
  color: white;
  margin-bottom: 10px;
}

.cta-section button {
  padding: 0.8rem 2.5rem;
  background-color: #ffffff;
  color: black;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 10px;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.cta-section button:hover {
  background-color: #e85a00;
  transform: scale(1.05);
}

/* Responsive Styling */
@media (max-width: 768px) {
  .impact-stats {
    grid-template-columns: 1fr;
  }

  .impact-stories {
    flex-direction: column;
  }

  .impact-gallery {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .impact-timeline {
    padding: 0 1rem;
  }
}
/* ############################################################################################################################*/

/* DONATE PAGE */
/* Donation Form Section */
.donation-form-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.donation-form-section h2 {
  font-size: 32px;
  color: #e66e00;
  text-align: center;
  margin-bottom: 20px;
}

.donation-form-section p {
  font-size: 18px;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

.donation-form label {
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
  color: #555;
}

.donation-form input[type="text"],
.donation-form input[type="email"],
.donation-form input[type="tel"],
.donation-form input[type="number"],
.donation-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.donation-form textarea {
  resize: vertical;
}

.donation-form button {
  background-color: #e66e00;
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  width: 100%;
}

.donation-form button:hover {
  background-color: #f58c42;
}

/* Payment Gateway Section */
.payment-gateway-section {
  margin: 60px auto;
  padding: 40px 20px;
  max-width: 800px;
  background-color: #f2f2f2;
  border-radius: 8px;
  text-align: center;
}

.payment-gateway-section h3 {
  font-size: 24px;
  color: #e66e00;
  margin-bottom: 20px;
}

.payment-gateway-section p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.qr-code-container {
  text-align: center; /* Center the QR code image */
  margin-top: 40px; /* Space above the QR code */
}

.qr-code {
  width: 300px; /* Adjust size as needed */
  height: 300px; /* Adjust size as needed */
  object-fit: cover; /* Keep image proportions intact */
  border: 2px solid #ddd; /* Optional: add a border around the QR code */
}

/* Bank Transfer Section */
.bank-transfer-section {
  margin: 60px auto;
  padding: 40px 20px;
  max-width: 800px;
  background-color: #f2f2f2;
  border-radius: 8px;
}

.bank-transfer-section h2 {
  font-size: 24px;
  color: #e66e00;
  text-align: center;
  margin-bottom: 20px;
}

.bank-transfer-section ul {
  list-style: none;
  padding: 0;
}

.bank-transfer-section li {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .donation-form-section,
  .payment-gateway-section,
  .bank-transfer-section {
    padding: 30px 15px;
    margin: 30px 15px;
  }

  .donation-form button {
    width: auto;
    padding: 12px 20px;
  }
}

/* Volunteer Form Section */
.volunteer-form-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.volunteer-form-section h2 {
  font-size: 32px;
  color: #e66e00;
  text-align: center;
  margin-bottom: 20px;
}

.volunteer-form-section p {
  font-size: 18px;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

.volunteer-form label {
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
  color: #555;
}

.volunteer-form input[type="text"],
.volunteer-form input[type="email"],
.volunteer-form input[type="tel"],
.volunteer-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.volunteer-form textarea {
  resize: vertical;
}

.volunteer-form button {
  background-color: #e66e00;
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  width: 100%;
}

.volunteer-form button:hover {
  background-color: #f58c42;
}

/* CONTACT US PAGE */
/* ========== CONTACT PAGE STYLING ========== */

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f6f8fa;
  color: #333;
}

/* Section Title */
.contact-heading {
  text-align: center;
  font-size: 3rem;
  color: #ff6a13;
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Subheading */
.contact-subtext {
  text-align: center;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
  color: #555;
}

/* Contact Info Box */
.contact-info {
  background: white;
  max-width: 800px;
  margin: 20px auto;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
  color: #ff6a13;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-info li strong {
  color: #ff6a13;
}

/* Form Container */
.contact-form {
  background: white;
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #222;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff6a13;
  outline: none;
}

/* Send Button */
.contact-form button {
  width: 100%;
  background: #ff6a13;
  color: white;
  border: none;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #e45a0c;
}

/* Google Maps Styling */
.map-container {
  max-width: 800px;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Social Links */
.contact-socials {
  text-align: center;
  margin-top: 30px;
}

.contact-socials a {
  color: #ff6a13;
  margin: 0 12px;
  font-size: 1.4rem;
  text-decoration: none;
  transition:
    transform 0.2s,
    color 0.3s;
}

.contact-socials a:hover {
  color: #e15c12;
  transform: scale(1.2);
}

/* Call to Action */
.contact-cta {
  text-align: center;
  margin: 40px auto;
  font-size: 1.3rem;
  max-width: 700px;
  color: #444;
}

.contact-cta strong {
  color: #ff6a13;
}

/* Login page styling */
#login-page {
  margin: 0;
  padding: 0;
  background: url("/images/login_bg.jpg") no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

/* Light overlay */
#login-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6); /* adjust opacity here */
  z-index: 0;
}

/* Form should be above overlay */
#login-page form {
  position: relative;
  z-index: 1;
}

#login-page #login-form {
  width: 90%;
  max-width: 500px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid #ff7a00;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  box-sizing: border-box;
}

#login-page #login-form h2 {
  margin-bottom: 20px;
  color: #ff7a00;
}

#login-page #login-form input[type="text"],
#login-page #login-form input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

#login-page #login-form button {
  width: 100%;
  padding: 12px;
  background-color: #ff7a00;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

#login-page #login-form button:hover {
  background-color: #e86d00;
}

#login-page #login-form a {
  color: #ff7a00;
  text-decoration: none;
  margin: 0 5px;
  font-size: 14px;
}

/* PASSWORD TOGGLE FUNCTIONALITY */
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  padding-right: 40px; /* space for eye icon */
}

.password-wrapper .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

/* Register page */
/* Register Page Specific Styles */
#register-page {
  margin: 0;
  padding: 0;
  background: url("/images/final_new.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Register Form Container */
#register-page .register-form {
  width: 90%;
  max-width: 400px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid #ff7a00;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  box-sizing: border-box;
}

/* Heading */
#register-page .register-form h2 {
  margin-bottom: 20px;
  color: #ff7a00;
  font-size: 24px;
  font-weight: bold;
}

/* Label Styling */
#register-page .register-form label {
  display: block;
  margin: 10px 0 5px;
  font-size: 14px;
  color: #333;
  text-align: left;
}

/* Input Fields */
#register-page .register-form input[type="text"],
#register-page .register-form input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

/* Input Fields Focus */
#register-page .register-form input:focus {
  border-color: #ff7a00;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.6);
}

/* Submit Button */
#register-page .register-form button {
  width: 100%;
  padding: 12px;
  background-color: #ff7a00;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#register-page .register-form button:hover {
  background-color: #e86d00;
}

/* Link */
#register-page .register-form a {
  color: #ff7a00;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin-top: 10px;
}

#register-page .register-form a:hover {
  text-decoration: underline;
}

/* Responsive Adjustments for Register Page */
@media (max-width: 480px) {
  #register-page .register-form {
    padding: 20px;
  }

  #register-page .register-form h2 {
    font-size: 20px;
  }

  #register-page body {
    background: linear-gradient(to bottom right, #ff7a00, #ffffff);
  }
}

/* Forgot Password Page */
#forgot-page {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

/* Overlay to make the background image lighter */
#forgot-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;
}

/* Background Image */
#forgot-page {
  background: url("/images/register_0.jpg") no-repeat center center fixed;
  background-size: cover;
}

/* Form Styling */
#forgot-page form {
  width: 90%;
  max-width: 400px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid #ff7a00;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  text-align: center;
}

/* Heading */
#forgot-page form h2 {
  margin-bottom: 20px;
  color: #ff7a00;
  font-size: 24px;
}

/* Input Fields */
#forgot-page form input[type="text"],
#forgot-page form input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

#forgot-page form input:focus {
  border-color: #ff7a00;
  outline: none;
}

/* Button */
#forgot-page form button {
  width: 100%;
  padding: 12px;
  background-color: #ff7a00;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#forgot-page form button:hover {
  background-color: #e86d00;
}

/* Eye Icon Button Styling */
.password-wrapper {
  position: relative;
  width: 100%;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1;
}

/* Link */
#forgot-page form a {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #ff7a00;
  text-decoration: none;
  font-size: 14px;
}

#forgot-page form a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  #forgot-page form {
    padding: 20px;
  }

  #forgot-page form h2 {
    font-size: 20px;
  }
}

/* new responsive queries homepage */
@media (max-width: 576px) {
  /* GLOBAL */
  section {
    padding: 50px 15px;
  }

  .section-container {
    padding: 0;
  }

  /* NAVBAR */
  .navbar {
    flex-direction: row;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ff6b00;
    flex-direction: column;
    display: none;
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 12px 20px;
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  /* HERO */
  .hero-section {
    min-height: 85vh;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .donate-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }

  /* TRUST STRIP */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* HOME BRIEFS */
  .briefs-container {
    flex-direction: column;
  }

  .section-box {
    width: 100%;
  }

  /* WHAT WE DO */
  .work-grid {
    grid-template-columns: 1fr;
  }

  /* DONATE SLIDER */
  .slider-container img {
    width: 100%;
    height: auto;
  }

  /* CONTACT SECTION */
  .contact-container {
    flex-direction: column;
    gap: 30px;
  }

  .contact-image img {
    width: 100%;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    padding: 0;
  }
}

/* homepage tablet responsive */
@media (min-width: 577px) and (max-width: 992px) {
  section {
    padding: 60px 30px;
  }

  /* NAVBAR */
  .nav-links {
    gap: 15px;
  }

  /* HERO */
  .hero-overlay h1 {
    font-size: 2.5rem;
  }

  .hero-overlay p {
    font-size: 1.1rem;
    max-width: 600px;
  }

  /* TRUST STRIP */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* HOME BRIEFS */
  .section-box {
    flex: 1 1 100%;
  }

  /* WHAT WE DO */
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CONTACT */
  .contact-container {
    flex-direction: column;
  }

  .contact-image img {
    max-width: 400px;
    margin: auto;
  }

  /* FOOTER */
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* desktop homepage responsive */
@media (min-width: 993px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
  }
}
