section.testimonials-section .content-container {
  max-width: 1132px;
  margin: 0 auto;
  padding-top: 80px;
  border-top: 1px solid #ffffff1a;
  padding-bottom: 172px;
}

section.testimonials-section .testimonial-wrapper {
  position: relative;
  min-height: 564px;
}

section.testimonials-section .testimonial-single {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

section.testimonials-section .testimonial-wrapper .navigation {
  max-width: 564px;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.nav-details {
  display: flex;
  justify-content: end;
  margin-top: 23px;
}

section.testimonials-section .testimonial-numbers {
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.01rem;
  color: #96a0bc;
  position: absolute;
  bottom: 23px;
  left: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  width: 36px;
  display: flex;
  justify-content: end;
  opacity: 0;
  visibility: hidden;
  gap: 5px;
}
section.testimonials-section .active .testimonial-numbers {
  opacity: 1;
  visibility: visible;
  transition: opacity 0s ease, visibility 0s ease;
}

section.testimonials-section .testimonial-text-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
section.testimonials-section .testimonial-nav-buttons {
  display: flex;
  gap: 10px;
}
section.testimonials-section .testimonial-nav-buttons svg {
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: 0.3s ease;
}
section.testimonials-section .testimonial-nav-buttons svg:hover {
  background-color: rgba(222, 232, 250, 0.1);
}
section.testimonials-section .testimonial-text {
  font-family: "Cal Sans", sans-serif;
  font-size: 45px;
  font-weight: 500;
  line-height: 50px;
  letter-spacing: 0.01rem;
  color: white;
  width: 574px;
  margin: 15px 0 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease 0.1s;
}
section.testimonials-section .active .testimonial-text {
  opacity: 1;
  visibility: visible;
  transition: 0.5s ease 0.1s;
}

section.testimonials-section .testimonial-author-info {
  background: linear-gradient(180deg, #10101c 0%, #10121c 100%);
  border-radius: 18px;
  padding: 24px;
  max-width: 496px;
  border: 1px solid #2c303e;
  opacity: 0;
  visibility: hidden;
}
section.testimonials-section
  .testimonial-single.active
  .testimonial-author-info {
  opacity: 1;
  visibility: visible;
}

section.testimonials-section .author-image {
  width: 448px;
  height: 448px;
  display: flex;
  justify-content: center;
  align-items: end;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s ease 0.2s;
}

section.testimonials-section .active .author-image {
  opacity: 1;
  visibility: visible;
}

section.testimonials-section .author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.testimonials-section .author-name {
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.01rem;
  color: white;
  margin-top: 20px;
  margin-bottom: 5px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease 0.4s;
}

section.testimonials-section .active .author-name {
  opacity: 1;
  visibility: visible;
}

section.testimonials-section .author-position {
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.01rem;
  color: #96a0bc;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease 0.5s;
}
section.testimonials-section .active .author-position {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 1130px) {
  section.testimonials-section .content-container {
    padding-inline: 26px;
    padding-top: 57px;
  }
}

@media screen and (max-width: 1050px) {
  section.testimonials-section .testimonial-text {
    font-size: 28px;
    line-height: 32px;
    max-width: 100%;
    margin-bottom: 42px;
  }
  section.testimonials-section .testimonial-single {
    flex-direction: column;
    position: unset;
  }
  section.testimonials-section .testimonial-wrapper .navigation {
    position: relative;
    margin-top: 40px;
  }
  section.testimonials-section .testimonial-single {
    display: none;
  }
  section.testimonials-section .testimonial-single.active {
    display: flex;
  }
  section.testimonials-section .author-image {
    max-width: 100%;
    aspect-ratio: 1;
    height: auto;
    margion: 0 auto;
  }
  section.testimonials-section .author-name{
    font-size: 14px;
    line-height: 130%;
  }
  section.testimonials-section .author-position{
    font-size: 14px;
    line-height: 130%;
  }
}
