header {
    padding: 20px 0px;
    position: relative;
}

.logo_container {
    display: flex;
}

.logo_img {
    margin-right: 20px;
}

.header_menu,
.header_menu ul {
    display: flex;
}

.header_menu {
    justify-content: right;
    height: 100%;
    align-items: center;
}

.header_menu li {
    margin-right: 24px;
    list-style: none;
}

.header_menu li a {
    font-size: 17px;
    color: #0B0C13;
    font-weight: 700;
}

.header_get_quote {
    margin-right: 24px;
}

.header_language a,
.header_get_quote a {
    display: inline-block;
    font-size: 17px;
    color: white;
    font-weight: 700;
    background-color: #D62220;
    padding: 15px 10px;
    line-height: 1;
}

.header_get_quote p {
    font-size: 17px;
    color: white;
    font-weight: 700;
    background-color: #D62220;
    padding: 16px 10px;
    line-height: 1;
    cursor: pointer;
}

.header_menu_mobile {
    display: none;
    flex-direction: column;
    align-items: end;
}

.header_menu_mobile div {
    width: 30px;
    height: 2px;
    background-color: #D62220;
    margin-bottom: 5px;
}

.header_main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 1201px) and (max-width: 1400px) {
    header .container {
        padding: 0 15px;
    }
}

@media (max-width: 1240px) {
    .header_menu_mobile {
        display: flex;
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }

    .header-menu-for-mobile {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        z-index: 143341;
        height: 100%;
        backdrop-filter: blur(10px);
        background-color: rgba(0, 0, 0, 0.15);
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .header-menu-for-mobile.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header_menu {
        width: 90%;
        background-color: white;
        padding: 30px;
        height: 100%;
        display: flex;
        flex-direction: column;
        float: right;
        justify-content: unset;
        align-items: unset;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .header-menu-for-mobile.is-open .header_menu {
        transform: translateX(0%);
    }

    .menu {
        flex-direction: column;
        text-align: left;
        order: 2;
        margin: 30px 0;
        align-items: flex-start;
    }

    .header_get_quote {
        order: 3;
        margin-right: 0;
        padding-bottom: 30px;
        margin-top: auto;
        text-align: center;
    }

    .header_language {
        order: 1;
        text-align: left;
    }

    .menu li {
        margin-bottom: 15px;
        padding: 10px 0;
        font-size: 20px;
        border-bottom: 2px solid #D62220;
        margin-right: 0px;
        width: 200px;
    }
}

@media (max-width: 575px) {
    .header_menu_mobile {
        display: flex;
    }

    header {
        padding: 10px 0px;
    }

    .header .container {
        padding: 0px 16px;
    }

    .logo_second_image {
        display: none;
    }

    .home .logo_second_image {
        display: block;
        position: absolute;
        z-index: 10;
        bottom: -63px;
        left: 0;
    }
}

/* Mobile menu close button (bottom-right) */
.mobile_menu_close {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: none;
}

.header-menu-for-mobile.is-open .mobile_menu_close {
    display: block;
}

.get_a_quote_popup {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 143341;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.15);
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.get_a_quote_popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.get_a_quote_popup_close {
    position: absolute;
    top: 50px;
    right: 50px;
    cursor: pointer;
}

.get_a_quote_popup_wrapper {
    max-width: 768px;
    float: right;
    background-color: #132A3E;
    height: 100%;
    padding: 120px 60px;
    overflow-y: scroll;

}

.get_a_quote_popup_wrapper h2 {
    color: white;
    margin-bottom: 20px;
}

.get_a_quote_popup_wrapper p {
    color: white;
}

.get_a_quote_popup_a {
    margin: 20px 0px;
    display: flex;
    justify-content: right;
}

.get_a_quote_popup_title a {
    color: white;
    font-size: 17px;
    font-weight: 700;
    background-color: #D62220;
    padding: 10px;
    display: inline-flex;
}

.get_a_quote_popup label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: white;
    margin-bottom: 5px;
}

.get_a_quote_popup input,
.get_a_quote_popup select {
    border: 1px solid #AEB5BE;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    background-color: transparent;
    padding: 15px 20px;
    margin-bottom: 20px;
    width: 100%;
    margin-top: 10px;
    color: #AEB5BE;

}

.get_a_quote_popup input::placeholder {
    color: #AEB5BE;

}

.get_a_quote_popup .get_a_quote_popup_required {
    font-size: 20px;
    font-weight: 400;
    color: #AEB5BE;
    margin-bottom: 20px;
}

.get_a_quote_popup_checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.get_a_quote_popup_checkbox input {
    width: unset;
    margin: 0px;
    padding: 0px;
}

.get_a_quote_popup_checkbox label a {
    color: #D62220;
    text-decoration: underline;
}

.get_a_quote_popup_checkbox label {
    margin-bottom: 0px;
}

.get_a_quote_popup_button {
    margin-top: 20px;
}

.get_a_quote_popup_button button {
    background-color: #D62220;
    padding: 30px 50px;
    font-size: 20px;
    font-weight: 400;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
}

@media(max-width: 576px) {
    .get_a_quote_popup_wrapper {
        width: 90%;
        padding: 30px;
    }

    .get_a_quote_popup_button button {
        width: 100%;
        padding: 20px 20px;
        line-height: 1;
    }
}