/* 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 blue gradient */
  color: #333;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, #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 style to match buttons on home */
  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);
}

.donate-side {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.donate-side a img {
  max-width: 90px;
  margin: 10px;
  border: 2px solid #36d1dc; 
  border-radius: 10px;
  transition: transform 0.3s;
}

.donate-side a img:hover {
  transform: scale(1.1);
}

main {
  flex: 1;
  padding: 20px 20px;
  background: #f9f9fc; /* Soft background to maintain visual flow */
}

.about-section {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #e3f2fd; /* Light blue to match home */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-section h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #36d1dc; /* Consistent color matching home theme */
}

.about-section p {
  font-size: 1.1rem;
  color: #555;
}

.team-section {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #36d1dc; /* Consistent with home page color */
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.team-member {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  margin-bottom: 10px;
}

.team-member h3 {
  color: #36d1dc; /* Matching color theme */
  margin-bottom: 8px;
}

.team-member p {
  font-size: 0.9rem;
  color: #555;
}

.team-member .designation {
  font-weight: bold;
  color: #5b86e5;
  margin-top: 5px;
}

/* Footer */
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;
  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; 
  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;
  }

  .donate-side {
    position: static;
    transform: none;
    margin-top: 20px;
    text-align: center;
  }

  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    width: 80%; 
  }

  footer {
    padding: 10px 10px;
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    gap: 8px;
  }
}
