:root {
    --main-color: #35495D;
    --main-text-color: #35495D;
    --white-elements-color: #FFFFFF;
    --white-background-color: #FFFFFF;
    --light-hovered-color: #466482;
    --dark-hovered-color: #2B3D50;
    --dark-focus-color: #2B3D50;
    --placeholder-color: #7C8288;
    --borders-color: #E6EBEF;
    --second-background-color: #E6EBEF;
    --text-hovered-color: #567BA0;
}

.background-img {
    width: 547px;
    height: 522px;
    z-index: -1;
    left: 410px;
    top: 0;
}

.mis-banner-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 50px 40px;
    width: 100%;
    position: relative;
    height: 522px;
    align-items: center;
}

.mis-banner-info {
    width: 490px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    padding: 30px 0;
    height: 100%;
}

.mis-banner-info-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-wrap: balance;
}

.reestrs-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 5px;
}

.reestr-text {
    font-size: 14px;
    line-height: 17px;
    text-decoration: none;
}

.reestr-card {
    max-width: 325px;
    width: 325px;
    font-weight: 500;
    justify-content: start;
}

.why-us-mis-section {
    max-width: 1300px;
    width: 1300px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-us-mis-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
    border: 2px solid var(--borders-color);
    border-radius: 0 0 20px 20px;
    padding: 40px 120px;
    width: 100%;
}

.why-us-mis-img {
    width: 100%;
}

.why-us-mis-accent {
    background: linear-gradient(to right, var(--white-background-color), var(--second-background-color));
    border-radius: 0 200px 200px 0;
    width: fit-content;
    max-width: 510px;
    padding: 40px 50px 40px 0;
    text-wrap: balance;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-wrap: balance;
}

.recap-text {
    font-size: 18px;
    line-height: 21px;
    padding: 0;
    margin: 0;
}

.why-us-mis-info {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.why-us-li {
    text-wrap: pretty;
}

.why-us-list {
    gap: 32px;
}

.why-us-list :nth-child(2),
.why-us-list :nth-child(3) {
    margin-left: 25px;
}

.mis-possibilities {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.mis-possibilities-block {
    display: flex;
    flex-direction: row;
    gap: 70px;
    align-items: center;
    justify-content: center;
}

.mis-possibilities-carusel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    padding: 10px;
    height: 100%;
}

.possibilities-row {
    display: flex;
    flex-direction: column;
    height: 400px;
}

.possibilities-row .card {
    align-items: start;
    flex-direction: column;
    gap: 15px;
    max-width: 443px;
    padding: 30px;
    min-height: 123px;
    height: fit-content;
}

.possibilities-row p {
    margin: 0 !important;
    font-size: 14px;
    line-height: 17px;
}

.possibilities-row .swiper-slide-active {
    height: fit-content !important;
    transition: all 0.6s ease-in-out;
    background: var(--second-background-color);
}

.possibilities-row .swiper-slide-active p {
    font-size: 18px;
    line-height: 21px;
}

.possibility-img {
    width: 100%;
    max-height: 360px !important;
    overflow: hidden;
}

.possibility-img img {
    width: 100%;
    height: auto;
}

.possibility-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    max-width: 620px;
    min-width: 620px;
    min-height: 530px;
    max-height: 530px;
}

.possibility-discription {
    font-size: 18px;
    line-height: 21px;
    width: 100%;
}

.reestr-card img {
    width: 60px;
}

@media (max-width: 1439px) {
    .mis-banner-block {
        height: 348px;
        max-width: 884px;
    }

    .background-img {
        width: 350px;
        height: 348px;
        left: 266px;
    }

    .mis-banner-info {
        width: 355px;
        justify-content: center;
        gap: 50px;
        height: fit-content;
    }

    .mis-banner-info-text {
        gap: 20px;
    }

    .reestr-card {
        max-width: 316px;
        width: 316px;
        font-weight: 500;
    }

    .reestr-card img {
        width: 40px;
    }

    .why-us-mis-section {
        max-width: 884px;
        width: 884px;
    }

    .why-us-mis-block {
        padding: 40px 30px;
    }

    .why-us-mis-accent {
        padding: 40px;
    }

    .recap-text {
        margin-left: 40px !important;
    }

    .why-us-mis-accent p {
        font-size: 14px;
        line-height: 17px;
    }

    .why-us-mis-block p .bold-text {
        font-size: 18px;
        line-height: 21px;
    }

    .mis-possibilities-block {
        gap: 40px;
    }

    .possibility-info {
        max-width: 422px;
        min-width: 422px;
        min-height: 430px;
        max-height: 430px;
    }

    .possibility-img {
        height: fit-content;
    }

    .possibilities-row .swiper-slide-active p {
        font-size: 14px;
        line-height: 17px;
    }
}

