.top-section {
  font-family: plasto-bold;
  text-align: center;
  color: white;
  font-size: 4rem;
  padding-top: 12rem;
}

.submaintitle {
  font-size: 3rem;
}

.image-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.second-background {
  background: white;
  background-image: url('../images/JPG/BG-2.jpg');
  background-size: cover;
  width: 100%;
}

.second-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1rem;
}

.second-text-segment {
  margin: 0 0 2rem 0;
  padding: 1rem;
}

.second-title {
  font-size: 4rem;
  color: var(--color-secondary);
  font-family: plasto-bold;
  text-align: center;
}

.fifth-title {
  font-size: 4rem;
  color: var(--color-secondary);
  font-family: plasto-bold;
  text-align: center;
}

.second-text {
  font-size: 2rem;
  color: var(--color-secondary);
  padding: 3rem 1rem 0 1rem;
  text-align: center;
}

.third-text {
  font-size: 2rem;
  color: var(--color-secondary);
}

.how-works-video {
  width: 100%;
  max-width: 820px;
  object-fit: cover;
  cursor: pointer;
}

.third-section {
  background: rgb(230, 230, 230);
  padding: 10rem 1rem;
}

.third-box-style {
  width: 25%;
  border-bottom: 2px solid rgba(128, 128, 128, 0.548);
  border-radius: 0 10px 0 0;
  border-right: 2px solid rgba(128, 128, 128, 0.548);
  padding: 1rem 2rem;
  box-shadow: 1rem 0 0.8rem 0.3rem rgba(174, 174, 174, 0.263);
  font-family: plasto-bold;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: var(--color-primary);
}

.third-box-style:hover {
  background: var(--color-secondary);
  color: white;
}

.third-title {
  font-size: 3rem;
  color: var(--color-secondary);
  font-family: plasto-bold;
}

.third-container {
  background: white;
  border-radius: 0 1rem 8rem 8rem;
  margin: 3rem auto 3rem auto;
  max-width: 1400px;
}

.third-number {
  width: 35px;
}

.third-text-part {
  padding: 2rem;
}

.third-main-image {
  width: 100%;
  padding-top: 1rem;
  max-width: 600px;
  margin: 4rem auto 0 auto;
}

.third-sub-title {
  display: none;
  font-size: 3rem;
}

.third-tab-selected {
  background: var(--color-secondary);
  color: white;
}

.fourth-section {
  background: var(--color-secondary);
  background-image: url('../images/PNG/BG-H.3.png');
  background-size: cover;
  text-align: center;
  padding: 10rem 0 10rem 0;
}

.fourth-title {
  font-size: 4rem;
  color: white;
  /*font-family: plasto-bold;*/
}

.fourth-item {
  width: 190px;
  height: 200px;
  background: white;
  margin-top: -60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 2rem;
  color: var(--color-secondary);
  font-family: plasto-bold;
}

.fourth-image {
  width: 60px;
  height: 60px;
  margin-top: 3rem;
}

.fourth-section-inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  height: 250px;
  padding-top: 80px;
  overflow: hidden;
}

.fifth-section {
  background: white;
  background-image: url('../images/JPG/BG-2.jpg');
  background-size: cover;
  width: 100%;
  text-align: center;
  padding: 15rem 0 12.5rem 0;
}

.more-less {
  cursor: pointer;
  color: var(--color-primary);
  font-size: 6rem;
}

.main-testimonials-back {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10rem auto 0 auto;
  max-width: 600px;
  padding: 0 1rem;
}

.testimonial-container {
  position: absolute;
  width: 100%;
  top: -60px;
}

.testimonial-container-side {
  position: absolute;
  width: 100%;
  top: 0px;
  left: 20px;
}

.testimonial-container-side-right {
  position: absolute;
  width: 100%;
  top: 0px;
  right: 20px;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  max-width: 100px;
  max-height: 100px;
  margin: 0 auto;
}

.testimonial-image-side {
  width: 100%;
  height: 100%;
  max-width: 100px;
  max-height: 100px;
  margin: 0 auto;
}

.testimonial-name {
  color: white;
  font-size: 1rem;
}

.testimonial-name-side {
  color: white;
  font-size: 2rem;
  padding-top: 2rem;
}

.testimonial-link {
  color: var(--color-primary);
  font-size: 1rem;
  display: none;
}

.testimonial-link-side {
  color: var(--color-primary);
  font-size: 1rem;
}

.testimonial-desc {
  color: var(--color-white-text);
  font-size: 1rem;
  padding: 0 1rem;
}

.testimonial-desc-side {
  color: var(--color-white-text);
  font-size: 1.25rem;
  padding: 0 5rem;
}

.testimonial-quoute-image {
  margin: 0 auto;
  width: 20x;
  height: 20px;
}

