 .horizontal-slider {
      position: relative;
      width: calc(100% - 60px);
      height: 80vh;
      overflow: hidden;
      border-radius: 12px;
      margin: 15px auto;
      max-width: 2100px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    }

    .slider-track {
      display: flex;
      transition: transform 1s ease-in-out;
      height: 100%;
    }

    .slide {
      min-width: 100%;
      height: 100%;
      position: relative;
      background-size: cover;
      background-position: center;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
    }

    .slide::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
      border-radius: 12px;
    }

    .slide-text {
      position: relative;
      z-index: 2;
      font-size: 2rem;
      color: #fff;
      text-align: center;
      padding: 20px;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
      opacity: 0;
      max-width: 80%;
      margin: 0 auto;
      line-height: 1.4;
      background: rgba(0,0,0,0.3);
      border-radius: 10px;
    }
   
    
/* text gradient*/
.text-gradient {
  font-size: clamp(1rem, 4vw, 2.5rem); 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  padding: clamp(8px, 2vw, 15px) clamp(15px, 4vw, 30px);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,0,150,0.6), rgba(0,200,255,0.6));
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.5s;
}

@media (max-width: 768px) {
  .text-gradient {
    font-size: 1.5rem;   
    padding: 10px 20px;  
  }
}

@media (max-width: 480px) {
  .text-gradient {
    font-size: 1.2rem;   
    padding: 8px 15px;   
  }
}


    @keyframes fadeInUp {
      0% { opacity: 0; transform: translateY(20px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    @keyframes zoomIn {
      0% { opacity: 0; transform: scale(0.8); }
      100% { opacity: 1; transform: scale(1); }
    }

    @keyframes fadeInLeft {
      0% { opacity: 0; transform: translateX(-30px); }
      100% { opacity: 1; transform: translateX(0); }
    }

    @keyframes fadeInRight {
      0% { opacity: 0; transform: translateX(30px); }
      100% { opacity: 1; transform: translateX(0); }
    }

    @media (max-width: 768px) {
      .slide-text {
        font-size: 1.3rem;
        padding: 12px;
      }
    }

    @media (max-width: 480px) {
      .slide-text {
        font-size: 1rem;
      }
    }