.achievements-section {
   /* background: #020202;*/
    padding: 10px 20px;
    text-align: center;
    background-color: #020202;
    background-size: cover;

  }
  
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 6px;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 20px;
  }
  
  .achievements-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .achievement-card {
    width: 250px;
    height: 140px;
    padding: 30px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    margin-top: 10px;
  }
  
  .achievement-card:hover {
    transform: translateY(-6px);
  }
  
  .counter {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FF0DF7;
  }
  
  .metric-title {
    font-size: 1rem;
    font-weight: 500;
    color: #f2f2f2;
    text-align: center;
  }
  
  /* 👇 Scroll animation base (fade & slide-up) */
  .scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ✅ Responsive for tablets */
  @media (max-width: 768px) {
    .achievements-grid {
      gap: 24px;
    }
  
    .achievement-card {
      width: 80%;
      max-width: 320px;
      padding: 24px 16px;
    }
  
    .counter {
      font-size: 2.2rem;
    }
  
    .metric-title {
      font-size: 0.95rem;
    }
  }
  
  /* ✅ Responsive for mobile (360px and below) */
  @media (max-width: 500px) {
    .section-title {
      font-size: 1.8rem;
    }
  
    .section-subtitle {
      font-size: 1rem;
      margin-bottom: 30px;
    }
  
    .achievement-card {
      width: 90%;
      max-width: 300px;
      height: auto;
      padding: 20px 14px;
    }
  
    .counter {
      font-size: 2rem;
    }
  
    .metric-title {
      font-size: 0.9rem;
    }
  }
  

  /* carousel testimonials */


  .testimonial-carousel {
    position: relative;
    width: auto;
    height: 250px;
    margin: 0px auto;
    overflow: hidden;
    /*background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
  }
 
  .scrolling-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
 
  .carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
  }
 
  .testimonial-carousel:hover .carousel-track {
    animation-play-state: paused;
  }
 
  .testimonial-item {
    width: 550px;
    height: 200px;
   /* background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    padding: 12px;
    box-sizing: border-box;
    font-size: 0.9em;
    text-align: center;
    line-height: 1.4;
    */
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 16px;
    align-items: baseline;
    margin: 25px 7.5px;
    align-content: center;
  }

  .testimonial-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #5182EF; 
  margin-top: 10px;
  text-align: center;
}

.testimonial-body {
  font-size: 1rem;
  line-height: 1.1;
  color: #e0e0e0;
  text-align: center;
}

/*.testimonial-author {
  font-size: 0.9rem;
  color: #f2f2f2;
  font-style: italic;
  display: block;
  text-align: center;
}*/

 
  .testimonial-item:hover {
    transform: scale(1.06);
    box-shadow: 0 0 16px rgba(0, 123, 255, 0.4);
  }
 
  .testimonial-item small {
    display: block;
    margin-top: 10px;
    font-style: italic;
    color: #f2f2f2;
  }


  /*
  .fade-left, .fade-right {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
 
  .fade-left {
    left: 0;
    background: linear-gradient(to right, #fff 60%, transparent);
    }
 
  .fade-right {
    right: 0;
    background: linear-gradient(to left, #020202 60%, transparent);
  }
*/
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
 
/* ✅ Tablet View: 786px and below */
@media (max-width: 786px) {
  .testimonial-carousel {
    height: auto;
    padding: 10px 0;
  }

  .testimonial-item {
    width: 400px;
    height: auto;
    padding: 10px;
    margin: 20px 6px;
  }

  .testimonial-title {
    font-size: 1rem;
  }

  .testimonial-body {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .testimonial-item small {
    font-size: 0.85rem;
  }
}

@media (max-width: 500px) {
  .testimonial-carousel {
    height: auto;
    padding: 10px 0;
  }

  .testimonial-item {
    width: 90%; /* Responsive to screen width */
    max-width: 300px;
    height: auto;
    padding: 12px 16px;
    margin-left: 12px;
    border-radius: 12px;
  }

  .testimonial-title {
    font-size: 1rem;
    margin-bottom: 6px;
    text-align: center;
  }

  .testimonial-body {
    font-size: 0.88rem;
    line-height: 1.4;
    text-align: center;
  }

  .testimonial-item small {
    font-size: 0.8rem;
    margin-top: 10px;
    display: block;
    text-align: center;
  }
}