.testimonial-quoute-image-side {
  margin: 0 auto;
  width: 18px;
  height: 18spx;
}

.testimonial-quote {
  color: white;
  font-size: 1rem;
  padding: 0 1rem;
}

.testimonial-quote-side {
  color: white;
  font-size: 1.5rem;
  padding: 0 5rem;
}

.side-testimonial {
  display: none;
}
/*#region Carousel*/
.tns-brands .tns-outer [data-action],
.tns-brands .tns-nav {
  display: none;
}
.tns-brands .tns-outer {
  margin-top: 28px;
}
.tns-brands .tns-outer [aria-controls] {
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: transparent;
  width: 15px;
  height: 15px;
  padding: 10px;
  box-sizing: border-box;
  /*border-top: 10px solid var(--color-primary);
  border-right: 10px solid var(--color-primary);
  */
  border-top: 10px solid var(--color-secondary);
  border-right: 10px solid var(--color-secondary);
  cursor: pointer;
  margin: 0 20px;
  z-index: 2;
  margin-right: 3.25rem;
}
.tns-brands .tns-outer [aria-controls]:nth-child(1) {
  transform: rotate(-135deg);
}
.tns-brands .tns-outer [aria-controls]:nth-child(1):active {
  transform: rotate(-135deg) scale(0.9);
}
.tns-brands .tns-outer [aria-controls]:nth-last-child(1) {
  transform: rotate(45deg);
}
.tns-brands .tns-outer [aria-controls]:nth-last-child(1):active {
  transform: rotate(45deg) scale(0.9);
}
.tns-brands .tns-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: -48px;
}
.tns-brands .tns-item {
  text-align: center;
  transition: opacity 150ms linear;
}
.tns-brands .tns-item:hover {
  opacity: 0.5;
}

@media (max-width: 992px) {
  .tns-brands .tns-item {
    transform: scale(1);
  }
}
/*#endregion Carousel*/

@media screen and (min-width: 350px) {
  .testimonial-link {
    display: unset;
  }

  .testimonial-desc {
    padding: 0 2rem;
  }

  .testimonial-quote {
    padding: 0 2rem;
  }
}

@media screen and (min-width: 400px) {
  .more-less {
    font-size: 9rem;
  }

  .testimonial-desc {
    font-size: 1.2rem;
  }

  .testimonial-quote {
    font-size: 1.5rem;
  }

  .testimonial-name {
    font-size: 2rem;
  }
}

@media screen and (min-width: 500px) {
  .more-less {
    font-size: 9rem;
  }

  .testimonial-desc {
    padding: 0 6rem;
    font-size: 1.2rem;
  }

  .testimonial-quote {
    padding: 0 6rem;
    font-size: 2rem;
  }

  .testimonial-quoute-image {
    width: 35px;
    height: 35px;
  }
}

@media screen and (min-width: 600px) {
  .top-section {
    font-size: 9rem;
    padding-top: 24rem;
  }

  .submaintitle {
    font-size: 4rem;
  }

  .second-title {
    font-size: 7rem;
  }

  .fifth-title {
    font-size: 7rem;
  }
  /*
  .fourth-title {
    font-size: 7rem;
  }
*/
  .second-text {
    font-size: 3.5rem;
  }

  .third-text {
    font-size: 3.5rem;
  }

  .second-section {
    padding: 15rem 1rem;
  }

  .third-title {
    font-size: 5rem;
  }

  .third-number {
    width: 55px;
  }

  .testimonial-image {
    max-width: 160px;
    max-height: 160px;
  }

  .testimonial-name {
    font-size: 2.5rem;
  }

  .testimonial-link {
    font-size: 1.5rem;
  }

  .testimonial-desc {
    padding: 0 6rem;
    font-size: 1.5rem;
  }

  .testimonial-quote {
    font-size: 2.5rem;
    padding: 0 6rem;
  }

  .testimonial-quoute-image {
    width: 35px;
    height: 35px;
  }
}

@media screen and (min-width: 1040px) {
  .text-container {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
  }

  .image-container {
    margin-top: 30rem;
  }

  .second-section {
    padding: 15rem 10rem;
  }

  .third-sub-title {
    display: unset;
  }
}

@media screen and (min-width: 1300px) {
  .side-testimonial {
    display: unset;
  }

  .main-testimonials-back {
    max-width: 1300px;
  }
}

@media screen and (min-width: 1400px) {
  .second-section {
    padding: 15rem 4rem;
    flex-direction: row-reverse;
  }

  .second-text-segment {
    margin: 0 0 0 2rem;
  }
}

