@charset "utf-8";
/* CSS Document */
/*Testimonial styling ---------------- */
.testimonial-section {
  padding: 60px 20px;
  background-color: #fbfbfc;
  text-align: center;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.testimonial-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.testimonial-header p {
  font-size: 1.2rem;
  color: #888888;
  font-style: italic;
  margin-bottom: 40px;
}

.testimonial-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 70px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card {
  display: none;
  animation: fadeIn 0.6s ease-in-out;
}

.testimonial-card.active {
  display: block;
}

.stars {
  color: #ffcc00;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.30rem;
  line-height: 1.7;
  color: #444444;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 1.15rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #cccccc;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
}

.slider-btn:hover {
  color: #333333;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Navigation Dots */
.dot-container {
  margin-top: 25px;
}

.dot {
  display: inline-block;
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active-dot {
  background-color: #888888;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Optimizations */
@media (max-width: 600px) {
  .testimonial-header h2 {
    font-size: 2rem; /* Slightly smaller on phones so it fits beautifully on one line */
  }
  .testimonial-slider-container {
    padding: 40px 30px;
  }
  .slider-btn {
    display: none; 
  }
  .testimonial-text {
    font-size: 1rem;
  }

}