/* Import fonts and icons */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

.team-page {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #fff;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 4rem 2rem;
  min-height: 100vh;
}

.intro {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-inline: auto;
}

.intro p {
  font-size: 1.2rem;
  opacity: 0.85;
}

.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 5rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.9);
  font-weight: 300;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  border: 3px solid #f1f1f1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.team-card:hover .avatar {
  transform: scale(1.1);
}

.team-card h2 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  font-weight: 600;
}

.role {
  color: #00e3aa;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Stats Section */
.stats-section {
  margin-top: 6rem;
  text-align: center;
}

.stats-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.stats-heading {
  font-size: 1.5rem;
  color: #00e3aa;
  margin-bottom: 1.5rem;
  position: relative;
  font-weight: 700;
  letter-spacing: 1px;
}

.stats-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #00e3aa;
  margin: 0.5rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 8px #00e3aa88;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.stat {
  padding: 1rem;
  font-weight: 300;
}

.stat i {
  font-size: 2rem;
  color: #00e3aa;
  margin-bottom: 0.5rem;
  display: block;
}

.stat h3 {
  font-size: 2.5rem;
  color: #00e3aa;
  margin: 0.2rem 0;
  font-weight: 600;
}

.stat p {
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 0.3rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .team-page {
    padding: 3rem 1.5rem;
  }
  .intro p {
    font-size: 1.1rem;
  }
  .team-card {
    padding: 1.5rem;
  }
  .team-card h2 {
    font-size: 1.25rem;
  }
  .role {
    font-size: 0.95rem;
  }
}

@media (max-width: 500px) {
  .intro p {
    font-size: 1rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .team-card {
    padding: 1rem;
  }
  .avatar {
    width: 80px;
    height: 80px;
    border-width: 2px;
  }
  .team-card h2 {
    font-size: 1.15rem;
  }
  .role {
    font-size: 0.9rem;
  }
  .stat h3 {
    font-size: 2rem;
  }
  .stat i {
    font-size: 1.8rem;
  }
  /* Show stats 2 per row on small/mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}




.wave-art {
  background: #f5f5f5;
  height: 30px;
  overflow: hidden;
  position: relative;
}

.wave-art .wave {
  position: absolute;
  width: 200%;
  height: 60px;
  background: linear-gradient(to right, #333 10%, #666 50%, #333 90%);
  opacity: 0.08;
  border-radius: 100% 100% 0 0 / 100% 100% 0 0;
  animation: waveMove 8s linear infinite;
}

.wave-art .wave:nth-child(2) {
  top: 15px;
  animation-delay: -4s;
  opacity: 0.12;
  transform: scaleY(0.9);
}

.wave-art .wave:nth-child(3) {
  top: 30px;
  animation-delay: -2s;
  opacity: 0.16;
  transform: scaleY(0.8);
}

@keyframes waveMove {
  0% { transform: translateX(0) scaleY(1); }
  100% { transform: translateX(-50%) scaleY(1); }
}
