@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Outfit:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}


a {
    text-decoration: none;
}

.border-btm {
    border-bottom: 1px solid #ccc;
}



.main-navbar {
    margin: 10px 0;
    background-color: #fff;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
}


header {
    position: relative;
}

/* top nav  */

.top-navbar {
    background-color: var(--bs-primary-text-emphasis);
}

.contact {
    font-size: 15px;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

@media(max-width:992px) {
    .contact {
        font-size: 14px;
    }
}


/* bottom nav  */


.logo img {
        width: 210px;
}

@media(max-width:992px) {
    .logo img {
        width: 120px;
    }
}

.main__menu {
    display: flex;
    justify-content: end;
    gap: 2rem;
}

.nav-menu{
    margin: 0 auto;
}

.main__menu li {
    line-height: 70px;
    font-weight: 600;
    font-size: 19px;
    white-space: nowrap;
    color: var(--bs-primary-text-emphasis);
    cursor: pointer;
}

.main__menu li a {
    color: var(--bs-primary-text-emphasis);

    &:hover {
        color: #76ba3a;
    }
}

.drop {
    position: relative;
}

.dropdown {
    background-color: #ffffff;
    position: absolute;
    top: 90px;
    left: 0;
    z-index: 100;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, top 0.4s, visibility 0.5s;

}


.main__menu li:hover .dropdown {
    opacity: 1;
    top: 100%;
    visibility: visible;

}


.dropdown li {
    line-height: 25px;
    position: relative;
}

.dropdown li a {
    font-size: 16px;
    color: var(--bs-primary-text-emphasis);
    font-weight: 600;
    padding: 8px 12px;
    display: block;
    letter-spacing: 0.6px;
    line-height: 35px;
}


.submenu {
    background-color: #fff;
    position: absolute;
    top: 50px;
    left: 100%;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
   width: 315px;
}

.dropdown li:hover .submenu {
    opacity: 1;
    top: 0;
    visibility: visible;
    transition: opacity 0.5s, top 0.4s, visibility 0.5s;
}




/* mobile navbar  */


.side-menu-btn {
    height: 50px;
    width: 50px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bs-primary-text-emphasis);
    border-radius: 10px;
    cursor: pointer;
}

.close-menu-btn {
    height: 50px;
    width: 50px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bs-primary-text-emphasis);
    border-radius: 100px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.mobile__navber {
    background-color: #fff;

}

.mobile-navbar {
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 2.5rem;
    z-index: 200;
    width: 100%;
    height: 80vh;
    overflow: auto;
    padding-block: 2.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 2px 4px 0 #ccc;
    transition: top 0.4s, opacity 0.3s;
}

.mobile-navbar::-webkit-scrollbar {
    width: 0.3rem;
    height: scroll;
}

.mobile-navbar::-webkit-scrollbar-thumb {
    background-color: var(--bs-primary-text-emphasis);
    border-radius: 100px;
}


.show-menu {
    opacity: 1;
    top: 7rem;
    pointer-events: initial;
}



.main-menu li {
    line-height: 35px;
    font-weight: 500;
    font-size: 20px;
    padding: 10px 8px 10px;
    color: var(--bs-primary-text-emphasis);
    cursor: pointer;
}

.main-menu li a {
    color: var(--bs-primary-text-emphasis);

    &:hover {
        color: #afe67f;
    }
}

.dropdown__container {
    background-color: #ffffff;
    height: 0;
    overflow: hidden;
    transition: height 0.4s;
}


.mobile-dropdown {
    width: 100%;
    padding: 0 10px;
}

.mobile-dropdown li {
    line-height: 25px;
    padding: 12px 0 10px;
    font-size: 18px;
    position: relative;
}

.mobile-dropdown li a {
    font-size: 16px;
    color: var(--bs-primary-text-emphasis);
    font-weight: 500;
    letter-spacing: 0.6px;
}

.mobile-dropdown li p {
    font-size: 17px;
    color: var(--bs-primary-text-emphasis);
    font-weight: 500;
    letter-spacing: 0.6px;
}

.mobile-submenu {
    padding: 0 10px;
}

.sub__dropdown {
    background-color: #fff;
    height: 0;
    overflow: hidden;
    transition: height 0.4s;
}

