/* ===== TESTIMONIAL SECTION ===== */
.testimonials {
  text-align: center;
  padding: 100px 20px;
  background: #111;
  position: relative;
}

/* ===== SECTION TITLE ===== */
.testimonials .title-head {
  font-size: 50px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 25px;
  letter-spacing: 1.2px;
  font-family: 'Lato', sans-serif;
}

.testimonials .title-head span {
  color: orange;
}

.testimonials .title-head-subtitle p {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 60px;
  font-family: 'Open Sans', sans-serif;
}

/* ===== TESTIMONIAL BOX ===== */
.testimonial-box {
  max-width: 620px;
  margin: 0 auto;
  background: linear-gradient(145deg, #1a1a1a, #111);
  border-radius: 18px;
  padding: 45px 40px;
  box-shadow: 0 0 25px rgba(255, 165, 0, 0.08), 0 0 10px rgba(0,0,0,0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.testimonial-box:hover {
  box-shadow: 0 0 35px rgba(255, 165, 0, 0.2), 0 0 15px rgba(0,0,0,0.9);
  transform: translateY(-4px);
}

/* ===== SLIDE CONTAINER ===== */
.testimonial-container {
  position: relative;
  min-height: 240px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ===== INDIVIDUAL SLIDES ===== */
.testimonial-slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.9s ease;
  text-align: center;
  transform: scale(0.97);
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: fadeInUp 0.9s ease forwards;
}

/* ===== STAR RATING ===== */
.testimonial-stars {
  margin-bottom: 18px;
}

.testimonial-stars i {
  color: orange;
  font-size: 1.3rem;
  margin: 0 2px;
  text-shadow: 0 0 10px rgba(255,165,0,0.4);
  transition: transform 0.3s ease, color 0.3s ease;
}

.testimonial-stars i:hover {
  color: #ffb84d;
  transform: scale(1.2);
}

/* ===== TESTIMONIAL TEXT ===== */
.testimonial-text {
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  color: #f1f1f1;
  margin-bottom: 25px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-align: center;
  font-family: 'Lato', sans-serif;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* ===== NAME ===== */
.testimonial-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: orange;
  margin-bottom: 6px;
  text-transform: capitalize;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.8px;
  text-shadow: 0 0 12px rgba(255, 165, 0, 0.3);
}

/* ===== ROLE ===== */
.testimonial-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: #bbb;
  letter-spacing: 0.5px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 5px !important;
}

/* ===== DOTS (NAVIGATION) ===== */
.testimonial-dots {
  margin-top: 5px !important;
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #333;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: orange;
  box-shadow: 0 0 8px rgba(255,165,0,0.5);
  transform: scale(1.25);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    transform: translateY(25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .testimonial-box {
    padding: 35px 25px;
    max-width: 92%;
  }

  .testimonial-text {
    font-size: 1.3rem;
    line-height: 1.7;
  }

  .testimonial-name {
    font-size: 1.4rem;
  }

  .testimonial-role {
    font-size: 1rem;
  }
}
