section.testimonials {
  position: relative;
}
section.testimonials.preloading .preloader {
  opacity: 1;
  pointer-events: all;
}
section.testimonials.preloading .testimonials-wrapper .testimonial-body {
  opacity: 0;
}
section.testimonials .preloader {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s all ease;
  display: flex;
  justify-content: center;
}
section.testimonials .preloader .lds-roller {
  position: sticky;
  top: 50vh;
}
section.testimonials .preloader .lds-roller div:after {
  background: #498BF9;
}
section.testimonials .testimonials-wrapper {
  width: 1300px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media screen and (min-width: 794px) {
  section.testimonials .testimonials-wrapper {
    padding-bottom: 110px;
  }
}
section.testimonials .testimonials-wrapper .testimonial-body {
  width: 380px;
  flex: 1 0 33%;
  max-width: 380px;
  transition: 0.3s opacity ease;
}
section.testimonials .testimonials-wrapper .testimonial-body:nth-child(2) {
  margin-top: -141px;
}
section.testimonials .testimonials-wrapper .testimonial-body:nth-child(1) {
  margin-top: -101px;
}
section.testimonials .testimonials-wrapper .testimonial-body:nth-child(3) {
  margin-top: -42px;
}
section.testimonials .testimonials-wrapper .testimonial-standard, section.testimonials .testimonials-wrapper .testimonial-educator, section.testimonials .testimonials-wrapper .testimonial-image.has_image {
  margin-bottom: 15px;
}
section.testimonials .testimonials-wrapper .testimonial-item {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  min-height: 0.1px;
  text-align: center;
  border-radius: 30px;
  background-color: #F3F8FF;
  overflow: hidden;
}
section.testimonials .testimonials-wrapper .testimonial-item .country-wrapper {
  display: flex;
  justify-content: center;
  column-gap: 8px;
}
section.testimonials .testimonials-wrapper .testimonial-item .country-wrapper .country-item {
  color: #333;
  font-family: "DM Sans", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px; /* 142.857% */
}
section.testimonials .testimonials-wrapper .testimonial-item .country-wrapper .country-icon img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: contain;
  object-position: 0 0;
}
section.testimonials .testimonials-wrapper .testimonial-item .country-wrapper .country-item {
  font-weight: 400;
}
section.testimonials .testimonials-wrapper .testimonial-item:not(.testimonial-image) {
  padding: 48px 30px 43px;
}
section.testimonials .testimonials-wrapper .testimonial-item .image-wrapper {
  display: flex;
  justify-content: center;
}
section.testimonials .testimonials-wrapper .testimonial-item .image-wrapper img {
  max-width: 100%;
}
section.testimonials .testimonials-wrapper .testimonial-item.bg-yellow {
  background-color: #FEF7E0;
}
section.testimonials .testimonials-wrapper .testimonial-item .text-wrapper .text-item, section.testimonials .testimonials-wrapper .testimonial-item .text-wrapper .text-item span {
  color: #333;
  font-family: "IBM Plex Serif", serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 133.333% */
}
section.testimonials .testimonials-wrapper .testimonial-item .text-wrapper .text-item span.blue-text {
  color: #498BF9;
}
section.testimonials .testimonials-wrapper .testimonial-item .teacher-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
section.testimonials .testimonials-wrapper .testimonial-item .teacher-wrapper .teacher-name {
  color: #333;
  font-family: "DM Sans", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px; /* 142.857% */
}
section.testimonials .testimonials-wrapper .testimonial-item .icon-wrapper .icon-item {
  display: flex;
  justify-content: center;
}
section.testimonials .testimonials-wrapper .testimonial-item.testimonial-educator {
  background-color: #ECF9F0;
}
section.testimonials .testimonials-wrapper .testimonial-item .educator-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
}
section.testimonials .testimonials-wrapper .testimonial-item .educator-wrapper .avatar-item {
  border-radius: 50%;
  background-color: #fff;
  overflow: hidden;
}
section.testimonials .testimonials-wrapper .testimonial-item .educator-wrapper .educator-info {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
section.testimonials .testimonials-wrapper .testimonial-item .educator-wrapper .name-wrapper {
  font-family: "DM Sans", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}
section.testimonials .testimonials-wrapper .testimonial-item .educator-wrapper .global-btn {
  margin-top: 8px;
}
section.testimonials .testimonials-wrapper .testimonial-item .educator-wrapper .global-btn a {
  background-color: #41C46E;
  border-color: #41C46E;
  padding: 8px 16px;
  font-size: 12px;
  font-family: "DM Sans", serif;
  font-weight: 700;
  line-height: 16px;
}

.global-btn a {
  text-decoration: none;
}

section.hero {
  height: 750px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  background: url("../svg/testimonial-hero.svg") no-repeat center #132C55;
  background-position: center 100px;
  padding-bottom: 123px;
}
section.hero .title-wrapper {
  padding-top: 0;
  max-width: 763px;
  margin: 0 auto;
}
section.hero .title-wrapper .title-item {
  color: #FFF;
  font-family: "IBM Plex Serif", serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 120%; /* 57.6px */
}
section.hero .global-btn {
  margin-top: 38px;
}

.submit-popup {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 32, 53, 0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s all ease;
}
.submit-popup:not(.active) * {
  pointer-events: none !important;
}
.submit-popup.active {
  opacity: 1;
  pointer-events: all;
}
.submit-popup .popup-container {
  width: 554px;
  position: relative;
}
.submit-popup .close-popup {
  width: 32px;
  aspect-ratio: 1/1;
  position: absolute;
  right: 24px;
  top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #EEF5FF;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
}
.submit-popup .popup-body {
  background-color: #fff;
  border-radius: 10px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  max-height: 100vh;
}
.submit-popup .title-wrapper {
  padding-top: 0;
}
.submit-popup .title-item {
  font-family: "IBM Plex Serif", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  text-align: left;
  margin-bottom: 32px;
  color: #333;
}
.submit-popup .inp-wrapper {
  position: relative;
  --left-spacing: 16px;
  flex: 1;
}
.submit-popup .inp-wrapper .inp-placeholder {
  color: #646464;
  font-family: "DM Sans", Sans-Serif, serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  position: absolute;
  top: 15px;
  z-index: 100;
  left: 16px;
  cursor: text;
  pointer-events: none;
}
.submit-popup .inp-wrapper .inp-placeholder.focused {
  top: 5px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  font-size: 12px;
  line-height: 12px;
  z-index: 1;
  position: absolute;
  cursor: unset;
}
.submit-popup .inp-wrapper .error-field {
  font-family: "DM Sans", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  color: #EB5757;
  min-height: 0;
}
.submit-popup .inp-wrapper .error-field-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: 0.3s all ease;
}
.submit-popup .inp-wrapper.err-inp .error-field-wrapper {
  grid-template-rows: 1fr;
  margin-top: 6px;
  margin-bottom: 12px;
}
.submit-popup .inp-wrapper.err-inp .inp-style {
  border-color: #EB5757;
}
.submit-popup .inp-wrapper .inp-style {
  background-color: #EEF5FF;
  border-radius: 5px;
  display: block;
  min-height: 50px;
  padding: 14px 16px 14px var(--left-spacing);
  width: 100%;
  appearance: none;
  resize: none;
  border: 2px solid #EEF5FF;
}
.submit-popup .inp-wrapper .inp-style:focus-within, .submit-popup .inp-wrapper .inp-style:focus, .submit-popup .inp-wrapper .inp-style:focus-visible, .submit-popup .inp-wrapper .inp-style {
  outline: 0;
}
.submit-popup .inp-wrapper textarea.inp-style {
  height: 120px;
}
.submit-popup .inputs-wrapper {
  gap: 20px;
}
.submit-popup .testimonial-form-item .form-body {
  max-height: calc(100vh - 218px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: auto;
  margin-bottom: 18px;
}
.submit-popup .picture-input-wrapper {
  padding: 24px;
  position: relative;
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='5' ry='5' stroke='%23DFECFEFF' stroke-width='4' stroke-dasharray='8%2c8' stroke-dashoffset='13' stroke-linecap='square'/%3e%3c/svg%3e");
  border-radius: 5px;
}
.submit-popup .picture-input-wrapper .title-wrapper {
  flex: 0 1 237px;
}
.submit-popup .picture-input-wrapper .icon-wrapper {
  flex: 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.submit-popup .picture-input-wrapper .title-item {
  font-family: "IBM Plex Serif", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: left;
  color: #333333;
}
.submit-popup .picture-input-wrapper .picture-input {
  margin-top: 16px;
  padding: 15px 21px 15px 21px;
  background-color: #EEF5FF;
  border-radius: 30px;
  max-width: fit-content;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.submit-popup .picture-input-wrapper .picture-input span {
  pointer-events: none;
}
.submit-popup .picture-input-wrapper .picture-input .icon {
  display: flex;
  align-items: center;
}
.submit-popup .picture-input-wrapper .picture-input .inp-picture {
  appearance: none;
  display: none;
}
.submit-popup .picture-input-wrapper .picture-input .placeholder {
  font-family: "DM Sans", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  color: #498BF9;
  margin-left: 8px;
}
.submit-popup .picture-input-wrapper .max-size-text {
  max-width: 242px;
  font-family: "DM Sans", serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 10px;
  text-align: center;
  color: #929292;
  margin-top: 8px;
}
.submit-popup .send-button {
  width: 100%;
  background-color: #498BF9;
  border-radius: 32px;
  padding: 15px 32px;
  font-family: "DM Sans", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s all ease;
}
.submit-popup .send-button:hover {
  background-color: #629DFF;
}
.submit-popup .send-button, .submit-popup .send-button:focus-visible, .submit-popup .send-button:focus, .submit-popup .send-button:focus-within {
  border: 0;
  outline: 0;
}
.submit-popup .drag-item {
  position: absolute;
  inset: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #F3F8FF;
  display: none;
}
.submit-popup .attached-image {
  display: none;
  margin-top: 16px;
}
.submit-popup .attached-image .title-item {
  font-family: "DM Sans", serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 10px;
  color: #646464;
}
.submit-popup .attached-image .image-item {
  margin-top: 8px;
  background-color: #EEF5FF;
  border-radius: 4px;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 8px;
}
.submit-popup .attached-image .image-item .image-name {
  margin-right: 4px;
  font-family: "DM Sans", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: #646464;
}
.submit-popup .attached-image .image-item .image-remove {
  flex: 1;
  text-align: right;
}
.submit-popup .attached-image .image-item .image-remove svg {
  cursor: pointer;
}
.submit-popup.attached .picture-input, .submit-popup.attached .max-size-text {
  display: none;
}
.submit-popup.attached .attached-image {
  display: block;
}
.submit-popup.drag .picture-input-wrapper {
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='5' ry='5' stroke='%23498BF9' stroke-width='4' stroke-dasharray='8%2c8' stroke-dashoffset='13' stroke-linecap='square'/%3e%3c/svg%3e");
  background-color: #F3F8FF;
}
.submit-popup.drag .picture-input-wrapper .drag-item {
  display: flex;
}
.submit-popup .success-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  z-index: 999;
  transition: 0.3s all ease;
  opacity: 0;
  pointer-events: none;
  border-radius: 10px;
}
.submit-popup .success-wrapper svg {
  width: 80%;
  max-width: 150px;
  height: auto;
}
.submit-popup.success .success-wrapper {
  opacity: 1;
  pointer-events: all;
}
.submit-popup .preloader {
  position: absolute;
  inset: 0;
  background-color: #498BF9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: 0.3s all ease;
  opacity: 0;
  pointer-events: none;
}
.submit-popup.preloading .preloader {
  opacity: 1;
  pointer-events: all;
}

.teacher-love-preview.testimonials {
  background-color: #132C55;
  padding: 40px 0;
}
.teacher-love-preview.testimonials .title-wrapper{
  padding-top: 0;
}
.teacher-love-preview.testimonials .preloader {
  display: flex;
  align-items: center;
}
.teacher-love-preview.testimonials .preloader .lds-roller {
  position: static;
}
.teacher-love-preview.testimonials .title-wrapper {
  margin-bottom: 48px;
  justify-content: center;
  position: relative;
}
.teacher-love-preview.testimonials .title-wrapper:before {
  content: url("../svg/teachers-love-preview-left.svg");
  display: inline-block;
  position: absolute;
  left: 44px;
  top: -50px;
}
.teacher-love-preview.testimonials .title-wrapper:after {
  content: url("../svg/teachers-love-preview-right.svg");
  display: inline-block;
  position: absolute;
  right: 75px;
  top: 0;
}
.teacher-love-preview.testimonials .title-item {
  font-family: "IBM Plex Serif", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 50.4px;
  text-align: center;
  color: #fff;
}
.teacher-love-preview.testimonials .testimonials-wrapper {
  max-height: 426px;
  height: 426px;
  overflow: hidden;
  position: relative;
}
.teacher-love-preview.testimonials .testimonials-wrapper:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(19, 44, 85, 0) 0%, #132C55 100%);
  background-blend-mode: darken;
  pointer-events: none;
}
.teacher-love-preview.testimonials .testimonials-wrapper .cta-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  z-index: 2;
  text-align: center;
}
.teacher-love-preview.testimonials .testimonials-wrapper .testimonial-body:nth-child(1), .teacher-love-preview.testimonials .testimonials-wrapper .testimonial-body:nth-child(2), .teacher-love-preview.testimonials .testimonials-wrapper .testimonial-body:nth-child(3) {
  margin-top: 0;
}
.teacher-love-preview.testimonials .testimonials-wrapper .testimonial-body:nth-child(1) .icon-wrapper{
display: none;
}
@media screen and (max-width: 1169px) {
  section.testimonials .testimonials-wrapper .testimonial-body:nth-child(3) {
    margin-top: 0;
  }
}
@media screen and (max-width: 992px) {
  .teacher-love-preview.testimonials .title-wrapper:after, .teacher-love-preview.testimonials .title-wrapper:before {
    content: unset;
  }
  .teacher-love-preview.testimonials .cta-wrapper a {
    margin-top: 0;
  }
}
@media screen and (max-width: 774px) {
  section.testimonials .testimonials-wrapper .testimonial-body .testimonial-standard, section.testimonials .testimonials-wrapper .testimonial-body .testimonial-educator, section.testimonials .testimonials-wrapper .testimonial-body .testimonial-image.has_image {
    margin-bottom: 10px;
  }
  section.testimonials .testimonials-wrapper .testimonial-body:nth-child(2) {
    margin-top: 0;
  }
  section.testimonials .testimonials-wrapper .testimonial-body:nth-child(1) {
    margin-top: 10px;
  }
}
@media screen and (max-width: 767px) {
  section.hero {
    height: 655px;
    background-image: url("../svg/testimonial-hero-mobile.svg");
    padding-bottom: 34px;
    background-position: center 78px;
  }
  section.hero .title-wrapper {
    max-width: 327px;
  }
  section.hero .title-wrapper .title-item {
    font-size: 32px;
    font-weight: 700;
    line-height: 38.4px;
  }
  section.hero .global-btn {
    margin-top: 30px;
  }
  section.hero .global-btn a {
    max-width: 327px;
  }
  .submit-popup .popup-body {
    padding: 24px;
  }
  .submit-popup .testimonial-form-item .form-body {
    gap: 10px;
  }
  .submit-popup .inputs-wrapper {
    gap: 10px;
  }
  section.testimonials .testimonials-wrapper .testimonial-body {
    flex: 1 1 100%;
  }
}
.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite !important;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s !important;
}

