@import url("https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

/* @import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Spectral;
    /* font-family: 'Alegreya', serif; */
    transition: all linear 0.3s;
}

/* global_line */
body {
    position: relative;
}

.global_line {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin-bottom: 25px;
}

.global_line h1 {
    font-weight: 500;
}

.global_line span {
    color: #2461FF;
    font-family: Spectral;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* /global_line */

/* webkit-scrollbar  */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #418ef966;
}

body::-webkit-scrollbar-thumb {
    background: #2461FF;
    border-radius: 10px;
}

@media screen and (max-width: 800px) {
    body::-webkit-scrollbar {
        width: 7px;
    }
}

/* /webkit-scrollbar  */

html {
    scroll-behavior: smooth;
}

.scrollTop {
    display: flex;
    position: fixed;
    z-index: 9999;
    bottom: 150px;
    right: 10px;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    background: #2461FF;
    cursor: pointer;
    color: white;
    visibility: hidden;
    opacity: 0;
    transition: 1s;
    font-size: 25px;
    box-shadow: 0px 0px 20px 4px rgba(255, 255, 255, 0.25);
}

.scrollTop_active {
    bottom: 100px;
    visibility: visible;
    opacity: 1;
    transition: 1s;
}

a {
    text-decoration: none;
    cursor: pointer;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 60px;
    justify-content: center;
    align-items: center;
    background: #2461FF;
    z-index: 8;
    animation: animate_header 1s ease;
    transform: translateY(0px);
}

/*@media screen and (min-width: 800px) {*/

@keyframes animate_header {
    0% {
        transform: translateY(-50px);
        visibility: hidden;
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }
}

body main header .container {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
    /* overflow: hidden; */
}

.myAid_active header .container {
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    width: auto;
    height: 85%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: 10px;
}

.logo img {
    /* width: 100%; */
    height: 100%;
}

