/* Team Carousel Container */
.team-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
}


.team-scroll-container {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px; 
}


.team-scroll-container::-webkit-scrollbar {
  display: none;
}

.team-grid {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 10px 20px; 
}

/* Team Member Cards */
.team-member {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
}

/* Arrow Buttons */
.carousel-arrow {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 10;
  flex-shrink: 0; 
}

.carousel-arrow:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

.member-social a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