.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s !important;
}

.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s !important;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s !important;
}

.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s !important;
}

.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s !important;
}

.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s !important;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.testimonials-join {
  background-color: #132C55;
  color: #fff;
  padding: 100px 32px 97px;
}
.testimonials-join .join-wrapper {
  display: flex;
  justify-content: space-between;
  column-gap: 40px;
  align-items: center;
}
.testimonials-join .join-wrapper .text-part {
  flex: 0 0 553px;
}
.testimonials-join .join-wrapper .text-part .title-item {
  color: #fff;
  font-size: 45px;
  font-weight: 700;
  line-height: 54px;
}
.testimonials-join .join-wrapper .text-part .title-wrapper {
  padding-top: 0;
  margin-bottom: 48px;
}
.testimonials-join .join-wrapper .buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.testimonials-join .join-wrapper .buttons-wrapper .global-btn {
  margin-top: 0;
}
.testimonials-join .join-wrapper .buttons-wrapper .global-btn a.blue-primary-btn {
  --main-color: #498BF9;
  background-color: var(--main-color);
  border-color: var(--main-color);
}
.testimonials-join .join-wrapper .buttons-wrapper .global-btn a.blue-primary-btn:hover {
  --main-color: #629DFF;
}
.testimonials-join .join-wrapper .image-part {
  flex: 0 1 470px;
}
.testimonials-join .join-wrapper .image-part img {
  max-width: 100%;
}
@media screen and (max-width: 992px) {
  .testimonials-join .join-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 65px;
  }
  .testimonials-join .join-wrapper .text-part {
    flex: 1 0 100%;
  }
  .testimonials-join .join-wrapper .buttons-wrapper .global-btn {
    flex: 1;
  }
  .testimonials-join .join-wrapper .buttons-wrapper .global-btn a {
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
}