.team2_component {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}

.marquee-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 30px;
  animation: marquee-scroll 60s linear infinite;
  flex-shrink: 0;
  will-change: transform;
}

.marquee-content.reverse {
  animation: marquee-scroll-reverse 60s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
  transition: animation-play-state 0.8s ease;
}

.marquee-wrapper:hover .marquee-content.reverse {
  animation-play-state: paused;
  transition: animation-play-state 0.8s ease;
}

.testimonial_card {
  flex: 0 0 auto;
  width: 380px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.testimonial_card:hover {
  transform: translateY(-5px);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Testimonial specific styles */
.testimonial_content-top {
  margin-bottom: 20px;
}

.review_tag-wrap {
  margin-bottom: 15px;
}

.testimonial_client {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial_client-image-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial_customer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial_client-info {
  flex: 1;
}