/* Testimonials Section Styles */
.testimonials {
  background-color: var(--light-color);
  padding: 100px 0;
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 50px auto 0;
}

.testimonial-container {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-card {
  background-color: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-author-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--primary-color);
}

.rtl .testimonial-author-img {
  margin-right: 0;
  margin-left: 15px;
}

.testimonial-author-info {
  text-align: left;
}

.rtl .testimonial-author-info {
  text-align: right;
}

.testimonial-author-name {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.testimonial-author-title {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.testimonial-nav button {
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-nav button:hover {
  background: var(--primary-color);
  color: white;
}

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

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active, .testimonial-dot:hover {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Rating Stars */
.testimonial-rating {
  margin-bottom: 20px;
  color: #ffc107;
  font-size: 1.2rem;
}

.rating-star {
  margin: 0 2px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .testimonial-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 70px 0;
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .testimonial-nav button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-card::before {
    font-size: 4rem;
  }
  
  .testimonial-author-img {
    width: 50px;
    height: 50px;
  }
  
  .testimonial-author-name {
    font-size: 1rem;
  }
  
  .testimonial-rating {
    font-size: 1rem;
  }
}