/* Testimonial Carousel Section */
.testimonials-section {
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    #000000,
    #121212
  ); /* Dark background to match theme */
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 190, 255, 0.08) 0%,
    rgba(10, 190, 255, 0) 70%
  );
  z-index: 0;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(52, 152, 219, 0.08) 0%,
    rgba(52, 152, 219, 0) 70%
  );
  z-index: 0;
}

.testimonial-carousel {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.testimonial-container {
  display: flex;
  overflow: hidden;
  margin-top: 40px;
  position: relative;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.testimonial-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  overflow: visible; /* Prevent any overflow scrollbars */
}

.testimonial-slide {
  min-width: 100%;
  padding: 30px 15px;
  display: flex;
  justify-content: center;
  overflow: visible;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.testimonial-slide::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
  max-width: 800px;
  padding: 40px;
  background: rgba(10, 12, 20, 0.9); /* Dark background to match theme */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(250, 208, 44, 0.08);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-accent {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(10, 190, 255, 0.1);
  border-radius: 50%;
  top: -20px;
  left: -20px;
  z-index: -1;
}

.testimonial-accent-2 {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(10, 190, 255, 0.05);
  border-radius: 50%;
  bottom: -15px;
  right: -15px;
  z-index: -1;
}

.testimonial-quote {
  font-size: 2.5rem;
  color: #fad02c;
  margin-bottom: 20px;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9); /* Light text for dark background */
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid #fad02c;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info {
  text-align: left;
}

.testimonial-author-name {
  font-weight: 700;
  color: #fad02c; /* Yellow color to match theme */
  margin: 0 0 5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.testimonial-author-title {
  color: rgba(255, 255, 255, 0.7); /* Light grey text for dark background */
  font-size: 0.9rem;
  margin: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 15px;
}

.testimonial-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 20, 0.9); /* Dark background to match theme */
  border: 1px solid rgba(250, 208, 44, 0.15); /* Subtle gold border */
  border-radius: 50%;
  color: #fad02c;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.testimonial-btn:hover {
  background: #fad02c;
  color: black;
  box-shadow: 0 8px 25px rgba(250, 208, 44, 0.3);
}

.testimonial-indicators {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3); /* Lighter dots for dark background */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: #fad02c;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .testimonial-author {
    flex-direction: column;
  }

  .testimonial-author-image {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .testimonial-author-info {
    text-align: center;
  }

  .testimonial-card {
    padding: 25px 15px;
  }
}
