.testimonials-section {
  background-color: #11111B;
  padding: 4rem 2rem;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  position: relative;
}

.section-title {
  margin-bottom: 3rem;
}

.glide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(0.9);
}

.glide__slide.glide__slide--active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 2;
}

.glide__slide img {
  width: 600px;
  height: 600px;
  border-radius: 12px;
  object-fit: contain;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #1c1c28;
  cursor: pointer;
  opacity: 1;
}

.glide__slide--active img {
  box-shadow: 0 0 25px rgba(20, 200, 96, 0.3);
}

.glide__slide:hover img {
  transform: scale(1.05);
}

/* Setas de navegação */
.glide__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  border: none;
  background-color: rgba(17, 17, 27, 0.7);
  width: 80px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glide__arrow:hover {
  background-color: rgba(20, 200, 96, 0.2);
}

.glide__arrow--left {
  left: 0;
  border-radius: 0 5px 5px 0;
}

.glide__arrow--right {
  right: 0;
  border-radius: 5px 0 0 5px;
}

.glide__arrow img {
  width: 30px;
  height: 30px;
  filter: brightness(0) saturate(100%) invert(100%);
}

/* Lightbox para visualização em tela cheia */
.testimonial-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.testimonial-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(20, 200, 96, 0.2);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(0, 0, 0, 0.4);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(20, 200, 96, 0.5);
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 0;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .glide__slide img {
    width: 400px;
    height: 400px;
  }
  
  .glide__arrow {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .glide__slide img {
    width: 280px;
    height: 280px;
  }
  
  .glide__arrow {
    width: 40px;
  }
  
  .glide__arrow img {
    width: 20px;
    height: 20px;
  }
}

/* Mobile responsiveness for lightbox */
@media (max-width: 767px) {
  .lightbox-content {
    max-width: 95vw;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }
  
  .lightbox-close {
    top: -35px;
    right: 0;
  }
}
