/* banner slider */
.slider {
    width: 100%;
    min-height: 100vh;
    position: relative;
}


.slider::before{
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    height: 125px;
    width: 100%;
    background: linear-gradient(#00000000, #ffffff);
    z-index: 40;
}

/* @media (min-width:1200px){
    .slider {
        
        min-height: calc(100vh - 120px);
        
    }
} */

.slider .list .item::before {
    content: '';
    position: absolute;
    z-index: 25;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.544);
}


.slider .list .item::after{
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(0.25turn, #00000028, #ebf8e100, #f69c3c00);
}

.slider .list {
    height: 100%;
}

.slider .list .item {
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
    z-index: 5;
    transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
   
}

.slider .list .item .content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 50%;
    max-width: 80%;
    z-index: 35;
    color: white;
    text-align: center;
}

.slider .list .item .content p{
    color: rgb(198, 198, 198);
}

.slider .list .item .content p:nth-child(1) {
    /* text-transform: uppercase;
    letter-spacing: 5px; */
}

.slider .list .item .content h2 {
    font-size: 44px;
    margin-bottom: 10px;
}


.slider .list .item .banner-icon{
    height: 50px;
    width: 50px;
}
@media (max-width:500px){
    .slider .list .item .content .banner-title {
        font-size: 32px;
        
    }

    .slider .list .item .content {
        width: 100%  !important;
        max-width: 95%;
        
    }

    
}

@media (max-width:640px){
    .slider .list .item .content .banner-title {
        font-size: 38px;
        
    }

    
}

@media (max-width:400px){
    .slider .list .item .content .banner-title {
        font-size: 27px;
        
    }

    
}




@media (max-width:999px){
    .slider .list .item .content {
        width: 90%; 
    }
}


.slider .list .item.active {
    opacity: 1;
    z-index: 30;
}


.item img {
    width: 100%;
    transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
    transform: scale(1.2);
  }

  .item.active img {
    transform: scale(1);
  }


@keyframes showContent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}


.slider .list .item.active .content .sub-title,
.slider .list .item.active .content .bnr-btn,
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h5,
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.9s .7s ease-in-out 1 forwards;
}

.slider .list .item.active .content h2 {
    animation-delay: 1.5s;
}

.slider .list .item.active .content p {
    animation-duration: 1.9s;
}

.slider .list .item.active .content .bnr-btn {
    animation-duration: 2s;
}

.arrows-next button, 
.arrows-prev button {
    background-color: rgba(148, 148, 148, 0.333);
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
    overflow: visible;
    border-radius: 50%;
}

.arrows button:hover {
    background-color: #eee;
    color: black;
}


.arrows-prev{
    position: absolute;
    z-index: 100;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.arrows-prev #prev{
    position: relative;
    margin-left: 16px;
}

.arrows-prev #prev::before{
    content: '';
    position: absolute;
    height: 1px;
    width: 30px;
    background-color: rgba(148, 148, 148, 0.615);
    right: -20px;
    top: 50%;
    z-index: 100;


}


.arrows-next #next{
    position: relative;
    margin-right: 16px;
}

.arrows-next #next::before{
    content: '';
    position: absolute;
    height: 1px;
    width: 30px;
    background-color: rgba(148, 148, 148, 0.615);
    left: -20px;
    top: 50%;
    z-index: 100;


}


.arrows-next{
    position: absolute;
    z-index: 100;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}



.arrows #next{
    right: 0;
}


@media (max-width: 678px) {
    
   

    .slider .list .item .content {
        top: 50%;
        width: 100% !important;
      
    }

    .arrows-next,
    .arrows-prev {
        display: none;
    }

}