@media (max-width: 1023px) {
    .mis-banner-block {
        height: 328px;
        flex-direction: column;
        align-items: start;
        padding: 0;
        gap: 20px;
        max-width: 688px;
        width: 688px;
    }

    .mis-banner-info {
        gap: 30px;
        padding: 0;
        padding-top: 20px;
        width: 394px;
    }

    .mis-banner-info-text {
        gap: 10px;
    }

    .background-img {
        width: 338px;
        height: 328px;
        left: 287px;
    }

    .reestrs-block {
        flex-direction: row;
        gap: 10px;
    }

    .reestr-card {
        padding: 10px;
        gap: 10px;
        width: 219px;
        height: 100%;
    }

    .reestr-card img {
        width: 30px;
    }

    .reestr-text {
        font-size: 12px;
        line-height: 15px;
    }

    .why-us-mis-section {
        max-width: 688px;
        width: 688px;
    }

    .why-us-mis-block {
        padding: 40px 30px 40px 10px;
    }

    .why-us-mis-accent {
        padding: 30px 40px 20px 20px;
        gap: 10px;
    }

    .why-us-mis-accent p {
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 10px !important;
    }

    .why-us-list {
        gap: 18px;
    }

    .why-us-mis-info {
        gap: 10px;
    }

    .why-us-list :nth-child(2), .why-us-list :nth-child(3) {
        margin-left: 0;
    }

    .why-us-list :nth-child(1), .why-us-list :nth-child(4) {
        margin-left: -25px;
    }

    .recap-text {
        font-size: 14px;
        line-height: 17px;
        margin: 0;
        padding: 0;
        margin-left: 20px !important;
    }

    .mis-possibilities-block {
        gap: 10px;
    }

    .possibility-info {
        max-width: 360px;
        min-width: 360px;
    }

    .possibility-img {
        height: fit-content;
    }

    .possibilities-row .card {
        padding: 15px;
    }

    .possibility-discription {
        font-size: 14px;
        line-height: 17px;
    }
}

@media (min-width: 557px) and (max-width: 767px) {
    .mis-banner-block {
        flex-direction: row;
    }
}

@media (min-width: 450px) and (max-width: 767px) {
    .background-img {
        display: none;
    }

    .mis-banner-block {
        height: fit-content;
        width: 100%;
        align-items: center;
    }

    .mis-banner-info {
        padding-top: 0;
        text-align: center;
        justify-content: center;
        align-items: center;
        gap: 20px;
        flex-direction: column;
    }

    .reestrs-block {
        flex-direction: column;
        gap: 10px;
    }

    .reestr-card {
        width: 100%;
    }

    .main-btn .btn {
        width: fit-content !important;
    }

    .why-us-mis-section {
        max-width: 100%;
        width: 100%;
    }

    .why-us-mis-block {
        padding: 20px 10px;
    }

    .why-us-mis-info {
        gap: 20px;
        flex-direction: column;
    }

    .why-us-mis-accent {
        padding: 20px 30px 20px 20px;
        gap: 10px;
    }

    .why-us-mis-accent h1 {
        text-wrap: pretty;
    }

    .why-us-list :nth-child(1), .why-us-list :nth-child(4) {
        margin-left: 0;
    }

    .recap-text {
        margin-left: 10px !important;
    }

    .mis-possibilities-block {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .mis-possibilities-carusel {
        width: 100%;
    }

    .possibilities-row {
        gap: 10px;
        height: 180px;
        width: 100%;
    }

    .possibility-info {
        min-width: auto;
    }

    .possibility-img {
        height: fit-content;
    }

    .possibilities-row .card {
        text-align: center;
        align-items: center;
        min-height: fit-content;
        padding: 15px;
        width: 100%;
    }

    .possibilities-row .swiper-slide-active {
        width: 100%;
    }

    .possibilities-row .card p:last-child {
        display: none;
    }
}

@media (max-width: 449px) {
    .background-img {
        display: none;
    }

    .mis-banner-block {
        height: fit-content;
        align-items: center;
        width: 100%;
    }

    .mis-banner-info {
        padding-top: 0;
        width: 300px;
        text-align: center;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .reestrs-block {
        flex-direction: column;
        gap: 10px;
    }

    .reestr-card {
        width: 100%;
    }

    .main-btn .btn {
        width: fit-content !important;
    }

    .why-us-mis-section {
        max-width: 100%;
        width: 100%;
    }

    .why-us-mis-block {
        padding: 20px 10px;
    }

    .why-us-mis-info {
        gap: 20px;
        flex-direction: column;
    }

    .why-us-mis-accent {
        padding: 20px 30px 20px 20px;
        gap: 10px;
    }

    .why-us-mis-accent h1 {
        text-wrap: pretty;
    }

    .why-us-list :nth-child(1), .why-us-list :nth-child(4) {
        margin-left: 0;
    }

    .recap-text {
        margin-left: 10px !important;
    }

    .mis-possibilities-block {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .mis-possibilities-carusel {
        width: 100%;
    }

    .possibilities-row {
        gap: 10px;
        height: 180px;
        width: 100%;
    }

    .possibility-info {
        min-width: auto;
    }

    .possibility-img {
        height: fit-content;
    }

    .possibilities-row .card {
        text-align: center;
        align-items: center;
        min-height: fit-content;
        padding: 15px;
        width: 100%;
    }

    .possibilities-row .swiper-slide-active {
        width: 100%;
    }

    .possibilities-row .card p:last-child {
        display: none;
    }
}