.tm-sc-testimonials .star-rating {
  float: right;
  overflow: hidden;
  position: relative;
  height: 1.1em;
  line-height: 1.2;
  font-size: 0.9em;
  width: 5.6em;
}
.tm-sc-testimonials .star-rating::before {
  content: "\f005\f005\f005\f005\f005";
  color: #d3ced2;
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
}
.tm-sc-testimonials .star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}
.tm-sc-testimonials .star-rating span::before {
  content: "\f005\f005\f005\f005\f005";
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  color: #f1c40f;
  top: 0;
  position: absolute;
  left: 0;
}
.tm-sc-testimonials .star-rating {
  float: none;
  margin-top: 5px;
  margin-bottom: 20px;
  overflow: visible;
}
.tm-sc-testimonials .star-rating span:before {
  color: var(--theme-color2);
}
.tm-sc-testimonials .author-text,
.tm-sc-testimonials .name,
.tm-sc-testimonials .job-position {
  transition: all 0.3s ease-in-out;
}
.tm-sc-testimonials .star-rating span:before {
  transition: all 0.3s ease-in-out;
}

.testimonial-block-style4 .inner-block {
  border: 1px solid rgba(var(--theme-color-white-rgb), 0.1);
  border-radius: 30px;
  padding: 59px 79px 53px;
  position: relative;
  z-index: 1;
}
@media (max-width: 991.98px) {
  .testimonial-block-style4 .inner-block {
    padding: 39px 30px 39px;
  }
}
@media (max-width: 575.98px) {
  .testimonial-block-style4 .inner-block {
    padding: 39px 15px 39px;
  }
}
.testimonial-block-style4 .inner-block:hover .author-box .thumb .icon-box img, .testimonial-block-style4 .inner-block:hover .author-box .thumb .icon-box i, .testimonial-block-style4 .inner-block:hover .author-box .thumb .icon-box svg {
  transform: scaleX(-1);
}
.testimonial-block-style4 .inner-block:before {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(10, 21, 123, 0.2) 99.19%);
  border-radius: 30px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  transition: all 300ms ease;
}
.testimonial-block-style4 .inner-block .author-box {
  margin-bottom: 48px;
}
@media (max-width: 991.98px) {
  .testimonial-block-style4 .inner-block .author-box {
    margin-bottom: 30px;
  }
}
.testimonial-block-style4 .inner-block .author-box .thumb {
  background-color: rgba(var(--theme-color-white-rgb), 0.08);
  border-radius: 50%;
  height: 80px;
  width: 80px;
  position: relative;
  z-index: 1;
}
.testimonial-block-style4 .inner-block .author-box .thumb img {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  object-position: center;
  object-fit: cover;
}
.testimonial-block-style4 .inner-block .author-box .thumb .icon-box {
  background-color: rgba(var(--theme-color-white-rgb), 0.1);
  border-radius: 50%;
  color: var(--theme-color1);
  font-size: 28px;
  height: 100%;
  line-height: 80px;
  text-align: center;
  width: 100%;
  position: absolute;
  left: calc(100% - 13px);
  top: 0;
  z-index: -1;
  transition: all 300ms ease;
}
.testimonial-block-style4 .inner-block .author-box .thumb .icon-box img, .testimonial-block-style4 .inner-block .author-box .thumb .icon-box i, .testimonial-block-style4 .inner-block .author-box .thumb .icon-box svg {
  height: auto;
  width: auto;
  transition: all 300ms ease;
}
.testimonial-block-style4 .inner-block .info-box {
  margin-bottom: 18px;
  margin: 0 auto;
}
.testimonial-block-style4 .inner-block .info-box .testimonial-name {
  color: #fff;
  margin-bottom: 0px;
  margin-top: 0;
}
.testimonial-block-style4 .inner-block .info-box .testimonial-position {
  color: #fff;
  display: block;
  margin-bottom: 0px;
}
.testimonial-block-style4 .inner-block .testi-text {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 42px;
  font-size: 24px;
  line-height: 1.8334;
  max-width: 710px;
}
@media (max-width: 767.98px) {
  .testimonial-block-style4 .inner-block .testi-text {
    font-size: 18px;
    line-height: 26px;
  }
}
.testimonial-block-style4 .inner-block .author-info .testimonial-name {
  color: #fff;
  margin-bottom: 0;
  margin-top: 0;
  transition: all 300ms ease;
}
.testimonial-block-style4 .inner-block .author-info .testimonial-position {
  color: rgba(var(--theme-color-white-rgb), 0.6);
  margin-bottom: 0;
  transition: all 300ms ease;
}
.testimonial-block-style4 .inner-block .partner-image {
  position: absolute;
  right: 79px;
  top: 81px;
}
@media (max-width: 991.98px) {
  .testimonial-block-style4 .inner-block .partner-image {
    top: 60px;
    right: 40px;
  }
}
@media (max-width: 575.98px) {
  .testimonial-block-style4 .inner-block .partner-image {
    position: relative;
    top: 0;
    right: auto;
    margin-top: 40px;
    max-width: 120px;
  }
}
.testimonial-block-style4 .inner-block .review {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 10px 19px 12px;
  border-radius: 20px;
  background-color: var(--theme-color1);
  position: absolute;
  right: 78px;
  bottom: 68px;
  margin: 0;
}
@media (max-width: 991.98px) {
  .testimonial-block-style4 .inner-block .review {
    bottom: 39px;
    right: 31px;
  }
}
@media (max-width: 575.98px) {
  .testimonial-block-style4 .inner-block .review {
    right: 15px;
    padding: 7px 12px 8px;
  }
}
.testimonial-block-style4 .inner-block .review .star-rating {
  font-size: 16px;
  margin: 0;
}
.testimonial-block-style4 .inner-block .review .star-rating::before {
  color: #070C0F;
  font-weight: 600;
}
.testimonial-block-style4 .inner-block .review .star-rating span::before {
  color: #070C0F;
}