.client-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
}
.NavbarSection {
    padding: 8px 24px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: visible;
    max-height: 104px;
    transition: padding .2s;
}

.scrolledNavbar{
    border-bottom: 1px solid #DDE0DC;
}

.NavbarSectionContent {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1168px;
    z-index: 5;
    flex-direction: row;
    justify-content: space-between;
}

.LogoBox {
    display: flex;
    flex-shrink: 0;
    width: 112px;
    margin-right: 12px;
}

.LogoBox img {
    width: 112px;
    height: 32px;
}

.List {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ListWrapper {
    height: fit-content;
}

.NavLink, .LeadItem {
    font-size: 16px;
    line-height: 24px;
    font-family: "Gilroy", sans-serif;
    font-weight: 800;
    margin: 0 0 12px 0;
    cursor: pointer;
    color: #000;
    transition: 0.1s;
    position: relative;
}

.NavLink a, .LeadItem a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
    transition: 0.1s;
}

.LeadItem svg{
    display: none;
}

.List > .NavLink {
    margin-bottom: 0;
    font-size: 20px;
    padding: 12px 24px;
    line-height: 28px;
}

.List > .NavLink:hover {
    color: #22A271;
}

.List > .NavLink:has(> .NavLinkDropdown) {
    padding: 0 24px;
}

.NavLinkDropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    padding: 12px 0;
}

.NavLink.active > a {
    color: #22A271;
}

.DropdownWrapper {
    position: relative;
    opacity: 0;
    transition: 0.4s;
    visibility: hidden;
    margin: 0 -25px;
}

.DropdownWrapper.open {
    opacity: 1;
    visibility: visible;
}

.DropdownCollapse {
    overflow: hidden;
    height: 0;
    transition: 0.4s;
}

.DropdownList {
    margin: 0;
    list-style: none;
    padding: 0 24px;
}

.DropdownList .NavLink, .DropdownList .LeadItem {
    color: #22a271;
    border-radius: none;
    background-color: none;
}

.DropdownList .NavLink a, .DropdownList .LeadItem a {
    display: block;
    padding: 0;
    line-height: 20px;
}

.DropdownList .NavLink:hover {
    background-color: initial;
    color: #2cd091;
}

.DropdownList .NavLink:active {
    color: #22a271;
}

.DropdownList .NavLink:not(:last-of-type) {
    margin-bottom: 12px;
}

.DropdownList .NavItem {
    padding: 0;
}

.DropdownList .NavItem:not(:last-of-type) {
    margin-bottom: 16px;
}

.DropdownList > .NavLink,
.DropdownList > .LeadItem {
    font-size: 16px;
    line-height: 24px;
}

.DropdownList > .NavLink:hover,
.DropdownList > .LeadItem:hover {
    color: #2CD091
}

