/* 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, #f0f4f8, #e7f0fc); /* Soft, light gradient for consistency */
  color: #333;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(45deg, #36d1dc, #5b86e5); /* Blue gradient to match home page */
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  max-height: 50px;
  background-color: transparent;
  mix-blend-mode: multiply;
  width: 130px;
  height: 120px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav ul li a {
  color: #ffffff; /* White text for contrast */
  text-decoration: none;
  font-weight: bold;
  padding: 8px 14px;
  border: 2px solid transparent;
  border-radius: 25px; /* Rounded button style */
  background: #ff6b6b; /* Coral red matching home page buttons */
  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);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Volunteer Intro Section */
.volunteer-intro {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #e3f2fd; /* Light blue matching overall theme */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.volunteer-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #36d1dc; /* Consistent with the site color theme */
}

.volunteer-intro p {
  font-size: 1.1rem;
  color: #555;
}

/* Volunteer Form Section */
.volunteer-form-section {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #e3f2fd; /* Light blue consistent with site theme */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.volunteer-form-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #36d1dc; /* Matching the color theme */
}

.volunteer-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #36d1dc; /* Consistent with header color */
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border: 1px solid #36d1dc; /* Consistent border focus */
  outline: none;
}

.volunteer-form button {
  padding: 12px 20px;
  border-radius: 5px;
  background: #36d1dc; /* Button color matching theme */
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.volunteer-form button:hover {
  background: #5b86e5; /* Slight color shift on hover */
}

/* Volunteer Profiles Section */
.volunteer-profiles {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
}

.volunteer-profiles h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #36d1dc; /* Consistent with overall theme */
}

.volunteer-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.volunteer-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.volunteer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.volunteer-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.volunteer-card h3 {
  color: #36d1dc; /* Matching color theme */
  margin-bottom: 8px;
}

.volunteer-card p {
  font-size: 0.9rem;
  color: #555;
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #36d1dc, #5b86e5); /* Matching home page footer */
  color: #ffffff;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 15px 20px;
  border-top: 4px solid #5b86e5; /* Clear separation with a border */
  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; /* Consistent hover color */
  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;
  }

  .volunteer-cards {
    flex-direction: column;
    align-items: center;
  }

  .volunteer-card {
    width: 80%;
  }

  footer {
    padding: 10px 10px;
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    gap: 8px;
  }
}
