
.testimonial-section {
  width: 100%;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

.testimonial-slider-wrapper {
  position: relative;
  padding: 0 10px;
}

.testimonial-slider-overflow {
  overflow: hidden;
  border-radius: 16px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 6px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .testimonial-slide {
    min-width: 50%;
  }
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(232, 93, 4, 0.10);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e85d04, #ff8500);
  z-index: 1;
}

.testimonial-card-content {
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.testimonial-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.8rem;
  line-height: 1;
  color: #ffe6cc;
  margin-bottom: -6px;
  display: block;
}

.testimonial-quote-text {
  font-size: 0.83rem;
  color: #555;
  line-height: 1.65;
  font-weight: 400;
  margin: 0;
}

.testimonial-person-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.testimonial-avatar-mobile {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffe6cc;
  background: #fff;
  transition: all 0.3s ease;
}

.testimonial-avatar-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .testimonial-avatar-mobile {
    width: 64px;
    height: 64px;
    border: 3px solid #ffe6cc;
    box-shadow: 0 6px 18px rgba(232, 93, 4, 0.18);
  }
}

@media (min-width: 768px) {
  .testimonial-avatar-mobile {
    display: none;
  }
}

.testimonial-person-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  line-height: 1.2;
  font-weight: 700;
}

.testimonial-person-role {
  font-size: 0.7rem;
  color: #e85d04;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.testimonial-card-photo {
  display: none;
  width: 140px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #fff4ec 0%, #fde8d0 50%, #fad4aa 100%);
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
}

.testimonial-card-photo::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 20px solid rgba(232, 93, 4, 0.07);
  top: -30px;
  right: -30px;
}

.testimonial-card-photo::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 16px solid rgba(232, 93, 4, 0.07);
  bottom: -20px;
  left: -20px;
}

@media (min-width: 768px) {
  .testimonial-card-photo {
    display: flex;
  }
}

.testimonial-photo-frame {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 6px #e85d04,
    0 6px 20px rgba(232, 93, 4, 0.25);
  background: #ffffff;
  flex-shrink: 0;
}

.testimonial-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.testimonial-nav-btn:hover {
  background: #e85d04;
  transform: translateY(-50%) scale(1.08);
}

.testimonial-nav-btn:hover svg { stroke: white; }

.testimonial-nav-btn svg {
  width: 15px;
  height: 15px;
  stroke: #333;
  transition: stroke 0.2s;
}

.testimonial-nav-btn.testimonial-prev { left: -17px; }
.testimonial-nav-btn.testimonial-next { right: -17px; }

@media (max-width: 767px) {
  .testimonial-nav-btn {
    display: none;
  }
  .testimonial-nav-btn.testimonial-prev { left: 4px; }
  .testimonial-nav-btn.testimonial-next { right: 4px; }
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

@media (max-width: 767px) {
  .testimonial-dots {
    display: none;
  }
}

.testimonial-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
  padding: 0;
}

.testimonial-dot.active {
  background: #e85d04;
  width: 18px;
  border-radius: 3px;
}

.testimonial-counter {
  text-align: center;
  font-size: 0.7rem;
  color: #999;
  margin-top: 6px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
