.testimonials-section {
  background-color: #f8f9fa;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 48, 135, 0.05) 0%, rgba(0, 112, 255, 0.05) 100%);
  z-index: 0;
}

.testimonials-section .section-container {
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 48, 135, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 48, 135, 0.12);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f4ff;
  box-shadow: 0 4px 12px rgba(0, 48, 135, 0.1);
}

.testimonial-author {
  margin-left: 15px;
}

.testimonial-name {
  font-size: 18px;
  font-weight: 600;
  color: #003087;
  margin: 0 0 5px;
}

.testimonial-position {
  font-size: 14px;
  color: #5a6a8a;
  margin: 0;
}

.testimonial-content {
  flex-grow: 1;
  position: relative;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 20px;
}

.testimonial-content::before {
  content: '"';
  font-size: 60px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(0, 48, 135, 0.1);
  position: absolute;
  top: -15px;
  left: -10px;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }
}

/* Testimonial slider controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 15px;
}

.testimonial-control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 48, 135, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-control-btn:hover {
  background-color: #0070ff;
  color: white;
}

.testimonial-control-btn svg {
  width: 20px;
  height: 20px;
}

.testimonial-indicators {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}

.testimonial-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d9e6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-indicator.active {
  background-color: #0070ff;
  width: 24px;
  border-radius: 4px;
}
