.header {
    z-index: 9;
    position: sticky;
    top: 0;
}

.header-green {
    background-color: #162825;
}

.header-green .header-menu__item,
.header-green .header-menu__item > a {
    color: #FFFFFF !important;
}

.header-white {
    background-color: #FFFFFF;
}

.header-white .header-menu__item,
.header-white .header-menu__item > a {
    color: #111928 !important;
}

.header-white .header-menu__item svg path {
    stroke: #111928;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 26px 20px;
    width: 100%;
}

.header * {
    list-style: none;
    text-decoration: none;
    font-size: 18px;
}

header *:hover {
    text-decoration: none;
}

.header-menu>ul {
    display: flex;
}

.header-menu__item {
    padding: 9px 21px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative
}

.header-menu__item:hover {
    cursor: pointer;
}

.header-white .header-menu__item,
.header-white .header-menu__item a {
    color: #E9EBE6;
}

.header-buttons__link {
    padding: 9px 21px;
    border-radius: 12px;
    color: #303D3E;
    background-color: #9DB8BA;
    line-height: 1.3;
}

@media (min-width:769px) {
    .header-buttons__link:hover {
        color: #9DB8BA;
        background-color: #303D3E;
    }

    .header-menu__item-dropdown {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
        background-color: #FFFFFF;
        border-radius: 12px;
        padding: 20px 36px 45px;
        min-width: 580px;
        margin-top: 7px;
    }

    .header-white .header-menu__item:hover {
        background-color: #9DB8BA;
        color: #303D3E;
    }

    .header-white .header-menu__item:hover a {
        color: #303D3E;
    }

    .header-white .header-menu__item:hover svg {
        transform: rotate(180deg);
    }

    .header-white .header-menu__item:hover svg path {
        stroke: #303D3E;
    }

    .header-menu__item-dropdown-container {
        position: absolute;
        top: 100%;
        left: 0;
        cursor: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
    }

    .header-menu__item.dropdown:hover .header-menu__item-dropdown-container {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .header-menu__item-dropdown-column-1__item>a:hover {
        background-color: #9DB8BA66;
    }
}

.header-menu__item-dropdown-column-1,
.header-menu__item-dropdown-column-2 {
    display: flex;
    flex-direction: column;
}

.header-menu__item-dropdown-column-1>ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    height: 100%;
}

.header-menu__item-dropdown-column-1-heading,
.header-menu__item-dropdown-column-2-heading {
    color: #576A6C;
    font-size: 25px;
    line-height: 1.5;
    font-weight: 400;
}

.header-menu__item-dropdown-column-1__item>a {
    padding: 8px 16px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #000000;
}

.header-menu__item-dropdown-column-2-img {
    border-radius: 20px;
    margin: 12px 0;
    max-width: 254px;
}

.header-menu__item-dropdown-column-title {
    font-weight: 400;
    color: #000000;
    font-size: 18px;
    line-height: 1.5;
}

.header-menu__item-dropdown-column-2-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #718081;
    margin-top: 8px;
}

.header-buttons__hamburguer-menu {
    all: unset;
    width: 39px;
    height: 39px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 8px;
    background-color: #FFFFFF;
    padding: 10px 9px;
    justify-content: space-between;
    transition: all .3s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.header-buttons__hamburguer-menu:focus-visible {
    outline: none;
}

.header-buttons__hamburguer-menu span {
    display: block;
    width: 100%;
    background-color: #003E31;
    height: 4px;
    border-radius: 10px;
    transform-origin: left;
}

.header-buttons__hamburguer-menu.open span:nth-child(1) {
    width: 27px;
    transform: rotate(40deg);
}

.header-buttons__hamburguer-menu.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.header-buttons__hamburguer-menu.open span:nth-child(3) {
    width: 27px;
    transform: translateY(1px) rotate(-40deg);
}


@media (max-width:950px) {
    .header-menu__item-dropdown {
        gap: 20px;
        padding: 20px 25px 45px;
        min-width: 530px;
    }
}

@media (max-width:768px) {
    .header-logo {
        width: 92px;
    }

    .header-menu {
        position: absolute;
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        background-color: #FFFFFF;
        transform: translateY(-100%);
    }

    .header-menu.open {
        transform: translateY(0%);
    }

    .header-menu>ul {
        padding: 34px 28px;
        gap: 80px;
    }

    .header-menu__item {
        align-items: flex-start;
        padding: 0;
    }

    .header-menu__item>a {
        color: #576A6C !important;
        font-size: 25px;
        line-height: 1.5;
        font-weight: 400;
    }

    .header-menu__item.dropdown {
        padding: 0;
    }

    .header-menu__item.dropdown>span {
        display: none
    }

    .header-menu__item.dropdown svg {
        display: none;
    }

    .header-menu__item-dropdown-container {
        position: relative;
        width: 100%;
    }

    .header-menu>ul,
    .header-menu__item.dropdown,
    .header-menu__item-dropdown {
        display: flex;
        flex-direction: column;
    }

    .header-menu__item-dropdown {
        padding: 0;
        min-width: auto;
        margin: 0;
        gap: 80px;
    }

    .header-menu__item-dropdown-column-1 {
        gap: 50px
    }

    .header-menu__item-dropdown-column-1>ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .header-menu__item-dropdown-column-1__item-image {
        width: 56px;
        height: 56px;
        background-color: #9DB8BA66;
        border-radius: 7px;
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-menu__item-dropdown-column-1__item>a {
        align-items: center;
        gap: 10px;
        padding: 0;
        color: #000000 !important;
    }

    .header-menu__item-dropdown-column-1__item>a br {
        display: none;
    }

    .header-menu__item-dropdown-column-2 {
        max-width: 250px;
    }

    .header-buttons {
        display: flex;
        gap: 13px;
        align-items: center;
    }

    .header-buttons__link {
        font-size: 15px;
    }

    .header.menu-open .header-buttons__link {
        display: none;
    }

    .header-buttons__hamburguer-menu {
        background-color: #C6DBDE;
        z-index: 1;
    }
}

@media (min-width:769px) {
    .header-buttons__hamburguer-menu {
        display: none;
    }
}

@media (max-width:500px) {
    .header-menu__item-dropdown-column-1>ul {
        display: flex;
        flex-direction: column;
        gap: 45px;
    }

    .header-menu__item-dropdown-column-1-heading,
    .header-menu__item-dropdown-column-2-heading,
    .header-white .header-menu__item a {
        font-size: 22px;
    }
}

@media (max-width:350px) {
    .header-buttons__link {
        display: none;
    }
}