 *{
      margin: 0;
      padding: 0;
     
     
    }

    .carousel-container {
      position: relative;
      width: 100%;
      padding: 20px 0;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }

   /* Background layer */
    .carousel-container-hol {
      
      top: 0; left: 0;
      width: 100%;
      height: 100%;
     
      
    }

    /* Twinkling stars */
      
      .twinkling-stars{
          
          position: absolute;
      top: 0; left: 0;
      width: 200%;
      height: 200%;
      background: transparent url('img/stardust.png') repeat;
      animation: moveStars 60s linear infinite;
      opacity: 0.4;
    
          
      }

    @keyframes moveStars {
      from { transform: translate(0,0); }
      to { transform: translate(-500px, -500px); }
    }

    /* Glowing nebula overlay */
    .nebula {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 20% 30%, rgba(128,0,128,0.3), transparent 70%),
                  radial-gradient(circle at 80% 70%, rgba(0,0,255,0.25), transparent 70%);
      animation: glow 12s ease-in-out infinite alternate;
      z-index: -1;
    }

    @keyframes glow {
      0% { opacity: 0.3; transform: scale(1); }
      100% { opacity: 0.6; transform: scale(1.2); }
    }

    /* Carousel core */
    .carousel {
      display: flex;
      width: 100%;
      height: 100%;
    }

    /* Left side text */
    .carousel-left {
      width: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      padding: 2rem;
      position: relative;
      overflow: hidden;
    }

    .slide {
      position: absolute;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      text-align: left;
      max-width: 500px;
    }

    .slide.active {
      opacity: 1;
    }

    .slide h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color:#fff;
    }

    .slide p {
      font-size: 18px;
      margin-bottom: 1.5rem;
    }

    .slide button {
      padding: 10px 20px;
      font-size: 1rem;
      border: none;
      border-radius: 25px;
      background: #fff;
      color: #000;
      cursor: pointer;
      transition: 0.3s;
    }

    .slide button:hover {
      background: #ff9800;
      color: #fff;
    }

    /* Right animated image */
    .carousel-right {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .carousel-right img {
      width: 70%;
      animation: rotate 20s linear infinite;
      filter: drop-shadow(0 0 15px rgba(138,43,226,0.8));
    }
      
       .carousel-right-hol{
          
          position: relative;
          width: 50%;
          display: flex;
      align-items: center;
      justify-content: center;
      }
      
      
      
      .han {
          
         position: absolute; 
             display: flex;
      align-items: center;
      justify-content: center;
          margin: auto;
          left: 0;
          right: 0;
          width: 400px;
      }
      
      
      
    .carousel-right img {
      width: 70%;
      animation: rotate 20s linear infinite;
    }
      
        .han img {
      width: 70%;
     margin: auto;
    }
      
       @media (max-width: 992px) {  
           
           .carousel-container{
               
               min-height: 400px;
               
           }
        
         .carousel {
      display:list-item;
      width: 100%;
      height: auto;
      overflow: hidden;
    }   
           
           
           
      .carousel-left {
      width: 90%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      padding: 0 0 2rem 2rem;
      position: relative;
      overflow: hidden;
      height: 200px;
          
          margin-top: 0;
    }
          .carousel-right-hol{
          
          position: relative;
          width: 100%;
          display: flex;
      align-items: center;
      justify-content: center;
      }
          
           
       /* Right side: animated image */
    .carousel-right {
      width: 70%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
       max-height: 400px; 
    }
    
           .carousel-right img{
               
              
              height: 300px; 
               width: auto;
               
           }    
      
      }
      
      
     @media (max-width: 768px){


    
       /* Right side: animated image */
    .carousel-right {
      width: 100%;
}

} 
      
      

    @keyframes rotate {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Navigation */
  .nav-btn{
      position: absolute;
      top: 50%;
      
      background: rgba(255,0,0,0.6);
      border: none;
      color: white;
      font-size: 24px;
     width: 45px;
      cursor: pointer;
      border-radius: 50%;
    }
 
     .carousel-container .nav-btn{
          display: none;
         transition: 1s;
      }

   .carousel-container:hover .nav-btn{
          display: block;
         transition: 1s;
      }

    .prev { left: 20px; }
    .next { right: 20px; }


.slide .sl-link {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 25px;
    background: #fff;
    color: #000;
    cursor: pointer;
    transition: 0.3s;
   background-color: transparent;
    fill: #060534;
    color: #060534;
    background-image: linear-gradient(180deg, #BF953F 39%, #FCF6BA 100%);


}


.carousel-left .slide a {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
