@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

.team {
  position: relative;
  padding: 6rem 2rem;
  margin-top: -7rem;
  flex: 1;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}

.team-container h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.3;
  color: #10824c;
  margin-bottom: 1.2rem;
  position: relative;
  text-align: left;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.team-container h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #10824c;
  border-radius: 2px;
}

.team-container p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  color: #2f3e2f;
  max-width: 1200px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}



.team-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  height: 60%;
  flex-wrap: nowrap;

}

.team-member {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 2px solid #feeacf;
  border-radius: 1rem;
  box-shadow: 0 0 20px #feecd2;
  overflow: hidden;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;

}

.team-member img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-member h2 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #10824c;
  margin: 1rem 1rem 0.5rem;
}

.team-member h3 {
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #4cbb6a;
  margin: 0 1rem 0.5rem;
}

.team-member p {
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #444;
  margin: 0 1rem 2.5rem;
  line-height: 1.5;
}

.linkedin-icon {
  text-decoration: none;
  position: absolute;
  top: 198.5px;
  left: 262px;
  color: #0a66c2;
  font-size: 1.65rem;
  background: #fff;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.linkedin-icon:hover {
  color: #004182;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.team-flower {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  max-width: 500px;
}

.team-flower::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 69, 19, 0.4) 50%,
    rgba(139, 69, 19, 0) 70%
  );
  filter: blur(25px);
  border-radius: 50%;
  z-index: 0;
}

.team-flower .flower-img {
  width: 100%;
  height: auto;
  display: block;
}

.flower-link {
  position: absolute;
  width: 119px;
  height: 119px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  background: rgba(16,130,76,0);
  transition: background 0.3s ease;
}

.flower-link:hover {
  background: rgba(76,187,106,0.25);
}

.flower-link.advisors {
  top: 24%; left: 36.75%;
}
.flower-link.founders {
  top: 39%; left: 73.75%;
}
.flower-link.directors {
  top: 55.35%; left: 20.25%;
}
.flower-link.coordinators {
  top: 67.5%; left: 77.25%;
}

.team-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #10824c;
  margin-top: 12rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
}

.advisors-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 15rem;
}

.advisor-member {
  flex: 0 0 auto;
  width: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}


.advisor-member img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 24px;
  border: 2px solid #feeacf;
  box-shadow: 0 0 20px #feecd2;
  margin-bottom: 0rem;
}

.advisor-member h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #10824c;
  margin-bottom: 0rem;
}

.coordinator-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.coordinator-side {
  flex: 1;
  min-width: 300px;
  z-index: 1;
}

.coordinator-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #10824c;
  margin-bottom: 1rem;
  text-align: center;
}

.coordinator-grid {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.coordinator-member {
  text-align: center;
  flex: 1;
  z-index: 1;
}

.coordinator-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #feeacf;
  box-shadow: 0 0 20px #feecd2;
  margin-bottom: 0.5rem;
}

.coordinator-member h4 {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #10824c;
  margin: 0;
}

.directors-side {
  flex: 3;
}

.directors-grid {
  display: flex;
  justify-content: center;
  gap: 0rem;
  flex-wrap: wrap;
  margin-top: 0rem;
}

.profile-card {
  text-align: center;
  max-width: 220px;
  margin: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-card img {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  object-fit: cover;
  border: 2px solid #feeacf;
  box-shadow: 0 0 20px #feecd2;
  margin-bottom: 0.8rem;
}


.profile-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #10824c;
  margin: 0.3rem 0;
}

.profile-card .role {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #10824c;
  margin-bottom: 0.5rem;
}

.profile-card p {
  font-size: 0.85rem;
  color: #333;
  margin: 0;
  text-align: center;
}

.leaf {
  position: absolute;
  z-index: 0;
  opacity: 0.9;
}

.leaf1 {
  top: 65rem;
  left: -1.75rem;
  height: 400px;
  width: auto;
}

.leaf2 {
  top: 142rem;
  left: -1.75rem;
  height: 400px;
  width: auto;
}

.leaf3 {
  top: 110rem;
  right: 0;
  width: 400px;
  height: auto;
}

.leaf4 {
  top: 188.5rem;
  right: 0;
  width: 400px;
  height: auto;
  z-index: 0;
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideScaleIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

