/* Team Section Styles */
.team-section {
  position: relative;
  background: url('../images/bghome.avif') center center/cover no-repeat;
  background-attachment: fixed;
  padding: 80px 32px;
  min-height: 60vh;
  animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}

.team-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.team-title {
  color: #fff;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 48px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  justify-items: center;
}

.team-member {
  text-align: center;
  background: rgba(255,255,255,0.95);
  padding: 32px 24px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
  max-width: 320px;
  backdrop-filter: blur(10px);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  background: rgba(255,255,255,1);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #e65100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.1);
  border-color: #ff7f32;
  box-shadow: 0 6px 24px rgba(230,81,0,0.4);
}

.team-member h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.team-member:hover h3 {
  color: #e65100;
}

.team-member p {
  color: #e65100;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .team-section {
    padding: 60px 20px;
  }
  
  .team-title {
    font-size: 2.2rem;
  }
  
  .team-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .team-member {
    max-width: 280px;
    padding: 24px 20px;
  }
}
