/*============================================================================================
   Start Testimonial Style 4 CSS
==============================================================================================*/

.testimonial-style-4__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 46px;
}

.testimonial-style-4__header-line {
  flex: 1;
  height: 1px;
  background-color: #e5e5e5;
  max-width: 200px;
}

.testimonial-style-4__title {
  font-size: 32px;
  font-weight: 700;
  color: #111111;
  margin: 0;
  white-space: nowrap;
  text-align: center;
  letter-spacing: -0.01em;
}

.testimonial-style-4 .swiper {
  padding: 30px 4px 40px;
  overflow: hidden;
}

.testimonial-style-4__card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 28px 22px 26px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-style-4__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), 0 16px 32px rgba(0, 0, 0, 0.09);
}

.testimonial-style-4__logo-wrapper {
  margin-bottom: 6px;
}

.testimonial-style-4__logo-wrapper img{
  width: 50px ;
  height: 50px;
  object-fit: contain;
}

.testimonial-style-4__logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color, #f23086);
  padding: 2px;
  box-shadow: 0 0 0 1px #ffffff;
}

.testimonial-style-4__name {
  font-size: 15px;
  font-weight: 500;
  color: #111111;
  margin: 0 0 18px 0;
  letter-spacing: -0.005em;
}

.testimonial-style-4__photo-wrapper {
  width: 100%;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 10px;
}

.testimonial-style-4__photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.testimonial-style-4__card:hover .testimonial-style-4__photo {
  transform: scale(1.04);
}

.testimonial-style-4__photo-placeholder {
  width: 100%;
  height: 280px;
  background-color: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-style-4__photo-placeholder svg {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 150px;
  opacity: 0.3;
}

.testimonial-style-4__stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 14px;
}

.testimonial-style-4__star {
  width: 17px;
  height: 17px;
  fill: #ffb400;
}

.testimonial-style-4__star-empty {
  fill: #e8e8e8;
}

.testimonial-style-4__text {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* Swiper Navigation */
.testimonial-style-4__nav-next,
.testimonial-style-4__nav-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 10;
}

.testimonial-style-4__nav-next:after,
.testimonial-style-4__nav-prev:after {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color, #f23086);
  transition: color 0.25s ease;
}

.testimonial-style-4__nav-next:hover,
.testimonial-style-4__nav-prev:hover {
  background-color: var(--primary-color, #f23086);
  box-shadow: 0 6px 18px rgba(242, 48, 134, 0.28);
}

.testimonial-style-4__nav-next:hover:after,
.testimonial-style-4__nav-prev:hover:after {
  color: #ffffff;
}

@media screen and (max-width: 1300px) {
  .testimonial-style-4 .swiper-slide {
    width: calc(33.333% - 13px);
  }
}

@media screen and (max-width: 989px) {
  .testimonial-style-4 .swiper-slide {
    width: calc(50% - 10px);
  }
}

@media screen and (max-width: 749px) {
  .testimonial-style-4 .swiper-slide {
    width: 78%;
  }
  .testimonial-style-4__nav-next,
  .testimonial-style-4__nav-prev {
    display: none;
  }
  .testimonial-style-4__header {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-style-4__header-line {
    width: 100%;
    max-width: 150px;
  }
  .testimonial-style-4__title {
    white-space: normal;
    font-size: 25px;
  }
}

/*============================================================================================
   End Testimonial Style 4 CSS
=============================================================================================*/