* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
  padding: 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  color: #666;
  font-size: 1rem;
}

.team-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-card .role {
  color: #0077b6;
  font-weight: 500;
  margin-bottom: 10px;
}

.team-card .bio {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

.socials a {
  text-decoration: none;
  color: #555;
  font-size: 1.2rem;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #0077b6;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}


.filters {
  text-align: center;
  margin: 20px 0;
}

.filters button {
  background: #e0f0ff;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.filters button:hover,
.filters button.active {
  background: #0077b6;
  color: white;
}

.team-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}
