/*** 
=============================================
   Testimonial Style1 Css
=============================================
***/
.testimonials-style1 {
  background-color: var(--thm-gray-bg);
  padding: 120px 0px 112px;
}

.testimonials-style1__inner {
  position: relative;
  display: block;
}

.single-testimonials-style1 {
  position: relative;
  display: block;
}

.single-testimonials-style1__inner {
  position: relative;
  display: block;
}

.single-testimonials-style1__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 15px;
  right: 15px;
  background-color: var(--thm-white);
  border-radius: var(--thm-border-radius);
  clip-path: polygon(100% 0, 100% 85%, 94% 100%, 0 100%, 0 0);
  z-index: -1;
}

.single-testimonials-style1__inner::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  bottom: 0px;
  right: 0px;
  background-color: #e3e5eb;
  border-radius: var(--thm-border-radius);
  clip-path: polygon(100% 0, 100% 85%, 94% 100%, 0 100%, 0 0);
  z-index: -2;
}

.single-testimonials-style1__inner .arrow-down {
  position: absolute;
  left: 35px;
  bottom: -44px;
  width: 45px;
  height: 45px;
  background-color: #e3e5eb;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.single-testimonials-style1-top {
  position: relative;
  display: block;
  border-bottom: 1px solid var(--thm-border-color);
  padding: 12.5px 30px 12.5px;
}

.single-testimonials-style1-top h3 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}

.single-testimonials-style1-top .icon {
  position: absolute;
  right: 40px;
  bottom: -2px;
  color: var(--thm-border-color);
  font-size: 35px;
  line-height: 0;
}

.single-testimonials-style1-bottom {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 0px 30px 0px;
  padding-right: 5px;
}

.single-testimonials-style1-bottom .img {
  position: relative;
  display: block;
  padding: 24px 30px 0px;
  padding-left: 0;
  top: 6px;
}

.single-testimonials-style1-bottom .img .inner {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--thm-border-radius);
}

.single-testimonials-style1-bottom .img .inner::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  background: rgba(var(--thm-black-bg-rgb), 0.8);
  -webkit-transition: all 0.5s cubic-bezier(0.4, 0.28, 0.31, 1.28) 0.2s;
  transition: all 0.5s cubic-bezier(0.4, 0.28, 0.31, 1.28) 0.2s;
  z-index: 1;
}

.single-testimonials-style1:hover
  .single-testimonials-style1-bottom
  .img
  .inner::before {
  opacity: 1;
}

.single-testimonials-style1-bottom .img .inner img {
  width: 100%;
  transform: scale(1);
  transition: all 1500ms ease;
}

.single-testimonials-style1:hover
  .single-testimonials-style1-bottom
  .img
  .inner
  img {
  transform: scale(1.07) rotate(0deg);
}

.single-testimonials-style1-bottom .text-box {
  position: relative;
  display: block;
  margin-left: 9px;
  padding: 24px 30px 38px;
  flex: 1;
  border-left: 1px solid #e4e6ec;
}

.single-testimonials-style1-bottom .text-box::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0px;
  bottom: 0px;
  width: 1px;
  background-color: #e4e6ec;
}

.single-testimonials-style1-bottom .text-box .rating {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 10px;
}

.single-testimonials-style1-bottom .text-box .rating .icon {
  position: relative;
  display: block;
  color: #ffa534;
  font-size: 16px;
  line-height: 0;
}

.single-testimonials-style1-bottom .text-box .rating h4 {
  position: relative;
  display: block;
  padding-left: 10px;
  flex: 1;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

.single-testimonial-style1-leaner {
  position: relative;
  display: block;
  padding: 25px 105px 0px;
  padding-right: 0;
}

.single-testimonial-style1-leaner h3 {
  color: var(--thm-primary-color);
  font-size: 14px;
  line-height: 24px;
  text-transform: uppercase;
}

.single-testimonial-style1-leaner h3 span {
  color: var(--thm-black);
  font-size: 20px;
  text-transform: capitalize;
}

.testimonials-style1-carousel.owl-nav-style-one.owl-theme .owl-nav {
  position: absolute;
  top: -120px;
  right: 0;
}

/*** 
=============================================
   Testimonial Style2 Css
=============================================
***/
.testimonials-style2 {
  background-color: var(--thm-gray-bg);
  padding: 120px 0px 120px;
}

.single-testimonials-style2 {
  position: relative;
  display: block;
}

.testimonials-style2-inner {
  position: relative;
  display: block;
  padding-left: 370px;
}

.testimonials-style2-content {
  position: absolute;
  top: 50%;
  left: 0;
  max-width: 470px;
  transform: translateY(-50%);
  background-color: var(--thm-white);
  border-radius: var(--thm-border-radius);
  clip-path: polygon(100% 0, 100% 85%, 89% 100%, 0 100%, 0 0);
  padding: 59px 50px 53px;
  z-index: 5;
}

.testimonials-style2-content .rating-box {
  position: relative;
  display: block;
}

.testimonials-style2-content .rating-box ul {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 7px;
}

.testimonials-style2-content .rating-box ul li {
  position: relative;
  display: block;
  color: #ffa534;
  font-size: 14px;
  line-height: 0;
}

.testimonials-style2-content .rating-box ul li + li {
  margin-left: 5px;
}

.testimonials-style2-content .rating-box h4 {
  color: var(--thm-body-font-color);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

.testimonials-style2-content .title-box {
  position: relative;
  display: block;
  padding-top: 24px;
}

.testimonials-style2-content .title-box h3 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
}

.testimonials-style2-content .text-box {
  position: relative;
  display: block;
  padding-top: 15px;
}

.testimonials-style2-content .text-box p {
  margin: 0;
}

.testimonials-style2-content .name-company {
  position: relative;
  display: block;
  padding-top: 24px;
}

.testimonials-style2-content .name-company h3 {
  font-size: 20px;
  line-height: 30px;
}

.testimonials-style2-content .name-company h6 {
  color: var(--thm-primary-color);
  font-size: 14px;
  line-height: 24px;
  text-transform: uppercase;
}

.testimonials-style2-img {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--thm-border-radius);
}

