@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    
}

html {
    /* // 1rem = 12px; 12px/16px = 75%   */
    
    font-size: 75%;  
    scroll-behavior: smooth;
   
} 

/* // It will be applied to BIG-DESKTOPS */
@media only screen and (min-width: 1800px) {
    /* // 1rem = 14px; 14px/16px = 87.5%   */
    html{
        font-size: 87.5%; 

    }
}	

/* // It will be applied to TABLET-LANDSCAPE   */
@media only screen and (max-width: 1200px) {
    /* 1rem = 10px; 10px/16px = 62.5% */


html{
    font-size: 62.5%; 
    
}

}

/* // It will be applied to TABLET-PORTRAIT */
@media only screen and (max-width: 900px) {
    /* // 1rem = 9px; 9px/16px = 56.25% */

html{
    font-size: 56.25%;
    

}
}

/* // It will be applied to PHONE */
@media only screen and (max-width: 600px) {
    /* // 1rem = 8px; 8px/16px = 50%   */
html{
    font-size: 50%; 
    

}
}

body{
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    
    /* background-image: url("https://www.moroccotoursagency.com/wp-content/uploads/2022/02/morocco-mosque.jpg");
    background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; */

    
}

section{
    padding: 20px 80px;
    margin: 20px 0;
}

.h_line{
    background-color: #0a111f;
    height: 0.5px;
    width: 100%;
    margin: 10px 0;
}


.top_announcement_banner{
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #088178;
    color: #ffff;
    padding: 13px 80px;
    font-size: 1.3rem;
    font-weight: 600;

    position: relative;
}

.top_announcement_banner span{
    text-transform: uppercase;
    font-size: 1.5rem;
    
    font-weight: 700;
}

.top_announcement_banner i{
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}


/* HEADER START */
#header{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #f2f2f2;
    margin: 0;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06 );
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
}



.logo{
    width: 100px;
    height: 50px;
    align-self: center;
    align-items: center;
    justify-content: center;
    top: 5px;
    position: relative;
}

.navbar_container{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    list-style: none;
    
}

#navbar li{
    position: relative;
    align-self: center;

}

#navbar li a{
    font-size: 1.5rem;
    padding: 0 20px;
    text-decoration: none;
    color: #0a111f;
    transition: 0.25s ease-out;

    display: inline-block;
  position: relative;
}

#navbar li a:after{
    content: '';
    position: absolute;
    width: 30%;
    transform: scaleX(0);
    height: 1px;
    bottom: -4px;
    left: 20px;
    background-color: #fca311;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

#navbar li a:hover:after{
    
    
    transform: scaleX(1);
    transform-origin: bottom left;
    
}

#navbar li a:hover,
#navbar li a.active {
    color: #fca311;
}


#navbar li a.active::after{
    content: "";
    width: 30%;
    height: 1px;
    background-color: #fca311;
    transform: scaleX(1);
    position: absolute;
    bottom: -4px;
    left: 20px;
    
    
}

.menu_icon{
    font-size: 2rem;
    
    color: #0a111f;
}

.menu_icon,
#close_menu{
    display: none;
}



.search_and_cart_div{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.search_and_cart_div a{
    text-decoration: none;
}


.search_and_cart_div i{
    font-size: 2.5rem;
    
    color: #0a111f;
}

.search_and_cart_div .search_box{
    position: relative;
}



.search_and_cart_div .search_box #search_button{
    cursor: pointer;
    
}

.search_and_cart_div .search_box .seacrh_bar_and_results{
    position: absolute;
    width: 500px;
    height: 500px;
    gap: 10px;
    top: 150%;
    
    right: 0;
    display: none;
    flex-direction: column;
}
.search_and_cart_div .search_box .seacrh_bar_and_results #search_bar{
    width: 100%;
    padding: 10px;
    text-align: start;
    border-radius: 10px;
    border: 2px solid #fca311;
    font-size: 1rem;
    font-weight: 400;  
}

/* Search Results LIST */
.search_and_cart_div .search_box .seacrh_bar_and_results .SearchResults_listView{
    width: 100%;
    background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    gap: 10px;
    border-radius: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
}



.SearchResults_listView .search_product_card{
    display: flex;
    flex-direction: column;    
}

.SearchResults_listView .search_product_card .product_details{
    display: flex;
    flex-direction: row;
    cursor: pointer;
    gap: 10px;
}

.SearchResults_listView .search_product_card img.product_img{
    width: 20%;
    border-radius: 10px;
}

