.horizontal-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: #28a745 #f1f1f1;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: #28a745;
    border-radius: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #1e7e34;
}

.story-card {
    display: inline-block;
    width: 350px;
    margin-right: 30px;
    white-space: normal;
    vertical-align: top;
}

.story-card:last-child {
    margin-right: 0;
}

.scroll-indicators {
    text-align: center;
    margin-top: 20px;
}

.scroll-btn {
    background: #28a745;
    border: none;
    color: white;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.scroll-btn:hover {
    background: #1e7e34;
}

.scroll-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}



  /* Flip Card Styles */
  .flip-card {
    background-color: transparent;
    perspective: 1000px;
    width: 100%;
    height: 100%;
  }

  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }

  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .flip-card-back {
    transform: rotateY(180deg);
  }

  .flip-card-front img, .flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Hero Image Positioning */
  .hero-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 3;
    animation: flipCard1 12s infinite;
  }

  .hero-img-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    z-index: 2;
    animation: flipCard2 15s infinite;
  }

  .hero-img-3 {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 100%;
    z-index: 1;
    animation: flipCard3 18s infinite;
  }

  /* Flip Animations with Different Durations */
  @keyframes flipCard1 {
    0% { transform: rotateY(0deg); }
    25% { transform: rotateY(180deg); }
    50% { transform: rotateY(180deg); }
    75% { transform: rotateY(0deg); }
    100% { transform: rotateY(0deg); }
  }

  @keyframes flipCard2 {
    0% { transform: rotateY(0deg); }
    20% { transform: rotateY(180deg); }
    40% { transform: rotateY(180deg); }
    60% { transform: rotateY(0deg); }
    100% { transform: rotateY(0deg); }
  }

  @keyframes flipCard3 {
    0% { transform: rotateY(0deg); }
    15% { transform: rotateY(180deg); }
    30% { transform: rotateY(180deg); }
    45% { transform: rotateY(0deg); }
    100% { transform: rotateY(0deg); }
  }

  /* Hero Images Container */
  .hero-images {
    position: relative;
    height: 600px;
  }

  /* Responsive adjustments */
  @media (max-width: 992px) {
    .hero-images {
      height: 500px;
    }
  }

