/* Base styles */
nav {
    color: black;
    background: white;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 2em 0 10em;
}


.logo {
    height: 40px;
}

.header-ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 2em;
    padding: 0;
    margin: 0;
}

.header-ul a {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.offer-btn {
    color: #ffffff;
    background-color: rgb(219, 100, 14);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    text-align: center;
    justify-items: center;
}

.offer-btn:hover {
    background-color: rgb(221, 120, 48);
    color: #ffffff;
}

/* Hamburger styles */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-btn {
    display: none;
    justify-content: center;
    align-items: center;

}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: none;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: 0.4s;
}



/*=================
===================
search bar css here  
===================
===================*/

.search-list {
    position: relative;
}

.searchBox {
    display: none;
    position: absolute;
    top:3em;
    right:0;
    z-index: 1000;
    margin-right: 12em;
    box-shadow: 5px 10px 18px #555555;
}
.sb-d{
    width: 70em;
    max-width: 80vw;
    border-radius: 5px;;
    overflow: hidden;
}
.sb-i{
    padding: 10px;
    width: 100%;
    font-size: large;
    outline: none;
}
@media (max-width:1440px) {
    .container-header{
        margin:0em 2em 0em 6em;
    }
}
@media (max-width: 1024px) {
    .container-header {
        margin: 0em 2em 0em 1em;
    }
    .header-ul {
        
        font-size: medium;
    }

    .sb-d {
        width: 40em;
        border-radius: 5px;
        overflow: hidden;
    }

    .sb-i {
        padding: 10px;
        width: 100%;
        font-size: large;
        outline: none;
    }
}

@media (max-width:768px){
    .active-nav{
        display: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        display: none;
        width: 100%;
    }
    .navbar-collapse.active-nav {
        display: block;
    }
    .container-header {
        margin: 0 2em 0 1em; 
        flex-direction: column;
        align-items: flex-start;    
    }
    .header-ul {
        gap:0.5em;
        font-size: medium;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }
    .hamburger-btn{
        display: block;
        height: 3.5em;
        width: 3.5em;
        border-radius: 10px;
    }
    .hamburger{
        display: block;
    }
    .container-logo{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;    
    }
    .searchBox {
        display: block !important;
        position: static;
        margin: 1em 0;
        box-shadow: none;
        width: 100%;
    }
    .search-list>a {
        display: none;
    }
}