.section-reviews {
  position: relative;
  background-color: #f9f9f9;
  padding: 7rem 0;
}
.section-reviews .container {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.section-reviews .container .header-container {
  width: 400px;
}
.section-reviews .container .header-container .dots {
  display: flex;
  justify-content: flex-start;
  grid-gap: 5px;
  align-items: center;
  margin-top: 50px;
}
.section-reviews .container .header-container .dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  cursor: pointer;
  background-color: var(--black);
}
.section-reviews .container .header-container .dots .dot.active {
  background-color: var(--primary);
  width: 25px;
  border-radius: 5px;
  transition: all 0.2s;
}
.section-reviews .container .reviews-outer {
  flex: 1;
  overflow: hidden;
}
.section-reviews .container .reviews-outer .reviews {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  grid-gap: 15px;
  transition: all 0.5s;
}
.section-reviews .container .reviews-outer .reviews .review {
  background-color: var(--white);
  border-radius: 20px;
  padding: 40px;
  color: var(--primary);
}
.section-reviews .container .reviews-outer .reviews .review .text {
  margin: 0;
  font-size: 0.9em;
}
.section-reviews .container .reviews-outer .reviews .review .name {
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 20px;
}
.section-reviews .container .reviews-outer .reviews .review .rating {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  grid-gap: 3px;
  margin-top: 40px;
}
.section-reviews .container .reviews-outer .reviews .review .rating svg {
  width: 18px;
}
.section-reviews .container .reviews-outer .reviews .review .rating svg path {
  fill: #f6bb06;
}

@media (max-width: 900px) {
  .section-reviews .container .header-container {
    width: 100%;
    margin-bottom: 50px;
  }
  .section-reviews .container .reviews-outer {
    width: 100%;
    flex: unset;
  }
}
/*

Options > Background Secondary

*/
.section-reviews[options~=background-secondary] {
  background-color: var(--secondary);
}
.section-reviews[options~=background-secondary] .container {
  color: var(--white);
}
.section-reviews[options~=background-secondary] .container .subheading {
  color: var(--white);
}
.section-reviews[options~=background-secondary] .container .dots .dot {
  background-color: rgba(255, 255, 255, 0.4);
}
.section-reviews[options~=background-secondary] .container .dots .dot.active {
  background-color: var(--white);
}

/*

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;
  }
}