.navbar {
    display: flex;
    height: 70px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: var(--NavColor);
    transition: background-color .3s;
    padding: 0 20px;

}

#navbar {
    top: 0;
    left: 0;
    position: fixed !important;
    z-index: 10000;

}

:root {
    --NavColor:#007BFF !important;
    --FooterColor: #363636;
    --NavText: #fff;
    --hedFont: #007bff;
    --NavScrollColor: #1CA6D4;
    --barColor: #fff;
    --hoverText: #6ebca8;
    --NavSmallBackgroundColor: #6ebca8;

}

.navbar.scrolled {
    background-color: var(--NavColor);
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links a {
    color: var(--NavText);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-links a:hover {
    color: var(--hoverText);
}

.nav-links a.active {
    color: var(--hoverText);
    background-color: var(--barColor);
    border-radius: 10px;
    /* box-shadow: 0 0 5px var(--barColor), 0 0 25px var(--barColor); */
}


.nav-logo {
    height: 60px;
    width: 60px;
    margin-left: 30px;
    margin-top: -4px;
}

.nav-logo img {
    height: 100%;
    width: 100%;
}

.nav-logo:hover {
    border-radius: 50%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;


}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--barColor);
    margin: 4px 0;
    transition: 0.3s;
}




@media (max-width: 1020px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        height: 100vh;
        width: 100%;
        background-color: var(--NavColor);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: left 0.3s ease;
        color: var(--hoverText);
    }

    .nav-links a:hover {
        color: var(--hoverText);
    }

    .nav-links a {
        font-size: 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-logo {
        height: 50px;
        width: 50px;
        margin-left: 30px;
        margin-top: 0;
    }


}


@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links a {
        font-size: 16px;
        padding: 8px 12px;
    }
}


/* 
--------------------------navCsss--------------------------------- */