/* Reset some basic elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#testimonial-section {
  background-color: #f0f9ff; /* blue-50 */
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1e3a8a; /* blue-900 */
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e40af; /* blue-800 */
}

.testimonial-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonial-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-carousel-item {
  flex: 0 0 33.3333%;
  padding: 0 1rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #bfdbfe; /* blue-200 */
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.1); /* subtle blue-800 shadow */
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #93c5fd; /* blue-300 */
}

.testimonial-card p {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 15px;
  color: #334155; /* slate-700 for readable muted text */
}

.testimonial-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1e40af; /* blue-800 */
}

.testimonial-card span {
  font-size: 0.9rem;
  color: #64748b; /* slate-500 */
}

/* Carousel Navigation Buttons */
.testimonial-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #e0f2fe; /* blue-100 */
  border: none;
  font-size: 2rem;
  color: #1e3a8a; /* blue-900 */
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 9999px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(30, 64, 175, 0.1);
}

.testimonial-btn:hover {
  background-color: #1e40af; /* blue-800 */
  color: #fff;
  box-shadow: 0 6px 12px rgba(30, 64, 175, 0.2);
}

.testimonial-btn-left {
  left: 10px;
}

.testimonial-btn-right {
  right: 10px;
}

/* Dots */
.testimonial-dots {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #cbd5e1; /* slate-300 */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background-color: #1e40af; /* blue-800 */
}

/* Responsive Design */
@media (max-width: 992px) {
  .testimonial-carousel-item {
    flex: 0 0 50%;
  }
}

@media (max-width: 600px) {
  .testimonial-carousel-item {
    flex: 0 0 100%;
  }

  .testimonial-btn {
    font-size: 1.5rem;
  }
}
