@import "../../../styles/varibale.scss";

.home__we_are_trust__block {
  width: 100%;
}

.playIconOverlay {
  background: $primaryColor;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    background: $primaryColor;
    transform: translate(-50%, -50%) scale(1.1);
  }

  &:hover .playIcon {
    transform: scale(1.1);
  }
}

.playIcon {
  width: 24px;
  height: 24px;
  color: white;
  transition: all 0.3s ease;
}

.home__we_are_trust__block_reviews {
  background: #F4F4FF;
}

.home__we_are_trust__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}
.userRateing{
  color: $primaryColor;
}

.home__we_are_trust__subtitle {
  color: #000;
  text-align: center;
  margin-bottom: 28px;
  font-size: 15px;
  margin-top: -24px;
}

.home__we_are_trust__list {
  img {
    width: 100%;
  }
  :global(.ant-card-body){
            padding: 0 !important;
          }

  .home__we_are_trust__slick-list {
    margin: 10px;
    padding: 10px 0;
  }

  .home__we_are_trust__slick_slide {
    padding: 0 10px;
  }

  .home__we_are_trust__slick_slide,
  .home__we_are_trust__slick_slide>div>div {
    &:focus {
      outline: none;
    }
  }

  .home__we_are_trust__slick_dots {
    width: auto;
    position: static;
    padding: 0;
    font-size: 0;
    list-style: none;
    margin: 18px 0 0;
    text-align: center;

    li {
      display: inline-block;
      padding: 6px;
    }

    button {
      width: 8px;
      height: 10px;
      padding: 0;
      border: none;
      border-radius: 8px / 2;
      background: transparent;

      &:focus {
        outline: none;
      }

      &:hover {
        background: #fff;
      }
    }

    .home__we_are_trust__slick_active button {
      background: #fff;
    }
  }
}

.home__we_are_trust__item {
  max-width: 690px;
  margin: 0 auto;
  display: flex;
}

.home__we_are_trust__item_avatar {
  width: 30px;
  flex-shrink: 0;

  img {
    max-width: 100%;
  }

  filter: opacity(0.5) drop-shadow(0 0 0 #1b53bc);
}

.home__we_are_trust__item_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 1.5em;

}

.home__we_are_trust__item_text {
  font-size: 14px;
  font-style: italic;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 100px;
}

.home__we_are_trust__item_meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home__we_are_trust__item_author {
  color: #000;
  font-size: 17px;
  position: relative;
  line-height: 20px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: #231e1e;

  &:before {
    display: inline-block;
    height: 1px;
    background: #fff;
    content: "";
    opacity: 0.8;
    position: relative;
    vertical-align: middle;
  }
}

.home__we_are_trust__item_rating {
  padding-bottom: 4px;
}

.home__we_are_trust__block_review_column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  margin: 1em auto;
  padding: 24px 32px;
}
.titleContainer{
    background:$indisparePink;
    padding: 12px 16px;
    display: flex;
    // border-radius: 8px 8px 0 0;
}
.title{
    color: #FFF;
text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 500;
}
.message{
    padding: 1rem 2rem;
color: #141414;
text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 16px;

}
.home__we_are_trust__date_name_display {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.iconRightDisplay {
  color: #B7B7B7;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  right: -25px;
  top: calc(50% - 16px);
  font-size: 18px;

  &:hover {
    color: $primaryColor;
  }
}

.iconLeftDisplay {
  color: #B7B7B7;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  left: -25px;
  top: calc(50% - 16px);
  z-index: 9;
  font-size: 18px;

  &:hover {
    color: $primaryColor;
  }
}

.home__we_are_trust__date_display {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  padding: 20px;
  color: #9d8b8b;
}

.home__we_are_trust__list {
  // :global(.slick-slide) {
  //   max-width: 528px;
  // }
}



.home__we_are_trust__list>div>div>div>div>div {
  margin: 0 10px;
}

@media (max-width: 768px) {
  .iconLeftDisplay {
    left: 0;
  }

  .iconRightDisplay {
    right: 0
  }

  .home__we_are_trust__item_text {
      height: 150px;
  }
}
.testimonial-section {
          padding: 40px 20px;
          background: #f9f9ff;
        }

        .testimonial-slide {
          padding: 0 10px;
          
        }

        @media (max-width: 768px) {
          .testimonial-section {
            padding: 20px 10px;
          }
          .testimonial-slide img {
            height: 220px !important;
          }
          .ant-typography {
            font-size: 0.9rem !important;
          }
        }