@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scroll-behavior: smooth;
  }
  

*{
   
        font-family: "Poppins", sans-serif!important;
      
}

.hero{
        width: 100vw;
        min-height: 100vh;
        background-image: url('public/images/hero_bg.webp');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        position: fixed;
        
}

.img-box-one{
        background-image:url(public/images/allTransports.webp);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
     
        position: relative;
        overflow: hidden;
        
                
}
.img-box-one:hover .overlayOne {
        top: 330px; /* Position on hover */
        scale: 1.1;

    }

.overlayOne,.overlayTwo,.overlayThree,.overlayFour{
        width: 100%;
        min-height: 100%;
        position: absolute;
        top: 415px;
        transition: all linear 200ms;      
}
.img-box-two{
        background-image:url(public/images/shipOne.webp);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
      
         overflow: hidden;
}
.img-box-two:hover .overlayTwo {
        top: 330px; /* Position on hover */
        scale: 1.1;

    }
.img-box-three{
        background-image:url(public/images/truck.webp);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
       
         overflow: hidden;
}
.img-box-three:hover .overlayThree {
        top: 330px; /* Position on hover */
        scale: 1.1;

    }
.img-box-four{
        background-image:url(public/images/warehousing.webp);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
      
         overflow: hidden;
}
.img-box-four:hover .overlayFour {
        top: 330px; /* Position on hover */
        scale: 1.1;

    }


.slider{
        width: 1300px;
        max-width: 100vw;
        height: 400px;
        margin: auto;
        position: relative;
        overflow: hidden;
    }
    .slider .list{
        position: absolute;
        width: max-content;
        height: 100%;
        left: 0;
        top: 0;
        display: flex;
        transition: 1s;
    }
    .slider .list .card{
        width: 1300px;
        max-width: 100vw;
        height: 100%;
        object-fit: cover;
    }
    .slider .buttons{
        position: absolute;
        top: 45%;
        left: 5%;
        width: 90%;
        display: flex;
        justify-content: space-between;
    }
    .slider .buttons button{
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #00000056;
        color: #fff;
        border: none;
        font-family: monospace;
        font-weight: bold;
    }
    .slider .dots{
        position: absolute;
        bottom: 10px;
        left: 0;
        color: #fff;
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
    }
    .slider .dots li{
        list-style: none;
        width: 10px;
        height: 10px;
        background-color: #fff;
        margin: 10px;
        border-radius: 20px;
        transition: 0.5s;
    }
    .slider .dots li.active{
        width: 30px;
    }
    @media screen and (max-width: 768px){
        .slider{
            height: 560px;
        }
    }





.smallscrn{
    transform: translateY(-500px);
}
.smallscrndown{
    transform: translateX(0);

}



