footer {
    margin: 0 auto;
    margin-top: 100px;
    max-width: 1600px;
    width: 100%;
    box-shadow: 0px -5px 20px 5px rgba(51, 51, 51, 0.05);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}
.footer_row_one {
    display: flex;
    padding-top: 65px;
    box-sizing: border-box;
    max-width: 1360px;
    margin: 0 auto;
    justify-content: space-between;
    border-bottom: 1px solid rgba(174, 174, 174, 1);
    padding-bottom: 25px;
}
.footer_row_one_block {
    display: flex;
    gap: 20px;
    height: 52px;
    align-items: center;
}
.footer_row_one_block_tel {
    font-weight: 500;
    font-size: 24px;

}
.footer_row_one_block_form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 197px;
    height: 52px;
    background-color: white;
    border: solid 1px rgba(92, 186, 234, 1);
    border-radius: 100px;
}

.footer_row_two {
    padding-top: 40px;
    margin: 0 auto;
    max-width: 1360px;
    width: 100%;

    display: flex;
    justify-content: space-between;
}
.footer_row_two_link {
    display: flex;
    gap: 25px;
}
.footer_row_two_block {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.footer_row_two_block a {
    font-weight: 500;
    font-size: 24px;
}

.footer_row_two_social img {
    width: 65px;
    height: 70px;
}

.conf_polit {
    color: rgba(191, 200, 210, 1);
    font-size: 14px;
    margin-top: 115px;
    display: block;
}

.footer_row_two_social p {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(191, 200, 210, 1);
}

.footer_row_three {
    border-top: 1px solid rgba(191, 200, 210, 1);
    padding-top: 20px;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    font-size: 12px;
    color: rgba(174, 174, 174, 1);
    margin-top: 40px;
}

.footer_conf {
    display: none;
}

.footer_link1 {
    width: 197px;
    height: 52px;
    border: solid 1px rgba(92, 186, 234, 1);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
}

.footer_link2 {
    width: 246px;
    height: 52px;
    border: solid 1px rgba(92, 186, 234, 1);
    background-color: rgba(92, 186, 234, 1);
    border-radius: 100px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
}

.footer_adapt_block {
    display: none;
}

@media (max-width:1365px) {
    footer {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
}

@media (max-width:1140px ) {
    .footer_row_one {
        flex-direction: column;
        align-items: center;
    }
    .header_icons_block_link_div  {
        flex-direction: row-reverse !important;
        gap: 5px;
    }
    .header_icons_block_link {
        flex-direction: column-reverse;
    }
    .footer_row_one {
        padding-top: 30px;
        padding-bottom: 20px;
    }
    .footer_logos {
        width: 20px !important;
        height: 20px !important;
    }
    .footer_logo {
        width: 45px;
        height: 50px;
    }
    .footer_row_one_block {
        flex-direction: column-reverse;
        margin-top: 10px;
        gap: 10px;
        height: auto;
    }
    .header_icons {
        justify-content: center;
    }
    .footer_row_two {
        flex-direction: column-reverse;
        align-items: center;
    }
    .footer_row_two_social div {
        position: relative;
        top: -125px;
    }
    .conf_polit {
        margin: 0;
    }
    .footer_row_two_social {
        height: 1px;
    }
    .footer_row_two_link a {
        color: rgba(174, 174, 174, 1);
    }
    .conf_polit {
        display: none;

    }
    .footer_row_two_social p {
        display: none;
    }
    .footer_conf {
        display: block;
        margin-top: 10px;
    }
    .conf_polit2 {
        color: rgba(92, 186, 234, 1);
        border-bottom: 1px solid rgba(92, 186, 234, 1);
    }
    .conf_polit_p {
        color: rgba(92, 186, 234, 1);
    }
    .header_icons_footer {
        padding: 0 !important;
        justify-content: space-between !important;
        gap: 15px;
        width: 337px;
    }
    .header_icons_block_link_div {
        display: block !important; 
    }
    .footer_logo-foot {
        width: 45px !important;
    }
    .header_icons_block_link_foot {
        gap: 10px !important;
    }
    .footer_link1 {
        width: 335px;
        height: 45px;
    }
    .footer_link2 {
        width: 335px;
        height: 45px;
    }
    .header_icons_block p {
        font-size: 15px;
    }
    .footer_row_two_link {
        gap: 90px;
    }
    .footer_row_two_block a {
        font-size: 16px;
    }
    .header_icons_blockFooter p:first-child{
        line-height: 14px;
        padding-bottom: 5px;
        padding-top: 3px;
    }
    .footer_row_one_block {
        display: none;
    }
    .footer_row_two_social div {
        display: none;
    }
    .footer_adapt_block {
        display: block;
    }
    .footer_adapt_block_tel_soc {
        display: flex;
        align-items: center;
        gap: 70px;
        margin-top: 20px;
    }
    .socialF {
        display: flex;
    }
    .socialF img {
        width: 45px;
        height: 50px;
    }
    .footerLinks {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-top: 20px;
    }
    .footerLinks a {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 73px;
        width: 335px;
        height: 45px;
        border: 1px solid rgba(92, 186, 234, 1);
    }
    .footerLinks a:last-child {
        color: white;
        background-color: rgba(92, 186, 234, 1);
    }
    .footer_row_two_block {
        gap: 15px;
    }
    .footer_row_two {
        padding-top: 30px;
    }
    .footer_row_three {
        margin-top: 30px;
    }
    .footer_row_three {
        line-height: 12px;
        font-size: 10px;
    }
    .footer_conf {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }
    .conf_polit2 {
        width: 157px;
    }
    .footer_row_three {
        padding-bottom: 100px;
    }
}

@media (max-width:430px) {
    .header_icons_footer {
        /* gap: 15px !important; */
    }
    
}