/* Team Section */
.team-card {
  background: white;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.team-card::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, var(--soft-pink), var(--light-teal));
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border: 5px solid rgba(118, 69, 59, 0.1);
  border-radius: 50%;
  padding: 5px;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 50px;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: rgba(118, 69, 59, 0.1);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -3px;
  border-radius: 10px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 100%;
  margin-bottom: 30px;
}

.timeline-badge {
  position: absolute;
  width: 40px;
  height: 40px;
  left: -10px;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

.timeline-panel {
  padding: 20px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-panel h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .team-img-wrapper {
    width: 120px;
    height: 120px;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::after {
    left: 15px;
  }
}
