.header-shadow {
    display: none;
}

.header {
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 50;
    background-color: #111111;
    transition: background-color .3s;
}
.header.on-top {
    background-color: transparent;
}

.header-logo-link {
    z-index: 3;
}

.header-logo {
    width: 136px;
    height: 24px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    height: 80px;
    padding: 0 16px;
    user-select: none;
}

.header-menu-inner-container{
    display: flex;
    gap: 32px;
}

.menu-toggle-button {
    display: none;
}

.button-lets-talk,
.button-back-top {
    border: 2px solid #ffcb08;
    background: transparent;
    min-width: 160px;
    width: 160px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease-in, background 0.2s ease-in;
}

/*********************************************** Media Queries ********************************************************/
@media screen and (max-width: 991px) {
    body.menu-open {
        overflow: hidden;
    }

    .header-menu-inner-container {
        position: fixed;
        flex-direction: column;
        top: 80px;
        left: calc(100% + 8px);
        width: 100%;
        max-width: 100%;
        height: calc(100dvh - 80px);
        background-color: #111111;
        transition: all .3s;
    }

    body.menu-open .header-menu-inner-container{
        left: 0;
    }

    #header-nav > ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 100%;
        position: relative;
        padding: max(36px, 6vh) 0 32px;
        height: calc(100dvh - 190px);
        scrollbar-gutter: stable;
        overflow-y: auto;
    }

    #header-nav > ul > li {
        cursor: pointer;
        margin-bottom: 32px;
    }

    .header-lets-talk-container {
        position: absolute;
        bottom: 0;
        width: 100%;
        padding: 28px 16px;
        background-color: #ffcb08;
        margin-bottom: 0;
    }

    .header-lets-talk-container::before {
        content: '';
        left: 0;
        top: -14px;
        position: absolute;
        background-image: url("data:image/svg+xml,%3Csvg width='51' height='28' viewBox='0 0 51 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 0L19.3932 27.9247L45 28L32.5733 0H7Z' fill='%23222222'/%3E%3C/svg%3E%0A");
        background-repeat: repeat-x;
        background-color: #ffcb08;
        display: block;
        height: 14px;
        width: 100%;
    }

    .header-menu-inner-container button {
        background-color: #222;
        color: #FFF;
        width: 100%;
        margin: 0 auto;
        max-width: 344px;
        height: 48px;
        border: none;
    }

    #header-nav > ul > li > a {
        font-weight: 600;
        font-size: 32px;
        line-height: 40px;
        text-align: center;
        display: block;
        margin: 0 auto;
    }

    #header-nav > ul > li > ul.sub-menu {
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: all .3s;
    }

    #header-nav > ul > li.open > ul.sub-menu,
    #header-nav > ul > li.current-menu-parent > ul.sub-menu {
        max-height: 100vh;
        padding-top: 16px;
        visibility: visible;
    }

    #header-nav > ul > li > ul.sub-menu > li {
        text-align: center;
        margin-bottom: 28px;
        font-weight: 600;
    }

    #header-nav > ul > li > ul.sub-menu > li:last-child {
        margin-bottom: 0;
    }

    #header-nav > ul > li.menu-item-has-children > a {
        pointer-events: none;
    }

    #header-nav li.current-menu-item > a,
    #header-nav li.current-menu-parent > a {
        color: #ffcb08;
    }

    .menu-toggle-button {
        position: relative;
        display: block;
        width: 40px;
        height: 32px;
        background: transparent;
        border: none;
        z-index: 3;
        cursor: pointer;
    }

    .menu-toggle-button::after,
    .menu-toggle-button::before {
        content: "";
        width: 32px;
        height: 4px;
        position: absolute;
        background: #ffcb08;
        left: 0;
        top: 50%;
        transition: all 0.3s ease-in;
    }

    .menu-toggle-button::before {
        transform: translateY(-3px);
    }

    .menu-toggle-button::after {
        margin-top: 3px;
        transform: translateY(3px);
    }

    body.menu-open .menu-toggle-button::before {
        margin-top: 0;
        transform: translateY(0) rotate(45deg);
    }

    body.menu-open .menu-toggle-button::after {
        margin-top: 0;
        transform: translateY(0) rotate(-45deg);
    }
}

@media screen and (min-width: 768px) {
    .header-shadow {
        display: block;
    }

    .header-container {
        height: 104px;
    }
}

@media screen and (min-width: 992px) {
    #header-nav > ul {
        display: flex;
        gap: 32px;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        position: relative;
        z-index: 3;
        width: 100%;
    }

    #header-nav > ul > li {
        position: relative;
    }

    #header-nav > ul > li > a {
        padding: 15px 0;
    }

    #header-nav li > a {
        display: block;
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
        transition: color .2s ease-in-out;
    }

    #header-nav ul > li > ul.sub-menu {
        overflow: hidden;
        visibility: hidden;
        background: #FFF;
        opacity: 0;
        top: 100%;
        left: 0;
        padding: 32px;
        min-width: 271px;
        position: absolute;
        transition: all .4s ease-in-out;
    }

    #header-nav ul > li > ul.sub-menu li {
        margin: 0 0 16px;
    }

    #header-nav ul > li > ul.sub-menu li:last-child {
        margin: 0;
    }

    #header-nav ul > li > ul.sub-menu li a {
        color: #222;
    }

    #header-nav li.current-menu-item > a,
    #header-nav li.current-menu-parent > a,
    #header-nav ul > li.current-menu-parent > ul.sub-menu li.current-menu-item a {
        color: #ffcb08;
    }

}

@media screen and (min-width: 1024px) {
    .header-container {
        padding: 0 24px;
    }
}

@media screen and (min-width: 1200px) {
    .header-container {
        padding: 0;
    }
}

@media screen and (hover: none) {
    .header {
        width: 100%;
    }
}

@media screen and (hover: hover){

    #header-nav li:hover > a {
        color: #ffcb08;
    }

    #header-nav ul > li:hover > ul.sub-menu {
        opacity: 1;
        visibility: visible;
    }

    #header-nav ul > li > ul.sub-menu li:hover a {
        color: #ffcb08;
    }

    .button-lets-talk:hover,
    .button-back-top:hover {
        background-color: #ffcb08;
        color: #222;
    }
}