/**
 * Screen sizes
 */
/**
  * Colors
  */
:root {
  --primary-color: #478cee;
  --secondary-color: #4fca92;
  --heading-font: system-ui;
  --body-font: system-ui;
}

.testimonials--small {
  position: relative;
  overflow: hidden;
  margin: 6rem 0;
}
.testimonials--small::after {
  content: "";
  position: absolute;
  top: 0;
  left: 40%;
  width: 100%;
  height: 100%;
  background: #478cee;
  display: block;
  border-radius: 10px 0px 0px 10px;
}
@media (max-width: 960px) {
  .testimonials--small::after {
    left: 2rem;
  }
}
.testimonials--small .wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .testimonials--small .wrapper {
    flex-wrap: wrap;
  }
}
.testimonials--small .testimonials-intro {
  order: 1;
  color: white;
  padding: 2rem;
  flex: 300px;
}
@media (max-width: 767px) {
  .testimonials--small .testimonials-intro {
    padding: 0rem 1rem 2rem 3rem;
  }
}
.testimonials--small .testimonials-slider {
  flex: 500px;
  border-radius: 10px;
  background: #f8fafb;
  box-shadow: 5px 3px 20px 0px rgba(0, 0, 0, 0.15);
  margin: 5rem 0;
}
@media (max-width: 960px) {
  .testimonials--small .testimonials-slider {
    margin: 2rem 0 0;
  }
}
.testimonials--small .testimonials-slider-item {
  padding: 3rem 4rem 3rem 3rem;
  display: flex;
  gap: 3rem;
  width: 100%;
  margin-right: 3rem;
}
@media (max-width: 767px) {
  .testimonials--small .testimonials-slider-item {
    padding: 2rem 2rem 2rem 2rem;
  }
}
.testimonials--small .testimonials-slider-item-text {
  flex: 1 1 200px;
}
.testimonials--small .testimonials-slider-item-text h3 {
  font-size: var(--step-2);
  padding-right: 3rem;
}
.testimonials--small .testimonials-slider-item-text h3 span {
  font-size: var(--step-1);
  font-weight: 400;
  display: block;
}
.testimonials--small .testimonials-slider-item-text p {
  font-style: italic;
  margin-bottom: 0;
}
.testimonials--small .testimonials-slider-item svg {
  position: absolute;
  top: 2.5rem;
  right: 2rem;
}
@media (max-width: 767px) {
  .testimonials--small .testimonials-slider-item svg {
    top: 1rem;
    right: 1.5rem;
  }
}
.testimonials--small .testimonials-slider-item-image {
  flex: 0 0 160px;
}
@media (max-width: 767px) {
  .testimonials--small .testimonials-slider-item-image {
    display: none;
  }
}
.testimonials--small .testimonials-slider-item-image img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.testimonials--large {
  padding: 5rem 0;
  overflow: hidden;
}
.testimonials--large .wrapper {
  display: flex;
  align-items: center;
  gap: 2rem 4rem;
  flex-wrap: wrap;
}
.testimonials--large .testimonials-intro {
  flex: 1 1 300px;
}
.testimonials--large .testimonials-slider {
  flex: 1 1 400px;
  position: relative;
}
.testimonials--large .testimonials-slider::after {
  content: "";
  position: absolute;
  top: -3rem;
  right: -5rem;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #4fca92 0%, rgba(217, 217, 217, 0) 100%);
  display: block;
}
.testimonials--large .testimonials-slider::before {
  content: "";
  position: absolute;
  bottom: -3rem;
  left: -5rem;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #3a99d8 0%, rgba(217, 217, 217, 0) 100%);
  display: block;
}
.testimonials--large .testimonials-slider-item {
  flex: 1 1 200px;
  border-radius: 5px;
  border: 0.5px solid #cbcbcb;
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.25);
  background: white;
  padding: 1rem;
  position: relative;
  z-index: 1;
  max-height: 400px;
  transition: 200ms linear;
  overflow: hidden;
  width: calc(50% - 0.75rem);
  margin-bottom: 1rem;
}
.testimonials--large .testimonials-slider-item.active {
  max-height: 1000px;
  padding-bottom: 4rem;
}
.testimonials--large .testimonials-slider-item.active .view-more svg {
  transform: rotate(180deg) translateY(0) !important;
}
.testimonials--large .testimonials-slider-item:nth-child(2) {
  margin-top: 7rem;
}
.testimonials--large .testimonials-slider-item:nth-child(odd) {
  float: left;
  clear: left;
}
.testimonials--large .testimonials-slider-item:nth-child(even) {
  float: right;
  clear: right;
}
.testimonials--large .testimonials-slider-item h3 {
  font-size: var(--step-2);
}
.testimonials--large .testimonials-slider-item h3 span {
  display: block;
  font-size: var(--step-0);
  font-weight: 400;
}
.testimonials--large .testimonials-slider-item p {
  font-style: italic;
  margin-bottom: 0;
  font-size: 16px;
}
.testimonials--large .testimonials-slider-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin: 0 0 1rem 0;
}
.testimonials--large .testimonials-slider-item .view-more {
  border: 0 none;
  background: none;
  appearance: none;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 50%);
  padding: 2rem 1rem 1rem 1rem;
  width: 100%;
  cursor: pointer;
}
.testimonials--large .testimonials-slider-item .view-more svg {
  transition: 300ms ease;
  transform: translateY(0);
}
.testimonials--large .testimonials-slider-item .view-more:hover svg {
  transform: translateY(10px);
}

