/* ===== Client Testimonials Section ===== */

/* Testimonials Section */
.client-testimonials {
  padding: 80px 0;
  background: var(--jm-color-bg-light);
}

.client-testimonials h2 {
  font-size: 40px;
  margin-bottom: 24px;
  color: var(--jm-color-primary);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.client-testimonials p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  color: var(--jm-color-text);
  font-size: 17px;
  line-height: 1.75;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
  margin: 0 0 20px;
  text-align: left;
  font-style: italic;
  color: var(--jm-color-text);
  font-size: 16px;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.testimonial-author strong {
  color: var(--jm-color-primary);
  font-weight: 700;
  font-size: 16px;
}

.testimonial-author span {
  color: var(--jm-color-text-light);
  font-size: 14px;
}

/* Client Logos */
.client-logos {
  margin-top: 80px;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.client-logos h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--jm-color-primary);
  font-weight: 600;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 100%;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: var(--jm-color-text-light);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--jm-color-primary);
  color: var(--jm-color-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .client-testimonials h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .client-testimonials {
    padding: 60px 0;
  }
  
  .client-testimonials h2 {
    font-size: 30px;
  }
  
  .client-testimonials p {
    margin-bottom: 40px;
  }
  
  .testimonial {
    padding: 24px;
  }
  
  .logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
  }
  
  .logo-item {
    height: 70px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .client-testimonials h2 {
    font-size: 28px;
  }
  
  .client-testimonials p {
    font-size: 16px;
  }
  
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .logo-item {
    height: 60px;
    font-size: 11px;
  }
}