/* ===== TESTIMONIALS SECTION STYLING ===== */
.testimonials-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #022a44;
}

/* ===== CAROUSEL CONTAINER ===== */
.testimonial-carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out; /* smooth sliding */
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
  min-width: 100%; /* Each card takes full width */
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin: 0 0.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.6s ease-in-out;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #333;
  line-height: 1.6;
}

.testimonial-card h5 {
  margin-top: 10px;
  font-weight: bold;
  color: #007cf0;
}

/* ===== DOTS NAVIGATION ===== */
.testimonial-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonial-dots .dot {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-dots .dot.active {
  background-color: #007cf0;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 600px) {
  .testimonial-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
