/* ============================================
   Testimonials section - User reviews design
   ============================================ */

.testimonials {
  background: #eef2f5 !important;
  font-family: 'Poppins', sans-serif;
}

/* Section heading with decorative lines */
.testimonials-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 10px;
}

.testimonials-section-title .heading {
  white-space: nowrap;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a5f;
}

.testimonials .flexible-slider .slick-track {
  display: flex;
  align-items: flex-start !important;
}

.testimonials-title-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: #c5cdd4;
}

/* Testimonial cards slider - 3 per slide */
.testimonials-slider .slider-items .item {
  padding: 0 0.75rem;
}

.testimonial-card {
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  min-height: 260px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* Green rating badge + stars row */
.testimonial-card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.testimonial-rating-badge {
  background: #22c55e;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  line-height: 1;
}

.testimonial-stars {
  color: #eab308;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.testimonial-stars .fa-star,
.testimonial-stars .fas.fa-star {
  color: #eab308;
}

.testimonial-stars .far.fa-star {
  color: #d1d5db;
}

/* Quote wrap - 3 lines clamp */
.testimonial-quote-wrap {
  flex: 1;
  margin-bottom: 0.25rem;
}

.testimonial-quote-wrap .testimonial-card-quote {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
  color: #2d3748;
  line-height: 1.6;
  margin: 0;
  transition: none;
}

.testimonial-quote-wrap.expanded .testimonial-card-quote {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.testimonial-read-more {
  font-size: 0.8rem;
  color: #156485;
  cursor: pointer;
  margin-top: 0.25rem;
  display: inline-block;
  font-weight: 500;
}

.testimonial-read-more:hover {
  text-decoration: underline;
  color: #0f4c6e;
}

.testimonial-quote-wrap .testimonial-read-more.hidden {
  display: none !important;
}

/* Quote text (fallback when not in wrap) */
.testimonial-card-quote {
  font-size: 0.95rem;
  color: #2d3748;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  flex: 1;
}

/* Divider line */
.testimonial-card-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 0.75rem 0;
}

/* Author name and location */
.testimonial-card-author {
  font-size: 12px;
  color: #5a6573;
  margin: 0;
  font-weight: 500;
}

/* Slider nav styling inside testimonials */
.testimonials .slider-nav-outer {
  margin-top: 1.5rem;
}

.testimonials .slider-nav-sleek .icon-prev,
.testimonials .slider-nav-sleek .icon-next {
  color: #156485;
}

.testimonials .slider-nav-sleek .slider-dots .slick-dots li button:before,
.testimonials .slider-dots .slick-dots li button:before {
  color: #156485;
}

/* Responsive */
@media (max-width: 991px) {
  .testimonials-section-title .heading {
    font-size: 1.5rem;
  }

  .testimonials-title-line {
    max-width: 60px;
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    min-height: auto;
    padding: 1.5rem 1.25rem;
  }

  .testimonials-section-title {
    flex-wrap: wrap;
  }

  .testimonials-title-line {
    max-width: 100%;
    order: 3;
  }

  .testimonials-section-title .heading {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

/* Testimonials page - show all without carousel */
.testimonials-all .testimonials-grid-items {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.testimonials-all .testimonials-grid-items .item {
  width: 33.3333%;
  padding: 0 15px !important;
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .testimonials-all .testimonials-grid-items .item {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .testimonials-all .testimonials-grid-items .item {
    width: 100%;
  }
}

/* ============================================
   How To Use My Diagno Card
   ============================================ */

/* ============================================
   Hero Section Video (full width)
   ============================================ */
.slider-2 video{
  width: 100%;
  
   
}

.how-to-use-section {
  background: #ffffff;
  direction: ltr;
}

.how-to-use-section h3 span{
  color: #00a2fd;
}

.how-to-use-section .heading-block:before {
  display: none;
}


.how-to-use-section .heading-block {
  margin-bottom: 20px;
}

.how-to-use-content {
  gap: 30px;
  flex-wrap: nowrap;
}

.how-to-video-box {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); */
  /* border: 1px solid #e5e7eb; */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 30px 0;
}

.how-to-video-box video {
  width:100%;
  height: auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.how-to-steps {
  padding: 0 10px;
  text-align: left;
}

.how-to-step {
  background: #eef2f5;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.how-to-step-title {
  margin-bottom: 8px;
}

.how-to-step-num {
  font-weight: 800;
  color: #156485;
}

.how-to-step-text {
  margin: 0;
  color: #1a1a1a;
  font-weight: 500;
}

.how-to-step-sub {
  margin: 6px 0 0;
  color: #5a6573;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .how-to-use-content {
    gap: 0;
    display: block;
}
.how-to-video-box video {
  width: 90%; 
}

  .how-to-steps {
    padding: 0;
    margin-top: 20px;
  }
}
