.section-reviews {
  position: relative;
  background-color: #f9f9f9;
  padding: 7rem 0;
}
.section-reviews .container {
  position: relative;
  padding: 0 80px;
}
.section-reviews .container :is(h1, h2) {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  text-align: center;
}
.section-reviews .container .icon {
  width: 70px;
  height: 70px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
  margin: 25px auto;
}
.section-reviews .container .icon svg {
  max-width: 50%;
  max-height: 50%;
}
.section-reviews .container .icon svg path {
  fill: var(--white);
}
.section-reviews .reviews {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
.section-reviews .reviews .outer {
  width: 100%;
  display: flex;
  overflow: hidden;
}
.section-reviews .reviews .inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 0;
  transition: all 1s;
  width: auto;
}
.section-reviews .reviews .inner .review {
  padding: 50px;
  text-align: center;
}
.section-reviews .reviews .inner .review .text {
  font-size: 2em;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4em;
}
.section-reviews .reviews .inner .review .name {
  font-weight: 700;
  font-size: 1.5em;
}
.section-reviews .reviews .arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% + 160px);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -80px;
}
.section-reviews .reviews .arrows > div {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.section-reviews .reviews .arrows > div:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.section-reviews .reviews .arrows > div svg {
  width: 16px;
}
.section-reviews .reviews .arrows > div svg path {
  fill: var(--white);
}
.section-reviews .reviews .nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.section-reviews .reviews .nav > div {
  width: 30px;
  height: 1px;
  background-color: rgba(var(--secondary-rgb), 0.25);
}
.section-reviews .reviews .nav > div.previous {
  width: auto;
  height: auto;
  background-color: unset;
  cursor: pointer;
}
.section-reviews .reviews .nav > div.previous p {
  margin: 0 8px 0 0;
}
.section-reviews .reviews .nav > div.next {
  width: auto;
  height: auto;
  background-color: unset;
  cursor: pointer;
}
.section-reviews .reviews .nav > div.next p {
  margin: 0 0 0 8px;
}
.section-reviews .reviews .nav > div.active {
  background-color: rgba(var(--secondary-rgb), 1);
}

@media (max-width: 1000px) {
  .section-reviews .container {
    padding: 0 60px;
  }
  .section-reviews .container .reviews .inner .review .text {
    font-size: 1.2em;
  }
  .section-reviews .container .reviews .inner .review .name {
    font-size: 1em;
  }
  .section-reviews .container .reviews .arrows {
    width: calc(100% + 120px);
    left: -60px;
  }
  .section-reviews .container .reviews .arrows > div {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 600px) {
  .section-reviews .container {
    padding: 0;
  }
  .section-reviews .container .reviews .inner .review {
    padding: 0;
  }
  .section-reviews .container .reviews .inner .review .text {
    font-size: 1em;
  }
  .section-reviews .container .reviews .arrows {
    display: none;
  }
}
/*

Loading transitions

*/
.section-reviews .reviews {
  margin-top: -100px;
  opacity: 0;
}
.section-reviews.scrolled-to .reviews {
  animation: reviewsReveal 1.5s forwards;
}

@keyframes reviewsReveal {
  0%, 50% {
    margin-top: -100px;
    opacity: 0;
  }
  100% {
    margin-top: 0;
    opacity: 1;
  }
}