p span {
    color: #4c4cea;
    font-size: 18px;
    margin-bottom: 29px;
}


.testimonials {
  text-align: center;
  padding: 80px 20px;
  background-color: #ffffff;
}

.testimonials h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #222;
}

.testimonial-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-wrapper {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.testimonial {
  flex: 0 0 100%; /* كل عنصر يأخذ كامل العرض */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 25px;
  border: 4px solid #19b9b7
;
}

.testimonial p {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 35px;
  background: none;
  border: none;
  cursor: pointer;
  color: #19b9b7;
  padding: 0 15px;
  z-index: 10;
}

.prev:hover, .next:hover {
  color: #333;
}

.prev { left: 0; }
.next { right: 0; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px; 
}

.testimonial-dots span {
  display: inline-block;
  width: 30px;
  height: 5px;
  background-color: #ccc;
  border-radius: 2px;
  transition: background-color 0.3s;
}

.testimonial-dots span.active {
  background-color: #19b9b7; 
}

@media (max-width: 768px) {
  .testimonial p {
    font-size: 18px;
    max-width: 70%; 
  }
}


@media (max-width: 480px) {
  .testimonial p {
    font-size: 14px;
  }
}

