:root {
    --header-height: full;
    --font-semi-bold: 600;
    --z-fixed: 100;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: var(--z-fixed);
    box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
}

.nav__toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav__burger,
.nav__close {
    display: block;
}

.nav__close {
    display: none;
}

.nav__menu {
    position: relative;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem;
    background: #fff;
}

.nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    color: #07466b;
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
}

.nav__link:hover {
    /* background: #07466b; */
    color: #71bc88;
}

.dropdown__menu,
.dropdown__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .2s ease;
    width: 100%;
}

.dropdown__subitem>.dropdown__link--btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown__item {
    list-style: none;
}

.dropdown__arrow,
.dropdown__right {
    width: 20px;
    transition: transform .3s ease;
}

.dropdown__link,
.dropdown__sublink {
    display: block;
    padding: .65rem 1rem;
    color: #fff;
    background: #4c96ca;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 20px;
}

.dropdown-open>.dropdown__menu {
    max-height: 1200px;
}

.dropdown-sub-open>.dropdown__submenu {
    max-height: 600px;
}

.dropdown__sublink {
    background-color: #07466b;
}

.dropdown__subitem>.dropdown__link--btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown__link>a {
    color: #ffffff !important;
}

.dropdown__link:hover,
.dropdown__link:hover a,
.dropdown__sublink:hover {
    color: #07466b !important;
}

.dropdown__link {
    padding: 5px 10px !important;
}

@media (min-width:1118px) {

    .logo-part {
        display: flex;
        align-items: center;
        /* justify-content: space-between; */
        justify-content: center;
    }

    .nav__list {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 5rem;
        padding: 0px 10px;
        border-top: 2px solid #00000010;
    }

    .sec-logo {
        width: 576px;
        padding: 10px 0px;
    }

    .anniversary-logo {
        width: 80px;
    }


    .nav__toggle {
        display: none;
    }

    .nav__menu {
        position: static;
    }

    .nav__link {
        padding: 0;
        height: 100%;
        background: transparent;
    }

    .dropdown__menu,
    .dropdown__submenu {
        position: absolute;
        left: 0;
        top: 100%;
        width: max-content;
        background: #4c96ca;
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease;
    }

    .dropdown__item {
        position: relative;
    }

    .dropdown__item:hover>.dropdown__menu {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .dropdown__submenu {
        left: 100%;
        top: 0;
    }

    .dropdown__subitem:hover>.dropdown__submenu {
        opacity: 1;
        pointer-events: auto;
    }

    .dropdown__menu,
    .dropdown__submenu {
        max-height: none;
        overflow: visible;
        padding: 10px 0px;
    }

    .dropdown__link,
    .dropdown__sublink {
        background: #4c96ca;
        color: #fff;
        padding: 0.75rem 2.5rem !important;
    }

    .dropdown__item:hover .dropdown__arrow {
        transform: rotate(180deg);
    }

    .dropdown__subitem:hover .dropdown__right {
        transform: rotate(90deg);
    }

}

@media (max-width:1117px) {

    .header-upper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-part {
        display: flex;
        align-items: center;
        justify-content: start;
    }

    .nav__menu {
        position: fixed;
        left: 0;
        right: 0;
        /* top: 64px; */
        height: calc(100vh - 64px);
        background: #fff;
        transform: translateY(-6px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease, transform .25s ease;
    }

    .nav__menu.show-menu {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .sec-logo {
        width: 470px;
        padding: 10px 0px;
    }

    .anniversary-logo {
        width: 80px;
    }


    .nav__close {
        display: block;
    }

    .nav__burger {
        display: block;
    }

    .nav__toggle.show-icon .nav__burger {
        display: none;
    }

    .nav__toggle.show-icon .nav__close {
        display: block;
    }

    .nav__list {
        padding-top: 1rem;
    }

    .nav__link:hover {
        background: transparent;
        color: #07466b;
    }

}

@media only screen and (max-width: 768px) {
    .sec-logo {
        width: 400px;
        padding: 10px 0px;
    }

    .anniversary-logo {
        width: 70px;
    }

}

@media only screen and (max-width: 435px) {
    .sec-logo {
        width: 300px;
        padding: 10px 0px;
    }

    .anniversary-logo {
        width: 70px;
    }

}

@media only screen and (max-width: 320px) {
    .sec-logo {
        width: 270px;
        padding: 0;
    }

    .anniversary-logo {
        width: 60px;
    }

}