    .testimonial-marquee-container {
      overflow: hidden;
      padding: 40px 0 0 0;
      background-color: #f7fafc;
    }

    .testimonial-track-wrapper {
      display: flex;
      width: max-content;
    }

    .testimonial-track {
      display: flex;
      animation: scroll 15s linear infinite;
    }

    @keyframes scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    .testimonial {
      background-color: #ffffff;
      border: 1.5px solid #a2aabd;
      border-radius: 16px;
      padding: 20px;
      margin: 0 16px;

      width: 85vw;            /* Responsive width */
      max-width: 600px;       /* Limit on desktop */
      min-width: 240px;       /* Prevent too small cards */

      min-height: 230px;
      color: #1a1a1a;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .testimonial .stars {
      color: #1c3c85; /* dark navy blue */
      font-size: 1.55rem;
      margin-bottom: 8px;
    }

    .testimonial p {
      margin: 0 0 12px;
      font-size: 1.55rem;
      line-height: 1.25;
      font-family: 'Caveat', sans-serif;
    }

    .testimonial .profile {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: auto;
    }

    .testimonial .profile img {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      object-fit: cover;
      border: 1px solid #1b2a4e;
    }

    .testimonial .author-info {
      display: flex;
      flex-direction: column;
    }

    .testimonial .author {
      font-weight: bold;
      font-size: 0.95rem;
      color: #142d68;
    }

    .testimonial .role {
      font-size: 0.75rem;
      color: #444;
    }

    @media (max-width: 768px) {
      .testimonial {
        width: 90vw;      
        max-width: none;
        padding: 1rem;
      }
    }