/* ===== Testimonials Section ===== */
#ce-testi-sec {
  background: var(--bg-gradient-theme-10_11);
  padding: 4rem 0;
}

.ce-testi-title {
  color: var(--theme-color-1);
  font-size: var(--h3-font-size);
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.ce-testi-row {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
}

/* Fixed Reviews Badge */
.ce-testi-badge-card {
  flex: 0 0 260px;
  background: var(--primary-color);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ce-testi-badge-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--theme-color-1);
  margin-bottom: 0.5rem;
}

.ce-testi-badge-stars {
  color: var(--theme-color-1);
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 0.6rem;
}

.ce-testi-badge-avg {
  font-size: 0.95rem;
  color: var(--theme-color-1);
  margin-bottom: 0.2rem;
}

.ce-testi-badge-count {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.ce-testi-badge-logo {
  width: 120px;
  height: auto;
}

/* Slider wrap + nav arrows */
.ce-testi-slider-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ce-testi-swiper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ce-testi-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.ce-testi-nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 10, 26, 0.15);
  background: var(--primary-color);
  color: var(--theme-color-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.ce-testi-nav:hover {
  background: var(--theme-color-1);
  color: var(--primary-color);
}

/* Testimonial card */
.ce-testi-card {
  background: var(--primary-color);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ce-testi-card-head {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
  flex-direction: column;
}

.ce-testi-name {
  font-weight: 700;
  color: var(--theme-color-1);
}

.ce-testi-stars {
  color: var(--theme-color-1);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.ce-testi-verified {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--theme-color-1);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.ce-testi-quote {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
  flex-grow: 1;
}
.ce-testi-title {
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .ce-testi-row {
    flex-wrap: wrap;
  }

  .ce-testi-badge-card {
    flex: 0 0 86%;
    margin-inline: 7%;
  }

  .ce-testi-slider-wrap {
    flex: 0 0 100%;
  }
}

@media (max-width: 575.98px) {
  .ce-testi-nav {
    width: 34px;
    height: 34px;
  }
  .ce-testi-badge-card {
    flex: 0 0 80%;
    margin-inline: 10%;
  }
}
