*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.navbar{
    background-color: rgb(0, 0, 51);
    display: flex;
    height: 84px;
    justify-content: space-between;
    padding: 10px 20px;
}

.navbar .logo img{
    height: 100%;
}

.menu{
    width: 236.67px;
    height: 21px;
    margin: auto 0;
}

.navbar .menu a{
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

@media (min-width:480px) and (max-width: 768px){
    body{
        width: 100%;
    }
    
    .navbar{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        height: 100px;
    }

   

    .navbar .logo{
        height: 70%; 
    }
}


@media (max-width: 480px){
    body{
        width: 100%;
    }
    .navbar{
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;

    }
    .navbar .logo{
        height: 70%; 
    }
}


/*--------------------hero section --------------------- */

.hero{
    background-image: url("https://github.com/Mohak-Trivedi/xCruise/blob/main/assests/hero-cruise.png?raw=true");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero h1{
    margin: 0;
    color: antiquewhite;
    text-align: center;
}

.hero p{
    margin: 0;
    color: antiquewhite;
    text-align: center;
}

.hero button{
    padding: 8px 20px;
    background-color:rgb(250, 121, 46);
    border: none;
}

.hero button a{
    color: white;
    text-decoration: none;
}


/* <!-- -----------Discover Section-------------- --> */
.discover{
    margin-top: 20px;
}

.heading p{
    text-align: left;
    color: black;
}

.discover .heading h2{
    text-transform: uppercase;
}

.discover .card{
    cursor: pointer;
}

.discover .heading{
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: black;
    padding-left: 12px;
    border-left: 5px solid orange;
    margin-left: 45px;
}

.popular{
    display: flex;
    align-items: center;
}

.pills{
    display: flex;
}

.pills > div{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0px 5px;
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px ;
}

.pills img{
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.discover_banner{
    position: relative;
    margin-bottom: 15px;
    margin-top: 30px;
    color: white;
}

.discover_banner img{
    width: 100%;
}

.discover_banner_text{
    font-size: 15px;
    position: absolute;
    bottom: 0;
    margin: 25px 12px;
}


.discover_cards{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.card{
    position: relative;
}

.card img{
    width: 100%;
    height: 100%;
}

.card_text{
    font-size: 12px;
    position: absolute;
    bottom: 0%;
    margin: 15px;
}


.card_text{
    color: white;
}

.card_text h2{
    text-transform: uppercase;
}






@media (min-width:480px) and (max-width: 768px){
    .heading{
        align-items: center;
    }
    .heading p{
        color: #000;
    }

    .discover .heading{
        border: none;
    }

    .discover_cards{
    grid-template-columns: repeat(2, 1fr);

    }
}


@media (max-width: 480px){
    .heading{
        align-items: center;
    }

    .discover .heading{
        border: none;
    }

    .pills{
        flex-direction: column;
    }

    .popular{
        flex-direction: column;
    }

    .discover_cards{
        grid-template-columns: repeat(1, 1fr);
        }
    
}

/* -------- Contact Us------ */

#contact{
    margin: 90px auto;
    text-align: center;
}

#contact>h3{
    width: fit-content;
    margin: 50px auto;
    border-bottom: 5px solid orange;
    padding: 8px;
}

.contact_info{
    width: 90%;
    margin: auto;
    font-size: larger;
    display: flex;
    gap: 25px;
    justify-content: space-between;
}

.contact_info>div{
    border: 1px solid gray;
    width: 100%;
    padding: 8px;
}


.contact_info h4{
    padding: 8px;
}


@media (max-width: 768px){

    .contact_info{
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

}


/* ---footer section------- */

.footer{
    background-color: #000033;
    color: white;
    padding: 30px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    margin-top: 60px;
}

.footer h3{
    color: orange;
    margin-bottom: 10px;
}

.follow-us{
    margin-top: 20px;
}

.footer ul{
    list-style-type: none;
}

.footer ul li{
    margin-bottom: 5px;
}

.social-icons img{
    cursor: pointer;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.footer_rights{
    color: #fff;
    text-align: center;
    padding-bottom: 30px;
    background-color: #000033;
    border-top: 1px solid gray;
}


@media (max-width: 768px){

    .footer{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;

    }

   
}