/* Mobile First */
.testimonial-section {
  padding: 40px 0;
  background-color: #f8f9fa;
}

.content-title {
  margin-bottom: 32px;
}

.content-title .title {
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.btn-catalog {
  font-family: 'Inter';
  font-size: 14px;
  background: var(--orange-color);
  border: none;
  padding: 0 24px;
  border-radius: 12px;
  width: 179px;
  height: 42px;
}

.btn-catalog:hover {
  background-color: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.food-right {
  padding: 0 34px;
}

.food-right img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.food-img {
  width: 100%;
  border-radius: 35px;
}

/* Testimonial Card Styles */
.testimonial-card {
  background: #F9F9F9;
  border-radius: 40px;
  padding: 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 473px;
}

.testimonial-users-wrapper {
  position: relative;
  width: 293px;
  margin: 80px 0 40px 0;
  overflow: hidden;
}

.testimonial-users {
  gap: 10px;
}

.testimonial-users img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.testimonial-users img.active {
  width: 65px;
  height: 65px;
  opacity: 1;
  z-index: 2;
}

.testimonial-users-wrapper::before,
.testimonial-users-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.testimonial-users-wrapper::before {
  left: 0px;
  background: linear-gradient(90deg, #F9F9F9 52.88%, rgba(249, 249, 249, 0) 100%);
  width: 62px;
  height: 80px;
}

.testimonial-users-wrapper::after {
  right: 0;
  background: linear-gradient(90deg, #F9F9F9 52.88%, rgba(249, 249, 249, 0) 100%);
  width: 62px;
  height: 80px;
  transform: rotate(-180deg);
}

.testimonial-text {
  font-style: italic;
  color: #121212;
  padding: 10px 0;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
}

.testimonial-name {
  margin-bottom: 5px;
  font-size: 20px;
}

.rating {
  font-family: 'Inter', serif;
  color: #6D6D6D;
  margin-bottom: 40px;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-rating img {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .testimonial-users-wrapper {
    width: 400px;
    margin: 80px 0 40px 0;
    justify-content: center;
    align-items: center;
  }

  .food-right {
    padding: 0 60px;
  }

  .food-right img {
    width: 100%;
    min-height: 380px;
    object-fit: cover;
  }

  .testimonial-card {
    padding: 20px 80px;
  }

  .testimonial-text {
    padding: 10px 40px;
  }

  .testimonial-users {
    gap: 10px;
  }

  .testimonial-users img {
    width: 60px;
    height: 60px;
  }

  .testimonial-users img.active {
    width: 86px;
    height: 86px;
  }

  .testimonial-users-wrapper::before,
  .testimonial-users-wrapper::after {
    width: 90px;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .testimonial-section {
    padding: 80px 0;
  }

  .content-title {
    margin-bottom: 32px;
  }

  .content-title .title {
    font-size: 48px;
    margin-bottom: 40px;
  }

  .food-images {
    display: flex;
    gap: 20px;
  }

  .food-left img {
    max-width: 210px;
    min-height: 220px;
    object-fit: cover;
  }

  .food-right {
    padding: 0;
  }

  .food-right img {
    width: 100%;
    min-height: 220px;
    object-fit: cover;
  }

  .testimonial-card {
    padding: 0 30px;
    min-height: 473px;
  }

  .testimonial-users-wrapper {
    width: 293px;
    margin: 80px auto 40px;
  }

  .testimonial-users {
    gap: 10px;
  }

  .testimonial-users img {
    width: 40px;
    height: 40px;
  }

  .testimonial-users img.active {
    width: 65px;
    height: 65px;
  }

  .testimonial-users-wrapper::before,
  .testimonial-users-wrapper::after {
    width: 60px;
  }

  .testimonial-users-wrapper::before {
    width: 62px;
    height: 80px;
  }

  .testimonial-users-wrapper::after {
    width: 62px;
    height: 80px;
  }

  .testimonial-text {
    padding: 10px 0;
    font-size: 16px;
  }

  .testimonial-name {
    font-weight: 600;
    font-size: 20px;
  }

  .rating {
    margin-bottom: 40px;
  }

  .testimonial-rating img {
    width: 20px;
    height: 20px;
  }
}

/* Desktop Large Styles */
@media (min-width: 1440px) {
  .testimonial-section {
    padding: 160px 0;
  }

  .content-title {
    margin-bottom: 80px;
  }

  .content-catalog {
    width: 635px !important;
  }

  .testimonial-title {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 40px;
  }

  .btn-catalog {
    font-size: 16px;
    padding: 0 32px;
    border-radius: 16px;
    width: 213px;
    height: 52px;
  }

  .food-images {
    gap: 25px;
  }

  .food-left img {
    min-width: 210px;
    height: 280px;
  }

  .food-right img {
    width: 400px;
    height: 280px;
  }

  .content-testimoni {
    display: flex;
    justify-content: end;
  }

  .testimonial-card {
    padding: 0 40px;
    height: 611px;
    width: 565px;
  }

  .testimonial-users-wrapper {
    width: 485px !important;
    margin: 80px 0 40px 0;
  }

  .testimonial-users {
    gap: 15px;
  }

  .testimonial-users img {
    width: 65px;
    height: 65px;
  }

  .testimonial-users img.active {
    width: 100px;
    height: 100px;
  }

  .testimonial-users-wrapper::before {
    width: 98px;
    height: 100px;
  }

  .testimonial-users-wrapper::after {
    width: 98px;
    height: 100px;
  }

  .testimonial-text {
    padding: 10px;
    font-size: 20px;
  }

  .testimonial-name {
    font-size: 24px;
  }

  .rating {
    font-size: 16px;
    margin-bottom: 123px;
  }
}