.testimonials-style2-img::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  background: rgba(var(--thm-black-bg-rgb), 0.9);
  -webkit-transition: all 0.5s cubic-bezier(0.4, 0.28, 0.31, 1.28) 0.2s;
  transition: all 0.5s cubic-bezier(0.4, 0.28, 0.31, 1.28) 0.2s;
  z-index: 1;
}

.single-testimonials-style2:hover .testimonials-style2-img::before {
  opacity: 1;
}

.testimonials-style2-img img {
  width: 100%;
  transform: scale(1);
  transition: all 1500ms ease;
}

.single-testimonials-style2:hover .testimonials-style2-img img {
  transform: scale(1.07) rotate(0deg);
}

.testimonials-style2-rating {
  position: relative;
  display: block;
}

.testimonials-style2-rating-img {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.testimonials-style2-rating-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: -moz-linear-gradient(
    90deg,
    rgb(18, 38, 82) 10%,
    rgba(18, 38, 82, 0) 100%
  );
  background-image: -webkit-linear-gradient(
    90deg,
    rgb(18, 38, 82) 10%,
    rgba(18, 38, 82, 0) 100%
  );
  background-image: -ms-linear-gradient(
    90deg,
    rgb(18, 38, 82) 10%,
    rgba(18, 38, 82, 0) 100%
  );
  z-index: 1;
}

.testimonials-style2-rating-img img {
  width: 100%;
  transform: scale(1);
  transition: all 1500ms ease;
}

.testimonials-style2-rating-img:hover img {
  transform: scale(1.07) rotate(0deg);
}

.testimonials-style2-rating-img .overlay-content {
  position: absolute;
  left: 0;
  bottom: 32px;
  right: 0;
  text-align: center;
  z-index: 5;
}

.testimonials-style2-rating-img .overlay-content .point {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: var(--thm-white);
}

.testimonials-style2-rating-img .overlay-content .point h3 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}

.testimonials-style2-rating-img .overlay-content ul {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
}

.testimonials-style2-rating-img .overlay-content ul li {
  position: relative;
  display: block;
  color: var(--thm-primary-color);
  font-size: 15px;
  line-height: 0;
}

.testimonials-style2-rating-img .overlay-content ul li + li {
  margin-left: 5px;
}

.testimonials-style2-rating-img .overlay-content .text {
  position: relative;
  display: block;
  padding-top: 13px;
}

.testimonials-style2-rating-img .overlay-content .text p {
  color: var(--thm-white);
}

.testimonials-style2-rating-img .overlay-content .text p span {
  color: var(--thm-body-font-color-2);
}

.testimonials-style2-rating-img .overlay-content .btn-box {
  position: relative;
  display: block;
  padding-top: 14px;
}

.testimonials-style2-rating-img .overlay-content .btn-box a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--thm-white);
  font-size: 14px;
  line-height: 24px;
  font-family: var(--thm-font-2);
  font-weight: 700;
  text-transform: uppercase;
  transition: all 200ms linear;
  transition-delay: 0.1s;
}

.testimonials-style2-rating-img .overlay-content .btn-box a i {
  position: relative;
  top: -1px;
  font-size: 20px;
  margin-left: 5px;
}

.testimonials-style2-rating-img .overlay-content .btn-box a:hover {
  color: var(--thm-primary-color);
}

.testimonials-style2__inner {
  position: relative;
  display: block;
}

.testimonials-style2-carousel.owl-nav-style-one.owl-theme .owl-nav {
  position: absolute;
  bottom: 20px;
  right: 15px;
}

.testimonials-style2-carousel.owl-nav-style-one.owl-theme
  .owl-nav
  [class*="owl-"] {
  background-color: var(--thm-white);
  border: 1px solid var(--thm-white);
}

/*** 
=============================
   End Css
=============================
***/