@media screen and (min-width: 1700px) {
  .image-container {
    margin-top: 10rem;
  }

  .second-section {
    padding: 15rem 10rem;
    flex-direction: row-reverse;
  }

  .second-text-segment {
    margin: 0 10rem 0 10rem;
  }

  .second-title {
    font-size: 8rem;
  }

  .fifth-title {
    font-size: 8rem;
  }
  /*
  .fourth-title {
    font-size: 8rem;
  }
*/
  .third-box-style {
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 0.25rem 2rem;
  }
}

/*#region testimonials*/
.slider {
  width: 100%;
}
.slider input {
  display: none;
}
.testimonials {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 350px;
  perspective: 1000px;
  overflow: hidden;
}
.testimonials .item {
  width: 450px;
  padding: 30px;
  border-radius: 5px;
  background-color: var(--color-secondary);
  position: absolute;
  top: 0;
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.4s;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  user-select: none;
  cursor: pointer;
  border: 1.25px solid black;
}
.testimonials .item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #3b344d;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.testimonials .item p {
  color: #ddd;
}
.testimonials .item h2 {
  font-size: 14px;
}
.dots {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dots label {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  cursor: pointer;
  background-color: var(--color-secondary);
  margin: 7px;
  transition-duration: 0.2s;
}

#t-1:checked ~ .dots label[for='t-1'],
#t-2:checked ~ .dots label[for='t-2'],
#t-3:checked ~ .dots label[for='t-3'],
#t-4:checked ~ .dots label[for='t-4'],
#t-5:checked ~ .dots label[for='t-5'] {
  transform: scale(2);
  background-color: var(--color-primary);
}
#t-1:checked ~ .dots label[for='t-2'],
#t-2:checked ~ .dots label[for='t-1'],
#t-2:checked ~ .dots label[for='t-3'],
#t-3:checked ~ .dots label[for='t-2'],
#t-3:checked ~ .dots label[for='t-4'],
#t-4:checked ~ .dots label[for='t-3'],
#t-4:checked ~ .dots label[for='t-5'],
#t-5:checked ~ .dots label[for='t-4'] {
  transform: scale(1.5);
}
#t-1:checked ~ .testimonials label[for='t-5'] {
  transform: translate3d(1200px, 0, -360px) rotateY(-45deg);
}
#t-1:checked ~ .testimonials label[for='t-4'],
#t-2:checked ~ .testimonials label[for='t-5'] {
  transform: translate3d(900px, 0, -270px) rotateY(-35deg);
  z-index: 1;
}
#t-1:checked ~ .testimonials label[for='t-3'],
#t-2:checked ~ .testimonials label[for='t-4'],
#t-3:checked ~ .testimonials label[for='t-5'] {
  transform: translate3d(600px, 0, -180px) rotateY(-25deg);
  z-index: 2;
}
#t-1:checked ~ .testimonials label[for='t-2'],
#t-2:checked ~ .testimonials label[for='t-3'],
#t-3:checked ~ .testimonials label[for='t-4'],
#t-4:checked ~ .testimonials label[for='t-5'] {
  transform: translate3d(300px, 0, -90px) rotateY(-15deg);
  z-index: 3;
}
#t-2:checked ~ .testimonials label[for='t-1'],
#t-3:checked ~ .testimonials label[for='t-2'],
#t-4:checked ~ .testimonials label[for='t-3'],
#t-5:checked ~ .testimonials label[for='t-4'] {
  transform: translate3d(-300px, 0, -90px) rotateY(15deg);
  z-index: 3;
}
#t-3:checked ~ .testimonials label[for='t-1'],
#t-4:checked ~ .testimonials label[for='t-2'],
#t-5:checked ~ .testimonials label[for='t-3'] {
  transform: translate3d(-600px, 0, -180px) rotateY(25deg);
}
#t-5:checked ~ .testimonials label[for='t-2'],
#t-4:checked ~ .testimonials label[for='t-1'] {
  transform: translate3d(-900px, 0, -270px) rotateY(35deg);
}
#t-5:checked ~ .testimonials label[for='t-1'] {
  transform: translate3d(-1200px, 0, -360px) rotateY(45deg);
}
#t-1:checked ~ .testimonials label[for='t-1'],
#t-2:checked ~ .testimonials label[for='t-2'],
#t-3:checked ~ .testimonials label[for='t-3'],
#t-4:checked ~ .testimonials label[for='t-4'],
#t-5:checked ~ .testimonials label[for='t-4'],
#t-5:checked ~ .testimonials label[for='t-5'] {
  z-index: 4;
}

.testimonial-text {
  font-size: 2rem;
  color: white;
  padding-top: 0.5rem;
}

.testimonial-price {
  font-size: 2.25rem;
  color: gold;
  font-family: plasto-bold;
}

.testimonial-name {
  font-size: 3rem;
  padding-top: 1rem;
  font-family: plasto-bold;
}
/*#endregion testimonials*/
