/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: #34495e;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* Navigation Bar Styles */
/* (Assuming existing styles are in place) */

/* 1. Full-Width Overlay Image Section */
.overlay-image-section {
  position: relative;
  width: 100%;
  height: 60vh; /* Adjust height as needed */
  background-image: url('images/2024-06-03 (1).jpg'); /* Placeholder Image */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-image-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 47, 9, 0.947); /* Black overlay with opacity */
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-content {
  color: white;
  max-width: 800px;
}

.overlay-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.overlay-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.overlay-content .btn-primary {
  background: rgb(218, 171, 0); /* Apply background color only to the primary button */
  margin: 0 10px;
  color: white; /* Ensure the text color stands out on the background */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.overlay-content .btn-primary:hover {
  background: rgb(179, 140, 0); /* Darken background on hover */
}


/* 2. White Box for "Your Impact" */
.impact-white-box {
  position: absolute;
  bottom: 2in; /* Approximately two inches from the bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.yellow-box {
  background-color: rgb(255, 204, 0); /* Yellow color */
  padding: 20px; /* Padding */
  width: 100vw; /* Full viewport width */
  position: relative; /* Position relative for layering */
  left: 50%; /* Align to center */
  right: 50%; /* Align to center */
  margin-left: -50vw; /* Move left by half of viewport width */
  margin-right: -50vw; /* Move right by half of viewport width */
  margin-top: -60px; /* Adjust this value as needed to remove space */
  margin-bottom: 40px;
  z-index: 1; /* Ensure it stays above other elements */
  display: flex; /* Use Flexbox */
  justify-content: space-between; /* Space between title and paragraph */
  align-items: center; /* Center vertically */
  height: 80px;
}

.yellow-box h5 {
  margin: 0; /* Remove default margin */
  padding-right: 20px; /* Space between title and paragraph */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add subtle shadow for better readability */
  padding-top: 30px;
}

.yellow-box p {
  margin: 0; /* Remove default margin */
}



.impact-paragraph {
  margin-bottom: 30px; /* Add spacing below the paragraph if needed */
  font-size: 1.2rem; /* Adjust font size if needed */
  color: #34495e; /* Set paragraph color */
}

/* Icons in "Your Impact" Section */
.impact-section .icon i {
  color: #27ae60 !important; /* Force the icon color to green */
  font-size: 3rem; /* Adjust icon size if needed */
  margin-bottom: 10px;
}


/* 3. "Why You Should Donate" Section */
.why-donate-section {
  position: relative; /* Important for overlay positioning */
  padding: 60px 0;
  background: url('images/Gray Gold Black Elegant Calligraphy Illustration Wedding Wine Label (1).png') no-repeat center center/cover;
}

.why-donate-section::before {
  content: ""; /* Ensures the pseudo-element is created */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 0, 0.7); /* Green overlay with 70% opacity */
  z-index: 0; /* Ensure it's behind the content */
}

.donation-box {
  position: relative; /* Ensures the content appears above the overlay */
  z-index: 1; /* Higher z-index so it's on top of the overlay */
  max-width: 80%;
  margin: 0 auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.donation-box h4 {
  font-size: 2rem; /* Increase the font size */
  line-height: 2.5rem; /* Adjust the line height for more spacing */
  margin-bottom: 20px; /* Increase the space below the heading */
}

.donation-box p {
  font-size: 1.2rem; /* Increase font size of the paragraph */
  line-height: 1.8rem; /* Adjust line height for better readability */
  margin-bottom: 30px; /* Increase spacing below the paragraph */
}


.additional-info {
  display: none; /* Hidden by default */
}

.additional-info.expanded {
  display: block; /* Displayed when expanded */
}


.donation-box.expanded .additional-info {
  display: block; /* Displayed when expanded */
}

/* Donate Button */
#donate-button {
  padding: 15px 0;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  width: 100%;
  margin-top: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#donate-button:hover {
  background-color: #2ecc71;
}

.toggle-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: transparent;
  border: none;
  font-size: 30px;
  color: #27ae60;
  cursor: pointer;
  z-index: 3;
}

.toggle-btn i {
  transition: transform 0.3s ease;
}

.toggle-btn:hover i {
  transform: rotate(90deg);
}


@media (max-width: 768px) {
  .overlay-image-section {
      height: 50vh;
  }

  .overlay-content h1 {
      font-size: 2rem;
  }

  .overlay-content p {
      font-size: 1rem;
  }

  .impact-white-box {
      width: 95%;
      bottom: 1.5in;
  }
}


.yellow-box h5{
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #2c3e50;
}

