/* Estilos específicos para o carrossel de clientes na home */
.clients {
  position: relative;
  padding: 5rem 0 8rem;
  overflow: hidden;
}

.clients::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 40%;
  left: 0;
  background-image: url("../images/dots-pattern.png");
  background-repeat: repeat;
  background-size: 20px;
  z-index: 1;
  opacity: 0.2;
}

.clients-content {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 2;
}

.clients-title {
  text-align: center;

  font-size: 3.5rem;
  color: #333;
}
.clients-description {
  margin-bottom: 5rem;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
}

.clients-title .gilroy {
  color: #fff;
  margin-right: 10px;
}

.clients-title .hattinant {
  color: #fff;
  font-style: italic;
}

.clients-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  margin-bottom: 2rem;
  overflow: visible;
}

.client-container {
  position: relative;
  width: 90%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  overflow: visible;
}

.client-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.client-item {
  position: absolute;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  cursor: pointer;
}

.client-item img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.client-prev,
.client-next {
  position: absolute;
  background-color: #4ddf50;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.client-prev {
  left: 10px;
}

.client-next {
  right: 10px;
}

.client-prev:hover,
.client-next:hover {
  background-color: #3bbb3e;
}

.client-bullets {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.client-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.client-bullet.active {
  background-color: #fff;
  transform: scale(1.2);
}

@media (max-width: 1500px) {
  .clients-title {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .clients {
    height: auto;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  .client-container {
    height: 260px;
  }

  .clients-carousel {
    padding: 0 40px;
  }

  .client-prev,
  .client-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .client-container {
    height: 220px;
    width: 100%;
  }

  .clients-carousel {
    padding: 0 30px;
  }

  .client-prev,
  .client-next {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}
