/* main content */
.review {
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 100px 100px;
  width: 100%;
  height: 100%;
  color: var(--dark-blue-1);
  position: relative;
  margin: auto;
  transition: padding 0.3s ease;
}
.review::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  min-height: 100%;
  height: 100%;
  background: var(--white);
  z-index: -1;
}
.review .h3 {
  padding-bottom: 16px;
  text-align: center;
}
.review .body-1 {
  max-width: 650px;
  text-align: center;
}
/* student review card*/
.review-list {
  padding-top: 70px;
  transition: padding 0.3s ease;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 30px;
  column-gap: 30px;
  row-gap: 24px;
  align-items: center;
  text-align: center;
}
.review-card {
  transition: border 0.3s ease, padding 0.3s ease;
  padding-right: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-card .body-2 {
  flex: 1;
}
/* border */
.review-card:not(:last-child) {
  border-right: 1px solid var(--blue-2);
  transition: border 0.3s ease, padding 0.3s ease;
}

.review-stars {
  display: flex;
  justify-content: center;
  padding-bottom: 16px;
  gap: 8px;
  margin-bottom: auto;
}
.review-card .caption-4 {
  padding-top: 30px;
  padding-bottom: 8px;
}
.review-list .caption-2 {
  color: var(--grey-1);
}
.review-bottom-part {
  margin-top: auto;
}
/* Responsive */
@media (max-width: 767px) {
  .review {
    padding: 70px 20px 0px;
  }
  .review-list {
    padding-top: 40px;
    grid-template-columns: repeat(1, 1fr);
  }
  .review-card {
    padding-right: 0;
  }
  .review-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--blue-2);
    padding-bottom: 24px;
    transition: border 0.3s ease, padding 0.3s ease;
  }
}
