﻿.testimonial-carousel {
  padding-block: 40px;
  position: relative;
}

  .testimonial-carousel::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 35%;
    background: #00A0DB;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 50px;
  }

  .testimonial-carousel .title {
    margin-bottom: 22px;
    color: #fff;
    padding-inline: 10px;
  }

    .testimonial-carousel .title::after {
      background-image: url(/Themes/nopStation/Content/images/title-patern_small-white.png) !important;
    }

.testimonial-item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-block: 10px;
}

.testimonal-swiper-wrapp {
  position: relative;
}

  .testimonal-swiper-wrapp .swiper-pagination {
    position: static;
  }

.testimonial-container {
  width: 700px;
  max-width: 100%;
  text-align: left;
  padding: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.testimaonial-logo {
  margin-bottom: 20px;
}

.testimonial-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 2.3em;
}

.testimonial-content {
  margin-bottom: 30px;
  position: relative;
  display: block;
  width: 700px;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Limit to 5 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  min-height: 115px;
  text-wrap: balance;
}

  .testimonial-content q::before,
  .testimonial-content q::after {
    font-size: 25px;
    font-weight: bold;
    line-height: 16px;
  }

.testimonial-author-container {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.testimonial-author {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  line-height: 1;
}

.testimonial-icon {
  height: 50px;
  width: 150px;
  background: #fff;
  object-fit: scale-down;
  border-radius: 0;
  margin-right: 20px;
  object-position: left;
}

.testimonial-client-photo {
  height: 85px;
  width: 85px;
  background: #fff;
  object-fit: scale-down;
  border-radius: 50%;
  margin-right: 20px;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial-designation {
  font-size: 14px;
  font-weight: 400;
  color: #444;
}
/* ⭐ Star Rating System */
.testimonial-container {
  position: relative;
}

.testimonial-rating {
  position: absolute;
  top: 15px;
  right: 15px;
}

.testimonial-item .rating {
  display: flex;
  position: relative;
  font-size: 20px;
  color: #ddd;
}

  .testimonial-item .rating::before {
    content: "★★★★★";
    letter-spacing: 1px;
  }

  .testimonial-item .rating div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: #ffc107;
  }

    .testimonial-item .rating div::before {
      content: "★★★★★";
      letter-spacing: 1px;
    }

.testimonial-author {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: block;
  text-transform: capitalize;
}

.testimonial-carousel .swiper-button-prev {
  transform: translate(-50%,-50%);
}

.testimonial-carousel .swiper-button-next {
  transform: translate(50%,-50%);
}

.testimonial-item {
  padding-inline: 10px;
}

@media (min-width: 992px) {
  .testimonial-item {
    width: 50%;
  }

  .testimonial-container {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .testimonial-content {
    -webkit-line-clamp: 5;
  }

  .testimonial-carousel::before {
    width: 85%;
  }
}
