

header {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    height: 86px;
    background-color: #0A84FF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    transition: 0.5s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.scrolled {
    transition: 0.5s;
    background-color: #FBFBFB;
}

.navbar {
    max-width: 1280px;
    width: 100%;
    height: 54px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo_block {
    width: 109px;
    gap: 37px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;

    font-size: 28.15px;
    font-weight: 700;
    line-height: 29.72px;

}
.logo_icon {
    width: 108px;
    height: 36.45px;
    transform:scale(1.5);
}

.scrolled .logo_icon {
    content: url("../assets/icons/logo/MAXIservicebLUE.svg");
    width: 108px;
    height: 36.45px;
    transform:scale(1.5);
}

.nav_right_block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 138px;
}

.nav_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;

}

.nav_menu_link_a {
    /* //styleName: Text Single/200/Regular; */

    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    text-wrap: nowrap;
    color: #FBFBFB;
    text-decoration: none;
}

.scrolled .nav_menu_link_a {
    color: #1E1E1E;
}

.nav_btn_block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.nav_btn_contact {
    width: 133px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 76px;
    border: 1px solid #FBFBFB;
    color: #FBFBFB;
    background-color: inherit;
    cursor: pointer;
    user-select: none;

    /* //styleName: Text Single / 100 / Bold; */

    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;

}

.scrolled .nav_btn_contact {
    background-color: #2D63E4;
    border: none;

}

.nav_language_container {
    position: relative;
    height: 54px;
}
.nav_btn_language_block {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 188px;
    width: 100%;

    overflow: hidden;
    max-height: 54px;
    position: relative;
    border-radius: 50px;
    border: 1px solid #EFF0F6;
    box-shadow: 0 5px 5px 0 #080F340A;
    background-color: #FFFFFF;
    padding: 9px;

    display: flex;
    flex-direction: column;
    gap: 32px;
    transform: translateY(0px);
    transition: max-height 0.4s ease, border-radius 1s ease, transform 1s ease;
    z-index: 10;
}

.nav_btn_language {
    width: 100%;
    border: none;
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 50px;
    cursor: pointer;
}

.nav_btn_language_block.btn_show {
    max-height: 174px;
    border-bottom: none;
    transform: translateY(0px);
    border-radius: 12px;
}

.nav_btn_language_block.btn_hide {
    border-radius: 50px;
    
}


.nav_btn_language_icon {
    margin-right: 8px;
    width: 36px;
    height: 36px;
}

.nav_btn_lan {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav_btn_language_p {

    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    color: #170F49;
}

.nav_btn_language_block.btn_show .nav_arrow_down_icon {
    content: url("../assets/icons/language/arrow-up.svg")
}






.nav_dropdown {
    width: 170px; /* Ширина дропдауна */
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 16px;

    pointer-events: none;
}
.nav_dropdown.show {
    pointer-events: all;

}

.nav_dropdown.hide {
    pointer-events: none;
}

.nav_dropdown_item {
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

@media screen and (max-width: 1000px) {
    .nav_right_block {
        gap: 50px;
    }
}

@media screen and (max-width: 890px) {
    .nav_menu {
        display: none;
    }
}

@media screen and (max-width: 530px) {
    header {
        height: 69px;
    }

    .logo_icon {
        width: 22px;
        height: 24px;
    }
    .logoText {
        display: none;
    }
    .nav_language_container {
        height: 33px;
    }
    .nav_btn_language_block {
        width: 60px;
        max-height: 33px;
        border-radius: 50px;
        padding: 4px;
        gap: 16px;
    }
    .nav_btn_language_block.btn_show {
        max-height: 115px;
    }

    .nav_dropdown {
        width: 60px;
        /* flex-direction: row; */
        gap: 5px;
    }

    .nav_btn_language_icon {
        margin-right: 4px;
        width: 24px;
        height: 24px;
    }

    .nav_btn_language_p {
        display: none;
    }

    .nav_btn_contact {
        width: 112px;
        height: 35px;
        border-radius: 76px;
        font-size: 12px
    }

    .navbar {
        height: 35px;
    }
}