body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: #f9f9f9;
}

.team-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #b40000;
}

.team-category h3 {
  font-size: 1.8rem;
  margin: 30px 0 20px;
  color: #444;
  border-bottom: 2px solid rgba(255, 0, 0, 0.5);
  display: inline-block;
  padding-bottom: 5px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}

.team-card h4 {
  margin: 15px 0 10px;
  color: #b40000;
}

.team-card p {
  font-size: 0.95rem;
  color: #444;
}

.tags {
  margin-top: 10px;
}

.tags span {
  background-color: rgba(255, 0, 0, 0.1);
  color: #b40000;
  padding: 5px 10px;
  margin: 4px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
}

footer {
  background-color: #222;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    width: 90%;
  }
}
