#testimonials {
  position: relative;
  height: 100%;
  background: #fff;
  font-size: 14px;
  color: #000;
  margin: 0;
  padding: 70px 0 0 0;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#testimonials.scroll-animate {
  transform: translateY(0);
  opacity: 1; 
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px !important;
  border: 1px solid green;
  border-radius: 14px;
  margin-top: 20px !important;
  margin-bottom: 60px !important;
  padding: 20px;
  transition: transform 0.3s ease;
}

.swiper-slide:hover {
  transform: scale(1.01) !important;
}

@media (max-width: 700px) {
  .swiper-slide {
    width: 90% !important;
  }

  .swiper {
    margin-left: 14px !important;
    margin-right: 4px;
  }
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonial Card Styles */
.testimonial-card {
  background: transparent;
  border: none;
  padding: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
}

.profile-image {
  width: 44px !important;
  height: 44px !important;
  margin-right: 12px;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
  background: #ddd; 
}

.profile-image img{
  border-radius: 50% !important;
}

.user-info {
  flex: 1;
  text-align: left;
}

.user-name {
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 2px;
  font-weight: bold;
}

.user-location {
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.flag {
  font-size: 16px;
}

.quote-marks {
  position: absolute;
  top: -8px;
  right: 0;
  display: flex;
  gap: 2px;
}

.quote-mark {
  width: 20px;
  height: 20px;
  background-color: #4a9b8e;
  transform: rotate(45deg);
  border-radius: 2px;
}

.testimonial-text {
  color: rgb(26, 26, 26);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
  font-style: italic;
  text-align: left;
  flex: 1;
  display: flex;
  align-items: center;
}

.rating {
  display: flex;
  gap: 2px;
  justify-content: flex-start;
}

.star {
  color: #ffd700;
  font-size: 22px;
}

/* Responsive  */
@media (max-width: 480px) {
  .swiper-slide {
    padding: 16px;
  }

  .profile-image {
    width: 44px;
    height: 44px;
  }

  .user-name {
    font-size: 15px;
  }

  .user-location {
    font-size: 13px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .quote-mark {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 360px) {
  .swiper-slide {
    padding: 12px;
  }

  .testimonial-text {
    font-size: 13px;
  }

  .star {
    font-size: 16px;
  }
}

