.scrolling-banner {
    overflow: hidden;
    width: 100%;
    background-color: #f9fafc;
    padding: 1rem 0;
  }
  
  .scrolling-wrapper {
    display: flex;
    width: max-content;
    animation: scrollLeft 60s linear infinite; /* slower and seamless */
  }
  
  .scrolling-slide {
    flex-shrink: 0;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  
  .scrolling-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }
  
  .text-slide {
    background-color: #111;
    color: #fff;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
  }
  
  .text-slide h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  .text-slide p {
    font-size: 1.1rem;
    opacity: 0.85;
  }
  
  /* Infinite horizontal scroll */
  @keyframes scrollLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-300vw); /* 3 slides * 100vw = 300vw */
    }
  }
  
  /* Responsive for small devices */
  @media (max-width: 768px) {
    .scrolling-image {
      max-height: 280px;
    }
  
    .text-slide h3 {
      font-size: 1.4rem;
    }
  
    .text-slide p {
      font-size: 1rem;
    }
  }
  