#testimonials {
    padding: 5rem 0;
    background-color: #f9fafb;
  }

  .text-center {
    text-align: center;
  }

  .testimonials-header {
    margin-bottom: 4rem;
  }

  .testimonials-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .testimonials-description {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 48rem;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
  }

  .testimonials-carousel-container {
    max-width: 64rem;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
  }

  .testimonials-carousel {
    position: relative;
  }

  .carousel-overflow {
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 0 1rem;
  }

  .testimonial-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
  }

  @media (min-width: 768px) {
    .testimonial-card {
      padding: 2.5rem;
    }
  }

  .testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  @media (min-width: 768px) {
    .testimonial-content {
      flex-direction: row;
      align-items: flex-start;
    }
  }

  .testimonial-image {
    flex-shrink: 0;
    text-align: center;
  }

  .testimonial-image img {
    width: 6rem;
    height: 6rem;
    
    object-fit: cover;
    
  }

  .testimonial-body {
    flex: 1;
  }

  .testimonial-stars {
    display: flex;
    margin-bottom: 0.75rem;
  }

  .star {
    width: 20px;
    height: 20px;
  }

  .star-filled {
    color: #facc15;
    fill: #facc15;
  }

  .star-empty {
    color: #d1d5db;
  }

  .testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: #4b5563;
    margin-bottom: 1rem;
  }

  @media (min-width: 768px) {
    .testimonial-quote {
      font-size: 1.25rem;
    }
  }

  .testimonial-name {
    font-weight: 600;
    color: #111827;
  }

  .testimonial-course {
    font-size: 0.875rem;
    color: #6b7280;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 50%;
    padding: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    color: #4b5563;
    transition: color 0.3s ease;
  }

  .carousel-btn:hover {
    color: #0d9488;
  }

  .carousel-btn:focus {
    outline: none;
  }

  .carousel-btn-prev {
    left: 0;
    transform: translate(-1rem, -50%);
  }

  .carousel-btn-next {
    right: 0;
    transform: translate(1rem, -50%);
  }

  @media (min-width: 768px) {
    .carousel-btn-prev {
      transform: translate(-1.5rem, -50%);
    }
    
    .carousel-btn-next {
      transform: translate(1.5rem, -50%);
    }
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
  }

  .carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .carousel-dot:hover {
    background-color: #9ca3af;
  }

  .carousel-dot.active {
    background-color: #0d9488;
    width: 1.5rem;
  }

  .testimonials-footer {
    margin-top: 4rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
  }

  .testimonials-stat {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d9488;
    margin-bottom: 1rem;
  }

  .testimonials-cta {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
  }

  /* Animation class */
  .in-view {
    opacity: 1;
    transform: translateY(0);
  }