/* Reset & Base Styles */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Anchor links */
a {
  text-decoration: none;
  color: inherit;
}

/* Header layout */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #333;
}

/* Logo & title styles */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 10px;
}

.logo-img {
  max-width: 100px;
  width: 80%;
  height: auto;
  border-radius: 8px;
}

/* Navigation styles */
nav ul {
  display: flex;
  justify-content: center;
  padding: 0;
  list-style: none;
  margin: 10px 0;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s;
}

nav ul li a:hover {
  background-color: #ffd700;
  color: #000;
  transform: scale(1.05);
}

/* Sections styling */
.section {
  max-width: 1200px;
  width: 90%;
  margin: 40px auto;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.4);
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Impact gallery images */
.impact-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.impact-gallery img {
  flex: 1 1 150px;
  max-width: 150px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.4s;
}

.impact-gallery img:hover {
  transform: scale(1.05);
}

.about img{
  width: 100%;
  border-radius: 10px;
}



/* Buttons */
.btn {
  display: inline-block;
  background-color: #e6c200;
  color: #000;
  padding: 12px 25px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin: 10px 0;
}

.btn:hover {
  background-color: #d4b300;
  transform: scale(1.05);
}

.donation-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.donation-buttons button {
  background-color: #fff;
  color: #333;
  border: none;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s;
}

.donation-buttons button:hover {
  background-color: #ffd700;
  color: #000;
  transform: translateY(-2px);
}

/* Form styles */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  padding: 10px;
}

form label {
  align-self: flex-start;
  margin-top: 10px;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s;
}

form input:focus,
form textarea:focus {
  box-shadow: 0 0 10px #ffd700;
}

/* Thank you overlay */
.thankyou-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thankyou-overlay.show,
.thankyou-overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.thankyou-box {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  width: 80%;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #000;
}

.thankyou-box h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.thankyou-box p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* Footer */
footer {
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}

/* Responsive */
@media(max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 10px 0;
  }

  .logo-img {
    max-width: 100px;
  }

  .impact-gallery {
    flex-direction: column;
    align-items: center;
  }

  .impact-gallery img {
    max-width: 90%;
  }

  .donation-buttons {
    flex-direction: column;
  }

  form {
    width: 90%;
  }
}
