@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    text-decoration: none;
}


/* .......Navbar messege........ */

.nav-msg{
    width: 100%;
    height: 40px;
    color: #ffffff;
    background-color: #00035c;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-msg a{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    
}

.nav-msg p{
    font-size: 14px;
}

.nav-info{
    display: flex;
    justify-content: space-around;
    align-items: center;
}



/* .....navbar...... */




.nav-container{
    width: 100%;
    height: 90px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #17223a;
}

.left-section {
    display: flex;
    align-items: center;
}

.nav-container .logo img{
    height: 120px;
}

.menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}


.menu ul li a {
    color: #17223a;
    text-decoration: none;
    padding: 10px 15px;
    transition: all .2s ease-in;
    display: inline-block;
    text-align: center;
    background: linear-gradient(to left, #ffffff 50%, #9c3c9b 50%) right;
    background-size: 260%;
    border-radius: 5px;
}

.menu ul li a:hover{
    background-position: left;
    color: #ffffff;
}



.nav-contact {
    display: flex;
    align-items: center;
}

#nav-para a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 20px;
}

#nav-btn{
    background-color: #9c3c9b;
    color: #ffffff;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    margin-left: 20px;
    font-size: 18px;
}


#menu-bar {
    display: none;
    cursor: pointer;
    padding: 10px;
    color: #fff;
}

.sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
    background-color: #9c3c9b;
    color: white;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 1.5s ease;
    transition: all .5s ease-in-out;
    border-radius: 10px;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
}

.sidebar-content ul li {
    margin-bottom: 20px;
}

.sidebar-content ul li a {
    color: white;
    text-decoration: none;
    font-size: 40px;
}

.fa-times {
    cursor: pointer;
    float: right;
    font-size: 50px;
}

@media (max-width: 768px) {
    .menu ul {
        display: none;
    }

    #menu-bar {
        display: block;
        background-color: #9c3c9b;
        font-size: 35px;
        padding: 10px;
    }

}

.sidebar.open {
    display: block;
    transform: translateX(0);
}



/* .......hero section.........  */

.hero-section{
    background-image: url(./images/download.png);
    width: 100%;
    height: 75vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
}

.hero-content{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.253);
}

.hero-content .hero-heading h1{
    color: #ffffff;
    font-size: 64px;
    margin-bottom: 25px;

}

.hero-content .hero-para p{
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
    letter-spacing: 1px;
}


/* ////// Buses Details//////// */

.bus-details-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 850px;
    margin: 60px;
}

.bus-detail-img{
    height: 100%;
    width: 50%;
    overflow: hidden;

}
.bus-detail-img img{
    /* height: 300px; */
    width: 90%;
}

.bus-detail-img p{
    padding: 20px 0px;
    font-size: 16px;
    color: #17223ad9;
    margin-right: 45px;
    line-height: 1.4;
    text-align: justify;
}

.bus-detail-img h1{
    /* padding: 0px 40px; */
    font-size: 24px;
    color: #17223a;
}

.bus-detail-img button{
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
    background-color: #9c3c9b;
    border: none;
    border-radius: 5px;
    /* margin-left: 40px; */
    
}

.bus-detail-info{
    height: 750px;
    border: 1px solid rgb(220, 220, 220);
    width: 40%;
    padding: 40px;
    border-radius: 5px;

}

.bus-detail-info h1{
    font-size: 35px;
    color: #17223a;
    margin-bottom: 20px;
    color: #3a1717;
}

.bus-detail-info p{
    margin-bottom: 20px;
    color: #8a8a8a;
    font-size: 16px;
}
.prise{
    display: flex;
    align-items: center;
}

.bus-details-btn{
    display: flex;
    flex-direction: column;
}

.bus-btn{
    width: 100%;
    height: 45px;
    margin-top: 10px;
    font-size: 16px;
    background-color: white;
    border: 1px solid black;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

.bus-btn-color{
    background-color: green;
    border: 1px solid green;
    color: white;
    cursor: pointer;
}

#bus-feature-headingh{
    font-size: 20px;
    color: #17223acc;
    margin-top: 20px;
}

.bus-feature-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.bus-feature-box{
    width: 140px;
    height: 70px;

    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(190, 190, 190, 0.555);
    border-radius: 7px;
}
.bus-feature-box img{
    width: 22px;
}
#Recliner{
    width: 30px;
}

.bus-feature-box h2{
    color: #17223a;
    font-size: 14px;
}

.bus-feature-box .fa-solid{
    font-size: 22px;
    color: #1346a8;
}





