/*--------------------------------------------------------------
 Tesitimonial css
--------------------------------------------------------------*/
.paragraph--type--testimonial {
  margin-bottom: 4rem;

  .field--name-field-testimonials-title {
    margin: 3rem 0;
    text-align: center;

    @media (max-width:776px) {
      margin: 1.5rem 0;
    }

    h3 {
      font-size: clamp(1.1rem, 1.3vw, 1.3rem);
      letter-spacing: 1px;
      font-weight: 700;
      margin: 0;
      color: #4154f1;
      text-transform: uppercase;
    }

    h2 {
      margin: 10px 0 0 0;
      padding: 0;
      font-size: clamp(1.5rem, 2vw, 2rem);
      line-height: 42px;
      font-weight: 700;
      color: #012970;
    }
  }

  .paragraph--type--testimonial-slider {

    box-sizing: content-box;
    padding: 1.8rem;
    margin: 5rem 0px;
    box-shadow: 0px 0 20px rgba(1, 41, 112, 0.1);
    background: #fff;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;


    .field--name-field-testimonial-rating {
      margin-bottom: 15px;

      .stars i {
        color: #ffc107;
        margin: 0 1px;
      }
    }


    .field--name-field-testimonial-image {
      width: 90px;
      margin: 10px auto;

      img {
        border-radius: 50%;
        width: 100%;
        height: auto;
      }
    }

    .review-stars {
      display: inline-flex;
      justify-content: center;
      gap: 4px;
      margin: 12px 0;

      .star {
        font-size: 18px;
        color: #ddd;
      }

      .star.filled {
        color: #ffc107;
      }
    }


    .field--name-field-testimonial-body {
      h3 {
        font-size: clamp(1rem, 1.1vw, 1.2rem);
        font-weight: bold;
        margin: 10px 0 5px 0;
        color: #111;
        opacity: 1;
      }

      h4 {
        font-size: clamp(0.9rem, 1vw, 1rem);
        color: #999;
        margin: 0;
      }

      p {
        margin: 0 auto 16px auto;
      }
    }

    .swiper-pagination {
      margin-top: 20px;
      position: relative;
    }

    .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      background-color: #fff;
      opacity: 1;
      border: 1px solid #4154f1;
    }

    .swiper-pagination-bullet-active {
      background-color: #4154f1;
    }

    .testimonials .swiper-slide {
      opacity: 0.3;
    }
  }

  @media (max-width: 1199px) {
    .testimonials .swiper-slide-active {
      opacity: 1;
    }

    .testimonials .testimonial-item {
      box-sizing: content-box;
      padding: 30px;
      margin: 40px 30px;
      box-shadow: 0px 0 20px rgba(1, 41, 112, 0.1);
      background: #fff;
      min-height: 320px;
      display: flex;
      flex-direction: column;
      text-align: center;
      transition: 0.3s;
    }

    .testimonials .testimonial-item .stars {
      margin-bottom: 15px;
    }

    .testimonials .testimonial-item .stars i {
      color: #ffc107;
      margin: 0 1px;
    }

    .testimonials .testimonial-item .testimonial-img {
      width: 90px;
      border-radius: 50%;
      border: 4px solid #fff;
      margin: 0 auto;
    }

    .testimonials .testimonial-item h3 {
      font-size: 18px;
      font-weight: bold;
      margin: 10px 0 5px 0;
      color: #111;
    }

    .testimonials .testimonial-item h4 {
      font-size: 14px;
      color: #999;
      margin: 0;
    }

    .testimonials .testimonial-item p {
      font-style: italic;
      margin: 0 auto 15px auto;
    }

    .testimonials .swiper-pagination {
      margin-top: 0;
    }
  }

  @media (min-width: 1200px) {
    .testimonials .swiper-slide-next {
      opacity: 1;
      transform: scale(1.12);
    }

    .feature-icons {
      .layout__region--first {
        display: flex;
        align-items: center;
      }
    }
  }

  @media (max-width: 1200px) {

    .feature-icons {
      .layout__region--first {
        display: flex;
        align-items: center;
      }
    }
  }
}