.testimonial-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 60px 0;
  background: #fff;
}

.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.testimonial-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.52;
  color: #1d2123;
}

.testimonial-marquee,
.featured-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonial-track,
.featured-track {
  display: inline-flex;
  align-items: center;
  animation: scroll-left 15s linear infinite;
  gap: 100px;
}

.testimonial-track {
  display: flex;
  flex-direction: column;
  animation: none;
  gap: 28px;
}

.testimonial-stack {
  display: flex;
  gap: 20px;
  position: relative;
  overflow-x: auto;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  background: #f5f6f8;
  border-radius: 26px;
  padding: 40px 28px;
  width: 380px;
  border: 1px solid #e9e9e9;
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 60px;
}

.testimonial-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-header-left img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 500;
  font-size: 20px;
  color: #1d2123;
  line-height: 1.52;
}

.testimonial-role {
  font-size: 14px;
  font-weight: 400;
  color: #1d2123;
  margin-top: 8px;
}

.testimonial-description {
  font-weight: 400;
  text-align: center;
  font-size: 20px;
  line-height: 1.52;
  color: #797d7f;
}

.testimonial-card h4 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}

.testimonial-card small {
  font-size: 13px;
  color: #666;
}

.testimonial-card-description {
  font-size: 18px;
  line-height: 1.52;
  font-weight: 400;
  color: #797d7f;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

.rating img {
  width: 24px;
  height: 24px;
}

.rating span {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.52;
}

.featured-logos {
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.featured-title {
  font-weight: 400;
  font-size: 20px;
  line-height: 1.52;
}

.explore-btn {
  background: linear-gradient(135deg, #e77494 0%, #e6275d 100%);
  box-shadow: 0px 24px 16px -16px #fa53a333;
  color: white;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  display: inline-block;
}

#hindustan-times {
  width: 190px;
  height: 100px;
}

#japan-times {
  width: 154px;
  height: 60px;
}

#business-standard {
  width: 350px;
  height: 150px;
}

#western-times {
  width: 150px;
  height: 40px;
}

#lokmat {
  width: 120px;
  height: 26px;
}

.testimonial-stack {
  margin-left: 150px;
}

#bottom-stack {
  margin-left: -100px;
}

.testimonial-scroll-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonial-scroll-wrapper::before,
.testimonial-scroll-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonial-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.testimonial-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .testimonial-section {
    padding: 40px 0;
    gap: 40px;
  }

  .testimonial-header {
    padding: 0 40px;
  }

  br {
    display: none;
  }

  .testimonial-stack {
    margin-left: 500px;
  }

  #bottom-stack {
    display: none;
  }
}

@media (max-width: 425px) {
  .testimonial-section {
    padding: 20px 0;
    gap: 40px;
  }

  .testimonial-header {
    padding: 0 20px;
    gap: 16px;
  }

  .testimonial-stack {
    margin-left: 500px;
  }

  .testimonial-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.32;
  }

  .testimonial-description {
    font-size: 12px;
    line-height: 1.32;
  }

  .testimonial-card {
    gap: 30px;
    border-radius: 14px;
    padding: 16px;
    width: 320px;
  }

  .testimonial-header-left {
    gap: 8px;
  }

  .testimonial-header-left img {
    width: 52px;
    height: 52px;
  }

  .testimonial-name {
    font-size: 12px;
  }

  .testimonial-role {
    margin-top: 4px;
    font-size: 12px;
  }

  .testimonial-card-description {
    font-size: 12px;
    line-height: 1.52;
  }

  .rating {
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
  }

  .rating img {
    width: 14px;
    height: 14px;
  }

  .testimonial-stack {
    margin-left: 380px;
  }

  .testimonial-scroll-wrapper::before,
  .testimonial-scroll-wrapper::after {
    width: 25px;
  }

  .rating span {
    font-size: 10px;
    font-weight: 400;
  }

  #hindustan-times {
    width: 140px;
    height: 80px;
  }

  #japan-times {
    width: 100px;
    height: 40px;
  }

  #business-standard {
    width: 250px;
    height: 100px;
  }

  #western-times {
    width: 120px;
    height: 30px;
  }

  #lokmat {
    width: 100px;
    height: 20px;
  }

  .featured-logos {
    padding: 20px;
    gap: 40px;
  }

  .featured-title {
    font-size: 14px;
  }
}
