.wrapper {
  max-width: 1240px;
  width: 100%;
  position: relative;
}

.wrapper i {
  height: 28px;
  width: 14px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 1.25 rem;
  transform: translateY(-50%);
  display: none; /* Hidden by default */
}

#right {
  right: -8%;
}

@media screen and (min-width: 1024px) {
  .wrapper i {
    display: block; /* Show arrows on desktop */
  }
  .carousel-dots {
    display: none; /* Hide dots on desktop */
  }
}

@media screen and (max-width: 1023px) {
  .wrapper i {
    display: none; /* Hide arrows on mobile */
  }
  .carousel-dots {
    display: flex; /* Show dots on mobile */
  }
}

.wrapper i img {
  height: 28px;
  width: 14px;
}

.wrapper i:first-child {
  left: -100px;
}

.wrapper i:last-child {
  right: -100px;
}

.wrapper .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3));
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: 0;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel :where(.card, .img) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel.no-transition {
  scroll-behavior: auto;
}

.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}

.carousel .card {
  scroll-snap-align: start;
  height: 450px;
  list-style: none;
  background: #fff;
  border-radius: 0px;
  display: flex;
  cursor: pointer;
  width: 98%;
  padding-bottom: 15px;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  padding: 60px 30px;
}

.carousel .card:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.card .img {
  background: green;
  width: 145px;
  height: 145px;
  border-radius: 50%;
}

.card .img img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
}

.card h2 {
  font-weight: 500;
  font-size: 1.56rem;
  margin: 30px 0 5px;
}

.card span {
  color: #6a6d78;
  font-size: 1.31rem;
}

@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 116%;
  }
}

.carroselDiv {
  display: flex;
  justify-content: center;
  padding-top: 2em;
}

.estrelas {
  max-height: 20px;
  max-width: 120px;
}

.testemunho {
  padding-top: 40px;
  text-align: left;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #9c814a;
}
