@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,700;1,600&display=swap');
@import url("./global.css");

header{
    background-color: #fff;
}
.header{
    position: relative; 
    z-index: 997;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100%;
    padding: 20px 70px;
}
.header__left{
    display: flex;
    align-items: center;
    gap: 20px;
}
.header__left .logo img{
    width: 150px;
}

.header__right{
    display: flex;
    gap: 20px;
}

.hamburger{
    display: none;
}

/* main menu--------------------------------------> */
.main__menu a{
    margin: 0 10px;
}

/* Hero Section--------------------------------------> */
/* .hero{
    width: 100%;
    height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 70px;
}
.hero{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
#bg_1{
    background-image: url("../img/banner/bg_1.jpg");
}
#bg_2{
    background-image: url("../img/banner/bg_2.jpg");
}
#bg_3{
    background-image: url("../img/banner/bg_3.jpg");
}

.hero__right, .hero__left{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.hero__heading{
    padding: 20px;
    position: relative;
    z-index: 1;
}
.hero__heading::after{
    content: "";
    background-color: #fff;
    padding: 20px;
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: .6;
    z-index: 2;
}
.hero h1{
    font-size: 60px;
    font-weight: 600;
    position: relative;
    z-index: 3;
}
.hero button{
    position: relative;
    z-index: 3;
    margin-top: 20px;
} */

/* sections-------------------------------------------> */
/* #about{
    width: 100%;
    padding: 100px 0;
    position: relative;
}
.about__wrap{
    width: 80%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.about__wrap img{
    width: 500px;
}

.about__left, .about__right{
    padding: 10px;
}
.about__left img{
    align-self: flex-end;
}
.about__section{
    margin: 10px 0; 
}
.about__title{
    color: var(--primary-color);
    font-size: 24px;
}
.about__subtitle{
    font-size: 18px;
}
.about__p{
    padding: 10px 0;
    line-height: 24px;
}
#about button{
    margin-top: 10px;
} */

/* tracking form-------------------------------------> */
.track-modal-bg,.mobile__menu-bg{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 998;
    background-color: #111;
    opacity: .9;
}
.track-modal{
    position: fixed;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    z-index: 999;
    animation: slide-in-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-500px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
  
.track-wrapper{
    max-width: 350px;
    height: fit-content;
    background-color: #fff;
    position: relative;
    padding: 50px 20px;
    z-index: 1000;
    border-radius: 5px;
}
.close-track{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 18px;
}
.close-track:hover{
    transform: scale(1.5);
    transition: all 0.4s;
    font-weight: bold;
}
.track-wrapper h2{
    margin-bottom: 30px;
}
.track-modal input{
    width: 100%;
    height: 40px;
    border: 1px #ddd solid;
    margin: 10px 0;
    border-radius: 25px;
    padding-left: 15px ;
}
.track-modal button{
    height: 40px;
}
.form-group{
    margin-bottom: 10px;
}

/* alert------------------------------------> */
/* .alert{
    position: fixed;
    width: 100%;
    height: 50px;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 6;
    color: #fff;
}
.alert.success{
    background-color: rgb(58, 192, 58);
}
.alert.error{
    background-color: #721c24;
    color: #f8d7da;
}
.close-alert{
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.alert-wrap{
    max-width: 600px;
    text-align: center;
} */

/* mobile menu-----------------------------------------> */
.mobile__menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: #fff;
    padding: 20px 20px 0 30px;
    z-index: 1000;
    animation: slide-in-left 0.5s ;
}

@keyframes slide-in-left {
0% {
    transform: translateX(-500px);
    opacity: 0;
}
100% {
    transform: translateX(0);
    opacity: 1;
}
}
.close-menu{
    position: absolute;
    top: 30px;
    right: 20px;
    font-weight: 600;
    font-size: 18px;
}
.mobile__menu-wrap{
    margin-top: 20px;
}
.mobile__menu li{
    padding: 10px 0;
    margin: 5px 0;
}

/* footer----------------------------------------------> */
/* .footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
} */

/* shipment details ---------------------------------------> */
.tracking-info-top{
    padding: 50px;
}
.tracking-info{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tracking-info h4{
    font-size: 14px;
    /* color: var(--alternate-color); */
}
.tracking-info p{
    font-size: 14px;
    color: var(--alternate-color);
}

.tracking__info-title{
    padding: 20px 0 30px 0;
    color: var(--primary-color);
}
.tracking-li {
    display: flex;
    gap: 30px;
    /* grid-template-columns: 0.05fr 1.5fr 3fr; */
    padding: 10px 0;
    border-bottom: 1px #f0f0f0 solid;
    font-size: 14px;
    position: relative;
}
.tracking-li:last-child{
    background-color: var(--alternate-color-2);
}
.tracking-li img{
    position: relative;
    z-index: 2;
}
.tracking-li::after{
    content: "";
    position: absolute;
    top: 0;
    left: 7px;
    width: 1px;
    height: 100%;
    background-color: #9b9b9b;
}

.tracking__info-record{
    padding: 50px;
    width: fit-content;
}
.t-date,.t-time{
    text-align: right;
}


/* About Page -------------------------------------------> */
/* .section__title{
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../img/page-title.jpg");
    background-size: cover;
    background-position: center center;
    text-align: center;
    color: #fff;
    font-size: 35px;
} */

/* contact form -------------------------------------------> */
/* .contact-form{
    margin-top: 30px;
}
.contact-form input{
    width: 100%;
    height: 45px;
    border: 1px #ddd solid;
    padding-left: 15px;
    border-radius: 3px;
    font-family: inherit;
}

.contact-form textarea{
    width: 100%;
    height: 150px;
    border: 1px #ddd solid;
    padding: 15px;
    font-family: inherit;
}

.contact-form button{
    height: 45px;
    border: none;
    border-radius: 3px;
    font-family: inherit;
    text-transform: uppercase;
} */


/* Media query -------------------------------------------> */
@media screen and (max-width: 820px){
    .close-alert{
        right: 30px;
    }
    .alert-wrap{
        max-width: 500px;
    }
    .header{
        padding: 20px 50px;
    }
    .hamburger{
        display: block;
    }
    .main__menu{
        display: none;
    }
    .hero h1{
        font-size: 40px;
    }
    .about__wrap{
        grid-template-columns: 1fr;
        width: 85%;
    }    
    .about__wrap.reverse .about__left{
        grid-row: 2;
    }
    .about__wrap img{
        width: 100%;
    }
    .tracking-info{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 600px){
    .close-alert{
        right: 30px;
    }
    .alert-wrap{
        max-width: 500px;
    }
    .header{
        padding: 20px;
    }
    .hero h1{
        font-size: 35px;
    }
    .about__wrap{
        width: 95%;
    } 
    .track-wrapper{
        max-width: 300px;
    }
    .tracking-info-top{
        padding: 50px 20px;
    }
    .tracking-info{
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .tracking-li {
        display: grid;
        grid-template-columns: 0.05fr 1.5fr 3fr;
        gap: 10px;
    }
    .tracking__info-record{
        padding: 50px 20px;
      }
}