.testimonial-section {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.card {
  flex: 0 0 calc(100% / 3 - 14px);
  background: #f0f8ff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card p {
  text-align: center;
  font-size: 16px;
}

.testifier h3 {
    font-size: 16px;
}

.testifier h6 {
    font-weight: 400;
    font-size: 12px;
    margin-top: 8px;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid #46a302;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 10;
}

.nav.prev {
  left: 10px;
  color: #46a302;
}

.nav.next {
  right: 10px;
  color: #46a302;
}

.stars {
  display: flex;
  margin: 0 auto 10px;
  width: fit-content;
}

.stars i {
  color: #FFD700;
}

.dots-container {
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #46a302;
}

.red {
  background-color: #fee6e6;
}

.red i {
  color: #8B0000;
}

.blue {
  background-color:  #e1f5fb;
}

.blue i {
  color:  #00008B;
}

.green {
  background-color:  #cdfccd;
}

.green i {
  color: #006400;
}

.yellow {
  background-color: #FFFACD;
}

.yellow i {
  color: #B8860B;
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 80%;
  }
}

