/* Yawei Customer Testimonials Component */
.yawei-customer-testimonials {
    position: relative;
  padding: 70px 0;
  background-color: #FFFFFF;
  font-family: var(--font-family);
}
.yawei-customer-testimonials .container{
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 1920px) {
    .yawei-customer-testimonials .container{
        max-width: calc(100% - 422px);
        padding-left: 0;
        padding-right: 0;
      }
}

/* Section Header */
.yawei-customer-testimonials .section-header {
  text-align: center;
  margin-bottom: 36px;
}
.yawei-customer-testimonials .swiper-button-prev:after, .yawei-customer-testimonials .swiper-button-next:after{
  display: none;
}
.yawei-customer-testimonials .section-title {
  font-family: 'Arimo', var(--title-font-family);
  font-size: 40px;
  font-weight: 700;
  color: #0A0A0A;
  line-height: 1.41;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Testimonials Container */
.yawei-customer-testimonials .testimonials-container {
  position: relative;
  padding:0 74px ;
}

.yawei-customer-testimonials .yawei-testimonials-swiper {
  overflow: hidden;
  position: relative;
}

.yawei-customer-testimonials .testimonial-item {
  padding: 40px 100px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Testimonial Content */
.yawei-customer-testimonials .testimonial-content {
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.yawei-customer-testimonials .testimonial-text {
  font-family: 'Arimo', var(--font-family);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  position: relative;
  padding: 0 40px; 
  color: #0A0A0A;
}

.yawei-customer-testimonials .testimonial-text::before,
.yawei-customer-testimonials .testimonial-text::after {
  content: '';
  position: absolute;
  font-family: 'Arimo', var(--font-family);
  font-size: 72px;
  /* opacity: 0.1; */
  line-height: 1;
  color: #a7a7a7;
}

.yawei-customer-testimonials .testimonial-text::before {
  content: '“';
  top: 0;
  left: 0;
}

.yawei-customer-testimonials .testimonial-text::after {
  content: '”';
  bottom: -30px;
  right: 0;
}

/* Customer Info */
.yawei-customer-testimonials .customer-info {
    margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 1;
}

.yawei-customer-testimonials .customer-avatar .avatar-image {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.yawei-customer-testimonials .customer-details {
  text-align: left;
}

.yawei-customer-testimonials .customer-name,
.yawei-customer-testimonials .customer-time {
  font-family: 'Arimo', var(--font-family);
  font-size: 18px;
  line-height: 1.4;
  color: #0A0A0A;
  margin: 0;
}
.yawei-customer-testimonials .customer-time {
    color: #9E9E9E;
}

.yawei-customer-testimonials .customer-name {
  font-weight: 700;
}

/* Swiper Navigation */
.yawei-customer-testimonials .swiper-navigation {
  position: absolute;
  top: 50%;
  left: -100px;
  right: -100px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.yawei-customer-testimonials .swiper-button-prev,
.yawei-customer-testimonials .swiper-button-next {
  /* font-size: 24px; */
  color: #a7a7a7;
  cursor: pointer;
  transition: color 0.3s ease;
  /* opacity: 0.37; */
}
.yawei-customer-testimonials .swiper-button-prev .qico,
.yawei-customer-testimonials .swiper-button-next .qico{
    font-size: 24px;
    /* opacity: 0.37; */
}
.yawei-customer-testimonials .swiper-button-prev:hover,
.yawei-customer-testimonials .swiper-button-next:hover {
  color: var(--color-primary);
}

.yawei-customer-testimonials .swiper-button-prev{
    left: 73px;
}
.yawei-customer-testimonials .swiper-button-next{
    right: 73px;
}

.yawei-customer-testimonials .swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .yawei-customer-testimonials .swiper-navigation {
    left: -50px;
    right: -50px;
  }
}

@media (max-width: 992px) {
  .yawei-customer-testimonials {
    padding: 50px 0;
  }
  .yawei-customer-testimonials .section-title {
    font-size: 36px;
  }
  .yawei-customer-testimonials .testimonial-item {
    padding: 30px 40px;
    min-height: auto;
  }
  .yawei-customer-testimonials .swiper-navigation {
    position: static;
    transform: none;
    margin-top: 20px;
    justify-content: center;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .yawei-customer-testimonials { 
    padding: 28px 0 22px;
  }
    .yawei-customer-testimonials .section-header{
        margin-bottom: 15px;
    }
    .yawei-customer-testimonials .testimonials-container{
        padding:0 24px ;
    }
    .yawei-customer-testimonials .customer-info{
        margin-top: 15px;
        gap:30px;
    }
  .yawei-customer-testimonials {
    padding: 28px 0 26px;
  }
  .yawei-customer-testimonials .section-title {
    font-size: 24px;
  }
  .yawei-customer-testimonials .testimonial-text {
    font-size: 16px;
    padding: 0 24px;
  }
  .yawei-customer-testimonials .customer-name,
  .yawei-customer-testimonials .customer-time {
    font-size: 16px;
  }
  .yawei-customer-testimonials .swiper-button-next{
    right: 24px;
  }
  .yawei-customer-testimonials .swiper-button-prev{
    left: 24px;
  }
  .yawei-customer-testimonials .testimonial-item{
    padding: 0;
  }
  .yawei-customer-testimonials .testimonial-text::before, .yawei-customer-testimonials .testimonial-text::after{
    font-size: 40px;
  }
  .yawei-customer-testimonials .testimonial-text::after{
    bottom: -26px;
  }
  .yawei-customer-testimonials .swiper-button-prev,
  .yawei-customer-testimonials .swiper-button-next{
    top: 40%;
  }
}
.yawei-case-read .case-read-content.container h3{
  padding-bottom: 30px;
    border-bottom: 3px solid #1D1D1D;
    font-family: 'Arimo', var(--title-font-family);
    font-size: 40px;
    font-weight: 700;
    color: #0A0A0A;
    line-height: 1.41;
    margin: 0 0 42px 0;
    text-align: left;
}
@media (max-width: 768px) {
  .yawei-case-read .case-read-content.container h3{
    font-size: 24px;
    border-bottom: 2px solid #1d1d1d;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
}