.ArrowVertical {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ArrowVertical > svg {
    margin-left: 8px;
}

.ArrowVertical.open > svg {
    transform: rotate(180deg);
}

.ArrowVertical.open > svg path {
    fill: #22A271;
}

.NavElements {
    width: 100dvw;
    height: 100dvh;
    top: -100vh;
    right: 0;
    left: 0;

    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 12;
    background-color: #fff;
    transition: top 0.2s;
    overflow: auto;
}

.NavElements.open {
    top: 0;
}

.ButtonContainer {
    display: flex;
    gap: 16px;
    flex-direction: column;
    padding: 24px;
}

.ButtonContainer .button {
    background-color: #2cd091;
    color: #1a1a1a;
    font-family: "Gilroy", sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 24px;
    padding: 12px 40px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    border: 1px solid #2cd091;
    border-radius: 100px;
    transition: 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.ButtonContainer .button:hover {
    background-color: #7ee4bd;
    border: 1px solid #7ee4bd;
    color: #187350;
}

.ButtonContainer .login {
    color: #212120;
    background-color: #fff;
   border: 1px solid #212120;
}

.ButtonContainer .login:hover {
    color: #fff;
    background-color: #1a1a1a;
}

.mobileControls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.controlsLink {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EFF2ED;
}

.NavLink .DropdownCollapseCustomers.open {
    height: 180px;
}

.NavLink .DropdownCollapseBusiness.open {
    height: 180px;
}

.closeIconContainer {
    display: flex;
    padding: 8px 24px;
    width: 100%;
    justify-content: flex-end;
}

.closeIcon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #EFF2ED;
}

.overlay {
    display: none;
}

.NavLink.linkWithBadge a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.NavLinkBadge {
    padding: 2px 8px;
    background-color: #22A271;
    color: #ffffff;
    border-radius: 100px;

    font-size: 12px;
    font-weight: 600;
    line-height: 16px
}

@media (min-width: 500px) {
    .ButtonContainer .button {
        width: initial;
    }
}

@media (min-width: 768px) {
    .LogoBox{
        width: 141px;
        height: 40px;
    }

    .LogoBox img {
        width: 141px;
        height: 40px;
    }

    .NavbarSection {
        padding: 16px 32px;
    }

    .List {
        display: flex;
    }

    .List > .NavLink {
        padding: 12px 32px;
    }

    .List > .NavLink:has(> .NavLinkDropdown) {
        padding: 0 32px;
    }

    .NavElements {
        position: absolute;
        width: 460px;
        overflow: auto;
        top: 0;
        left: unset;
        right: -100%;
    }

    .NavElements.open {
        right: 0;
    }

    .closeIconContainer {
        padding: 16px 32px;
        width: 100%;
        justify-content: flex-end;
    }
    .closeIconContainer > .LogoBox {
        display: none;
    }
    .overlay {
        display: block;
        position: absolute;
        height: 100vh;
        z-index: 11;
        background-color: rgba(0, 0, 0, 0.2);
        right: 0;
        top: 0;
        width: 0;
        transition: opacity 0.5s;
        opacity: 0;
    }
    .visible {
        width: 100vw;
        opacity: 1;
    }
}

@media (min-width: 1280px) {
    .NavElements {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: static;
        z-index: initial;
        height: auto;
        width: 100%;
        overflow: visible;
        background-color: inherit;
    }

    .mobileControls {
        display: none;
    }

    .closeIconContainer {
        display: none;
    }

    .ButtonContainer {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 0;
    }

    .ButtonContainer .button{
        width: fit-content;
    }

    .List {
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 4px;
    }

    .List > .NavLink {
        border-radius: 100px;
        font-size: 16px;
        padding: 8px 12px;
        line-height: 24px;
        border-bottom: none;
    }

    .List > .NavLink:has(>.NavLinkDropdown) {
        padding: 8px 12px;
    }

    .NavLink:hover .ArrowVertical > svg {
        transform: rotate(180deg);
    }

    .NavLink:hover .ArrowVertical > svg path{
        fill: #22A271;
    }

    .NavLink a,
    .NavLinkDropdown {
        justify-content: center;
        align-items: center;
    }

    .overlay {
        display: none;
    }

    .NavLinkDropdown {
        padding: 0;
        font-size: 16px;
        line-height: 24px;
        justify-content: flex-start;
    }

    .DropdownList .NavLink {
        margin-bottom: 16px;
    }

    .DropdownList .NavLink:last-of-type {
        margin-bottom: 0;
    }

    .DropdownWrapper {
        position: absolute;
        top: 36px;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 3px 0;
        opacity: 0;
        visibility: hidden;
        margin: 0;
    }

    .DropdownWrapper:after {
        content: none;
    }

    .NavLink:hover .DropdownWrapper {
        visibility: visible;
        opacity: 1;
    }

    .NavLink:hover .DropdownCollapseBusiness {
        height: fit-content;
    }
    
    .NavLink:hover .DropdownCollapseCustomers {
        height: fit-content;
    }

    .NavLink:hover {
        background-color: #f4f4f4;
    }

    .NavLinkDropdown:hover {
        background-color: #f4f4f4;
    }

    .DropdownCollapse {
        box-shadow: 0px 22px 50px rgba(0, 0, 0, 0.02), 0px 12px 30px rgba(0, 0, 0, 0.02),
            0px 8px 10px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 1px 3px rgba(0, 0, 0, 0.06),
            0px 0px 1px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        border-radius: 16px;
    }

    .LeadItem {
        padding: 0 0 24px 0;
        border-bottom: 1px solid #DDE0DC;
        margin-bottom: 24px;
    }
    
    .LeadItem a {
        white-space: nowrap;
        color: #212120;
        transition: 0.1s;
        font-size: 20px;
        line-height: 28px;
        padding: 0;
        margin: 0;
    }
    
    .LeadItem a:hover {
        color: #2cd091;
    }

    .DropdownList {
        width: 280px;
        padding: 32px;
    }

    .NavbarSection {
        padding: 32px 32px;
    }

    .scrolledNavbar {
        padding: 16px 32px;
    }

    .NavLink.linkWithBadge {
        position: relative;
        background-color: #D2F6E8;
    }

    .NavLinkBadge {
        position: absolute;
        padding: 0 8px;
        top: -8px;
        right: 8px;
    }
}
