/* === Toppers Section === */
.toppers {
    text-align: center;
    padding: 05px 0; /* top | sides | bottom */
    background: #f9fafb;
    overflow: hidden;
    position: relative;
  }
  .toppers h2 {
    font-size: 2rem;
    margin-bottom: 40px; /* adds gap below title */
    color: #222;
    font-weight: 600;
    position: sticky;      /* keeps it in place if section scrolls */
    top: 0;                /* position from top of section */
    background: #f9fafb;   /* same as section background to blend */
    z-index: 10;           /* ensures it stays above the cards */
    padding: 1px 0;       /* gives a bit of breathing room */
  }
  
  /* Wrapper ensures clipping */
.toppers-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 20px 0 60px 0; /* top | right | bottom | left */
  }
  
  .toppers-container {
    display: flex;
    gap: 20px;
    width: max-content;
  }
  
  .topper-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }
  
  .topper-card:hover {
    transform: scale(1.03);
  }
  
  .topper-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #f1f5f9; /* optional: adds subtle background */
  }
  
  
  .topper-info {
    padding: 15px;
    text-align: left;
  }
  
  .topper-info h3 {
    font-size: 1.2rem;
    margin: 5px 0;
    color: #1e293b;
  }
  
  .topper-info p {
    font-size: 0.95rem;
    color: #475569;
    margin: 3px 0;
    text-align: left;
  }
  
  /* Continuous Scroll Animation
  @keyframes scrollLinear {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0%);
    }
  } */
  
  /* Pause scrolling on hover */
  .toppers-wrapper:hover .toppers-container {
    animation-play-state: paused;
  }
  
  /* Responsive adjustments */
  @media (max-width: 900px) {
    .topper-card {
      min-width: 240px;
    }
  }
  
  @media (max-width: 600px) {
    .topper-card {
      min-width: 200px;
    }
  }
  