/** testimonial-section **/

.testimonial-section {
  position: relative;
}

.testimonial-block-one {
  margin-top: 15px;
}

.testimonial-block-one .inner-box {
  position: relative;
  display: block;
  border: 1px solid rgba(31, 31, 31, 0.05);
  padding: 44px 50px 20px 50px;
  min-height: 400px;
}

.testimonial-block-one .inner-box .icon-box {
  position: absolute;
  top: -13px;
  right: 50px;
}

.testimonial-block-one .inner-box .designation {
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 6px;
}

.testimonial-block-one .inner-box h2 {
  display: block;
  font-size: 28px;
  line-height: 36px;
}

.testimonial-block-one .inner-box p {
  font-size: 14px;
  line-height: 20px;
  font-family: var(--title-font);
}

.testimonial-block-one .inner-box .author-box {
  position: relative;
  display: block;
  padding: 0px 0px 0px 0px;
  margin-bottom: 20px;
}

.testimonial-block-one .inner-box .author-box .thumb-box {
  position: absolute;
  left: 0px;
  top: 6px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.testimonial-block-one .inner-box .author-box .thumb-box img {
  width: 100%;
  border-radius: 50%;
}

.testimonial-block-one .inner-box .author-box h3 {
  display: block;
  font-size: 24px;
  line-height: 32px;
}

.testimonial-block-one .inner-box .author-box span {
  position: relative;
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.testimonial-block-one .inner-box .author-box .rating-list {
  position: relative;
  display: flex;
  align-items: center;
}

.testimonial-block-one .inner-box .author-box .rating-list li {
  font-size: 18px;
  margin-right: 2px;
}

.testimonial-section .owl-dots {
  position: relative;
  display: block;
  text-align: center;
  margin-top: 40px;
}

/** testimonial-style-two **/

.testimonial-style-two {
  position: relative;
}

.testimonial-style-two .image-box {
  position: relative;
  display: block;
  margin-right: 110px;
  padding: 20px 0px;
}

.testimonial-style-two .image-box .image {
  position: relative;
  display: block;
}

.testimonial-style-two .image-box .image img {
  width: 100%;
}

.testimonial-style-two .image-box .image:before {
  position: absolute;
  content: "";
  background: #ffe482;
  width: 50px;
  height: 50px;
  left: -20px;
  top: -20px;
  z-index: -1;
}

.testimonial-style-two .image-box .image:after {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  right: -20px;
  bottom: -20px;
  z-index: -1;
}

.testimonial-style-two .image-box .big-text {
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: -42px;
  font-size: 60px;
  line-height: 46px;
  font-family: var(--title-font);
  font-weight: 700;
  background: linear-gradient(
    0deg,
    rgba(255, 143, 109, 1),
    rgba(255, 255, 255, 1)
  );
  writing-mode: vertical-lr;
  -webkit-background-clip: text !important;
  transform: rotate(180deg);
  opacity: 0.2;
  text-align: center;
}

.testimonial-block-two .inner-box {
  position: relative;
  display: block;
}

.testimonial-block-two .inner-box .designation {
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 6px;
}

.testimonial-block-two .inner-box h2 {
  display: block;
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 34px;
}

.testimonial-block-two .inner-box p {
  font-size: 24px;
  line-height: 34px;
  font-family: var(--title-font);
  color: var(--title-color);
  margin-bottom: 45px;
}

.testimonial-block-two .inner-box .clients-info {
  position: relative;
  display: flex;
  align-items: center;
}

.testimonial-block-two .inner-box .clients-info .clients-list {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 50px;
}

.testimonial-block-two .inner-box .clients-info .clients-list li {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: -32px;
}

.testimonial-block-two .inner-box .clients-info .clients-list li img {
  width: 100%;
  border-radius: 50%;
}

.testimonial-block-two .inner-box .clients-info .clients-list li.clients {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 1px solid #1f1f1f;
  border-radius: 50%;
  text-align: center;
  margin-right: -12px;
  text-align: center;
}

.testimonial-block-two .inner-box .clients-info .clients-list li.clients span {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  color: var(--title-color);
}

.testimonial-block-two .inner-box .clients-info .rating-box h3 {
  display: block;
  font-size: 24px;
  line-height: 26px;
  margin-bottom: 3px;
}

.testimonial-block-two .inner-box .clients-info .rating-box p {
  font-size: 14px;
  margin-bottom: 7px;
}

.testimonial-block-two .inner-box .clients-info .rating-box .rating-list {
  position: relative;
  display: flex;
  align-items: center;
}

.testimonial-block-two .inner-box .clients-info .rating-box .rating-list li {
  font-size: 18px;
  margin-right: 2px;
}

.testimonial-style-two .owl-dots {
  margin-top: 35px;
}

/** testimonial-style-three **/

.testimonial-style-three {
  position: relative;
  background: #1f1f1f;
}

.testimonial-style-three .testimonial-block-one .inner-box {
  background: #222;
  border-color: #222;
}

.testimonial-style-three .testimonial-block-one .inner-box h2,
.testimonial-style-three .testimonial-block-one .inner-box p,
.testimonial-style-three .testimonial-block-one .inner-box .author-box h3 {
  color: #fff;
}

.testimonial-style-three .testimonial-block-one .inner-box p {
  border-color: rgba(255, 255, 255, 0.05);
}

.testimonial-style-three .testimonial-block-one .inner-box .author-box span {
  color: #7c7f87;
}

.testimonial-style-three .owl-dots {
  position: relative;
  display: block;
  text-align: center;
  margin-top: 50px;
}

.testimonial-style-three .dots-style-one .owl-dots .owl-dot:after {
  background: #1f1f1f;
}

.testimonial-style-three .dots-style-one .owl-dots .owl-dot {
  background: #fff;
}

.testimonial-style-three .pattern-layer {
  position: absolute;
  left: 0px;
  bottom: 0px;
  height: calc(100% + 137px);
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.testimonial-style-two .inner-container {
  border-bottom: 1px solid #1f1f1f;
}

.testimonial-section .inner-container {
  border-bottom: 1px solid #1f1f1f;
}

.testimonial-page-section .testimonial-block-one {
  padding-bottom: 30px;
}

/** rtl-css **/

.rtl .testimonial-block-one .inner-box {
  text-align: right;
}

.rtl .testimonial-block-one .inner-box .author-box {
  padding-left: 0px;
  padding-right: 90px;
}

.rtl .testimonial-block-one .inner-box .author-box .thumb-box {
  left: inherit;
  right: 0px;
}

.rtl .testimonial-block-one .inner-box .author-box .rating-list {
  justify-content: right;
}

.rtl .testimonial-block-two .inner-box {
  text-align: right;
}

.rtl .testimonial-block-two .inner-box .clients-info {
  justify-content: right;
}

.rtl .testimonial-style-two .owl-dots {
  text-align: right;
}

.rtl .testimonial-style-two .image-box {
  margin-right: 0px;
  margin-left: 110px;
}

.rtl .testimonial-style-two .image-box .big-text {
  right: inherit;
  left: -42px;
}

/** responsive-css **/

@media only screen and (max-width: 1200px) {
}

@media only screen and (max-width: 991px) {
  .testimonial-style-two .image-box {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .testimonial-section {
    padding: 70px 0px;
  }
  .testimonial-section .owl-dots {
    display: none;
  }

  .testimonial-style-two,
  .testimonial-style-three {
    padding: 70px 0px;
  }

  .testimonial-style-two .owl-dots,
  .testimonial-style-three .owl-dots {
    display: none;
  }

  .testimonial-style-two.service-page {
    padding-top: 0px;
  }

  .testimonial-style-two .inner-container {
    padding-bottom: 70px;
  }

  .testimonial-section .inner-container {
    padding-bottom: 70px;
  }

  .testimonial-style-two.about-page {
    padding-top: 0px;
  }

  .testimonial-page-section {
    padding: 70px 0px 40px 0px;
  }
}

@media only screen and (max-width: 599px) {
  .testimonial-block-one .inner-box {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media only screen and (max-width: 499px) {
  .testimonial-style-two .image-box {
    margin-right: 0px;
  }

  .rtl .testimonial-style-two .image-box {
    margin-left: 0px;
  }

  .testimonial-style-two .image-box .big-text {
    display: none;
  }

  .testimonial-block-two .inner-box p {
    font-size: 16px;
    line-height: 26px;
  }

  .testimonial-block-two .inner-box .clients-info {
    display: block;
  }

  .testimonial-block-two .inner-box .clients-info .clients-list {
    margin-right: 0px;
    margin-bottom: 20px;
  }

  .rtl .testimonial-block-two .inner-box .clients-info .clients-list {
    justify-content: right;
    margin-right: 30px;
  }

  .rtl
    .testimonial-block-two
    .inner-box
    .clients-info
    .rating-box
    .rating-list {
    justify-content: right;
  }
}
