@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
* {
    box-sizing: border-box !important;
}
html{
    scroll-behavior: smooth;
}

:root{
    --primary-color: #fc0;
    --secondary-color: #ca0202;
    --green-color: #157500;
    --hover-color: #d2a700;
    --heading-color: #ffcc00;
    --text-color: #333;
    --white-color: #fff;
    --black-color: #000;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

body{
    margin: 0;
    padding: 0;
    font-family: "Open Sans", serif;
    color: #666666;
    font-size: 14px;
    line-height: 1.80857;
    font-weight: normal;
    background-color: var(--white-color);
}

.mob-nav{
    display: none;
}

.top-nav{
    width: 80%;
    margin: 20px auto;
}

.logo{
    width: 100px;
    height: 100px;
}

.logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-nav ul{
    gap: 20px;
}

.customer-btn{
    gap: 10px;
    transition: all 0.3s ease-in-out;
}
.customer-btn:hover p,
.customer-btn:hover i{
    color: #666;
}

.customer-btn i{
    font-size: 2rem;
    color: var(--text-color);
}
.left-nav-item{
    line-height: 16px;
    color: var(--text-color);
}
.left-nav-item p{
    margin: 0;
    font-size: 0.8rem;
}
.left-nav-item p:nth-child(2){
    font-size: 1rem;
    font-weight: 600;
}

.login-btn{
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    padding: 10px 20px;
    border-radius: 10px;
    color: var(--black-color);
    transition: all 0.3s ease-in-out;
}
.login-btn:hover{
    background: transparent;
}

.conslt-btn{
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 10px;
    color: var(--black-color);
    transition: all 0.3s ease-in-out;
}
.conslt-btn:hover{
    background: var(--primary-color);
}
.navbar{
    padding: 10px 0;
    border: 1px solid #ccc;
    box-shadow: 10px 0 10px rgba(0, 0, 0, 0.2);
}
.navbar a{
    color: var(--black-color);
    transition: all 0.3s ease-in-out;
    font-weight: 600;
}
.navbar a:hover{
    color: var(--primary-color);
}
.navbar-items{
    width: 80%;
    margin: 0 auto;
    justify-content: center;
    gap: 30px;
}
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    width: 200px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-left: 0;
    z-index: 9;
}

.dropdown-menu li {
    padding: 15px 20px;
    transition: all 0.3s ease-in-out;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu li:hover{
    background-color: var(--primary-color);
}

.dropdown-menu a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.dropdown-menu a:hover {
    color: var(--black-color);
}
.mob-navbar-items .mob-link {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.mob-navbar-items a img{
    width: 50px;
    height: 50px;
    margin: 0 auto;
}
.mob-navbar-items li a{
    display: grid;
    text-align: center;
}

.note {
    width: 100%;
    background-color: #f0f0f0;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
}
.note p {
    margin: 0;
    padding: 0;
    text-align: center;
}

@media (max-width: 900px) {
    .top-nav {
        width: 90%;
        margin: 20px auto;
    }
    .normal-navbar{
        display: none;
    }
    .mob-nav{
        display: block;
    }
    .mob-nav .customer-btn{
        margin-left: 0px;
    }
    .navbar-items {
        display: none;
        list-style: none;
        padding: 0;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar-items.active {
        display: block;
        position: absolute;
        left: 0;
        margin-top: 90px;
        width: 100%;
        height: 100%;
        padding: 50px;
        text-align: center;
        z-index: 999;
    }

    #menu-toggle {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
    .navbar{
        padding: 10px 30px;
    }
    .logo-flex{
        gap: 20px;
    }
    .logo {
        width: 50px;
        height: 50px;
    }
    .mob-navbar-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 500px) {
    .top-nav {
        width: 90%;
        margin: 20px auto;
    }
    .note p{
        font-size: 0.7rem;
    }
}