:root {
  --color-primary: #6f7070;
  --color-secondary: #101011;
  --rounded-custom: 0;
}

.section-reviews {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-reviews::before,
.section-reviews::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.section-reviews::before {
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(156, 206, 255, 0.4) 0%,
      transparent 70%);
}

.section-reviews::after {
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(169, 247, 196, 0.4) 0%,
      transparent 70%);
}

.section-container {
  max-width: 1200px;
  padding: 60px 30px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header-review {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.header-review h2 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.header-review p {
  font-size: 18px;
  color: #656565;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--rounded-custom);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: var(--color-secondary);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.social-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.social-section p {
  font-size: 16px;
  color: #4c4c4c;
  margin-bottom: 35px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.none {
  display: none;
}

.block {
  display: block;
}

.tt-capitalize {
  text-transform: capitalize;
}

.fw-bold {
  font-weight: bold;
}

.logo-reviews {
  border-radius: 15px;
  width: 100%;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.carousel {
  display: flex;
  overflow: hidden;
  gap: 20px;
}

.carousel>* {
  flex: 0 0 100%;
}

.group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
  /* width: 100%; */
}

.logo-item {
  flex: 1;
  min-width: 200px;
}

.logo-link {
  display: block;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .section-container {
    padding: 80px 50px;
  }

  .group {
    flex-direction: row;
    /* padding-right: 20px; */
    animation: scrolling 10s linear infinite;
  }

  .carousel:has(img:hover) .group,
  .carousel:has(a:hover) .group {
    animation-play-state: paused;
  }

  .logo-reviews:hover {
    transform: scale(0.8);
  }

  .md\:flex {
    display: flex;
  }
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 20px));
  }
}