/* === Testimonial Slider Section === */

.RISE-testimonial-section {
    padding: 80px 0;
    position: relative;
    max-width: 1170px;
    margin: 0 auto;
}

.testimonial-title {
	font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 31px;
    line-height: 1.3em;
    text-align: center;
    color: var(--global-color-8);
}

/* === Slider Cards === */

.RISE-testimonial-slider {
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  text-align: left;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

/* === Star Rating === */
.testimonial-stars {
  color: #041E42;
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

/* === Testimonial Text === */
.testimonial-text {
  font-size: 16px;
  color: #222;
  line-height: 1.6;
  margin: 10px 0;
}
p.testimonial-subheading {
    text-align: center;
}

/* === Author Info === */
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-logo-wrapper {
  flex-shrink: 0;
}

.testimonial-logo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.testimonial-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.testimonial-company {
  font-size: 14px;
  color: #000;
  margin: 0;
}

/* === Slider Controls === */
.RISE-testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 25px;
}

.RISE-testimonial-controls .slick-prev,
.RISE-testimonial-controls .slick-next {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.RISE-testimonial-controls .slick-prev:before {
  content: '';
  background-image: url(/wp-content/uploads/2025/07/Asset-1@4x-8.png);
  width: 12px;
  height: 12px;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.RISE-testimonial-controls .slick-next:before {
  content: '';
  background-image: url(/wp-content/uploads/2025/07/Asset-2@4x-8.png);
  width: 12px;
  height: 12px;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* === Dots === */
.RISE-testimonial-controls .slick-dots {
  text-align: center;
  margin-top: 25px;
}

.RISE-testimonial-controls .slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.RISE-testimonial-controls .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.RISE-testimonial-controls .slick-dots li.slick-active button {
  background: #041E42;
  transform: scale(1.2);
}

.RISE-testimonial-slider .testimonial-item {
    padding: 0 15px; /* horizontal spacing between slides */
    box-sizing: border-box;
}

.RISE-testimonial-slider .slick-slide {
    transition: all 0.5s ease;
}
.RISE-testimonial-slider .slick-list {
    padding: 15px 0;
}
.testimonial-author-info {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
}
.RISE-testimonial-section .slick-prev:before, .RISE-testimonial-section .slick-next:before {
    color: black !important;
}
.RISE-testimonial-section .slick-prev {
    left: 0 !important;
}
.RISE-testimonial-section .slick-next {
    right: 0 !important;
}
.RISE-testimonial-section .slick-dots {
    position: unset !important;
}
.RISE-testimonial-section .slick-dots li button:before {
	font-size: 12px !important;
}
.quote-icon svg {
    fill: var(--global-color-8);
    width: 40px;
    height: 40px;
}
.stars svg {
    fill: var(--global-color-8);
}
.RISE-testimonial-section .slick-prev, .RISE-testimonial-section .slick-next {
	top: 55%;
}

.testimonial-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.testimonial-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more-btn {
    color: var(--contrast);
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
	text-decoration:none;
}



/* === Responsive === */
@media (max-width: 1024px) {
  .testimonial-card {
    padding: 30px 25px;
  }
  .testimonial-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .testimonial-title {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .testimonial-card {
    padding: 25px 20px;
  }
  .testimonial-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .RISE-testimonial-section {
    padding: 50px 15px;
  }
  .testimonial-logo {
    width: 45px;
    height: 45px;
  }
  .testimonial-text {
    font-size: 14px;
  }
}