.testimonials--hero {
  padding: 5rem 0 8rem;
  background: url("../../../../static/img/gradient-yellow.jpg") no-repeat bottom center/cover;
}
.testimonials--hero .testimonials-intro {
  max-width: 800px;
  margin-bottom: 4rem;
}
.testimonials--hero .testimonials-slider {
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
@media (max-width: 800px) {
  .testimonials--hero .testimonials-slider {
    flex-wrap: wrap;
  }
}
.testimonials--hero .testimonials-slider-item {
  flex: 1 1 200px;
  border-radius: 10px;
  border: 0.5px solid #cbcbcb;
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.25);
  background: white;
  padding: 2rem;
  position: relative;
  z-index: 1;
  max-height: 450px;
  transition: 200ms linear;
  overflow: hidden;
  width: calc(50% - 0.75rem);
  margin-bottom: 1rem;
}
@media (min-width: 801px) {
  .testimonials--hero .testimonials-slider-item:nth-child(1) {
    margin-top: 3rem;
  }
}
@media (min-width: 801px) {
  .testimonials--hero .testimonials-slider-item:nth-child(3) {
    margin-top: -3rem;
  }
}
.testimonials--hero .testimonials-slider-item::before {
  content: "";
  height: 1rem;
  background: linear-gradient(to right, #f1742d, #9747ff);
  display: block;
  margin-top: -2rem;
  margin-left: -2rem;
  width: calc(100% + 4rem);
  margin-bottom: 2rem;
}
.testimonials--hero .testimonials-slider-item.active {
  max-height: 1200px;
  padding-bottom: 4rem;
}
.testimonials--hero .testimonials-slider-item.active .view-more svg {
  transform: rotate(180deg) translateY(0) !important;
}
.testimonials--hero .testimonials-slider-item h3 {
  font-size: var(--step-2);
}
.testimonials--hero .testimonials-slider-item h3 span {
  display: block;
  font-size: var(--step-0);
  font-weight: 400;
}
.testimonials--hero .testimonials-slider-item p {
  font-style: italic;
  margin-bottom: 0;
  font-size: 16px;
}
.testimonials--hero .testimonials-slider-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin: 0 0 1rem 0;
}
.testimonials--hero .testimonials-slider-item .view-more {
  border: 0 none;
  background: none;
  appearance: none;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 50%);
  padding: 2rem 1rem 1rem 1rem;
  width: 100%;
}
.testimonials--hero .testimonials-slider-item .view-more svg {
  transition: 300ms ease;
}

.testimonials--listing {
  text-align: center;
}
.testimonials--listing .testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  margin-bottom: 5rem;
}
.testimonials--listing .testimonials-slider-item {
  flex: 1 1 300px;
  max-width: 370px;
  position: relative;
  max-height: 400px;
  transition: 200ms linear;
  overflow: hidden;
}
.testimonials--listing .testimonials-slider-item.active {
  max-height: 1000px;
  padding-bottom: 6rem;
}
.testimonials--listing .testimonials-slider-item.active .view-more svg {
  transform: rotate(180deg);
}
.testimonials--listing .testimonials-slider-item img {
  display: none;
}
.testimonials--listing .testimonials-slider-item h3 {
  font-size: var(--step-2);
}
.testimonials--listing .testimonials-slider-item h3 span {
  display: block;
  font-size: var(--step-0);
  font-weight: 400;
  opacity: 0.8;
}
.testimonials--listing .testimonials-slider-item h3:after {
  content: "";
  width: 3rem;
  height: 3px;
  background: #9747ff;
  display: block;
  margin: 1rem auto;
}
.testimonials--listing .testimonials-slider-item p {
  font-size: 1rem;
  text-align: left;
}
.testimonials--listing .testimonials-slider-item .view-more {
  border: 0 none;
  background: none;
  appearance: none;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 50%);
  padding: 4rem 1rem 1rem 1rem;
  width: 100%;
  cursor: pointer;
}
.testimonials--listing .testimonials-slider-item .view-more svg {
  transition: 300ms ease;
}
.testimonials--listing .testimonials-slider-item .view-more svg path {
  transition: 300ms ease;
  stroke: #dde9f0;
}
.testimonials--listing .testimonials-slider-item .view-more:hover svg path {
  stroke: #000;
}
