/* Container styling to restrict width and handle buttons positioning */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 52px;
  box-sizing: border-box;
}

/* Scrollable track */
.carousel-track {
  position: relative;
  overflow: hidden;
  width: 100%;
  transition: height 0.25s ease;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* Individual Testimonial Card */
.testimonial-card {
  display: none;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  height: auto;
}

.testimonial-card.active {
  display: flex;
}

/* .testimonial-card:hover {
  transform: translateY(-5px);
} */

.test-content {
  display: block;
  margin-bottom: 12px;
}

.test-content p {
  margin: 0;
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  background-color: #f0f0f0;
}

.team-name {
  font-size: 1.15rem;
  margin: 8px 0 4px 0;
  color: #333333;
  font-family: sans-serif;
}

.team-role {
  font-size: 0.9rem;
  color: #666666;
  margin: 0;
  font-family: sans-serif;
}

/* Navigation Buttons styling */
.carousel-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.nav-btn {
  position: static;
  transform: none;
  background: #ffffff;
  border: 1px solid #dddddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
  transition: background 0.2s, transform 0.2s ease;
  padding: 0;
  color: #333;
}

.nav-btn:hover {
  background: #f5f5f5;
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 20px 32px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0px 0px;
  }

  .nav-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}
