.testimonial-section {
  text-align: center;
  padding: 80px 20px;
  
  background-size: cover;  /* makes image cover the whole section */
}


.testimonial-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: white;
}

.testimonial-header p {
  font-size: 1.1rem;
  color: yellow;
  margin-bottom: 40px;
}

.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.testimonial {
  display: none;
  text-align: center;
  border-radius: 20px;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.6s ease-in-out;
}

.testimonial-content {
  margin-bottom: 15px;
}

.testimonial-img {
  width: 100%;
  height: 400px;           /* large, rich visual */
  border-radius: 20px;     /* matches card style */
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.testimonial-author h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.testimonial-author span {
  color: #ff6600;
  font-size: 0.9rem;
  display: block;
  margin-top: 3px;
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  color: #444;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  border: none;
  padding: 5px 12px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.prev:hover, .next:hover {
  color: #fff;
  background: #ff6600;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.prev { left: -50px; }
.next { right: -50px; }

/* Dots */
.dots {
  margin-top: 20px;
}

.dots span {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 5px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots .active {
  background: #ff6600;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}
