/* Styles for the Team Section */
.team-section {
  padding: 100px 0;
  background-color: var(--primary-bg);
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-member {
  background: rgba(26, 26, 26, 0.5);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-photo-container {
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, rgba(0, 255, 136, 0.1), rgba(0, 243, 255, 0.1));
}

.team-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-photo {
  transform: scale(1.05);
}

.team-info {
  padding: 20px;
}

.team-name {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-position {
  color: var(--neon-green);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Placeholder for team members without photos */
.team-photo-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

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

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}