/* Reset and Base */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f8fb;
  color: #333;
}

/* Header Banner */
.team-header {
  text-align: center;
  padding: 80px 20px 40px 20px;
  background: linear-gradient(135deg, #2980b9, #2c3e50);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.team-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.05;
}

.team-header h1 {
  font-size: 44px;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}

.team-header p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 30px;
}

/* Team Card */
.team-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  text-align: center;
  padding: 40px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, #2980b9, #2c3e50);
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.team-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 5px solid #2980b9;
  transition: transform 0.4s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

.team-card .role {
  color: #2980b9;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 15px;
  display: inline-block;
}

.team-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .team-header h1 {
    font-size: 32px;
  }
  .team-header p {
    font-size: 16px;
  }
  .team-grid {
    gap: 30px;
  }
  .team-card {
    padding: 30px 15px;
  }
}