.SearchResults_listView .search_product_card .searchResults_product_details{
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.SearchResults_listView .search_product_card h3.searchResults_product_name{
    width: 100%;
    font-size: 1.25rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.SearchResults_listView .search_product_card p.searchResults_product_category{
    font-size: 1rem;
    color: #606063;
    font-weight: 300;
}






.cart_button{
    position: relative;
}

.cart_button p{
    position: absolute;
    bottom: 0;
    right: -4px;
    background-color: #fca311;
    color: #f2f2f2;
    padding: 0.5px 7px;
    border-radius: 10px;
    font-size: 1rem;
    visibility: collapse;

}



@media (max-width:800px) {
    section{
        padding: 20px;
    }
   
    .top_announcement_banner{
        
        padding: 10px 30px;
        
    }
    
    .top_announcement_banner i{
        position: absolute;
        right: 20px;
        
    }

    #header {
        gap: 0; /* Reset justify-content */
      }
    
    .logo_container {
        display: flex;
        align-items: center;
        margin: 0;
        flex: 1; /* Ensure the logo container takes up available space */
      }
    
      .logo {
        width: 70px;
        height: 35px;
        margin: 0 auto;
        top: 0; 
      }
    
      .search_and_cart_div {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 15px;
        flex: 1;
      }

     .menu_icon {
        display: block; 
        cursor: pointer;
        flex: 1;
        
      }

      .navbar_container{
        flex: none;
        }
    
    #navbar {
        text-align: left;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 25px;
        position: fixed;
        top: 0;
        left: -300px;
        height: 100vh;
        width: 300px;
        background-color: #e5e5e5;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
        transition: 0.3s;
        
        
    }

    #navbar.opened {
        left: 0px;

    }

    #navbar li{
        position: relative;
        align-self: start;
    
    }

    #navbar li a{
        font-size: 2rem;
        
    }

    #close_menu{
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 2.25rem;
        color: #0a111f;
        text-decoration: none;

    }

    .cart_button p{
        padding: 0.5px 5px;

    }

    .search_and_cart_div .search_box .seacrh_bar_and_results{
        
        width: 300px;
        height: 400px;
        
        
    }
}

@media (max-width:300px) {
    #navbar {
        
        left: -250px;
        
        width: 200px;
        
        
        
    }

    .search_and_cart_div .search_box .seacrh_bar_and_results{
        
        width: 240px;
        height: 300px;
        right: -40px;
        
        
    }
}



/* FOOTER SECTION */

#footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f2f2f2;
    margin: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06 );
    z-index: 999;
}

#footer .footer_main_content{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

 

#footer p.copyrights{
    font-size: 1rem;
    color: #0a111f;
    text-transform: capitalize;
}

/* FEATURES */
#footer .footer_main_content .features_container{
    display: flex;
    margin-left: 20px;
    gap: 40px;
    text-align: center;
}

#footer .footer_main_content .features_container .features{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#footer .footer_main_content .features_container .features img{
    width: 40px;
   
}

#footer .footer_main_content .features_container .features h6{
    text-transform: capitalize;
    font-size: 1rem;
    font-weight: 500;
}

/* LINKS */
#footer .footer_main_content .links_container{
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 20px;
}

#footer .links_container .category{
    display: flex;
    flex-direction: column;
    gap: 15px;
    
}

#footer .links_container .category h4{
    font-size: 2rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #fca311;
    line-height: 1.4;
    height: calc(2.8 * 1em);
}

#footer .links_container .category ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;


}

#footer .links_container .category a{
    text-decoration: none;
    text-transform: capitalize;
    font-size: 1rem;
    color: #0a111f;
    transition: 0.3s ease;

    display: inline-block;
    position: relative;
}

#footer .links_container .category .socials_li{
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    gap: 10px;
    
}

#footer .links_container .category a i.bxl-instagram{
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
    -webkit-background-clip: text;
   background-clip: text;
   -webkit-text-fill-color: transparent;

   font-size: 2.5rem;
}

#footer .links_container .category a i.bxl-facebook-circle{
    color: #3b5998;

    font-size: 2.5rem;
}


#footer .links_container .category a:after{
    content: '';
    position: absolute;
    width: 70%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #fca311;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

#footer .links_container .category a:hover{
    color: #fca311;
}

#footer .links_container .category a:hover:after{
    transform: scaleX(1);
    transform-origin: bottom left;
    
}


@media (max-width:1150px) {
    #footer .footer_main_content{
        flex-direction: column-reverse;
        gap: 60px;
        justify-content: center;
    }

    #footer .footer_main_content .features_container{
        display: flex;
        margin-left: 0px;
        gap: 40px;
        justify-content: center;
        
    }

    #footer .footer_main_content .features_container .features img{
        width: 30px;
       
    }

    #footer .footer_main_content .links_container{
        display: flex;
        justify-content: center;
        text-align: center;
        gap: 60px;
        
    }

    #footer p.copyrights{
        text-align: center;
    }

    #footer .links_container .category .socials_li{
        justify-content: center;
    }
    
}


@media (max-width:800px) {
    #footer .footer_main_content .features_container{
    
        gap: 20px;
        
    }
    #footer .footer_main_content .links_container{
        gap: 40px;
        
    }
}


@media (max-width:300px) {
    #footer .footer_main_content .features_container{
    
        gap: 5px;
        
    }
    #footer .footer_main_content .links_container{
        gap: 10px;
        
    }

    #footer .links_container .category h4{
        font-size: 1.5rem;
        
    }
    
   
    
    #footer .links_container .category a{
        
        font-size: 0.8rem;
        
    }
}