/* Mobile Testimonial Section Spacing Fix */
/* Addresses excessive spacing on mobile devices */

@media (max-width: 768px) {
  /* Reduce overall testimonial section spacing */
  .testimonial-section {
    padding: 15px 0 !important;
    margin: 5px 0 !important;
  }
  
  /* Reduce title spacing */
  .testimonial-title {
    margin-bottom: 15px !important;
    margin-top: 10px !important;
  }
  
  /* Optimize testimonial card spacing */
  .testimonial-card {
    min-height: 260px !important;
    margin: 8px !important;
  }
  
  /* Reduce content wrapper spacing */
  .testimonial-content-wrapper {
    min-height: 160px !important;
    padding: 15px !important;
    padding-top: 20px !important;
  }
  
  /* Reduce author info spacing */
  .testimonial-author-info {
    padding: 12px 15px !important;
  }
  
  /* Remove any extra spacing from wrapper around testimonials */
  .wrapper.testimonial-section {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  
  /* Ensure no extra spacing from owl carousel */
  .testimonial-slider {
    margin: 0 !important;
  }
  
  /* Remove any extra spacing from subtitle */
  .testimonial-section h3.white {
    margin-top: 5px !important;
    margin-bottom: 15px !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .testimonial-section {
    padding: 10px 0 !important;
    margin: 0 !important;
  }
  
  .testimonial-card {
    min-height: 240px !important;
    margin: 5px !important;
  }
  
  .testimonial-content-wrapper {
    min-height: 140px !important;
    padding: 12px !important;
    padding-top: 18px !important;
  }
  
  .testimonial-title {
    font-size: 1.6rem !important;
    margin-bottom: 10px !important;
  }
}