/* ....Our Buses........  */

.Bus-container{
    width: 100%;
    height: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;  
}

.Bus-container h1{
    margin-top: 30px;
    font-size: 45px;
}

.Bus-container p{
    width: 70%;
    text-align: center;
    margin-top: 10px;}
    
.bus-details{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-section{
    display: flex;
    justify-content: space-around;
    height: 400px;
    width: 80%;
    margin-top: 90px;

}
.bus-img-box{
    width: 300px;
    height: 350px;
    background-color: #eeeeee;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.bus-name-heading{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bus-img-box img{
    height: 230px;
}

.bus-img-box h1{
    color: #17223a;
    font-size: 26px;
    text-align: center;
}

.bus-img-box p{
    color: #000000;
    font-size: 16px;
    text-align: center;
}



/* ........Footer............  */




.footer-container{
    background-color: #10106f;
    width: 100%;
    display: flex;
    justify-content:center ;
    margin-top: 50px;
}

.footer-box{
    width: 95%;
    height: 330px;
    display: flex;
    justify-content: space-around;
}
.fsize{
    width: 25%;
    margin-top: 40px;
}

.fsize hr{
    margin-bottom: 25px;
    width: 80%;
}

.fsize p{
    margin-top: 10px;
    color: #ffffff;
    font-size: 28px;
    font-family: 900;
}

.fsize ul li{
    list-style: none;
    line-height: 1.8;
    color: #ffffff;
}

.fsize ul li:hover{
    text-decoration: underline;
    cursor: pointer;
    list-style: circle;
}
.fbox3 .cont-name{
    font-size: 20px;
    color: #ffffff;
}
.fbox3 .fAddre{
    font-size: 15px;
    color: #ffffff;
}
.fbox3 .fphone{
    font-size: 15px;
    color: #ffffff;
}
.footer1{
    height: 50px;
    width: 100%;
    background-color: rgb(0, 1, 40);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer1 a{
    color: #cfcfcf;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all .5s ease;
    text-decoration: none;

}

.footer1 a:hover{
    text-decoration: none;
    color: yellow;
    font-size: 17px;

}

.F-logo img{
    margin-top: 30px;
    width: 150px;
    height: 150px;
    margin-right: 20px;
}

/* icon  */
.footer__social{
    width: 43%;
    display: flex;
    justify-content: center;
}
.footer__icon {
    font-size: 25px;
    color: #fff;
    margin: 5px;
    transition: color .3s;
}

.footer__icon:hover {
    color: red;
}





@media only screen and (max-width: 1064px){
    .nav-msg{
        width: 1064px;
    }
    .nav-container{
        width: 1064px;
    }
    .hero-section{
        width: 1064px;
    }

    .bus-details-container{
        width: 1064px;
        margin: 0;
        margin-top: 30px;
    }
    .img-section{
        margin-top: 10px;
    }
    .Bus-container{
        margin-top: 20px;
        width: 1064px;
    }
    .bus-img-box{
        margin: 10px;
    }
    .footer-container{
        width: 1064px;
    }
    .footer1{
        width: 1064px;
    }
}




@media only screen and (max-width: 760px){
    .location-hide{
        display: none;
    }
    .menu ul{
        display: none;
    }
    #menu-bar{
        display: initial;
        margin-left: 30px;
    }
    .hero-section{
        height: 950px;
        background-position: center;
    }

    .hero-heading{
        width: 765px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .bus-details-container{
        height: 1650px;
        display: flex;
        flex-direction: column;
    }
    .bus-detail-img{
        width: 900px;
    }
    .bus-detail-info{
        width: 700px;
    }
    .bus-feature-box{
        width: 200px;
    }
    .bus-feature-box h2{
        font-size: 20px;
    }

    .img-section{
        display: flex;
        flex-direction: column;
    }
    .Bus-container{
        height: 1500px;
    }
    .img-section{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 1200px;
    }
    .bus-img-box{
        width: 765px;
        height: 500px;
        margin-top: 10px;

    }
    .bus-img-box img{
        height: 400px;
    }
    .footer-container{
        height: 600px;
    }
    .footer-box{
        display: flex;
        flex-wrap: wrap;
    }
    .fsize{
        width: 400px;
    }


}






/* only heading para  */

@media only screen and (max-width: 760px){
    .nav-msg a{
        font-size: 20px;
    }
    .fa-regular{
        font-size: 20px;
    }
    .nav-info{
        font-size: 20px;
    }
    .bus-detail-img p{
        
    }
}