.testimonials {
  background: var(--text-light);
  padding: 100px;
}

.testimonials .section-title {
  color: #121212;
  margin-bottom: 80px;
  max-width: 914px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  display: flex;
  align-items: stretch;
  max-width: 1088px;
  margin: 0 auto;
  border: 0.5px solid var(--border-light);
  border-radius: var(--border-radius-large);
  overflow: hidden;
}

.testimonial-content {
  flex: 1;
  padding: 70px 50px;
  background: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 69px;
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-header h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 25px;
  color: var(--text-primary);
}

.rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

.star {
  width: 24px;
  height: 24px;
}

.testimonial-content blockquote {
  font-size: 29px;
  font-weight: 400;
  line-height: 1.26;
  color: var(--text-primary);
  margin: 0;
}

.testimonial-sidebar {
  width: 460px;
  background: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 29px;
  padding: 38px 20px;
  border: 0.5px solid var(--border-light);
  border-left: none;
}

.testimonial-logo {
  width: 258px;
  height: 55px;
}

.testimonial-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-arrow {
  width: 57.6px;
  height: 57.6px;
  border: 1px solid var(--text-primary);
  border-radius: 9.6px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-arrow.prev {
  opacity: 0.4;
  transform: rotate(180deg);
}

.nav-arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.nav-arrow img {
  width: 100%;
  height: 100%;
}

.testimonials-swiper {
  position: relative;
  padding-bottom: 40px; /* Space for bullets */
}

.swiper-pagination {
  position: static;
  margin-top: 32px;
  text-align: center;
}

/* Mobile: bullets overlay and closer to the slider */
@media (max-width: 600px) {
  .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px !important;
    margin-top: 0;
    text-align: center;
    z-index: 10;
  }
  .testimonials-swiper {
    padding-bottom: 60px !important; /* Extra space for bullets */
  }
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  margin: 0 6px !important;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.2s;
}

.swiper-pagination-bullet-active {
  background: #ff4d4f;
}
