/** testimonial-section **/

.testimonial-section {
  position: relative;
  background: #f7f7f7;
}

.testimonial-section .owl-carousel .owl-stage-outer {
  overflow: visible;
}

.testimonial-section .owl-carousel .owl-stage-outer .owl-item {
  opacity: 0;
  visibility: hidden;
}

.testimonial-section .owl-carousel .owl-stage-outer .owl-item.active {
  opacity: 1;
  visibility: visible;
}


.testimonial-block-one{
  display: flex;
  width: 100%;
}

.testimonial-block-one .inner-box {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.05);
  border-top: solid;
  border-width: 5px;
  border-color: #7b0000;
  padding: 40px;
  width: 100%;
}

.testimonial-block-one .inner-box .icon-box {
  position: relative;
  display: inline-block;
  font-size: 40px;
  line-height: 40px;
  opacity: 0.1;
  margin-bottom: 25px;
}

.testimonial-block-one .inner-box p {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 25px;
}

.testimonial-block-one .inner-box .author-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-block-one .inner-box .author-box .thumb-box {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  min-width: 50px;
  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 h4 {
  display: block;
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
}

.testimonial-block-one .inner-box .author-box .designation {
  position: relative;
  display: block;
}

.testimonial-section .owl-nav {
  position: absolute;
  left: -300px;
  bottom: 80px;
}

/** testimonial-style-two **/

.testimonial-style-two {
  position: relative;
  background: #f7f7f7;
}

.testimonial-style-two .testimonial-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
  background: #fff;
  box-shadow: 0px -10px 60px 0px rgba(0, 0, 0, 0.06);
  border-top: solid;
  border-width: 5px;
  border-color: #7b0000;
  padding: 60px;
  border-radius: 20px;
}

.testimonial-style-two .testimonial-content .image-box {
  position: relative;
  display: block;
  min-width: 330px;
  border-radius: 1000px 1000px 60px 1000px;
}

.testimonial-style-two .testimonial-content .image-box img {
  width: 100%;
  border-radius: 1000px 1000px 60px 1000px;
}

.testimonial-style-two .testimonial-content .icon-box {
  position: absolute;
  top: 80px;
  right: 60px;
  font-size: 35px;
  line-height: 35px;
}

.testimonial-style-two .testimonial-content h3 {
  position: relative;
  display: block;
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 24px;
}

.testimonial-style-two .testimonial-content p {
  font-size: 20px;
  line-height: 32px;
  font-style: italic;
  margin-bottom: 46px;
}

.testimonial-style-two .testimonial-content h4 {
  display: block;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 6px;
}

.testimonial-style-two .testimonial-content .designation {
  position: relative;
  display: block;
  font-size: 12px !important;
  line-height: 20px;
  color: rgb(206, 206, 206);
}

.testimonial-style-two .owl-carousel .owl-stage-outer {
  overflow: visible;
}

.testimonial-style-two .owl-carousel .owl-stage-outer .owl-item {
  opacity: 0;
  visibility: hidden;
}

.testimonial-style-two .owl-carousel .owl-stage-outer .owl-item.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-style-two .owl-dots {
  position: absolute;
  right: 47px;
  bottom: 75px;
  width: 223px;
  z-index: 1;
  counter-reset: slides-num;
}

.testimonial-style-two .owl-dots button {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 20px;
  margin: 0px 15px;
  color: var(--title-color);
  transition: all 500ms ease;
}

.testimonial-style-two .owl-dots button:before {
  position: absolute;
  left: 0px;
  top: 0px;
}

.testimonial-style-two .owl-dots button.active {
  margin-right: 130px;
  font-weight: 800;
}

.testimonial-style-two .owl-dots button:first-child:before {
  content: "01";
}

.testimonial-style-two .owl-dots button:nth-child(2):before {
  content: "02";
}

.testimonial-style-two .owl-dots button:nth-child(3):before {
  content: "03";
}

.testimonial-style-two .owl-dots button:nth-child(4):before {
  content: "04";
}

.testimonial-style-two .owl-dots button:nth-child(5):before {
  content: "05";
}

.testimonial-style-two .owl-dots button:nth-child(6):before {
  content: "06";
}

.testimonial-style-two .owl-dots button:nth-child(7):before {
  content: "07";
}

.testimonial-style-two .owl-dots button:nth-child(8):before {
  content: "08";
}

.testimonial-style-two .owl-dots button:nth-child(9):before {
  content: "09";
}

.testimonial-style-two .owl-dots button:nth-child(10):before {
  content: "10";
}

.testimonial-style-two .owl-dots .owl-dot span {
  display: none !important;
}

.testimonial-style-two .owl-dots button:after {
  position: absolute;
  content: "";
  width: 0px;
  height: 2px;
  left: 30px;
  top: 10px;
  border-radius: 30px;
  transition: all 500ms ease;
}

.testimonial-style-two .owl-dots button.active:after {
  width: 100px;
}

.testimonial-page-section {
  position: relative;
}

/** rtl-css **/

.rtl .testimonial-block-one .inner-box,
.rtl .testimonial-style-two .testimonial-content {
  direction: rtl;
}

.rtl .testimonial-section .owl-nav {
  left: inherit;
  right: -440px;
}

.rtl .testimonial-style-two .owl-dots {
  right: inherit;
  left: 47px;
}

.rtl .testimonial-style-two .testimonial-content .icon-box {
  right: inherit;
  left: 60px;
}

/** responsive-css **/

@media only screen and (max-width: 1200px) {
  .testimonial-section .owl-nav {
    display: none;
  }
}

@media only screen and (max-width: 991px) {
  .testimonial-style-two .testimonial-content {
    display: block;
  }

  .testimonial-style-two .testimonial-content .image-box {
    margin-bottom: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .testimonial-section {
    padding: 70px 0px 40px 0px;
  }

  .testimonial-style-two {
    padding: 70px 0px;
  }

  .testimonial-style-two .owl-dots {
    display: none;
  }

  .testimonial-page-section {
    padding: 70px 0px 40px 0px;
  }
}

@media only screen and (max-width: 599px) {
  .testimonial-style-two .testimonial-content {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media only screen and (max-width: 499px) {
  .testimonial-style-two .testimonial-content .image-box {
    min-width: 100%;
  }

  .testimonial-block-one .inner-box {
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 21px;
  }
}

/* custom testimonial css  */

.rating-stars i {
  color: #ffd700;
  font-size: 17px;
  margin: 5px 1px 0px 1px;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.review-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 20px;
  /* max-width: 320px; */
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  justify-content: center;
}

.review-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0a1754;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.review-title {
  font-size: 28px;
  font-weight: 700;
  color: #0a1754;
  margin: 0;
}

.review-subtitle {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.review-rating {
  margin: 15px 0 5px;
}

.rating-value {
  font-size: 24px;
  font-weight: 800;
  color: #d83239;
  margin-right: 5px;
}

.stars {
  font-size: 20px;
  color: #fbbf24; /* gold */
}

.review-count {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.review-powered {
  font-size: 13px;
  color: #999;
  margin: 5px 0 15px;
}

.google-text {
  font-weight: 700;
  color: #4285f4;
}

.review-btn {
  display: inline-block;
  background: #d83239;
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.review-btn:hover {
  background: #0a1754;
}