header nav {
    display: flex;
    width: 85%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

header nav ul {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
}

header nav ul li {
    position: relative;
    display: flex;
    width: auto;
    height: 100%;
    justify-content: center;
    align-items: center;
    margin-left: 25px;
}

header nav ul .home__li {
    display: none;
}

header nav ul .li__lang ion-icon {
    visibility: visible;
    opacity: 1;
}

header nav ul li ion-icon {
    visibility: hidden;
    opacity: 0;
}

.close {
    display: none;
}

header nav ul li a {
    display: flex;
    width: auto;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #ffffff;
}

header nav ul li a ion-icon {
    display: none;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 20px;
    right: 50%;
    background: white;
    transition: width 0.3s ease, right 0.3s ease;
}

header nav ul li a:hover::after {
    width: 100%;
    right: 0;
}

header nav ul .li__lang a ion-icon {
    margin-right: 5px;
    display: flex;
}

/* modal */

@media screen and (min-width: 800px) {
    header nav ul li ul {
        position: absolute;
        top: 75px;
        height: auto;
        flex-direction: column;
        visibility: hidden;
        opacity: 0;
        background: #2461FF;
    }

    header nav ul li:hover ul {
        visibility: visible;
        opacity: 1;
        top: 60px;
    }
}

header nav ul li ul li {
    height: auto;
    margin: 0;
}

header nav ul li:hover a ion-icon:last-child {
    transform: rotate(180deg);
}

.open {
    display: none;
}

/* adaptation */

@media screen and (max-width: 900px) {

    header nav ul li a ion-icon {
        display: flex;
    }

    .link_contact {
        display: none !important;
    }

    header nav ul .home__li {
        display: flex;
    }

    .open {
        display: flex;
        width: auto;
        justify-content: center;
        align-items: center;
        text-align: center;
        cursor: pointer;
        font-size: 25px;
        color: white;
        margin-right: 10px;
    }

    header {
        position: fixed !important;
        top: auto;
        height: 70px;
        bottom: 0;
        z-index: 8;
        overflow: unset;


    }

    .header_active {
        overflow: unset;
    }

    header nav {
        position: fixed;
        bottom: -15px;
        width: 100%;
        height: auto;
        justify-content: center;
        align-items: center;
        background: #2461FF;
        padding-top: 5px;

        visibility: hidden;
        opacity: 0;
        transition: linear 0.3s;
    }

    .header_active nav {
        visibility: visible;
        opacity: 1;
        transition: linear 0.3s;
        bottom: 0;
        z-index: 9;
    }

    header nav ul {
        position: relative;
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .close {
        display: flex;
        margin-right: 15px;
        color: white;
        font-size: 30px;
        cursor: pointer;
    }

    header nav ul li {
        width: 30%;
        margin: 0;
        padding: 15px 0;
    }

    header nav ul li a {
        flex-direction: column;
    }

    header nav ul .li__lang {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin: 5px 0 0px 0;
    }

    header nav ul li ul {
        width: 80%;
        justify-content: flex-start;
        align-items: center;
        flex-direction: unset;
        padding: 0 20px;
    }

    header nav ul li ul li {
        width: auto;
        height: auto;
        justify-content: center;
        align-items: center;
    }

    header nav ul li ul li a {
        padding: 0px 15px;
    }

    header nav ul li ion-icon {
        display: flex;
        color: white;
        margin-top: 10px;
        margin-bottom: 2px;
    }

    header nav ul li ion-icon {
        visibility: visible;
        opacity: 1;
    }

    header nav ul .li__lang .fa_a {
        display: none;
    }

    header nav ul li ul li a {
        font-size: 20px;
    }
}

/* main */

main {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    /* padding: 45px 0 0 0; */
    /* margin: 65px 0 65px 0; */
    overflow: hidden;
}

.global_line::before {
    content: "";
    display: block;
    height: 40px;
    margin-top: 50px;
    visibility: hidden;
}

.scroll_down {
    position: absolute;
    bottom: 50px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.scroll_down {
    animation: scroll_down 1s ease;
}

@keyframes scroll_down {
    0% {
        transform: translateY(70px);
        visibility: hidden;
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
}

.scroll_down_card {
    display: flex;
    width: 18px;
    height: 34px;
    border-radius: 11px;
    border: 1px solid #2461FF;
    justify-content: center;
    text-align: center;
    padding: 5px 0;
}

.scroll_down_circle {
    width: 5px;
    height: 8px;
    border-radius: 27px;
    background: #2461FF;
    animation: bounce 2s infinite;
    /* Название анимации, время одной итерации и бесконечное повторение */
}

.scroll_down_circle {
    height: 15px;
}

.scroll_down_circle {
    height: 5px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(20px);
    }

    60% {
        transform: translateY(15px);
    }
}

main .container {
    position: relative;
    display: flex;
    width: 95%;
    height: 100%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* flex-direction: row-reverse; */
}

.main_social {
    position: fixed;
    top: 20%;
    left: 2%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: animate_scroll 1s ease;
}

@keyframes animate_scroll {
    0% {
        transform: translateX(-50px);
        visibility: hidden;
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
}

.main_social_none {
    left: -10%;
    visibility: hidden;
    opacity: 0;
}

.main_social a {
    font-size: 25px;
    color: #2461FF;
    cursor: pointer;
    border-radius: 50%;
}

.main_social a:nth-child(2) {
    margin: 25px 0;
}

main .container .card {
    display: flex;
    width: 45%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

main .container .card_info {
    margin-left: 55px;
}

main .container .card_img img {
    width: 80%;
    margin: auto;
}

.card_img {
    animation: card_img 1s ease;
}

/*@media screen and (max-width: 800px) {*/
@keyframes card_img {
    0% {
        transform: translateY(-50px);
        visibility: hidden;
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }
}

/*}*/

.card_info {
    animation: card_info 1s ease;
}

@keyframes card_info {
    0% {
        transform: translateX(70px);
        visibility: hidden;
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
}

main .container .card h1 {
    width: 100%;
    color: #000;
    font-family: Spectral;
    font-size: 44px;
    font-style: normal;
    font-weight: 500;
    line-height: 122.2%;
    /* 53.768px */
}

main .container .card span {
    width: 100%;
    color: #2461FF;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 17px 0 11px 0;
}

main .container .card p {
    width: 100%;
    color: rgba(0, 0, 0, 0.8);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media screen and (max-width: 800px) {
    .global_line::before {
        content: "";
        display: block;
        height: 20px;
        margin-top: 20px;
        visibility: hidden;
    }

    .scroll_down {
        display: none;
    }

    main {
        margin-top: 0;
        margin-bottom: 0;
        height: auto;
    }

    .card_img {
        margin-top: 20px;
    }

    main .container .card {
        width: 100%;
    }

    main .container .card_info {
        margin-left: 0;
    }

    main .container .card_img img {
        width: 80%;
        margin-bottom: 55px;
    }

    main .container .card h1 {
        font-size: 33px;
    }

    main .container .card span {
        font-size: 18px;
    }

    .main .container .card p {
        font-size: 16px;
    }

    .main_social {
        top: 15%;
    }
}

@media screen and (max-width: 450px) {
    .main_social {
        top: 10%;
    }
}

/* about */

.about {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.about .container {
    display: flex;
    width: 95%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about_card {
    display: flex;
    width: 48%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.about_card img {
    width: 100%;
}

.about_card p {
    display: block;
    width: 100%;
    text-align: justify;
    color: rgba(0, 0, 0, 0.8);
    font-family: Spectral;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.about_lines {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    margin: 30px 0 20px 0;
}

.aboutLineCard {
    display: flex;
    width: 30%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about_num {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000;
    font-family: Spectral;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.aboutLineCard p {
    display: flex;
    width: 100%;
    max-width: 87px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000;
    text-align: center;
    font-family: Spectral;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.about_BtnLine {
    display: flex;
    width: 100%;
    margin-top: 20px;
}

.about_btn {
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 11px;
    background: #2461FF;
    display: inline-flex;
    padding: 18.5px 15.015px 18.5px 11.471px;

    color: #fff;
    text-align: center;
    font-family: Spectral;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
}

.about_btn ion-icon {
    margin-left: 10px;
}

@media screen and (max-width: 800px) {
    .about_card {
        width: 100%;
    }

    .about_card img {
        width: 40%;
    }

    .about_BtnLine {
        justify-content: center;
        align-items: center;
        margin-top: 25px;
    }
}

.global_line {
    opacity: 1;
    transform: translateY(0);
    /* вернуть элемент в исходное положение */
}

.animate_false.global_line {
    opacity: 0;
    transform: translateY(70px);
    /* начальное смещение вниз */
    transition: opacity 1s ease, transform 1s ease;
    /* добавление плавной анимации */
}

.global_line.animate {
    opacity: 1;
    transform: translateY(0);
    /* вернуть элемент в исходное положение */
}

.mBlocks {
    opacity: 1;
    transform: translateY(0);
    /* вернуть элемент в исходное положение */
}

.mBlocks.animate_false {
    opacity: 0;
    transform: translateY(50px);
    /* начальное смещение вниз */
    transition: opacity 1s ease, transform 1s ease;
    /* добавление плавной анимации */
}

.mBlocks.animate {
    opacity: 1;
    transform: translateY(0);
    /* вернуть элемент в исходное положение */
}

.animate .about_card:nth-child(1) {
    animation: about_card1 1s ease;
}

@keyframes about_card1 {
    0% {
        transform: translateX(-70px);
        visibility: hidden;
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
}

.animate .about_card:nth-child(2) {
    animation: about_card2 1s ease;
}

@keyframes about_card2 {
    0% {
        transform: translateX(70px);
        visibility: hidden;
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
}

/* /about */

/* skills */
.skills {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.skills .container {
    display: flex;
    width: 95%;
    max-width: 1200px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.skills_cards {
    display: flex;
    width: 48%;
    flex-direction: column;
}

.skills_card {
    display: flex;
    width: 100%;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.skills_header {
    display: flex;
    width: 100%;
    height: 80px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 30px;
}

.skills_logo {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.skills_logo img {
    height: 50%;
}

.skills_text {
    display: flex;
    width: 75%;
    flex-direction: column;
}

.skills_title {
    color: #000;
    font-family: Spectral;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 122.2%;
    /* 36.66px */
}

.skills_dubtitle {
    color: #2461FF;
    font-family: Spectral;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.skills_btns {
    display: flex;
    width: 10%;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    font-size: 35px;
    color: #2461FF;
}

.skills_card_active .skills_btns {
    transform: rotate(-180deg);
}

.skills_card_active {
    height: auto;
}

.skills__lists {
    width: 100%;
    flex-direction: column;
}

.skills__lists {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 500ms ease;
}

.skills_card_active .skills__lists {
    grid-template-rows: 1fr;
}

.skills__list {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.skills__list_header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-family: Spectral;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 122.2%;
    /* 21.996px */
    margin-bottom: 15px;
}

.skills__list_line {
    position: relative;
    display: flex;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: rgba(65, 141, 249, 0.3);
}

.skills__list_color {
    position: absolute;
    left: 0;
    height: 100%;
    border-radius: 6px;
    background: #2461FF;
    /* width: 90%; */
}

.skills_card800 {
    display: none;
}

@media screen and (max-width: 800px) {
    .skills_cards {
        width: 100%;
    }

    .skills_card800 {
        display: flex;
    }

    .skills_card1200 {
        display: none;
    }
}

/* qualification_head_line_btns */

.qualification_head_line_btns {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.qualification_btn {
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    margin: 10px 20px;
    cursor: pointer;
    opacity: 0.5;
}

/* #qualification_btn1 {
  opacity: 1;
} */

.Qualification_blocks .true #qualification_btn1 {
    opacity: 0.5;
}

.Qualification_blocks .true #qualification_btn2 {
    opacity: 1;
}

.btn_active {
    opacity: 1;
}

.q_icon {
    display: flex;
    width: 30px;
}

.q_icon img {
    width: 100%;
    margin-right: 20px;
}

.q_text {
    display: flex;
    width: auto;
    color: #2461FF;
    font-family: Spectral;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

/* Qualification_block */

.Qualification_block {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.Qualification_blocks {
    background: #41c5f953;
}

.Qualification_container {
    display: flex;
    width: 95%;
    max-width: 1200px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.Education {
    display: flex;
    width: 100%;
    max-width: 800px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.Qualification_cards {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.Qualification_card {
    position: relative;
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.border_none .Qualification_card {
    padding: 0 30px;
}

.Qualification_card_c {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2461FF;
    top: 15%;
}

.Qualification_card_p {
    padding-top: 0;
}

.Qualification_card_p .Qualification_card_c {
    top: 0%;
}

.Qualification_card:nth-child(1) {
    border-right: 2px solid #2461FF;
}

.border_none .Qualification_card:nth-child(1) {
    border: none;
}

.border_none .Qualification_card_c {
    top: 0;
}

.Qualification_card_1 .Qualification_card_c {
    right: -11px;
}

.Qualification_card_2 .Qualification_card_c {
    left: -11px;
}

.q_title {
    display: flex;
    width: 100%;
    color: #2461FF;
    font-family: Spectral;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    justify-content: space-between;
    align-items: flex-start;
}

.q_subtitle {
    width: 100%;
    color: #000;
    font-family: Spectral;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 5px 0;
}

/* .Qualification_card_1 .q_subtitle{
  text-align: right;
} */

.q_date {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    color: #2461FF;
    font-weight: bold;
}

.q_date_icon {
    margin-right: 10px;
}

.q_date_text {
    display: flex;
}

.Qualification_block .swiper-button-next:after {
    display: none;
}

.Qualification_block .swiper-button-prev:after {
    display: none;
}

@media screen and (max-width: 500px) {
    .q_icon {
        display: flex;
        width: 25px;
    }

    .Qualification_cards .Qualification_card_1 {
        padding-left: 0;
        padding-right: 20px;
    }

    .Qualification_cards .Qualification_card_2 {
        padding-right: 0;
        padding-left: 20px;
    }

    .q_title {
        font-size: 18px;
    }

    .q_date {
        font-size: 14px;
    }
}

/* services */
.services {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: unset;
}

.services_container {
    display: flex;
    width: 95%;
    max-width: 1200px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.services_card {
    position: relative;
    overflow: hidden;
    display: flex;
    /* width: 30%; */
    flex-direction: column;
    padding: 30px;
    /* box-shadow: 0px 0px 30px 1px #418ef946; */
    /* border-radius: 16px; */
    background: #fff;
    margin-bottom: 25px;
}

.services_card_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.616);
    visibility: hidden;
    opacity: 0;
    /* display: none; */
}

.scm {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.modals_close {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 25px;
    color: black;
    cursor: pointer;
}

.services_card_modal_card {
    display: flex;
    width: 95%;
    max-width: 500px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    background: rgb(255, 255, 255);
    box-shadow: 0px 0px 30px 1px #418ef9bf;
    border-radius: 30px;
    padding: 35px;
    z-index: 2;
    transform: scale(0.5);
}

/* 1 */
.active_1 .md_1 {
    visibility: visible;
    opacity: 1;
}

.active_1 .md_1 .services_card_modal_card {
    transform: scale(1);
}

/* 2 */
.active_2 .md_2 {
    visibility: visible;
    opacity: 1;
}

.active_2 .md_2 .services_card_modal_card {
    transform: scale(1);
}

/* 3 */
.active_3 .md_3 {
    visibility: visible;
    opacity: 1;
}

.active_3 .md_3 .services_card_modal_card {
    transform: scale(1);
}

/* 4 */
.active_4 .md_4 {
    visibility: visible;
    opacity: 1;
}

.active_4 .md_4 .services_card_modal_card {
    transform: scale(1);
}

/* 5 */
.active_5 .md_5 {
    visibility: visible;
    opacity: 1;
}

.active_5 .md_5 .services_card_modal_card {
    transform: scale(1);
}

/* 6 */
.active_6 .md_6 {
    visibility: visible;
    opacity: 1;
}

.active_6 .md_6 .services_card_modal_card {
    transform: scale(1);
}

.services_card_modal_bg {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.services_card:hover {
    /* box-shadow: 0px 0px 30px 1px #418ef9bf; */
    transform: scale(1.02);
}

.services_icon {
    width: 35px;
    margin: 60px 0 25px 0;
    margin: 0 !important;
    margin-bottom: 20px !important;
    z-index: 2;
}

.services_icon img {
    width: 100%;
}

.services_card:hover .services_icon {
    transform: scale(1.2);
}

.services_title {
    color: #000;
    width: 100px;
    font-family: Spectral;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 122.2%;
    /* 30.55px */
    margin-bottom: 15px;
    z-index: 2;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.services_btn {
    display: none !important;
    width: 100%;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    z-index: 2;
    padding: 10px 0;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
}

.services_btn_text {
    color: #2461FF;
    font-family: Spectral;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.services_btn_line {
    width: 0px;
    height: 2px;
    background: #2461FF;
    margin-left: 5px;
    border-radius: 10px;
}

.services_btn:hover .services_btn_line {
    width: 12px;
}

.services_btn_icon {
    display: flex;
    width: auto;
    color: #2461FF;
    justify-content: center;
    align-items: center;
    transform: translateX(-6px);
}

@media screen and (max-width: 800px) {
    .services_card {
        width: 45%;
    }
}

@media screen and (max-width: 560px) {
    .services_card {
        width: 95%;
    }

    .services_icon {
        width: 40px;
        margin: 70px 0 25px 0;
    }
}

/* services_card css */

/* .services_card{
  box-shadow: inset 20px 20px 20px rgba(0, 0, 0, 0.269),
  25px 35px 20px rgba(0, 0, 0, 0.281),
  25px 30px 30px rgba(0, 0, 0, 0.301),
  inset -20px -20px 25px rgba(255, 255, 255, 0.9);
  transition: 0.5s ease-in-out;
} */

.services_card {
    display: flex;
    width: 300px;
    height: 300px;
    margin: 25px;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1020px) {
    .services_card {
        margin: 10px;
        width: 280px;
        height: 280px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 650px) {
    .services_card {
        margin: 10px;
        width: 220px;
        height: 220px;
        margin-bottom: 25px;
    }

    .services_icon {
        margin: 20px 0 22px 0;
    }

    .services_title {
        font-size: 16px;
    }

    .services_btn {
        font-size: 16px;
    }
}

@media screen and (max-width: 555px) {
    .services_card {
        margin: 10px;
        width: 150px;
        height: 150px;
        margin-bottom: 25px;
    }

    .services_icon {
       margin-bottom: 0 !important;
    }

    .services_title {
        font-size: 16px;
    }

    .services_btn {
        font-size: 16px;
    }
}

.services_card {
    box-shadow: inset 20px 20px 20px rgba(0, 0, 0, 0.098),
        25px 35px 20px rgba(0, 0, 0, 0.09), 25px 30px 30px rgba(0, 0, 0, 0.09),
        inset -20px -20px 25px rgba(255, 255, 255, 0.9);
    /* transition: 0.5s ease-in-out; */
    transition: 0.5s ease;
}

.services_card:nth-child(1) {
    border-radius: 69% 31% 57% 43% / 42% 43% 57% 58%;
}

.animate .services_card:nth-child(1) {
    animation: ser__card1 2s ease;
}

@keyframes ser__card1 {
    0% {
        transform: translateY(-30px);
        visibility: hidden;
        opacity: 0;
    }

    3% {
        opacity: 1;
        visibility: visible;
    }

    10% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }

    20% {
        transform: translateY(-20px);
        opacity: 1;
        visibility: visible;
    }

    30% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }
}

.services_card:nth-child(2) {
    border-radius: 52% 48% 41% 59% / 51% 64% 36% 49%;
}

.animate .services_card:nth-child(2) {
    animation: ser__card2 2s ease;
}

@keyframes ser__card2 {
    0% {
        transform: translateY(-30px);
        visibility: hidden;
        opacity: 0;
    }

    3% {
        opacity: 1;
        visibility: visible;
    }

    15% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }

    29% {
        transform: translateY(-20px);
        opacity: 1;
        visibility: visible;
    }

    60% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }
}

.services_card:nth-child(3) {
    border-radius: 65% 35% 42% 58% / 53% 49% 51% 47%;
}

.animate .services_card:nth-child(3) {
    animation: ser__card3 2s ease;
}

@keyframes ser__card3 {
    0% {
        transform: translateY(-30px);
        visibility: hidden;
        opacity: 0;
    }

    3% {
        opacity: 1;
        visibility: visible;
    }

    20% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }

    40% {
        transform: translateY(-20px);
        opacity: 1;
        visibility: visible;
    }

    90% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }
}

.services_card:nth-child(4) {
    border-radius: 44% 56% 69% 31% / 53% 58% 42% 47%;
}

.animate .services_card:nth-child(4) {
    animation: ser__card4 2s ease;
}

@keyframes ser__card4 {
    0% {
        transform: translateY(-30px);
        visibility: hidden;
        opacity: 0;
    }

    3% {
        opacity: 1;
        visibility: visible;
    }

    22% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }

    48% {
        transform: translateY(-20px);
        opacity: 1;
        visibility: visible;
    }

    93% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }
}

.services_card:nth-child(5) {
    border-radius: 50% 50% 31% 69% / 59% 61% 39% 41%;
}

.animate .services_card:nth-child(5) {
    animation: ser__card5 2s ease;
}

@keyframes ser__card5 {
    0% {
        transform: translateY(-30px);
        visibility: hidden;
        opacity: 0;
    }

    3% {
        opacity: 1;
        visibility: visible;
    }

    22% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }

    48% {
        transform: translateY(-20px);
        opacity: 1;
        visibility: visible;
    }

    96% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }
}

.services_card:nth-child(6) {
    border-radius: 55% 45% 62% 38% / 55% 64% 36% 45%;
}

.animate .services_card:nth-child(6) {
    animation: ser__card6 2s ease;
}

@keyframes ser__card6 {
    0% {
        transform: translateY(-30px);
        visibility: hidden;
        opacity: 0;
    }

    3% {
        opacity: 1;
        visibility: visible;
    }

    22% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }

    48% {
        transform: translateY(-20px);
        opacity: 1;
        visibility: visible;
    }

    99% {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }
}

.services_card:hover {
    transition: 0.5s ease;
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
}

/* Potfolio css start */

.potfolio {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 55px 0;
}

.potfolio_cards {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.potfolio_card {
    display: flex;
    width: 48%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.potfolio_card:nth-child(2) {
    padding-right: 30px;
}

.potfolio_img {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.potfolio_img img {
    width: 80%;
}

.potfolio_title {
    display: flex;
    width: 100%;
    color: #000;
    text-align: left;
    font-family: Spectral;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 122.2%;
    /* 30.55px */
}

.potfolio_text {
    display: flex;
    width: 100%;
    color: #000;
    font-family: Spectral;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 122.2%;
    /* 21.996px */
    margin: 10px 0 20px 0;
}

.potfolio_btnLine {
    display: flex;
    width: 100%;
}

.potfolio_btn {
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    padding: 7px 15px;

    border-radius: 8px;
    background: #2461FF;

    color: #fff;
    text-align: center;
    font-family: Spectral;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    cursor: pointer;
}

.potfolio_btn_icon {
    display: flex;
    width: auto;
    height: auto;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 800px) {
    .potfolio_cards {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .potfolio_card {
        width: 100%;
    }

    .potfolio_img img {
        width: 100%;
        margin-bottom: 15px;
    }

    .potfolio_card:nth-child(2) {
        padding-right: 0px;
    }
}

.reviews {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.reviews_container {
    display: flex;
    width: 95%;
    max-width: 1200px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.reviews_card {
    display: flex;
    width: 95%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    margin: auto !important;
}

.reviews_header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviews_profile {
    display: flex;
    width: 100%;
    /*width: auto;*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reviews_img {
    display: flex;
    width: 70px;
    min-width: 70px;
    height: 70px;
    min-height: 70px;
    border-radius: 50%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    background: #0084FF !important;
}

.reviews_img img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.reviews_info {
    display: flex;
    width: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reviews_name {
    display: flex;
    width: auto;
    justify-content: center;
    text-align: center;
    color: #000;
    font-family: Spectral;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 122.2%;
    margin-bottom: 5px;
}

.reviews_date {
    display: flex;
    width: auto;
    justify-content: center;
    text-align: center;
    color: rgba(65, 141, 249, 0.8);
    font-family: Spectral;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 122.2%;
    /* 14.664px */
}

.reviews_stars {
    display: flex;
    width: 40%;
    justify-content: flex-end;
    align-items: center;
    font-size: 18px;
}

.reviews_stars ion-icon {
    margin-left: 5px;
    fill: #2461FF;
    stroke: #2461FF;
    color: #2461FF;
}

.reviews_text {
    font-size: 20px;
    text-align: center;
}

@media screen and (max-width: 800px) {
    .reviews_container {
        justify-content: center;
        align-items: center;
    }

    .reviews_card {
        width: 90%;
        margin: auto !important;
    }
}

@media screen and (max-width: 500px) {
    .reviews_header {
        flex-direction: column-reverse;
    }

    .reviews_profile {
        width: 100%;
    }

    .reviews_stars {
        width: 100%;
    }
}



/* contact */

.contact {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact_container {
    display: flex;
    width: 95%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact_card1 {
    display: flex;
    width: 35%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}

.contact_line {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact_icon {
    display: flex;
    font-size: 28px;
    color: #2461FF;
    margin-right: 15px;
    padding-top: 5px;
}

.cc {
    display: flex;
    width: auto;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.contact_name {
    display: flex;
    width: auto;
    color: #000;
    font-family: Spectral;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact_text {
    display: flex;
    width: auto;
    color: #000;
    font-family: Spectral;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact_card2 {
    display: flex;
    width: 60%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form_title {
    font-weight: 400;
}

.form_line {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

.input_line {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 3px;
    margin-bottom: 30px;
    border-bottom: 1px solid #2461FF;
}

.form_line .input_line {
    width: 48%;
}

form .il_stars {
    justify-content: space-evenly;
    align-items: center;
    font-size: 35px;
    color: #2461FF;
    border: none;
}

.input_name {
    display: flex;
    padding-left: 8px;
    width: 100%;
    font-size: 18px;
    z-index: 1;
    color: #2461FF;
}

.input_line input {
    display: flex;
    width: 100%;
    border: none;
    z-index: 4;
    font-size: 18px;
    outline: none;
    background: none;
    padding-left: 10px;
}

form .il_stars label {
    cursor: pointer;
}

/* ---- */

.rating {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    /* margin-top: 10px; */
}

.star {
    cursor: pointer;
}

.star:hover {
    color: #2461FF;
}

.star #before {
    display: flex;
}

.star.active #before {
    display: none;
}

.star #after {
    display: none;
}

.star.active #after {
    display: flex;
}

form .rating input {
    position: absolute;
    top: 0;
    opacity: 0;
    visibility: hidden;
}

/* /------ */

.input_line textarea {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    resize: none;
    font-size: 18px;
    padding: 0 10px;
}

.input_line_textarea {
    height: 80px;
    justify-content: flex-start;
    align-items: flex-start;
}

.input_line_textarea:hover {
    height: 180px !important;
}

.input_line textarea::-webkit-scrollbar {
    display: flex;
    width: 4px;
}

.input_line textarea::-webkit-scrollbar-track {
    background: #2462ff8f;
}

.input_line textarea::-webkit-scrollbar-thumb {
    background: #2461ff;
}

.btn_line {
    display: flex;
    width: 100%;
}

.btn_line button {
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    outline: none;
    border: none;
    resize: none;
    background: none;
    color: white;
    font-size: 18px;
    border-radius: 8px;
    background: #2461FF;
    padding: 10px 20px;
}

.btn_line button ion-icon {
    padding-left: 10px;
}

@media screen and (max-width: 800px) {
    .contact_container {
        justify-content: center;
        align-items: center;
        /* flex-direction: column-reverse; */
    }

    .contact_card1 {
        width: 100%;
    }

    .contact_card2 {
        width: 100%;
    }
}

/* footer */
footer {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #2461FF;
    padding: 35px 0 0 0;
    margin-top: 25px;
}

.f_container {
    display: flex;
    width: 95%;
    max-width: 1200px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.f_cards {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.f_card {
    display: flex;
    width: 32%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.f_titile {
    display: flex;
    width: 100%;
    color: #fff;
    text-align: center;
    font-family: Spectral;
    font-size: 44px;
    font-style: normal;
    font-weight: 500;
}

.f_subtitle {
    display: flex;
    width: 100%;
    color: #fff;
    font-family: Spectral;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.f_menu {
    flex-direction: unset;
    justify-content: space-evenly;
    align-items: center;
}

.f_menu a {
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    text-align: center;
    font-family: Spectral;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.f_social {
    flex-direction: unset;
    justify-content: space-evenly;
    align-items: center;
}

.f_social a {
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 22px;
    color: white;
    cursor: pointer;
}

.f_centerText {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
    color: white;
    margin-top: 30px;
    margin-bottom: 10px;
}

@media screen and (max-width: 800px) {
    footer {
        margin-bottom: 71px;
    }
}

@media screen and (max-width: 800px) {
    .f_cards {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .f_titile {
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .f_subtitle {
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .f_card {
        width: 100%;
    }

    .f_menu {
        margin: 20px 0 15px 0;
    }

    .f_centerText {
        font-size: 14px;
    }
}

/* Стили для модального окна */

.modal__mm {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal_content {
    width: 95%;
    max-width: 500px;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 15px;
}

.modal_content p {
    font-size: 20px;
}

.close___m {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close___m:hover {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.close___m:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}