

.bannercontainer{
     /* position: absolute; */

}


.banner-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* max-height: 25rem; */

}

.bannercontainer {
  overflow: hidden;
  width: 100%;
  height:40rem;
}

.banner-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.banner {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  max-height: auto;
  border-radius: 10px;
  height:40rem;
  
}

   
   .nav-arrow {
     position: absolute;
     top: 60%;
     transform: translateY(-50%);
     border: none;
     font-size: 24px;
     padding: 2rem 1rem;
     cursor: pointer;
     z-index: 2;
     box-shadow: 0 2px 8px rgba(0,0,0,0.2);
     border-radius: 1rem;
     z-index:50;
   }
   


   



.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
  color: white;
  padding: 2rem;
  box-sizing: border-box;
}

.banner-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color:gold;
}

.banner-desc {
  font-size: 1rem;
  margin: 0.5rem 0 1rem;
  max-width: 500px;
  text-wrap:wrap;
}

.banner-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: #fdd835;
  color: #000;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.banner-btn:hover {
  background-color: var(--primary-color);
}

/* Track & Slides */
.bannercontainer {
     overflow: hidden;
     width: 100%;
}

.banner-track {

     display: flex;
     transition: transform 0.6s ease-in-out;
}
.banner-slide {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     opacity: 0;
     transition: opacity 0.6s ease;
   }
   
   .banner-slide.active {
     opacity: 1;
     z-index: 1;
   }
   
   .fade-out-left {
     animation: fadeOutLeft 0.6s forwards;
     z-index: 2;
   }
   
   .fade-out-right {
     animation: fadeOutRight 0.6s forwards;
     z-index: 2;
   }
   
   @keyframes fadeOutLeft {
     from { opacity: 1; transform: translateX(0); }
     to   { opacity: 0; transform: translateX(-20%); }
   }
   
   @keyframes fadeOutRight {
     from { opacity: 1; transform: translateX(0); }
     to   { opacity: 0; transform: translateX(20%); }
   }





   
   
   /* Overlay for text/buttons */
   .banner-overlay {
     position: absolute;
     bottom: 20px;
     color: white;
     width:100%;
   }
   
   .banner-title {
     font-size: 2rem;
     margin: 0;
   }
   
   .banner-desc {
     font-size: 1rem;
     margin: 8px 0;
   }
   
   
   
   
   .nav-arrow.left { left: 15px; }
   .nav-arrow.right { right: 15px; }
   
   
   
   /* Dots */
   .dots {
     position: absolute;
     top: 15px;
     width: 100%;
     display: flex;
     justify-content: center;
     gap: 8px;
     z-index: 5;
   }
   
   .dot {
     width: 12px;
     height: 12px;
     background: rgba(255,255,255,0.6);
     border-radius: 50%;
     cursor: pointer;
     transition: background 0.3s;
    
   }
   
   .dot.active {
     background: var(--brand-bg-color);
   }
   