.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link,
.navbar-nav .nav-link:hover {
    color: var(--secondary) !important;
}

.navbardiv {
    margin: auto;
}

.navbar.solid {
    background: var(--main);
    transition: background 1s ease 0s;
    box-shadow: var(--box-shadow);
}

.navbar.solid ul .nav-link {
    color: var(--secondary);
}

.navbar {
    width: 100%;
    margin: auto;
    position: sticky;
    top: 0px;
    z-index: 999;
    padding: 0px;
    background: var(--main);
    border: none;
    transition: background 0.5s ease 0s;
}

.navbar ul .nav-link {
    color: var(--secondary);
    font-weight: var(--fw-md);
    font-size: 14px;
}

.navbar .nav-item {
    position: relative;
    cursor: pointer;
}

@media screen and (min-width: 1290px) {

    .navbardiv {
        width: 98%;
    }

    .navbar ul .nav-link {
        font-size: 14px;
    }

}

@media screen and (min-width: 989px) and (max-width: 1290px) {

    .navbardiv {
        width: 98%;
    }

    .navbar-brand img {
        height: 50px !important;
    }

    .navbar ul .nav-link {
        font-size: 12px;
    }

}

@media screen and (max-width: 989px) {

    .navbardiv {
        width: 95%;
        padding-block: 5px;
    }

    .responsive-button {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: auto;
        width: 100%;
    }

    .navbar-brand {
        display: none;
    }

    .navbar ul li {
        padding: 5px 0px;
    }

    .responsive-button div .navbar-toggler {
        background: var(--main);
        color: var(--secondary);
        border-radius: 50%;
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar .container-fluid {
        padding-right: 0px;
        padding-left: 0px;
    }

    .navbar-collapse {
        padding: 0px 15px 10px 15px;
    }

    .toggler-icon {
        position: relative;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }

    /* Hide the current icon smoothly */
    .navbar-toggler[aria-expanded="true"] .toggler-icon {
        transform: rotate(180deg);
        /* opacity: 0; */
    }

}

@media screen and (min-width: 989px) {
    .responsive-button {
        display: none;
    }
}