/* Basic CSS reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(to bottom right, #e0f7fa, #c8e6c9); /* Soft teal to light green gradient */
  color: #333;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, #36d1dc, #5b86e5); /* Match home page gradient */
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo img {
  max-height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav ul li a {
  color: #ffffff; /* White text for better contrast */
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 25px; /* Rounded button style to match home */
  background: #ff6b6b; /* Coral red */
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav ul li a:hover {
  background: #e63946; /* Darker coral on hover */
  transform: translateY(-3px); /* Lifting effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #36d1dc, #5b86e5); /* Match home page footer */
  color: #ffffff;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 15px 20px;
  border-top: 4px solid #5b86e5;
  gap: 20px;
}

footer address {
  flex: 1;
  text-align: center;
  min-width: 200px;
  margin-bottom: 10px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 10px;
  background: transparent;
  transition: color 0.3s, border-bottom 0.3s, background 0.3s;
  border-bottom: 2px solid transparent;
  display: inline-block;
}

.footer-nav ul li a:hover {
  color: #5b86e5; /* Teal on hover to match theme */
  background: #ffffff; /* White background on hover */
  border-bottom: 2px solid #ffffff;
}

footer p {
  text-align: center;
  width: 100%;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #e0f7fa;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header,
  nav ul {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }

  nav ul li a {
    padding: 6px 10px;
    margin-bottom: 6px;
    font-size: 0.9rem;
  }

  footer {
    padding: 10px 10px;
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    gap: 8px;
  }
}

/* Donation Page Specific Styles */
.donate-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: #e3f2fd; /* Light blue background to match overall theme */
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.donate-section h1 {
  font-size: 2.5rem;
  color: #36d1dc; /* Matching the site theme */
  margin-bottom: 20px;
}

.donate-section p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.donate-section h2 {
  font-size: 2rem;
  color: #36d1dc;
  margin-bottom: 20px;
}

.form-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.form-container iframe {
  border-radius: 10px;
  border: 2px solid #36d1dc; /* Matching the site theme */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .donate-section {
    padding: 15px;
  }

  .donate-section h1 {
    font-size: 2rem;
  }

  .donate-section h2 {
    font-size: 1.6rem;
  }

  .form-container iframe {
    width: 100%;
    height: auto;
  }
}
