.above-header {
    height: auto;
    background-color: #0a1b35;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header {
    background-color: #0a1b35; 
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.header__row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 0;
}

.header__row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header__toggle-languages {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header__toggle-languages a {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
}

.header__toggle-languages img {
    width: 20px !important;
    height: auto !important;
    border-radius: 2px;
}

.header__navigation .menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.header__navigation .menu li a {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}

.header__navigation .menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #ffcc00;
    transition: width 0.3s ease-in-out;
}

.header__navigation .menu > li.current_page_item > a::after {
    width: 100%;
}

.header__navigation .menu .sub-menu li.current_page_item a::after {
    width: 0;
}

.header__navigation .menu li a:hover {
    color: #ffcc00;
}

.header__navigation .menu li a:hover::after {
    width: 100%;
}

.header__navigation .menu li.menu-item-has-children {
    position: relative;
}

.header__navigation .menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0a1b35;
    min-width: 260px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-top: 3px solid #ffcc00;
}

.header__navigation .menu li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__navigation .menu .sub-menu li {
    padding: 0;
}

.header__navigation .menu .sub-menu li a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    text-transform: none;
}

.header__navigation .menu .sub-menu li a:hover {
    background-color: rgba(255,255,255,0.05);
}

.header__burger-icon {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 105;
    cursor: pointer;
}

.header__burger-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.header__burger-icon span:nth-child(1) {
    top: 0;
}

.header__burger-icon span:nth-child(2) {
    top: calc(50% - 1px);
}

.header__burger-icon span:nth-child(3) {
    bottom: 0;
}

.header__burger-icon.active span:nth-child(1) {
    transform: rotate(-45deg);
    top: calc(50% - 1px);
}

.header__burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.header__burger-icon.active span:nth-child(3) {
    transform: rotate(45deg);
    top: calc(50% - 1px);
}

.header__row-bottom {
    width: 100%;
    background-color: #071325;
}

.header__row-bottom .container {
    display: block;
}


.header__row-bottom .menu {
    padding: 15px 0;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
}

.header__row-bottom .menu li a {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.header__row-bottom .menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #ffcc00;
    transition: width 0.3s ease-in-out;
}

.header__row-bottom .menu li.current_page_item a::after,
.header__row-bottom .menu li a:hover::after {
    width: 100%;
}

.header__row-bottom .menu li a:hover {
    color: #ffcc00;
}

.header-below-pages {
    display: flex;
    flex-direction: row;
    padding: 0;
    height: 320px;
    background-position: center center;
    background-size: cover;
}

.header-below-pages__left {
    width: 25%;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    padding: 30px 20px 30px 0;
}

.header-below-pages__left .menu {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
}

.header-below-pages__right {
    width: 75%;
    position: relative;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 0 2000px rgba(10, 27, 53, 0.4);
}

.header__title {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    margin: 0;
}

.header__logo {
    max-width: 220px;
    height: auto;
    display: none;
}

.header-below-front {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 600px;
}

.header-below-pages-row {
    
}

@media (max-width: 1241px) {
    .header__burger-icon {
        display: block;
    }

    .header__navigation {
        display: flex;
        justify-content: flex-end;
    }

    .header__navigation .menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 80%;
        background-color: #0a1b35;
        flex-direction: column;
        gap: 20px;
        font-size: 18px;
        align-items: flex-start;
        justify-content: flex-start;
        z-index: 100;
        padding: 80px 40px;
        height: 100vh;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .header__navigation .menu.active {
        transform: translateX(0);
    }

    .header__navigation .menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 20px;
        display: none;
    }

    .header__row-top {
        display: flex;
        flex-direction: row-reverse;
    }

    .header-below-pages {
        height: 200px;
    }
}


@media (max-width: 1100px) {
    .header-below-front {
        background-position: left center;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .header__row-bottom .menu {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .header-below-pages {
        flex-direction: column;
        min-height: auto;
    }

    .header-below-pages__left {
        display: none;
    }

    .header-below-pages__right {
        width: 100%;
        padding: 40px 20px;
        text-align: center;
    }

    .header__title {
        font-size: 32px;
    }

    .header-below-front {
        min-height: 180px;
    }
}
