@media screen and (min-width: 992px) {
    .header {
        margin-bottom: 30px;
    }
}

/* Отступы */
.header-cooperation {
    margin-bottom: 100px;
}

.header-cooperation-mobile {
    margin-bottom: 60px;
}

.cooperation-text-mobile {
    margin-bottom: 100px;
}

.advantages {
    margin-bottom: 100px;
}

.cooperation-stages {
    margin-bottom: 100px;
}

.terms {
    margin-bottom: 100px;
}

.contact {
    margin-bottom: 100px;
}

@media (max-width: 767px) {
    .header-cooperation {
        margin-top: 40px;
        margin-bottom: 60px;
    }

    .header-cooperation-mobile {
        margin-bottom: 45px;
    }

    .cooperation-text-mobile {
        margin-bottom: 60px;
    }

    .advantages {
        margin-bottom: 60px;
    }

    .cooperation-stages {
        margin-bottom: 60px;
    }

    .terms {
        margin-bottom: 60px;
    }

    .contact {
        margin-bottom: 60px;
    }
}

body {
    font-family: 'Gilroy', sans-serif;
    background-color: white;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}

.header-cooperation {
    background-color: #ECF5FB;
    height: 300px;
    border-radius: 20px;
    position: relative;
    padding-left: 55px;
    box-sizing: border-box;
}

@media (max-width: 1199px) {
    .header-cooperation {
        height: 340px;
    }
}

@media (max-width: 991px) {
    .header-cooperation {
        padding-left: 0px;
    }
}

.header-cooperation h1 {
    font-size: 55px;
    font-weight: bold;
    text-align: left;
    margin: 0;
    padding-top: 50px;
}

@media (max-width: 991px) {
    .header-cooperation {
        display: none;
    }
}

.header-cooperation p {
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    margin: 20px 0 0;
    max-width: 520px;
    line-height: 24px;
}

@media (max-width: 1199px) {
    .header-cooperation p {
        max-width: 390px;
    }
}

.header-cooperation img {
    position: absolute;
    right: 155px;
    top: 50%;
    transform: translateY(-50%);
    width: 370px;
    height: 188.5px;
}

@media (max-width: 1399px) {
    .header-cooperation img {
        right: 90px;
    }
}

@media (max-width: 1199px) {
    .header-cooperation img {
        right: 60px;
    }
}

.header-cooperation-mobile {
    background-color: #ECF5FB;
    height: 220px;
    border-radius: 20px;
    position: relative;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    display: flex;
}

@media (min-width: 992px) {
    .header-cooperation-mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-cooperation-mobile {
        height: 140px;
    }
}

.header-cooperation-mobile img {
    width: 320px;
    height: auto;
}

@media (max-width: 767px) {
    .header-cooperation-mobile img {
        width: 210px;
    }
}

.cooperation-text-mobile h1 {
    font-size: 55px;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

@media (max-width: 767px) {
    .cooperation-text-mobile h1 {
        font-size: 35px;
    }
}

@media (min-width: 992px) {
    .cooperation-text-mobile {
        display: none;
    }
}

.cooperation-text-mobile p {
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    margin: 20px 0 0;
    line-height: 24px;
    max-width: 100%;
    padding-right: 40px;
    padding-left: 40px;
}

@media (max-width: 1199px) {
    .cooperation-text-mobile p {
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media (max-width: 767px) {
    .cooperation-text-mobile p {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 16px;
    }
}

.advantages {
    text-align: center;
    justify-content: center;
}

.advantages h2 {
    font-size: 35px;
    font-weight: bold;
    margin: 0 0 30px;
}

@media (max-width: 767px) {
    .advantages h2 {;
        font-size: 24px;
    }
}

.advantages-cards {
    display: flex;
    gap: 30px;
}

@media (max-width: 767px) {
    .advantages-cards {
        gap: 30px;
        display: flex;
        flex-direction: column;
    }
}

.advantage-card {
    min-height: 160px;
    border: 1px solid #DDE3ED;
    border-radius: 10px;
    padding: 35px 35px 40px 35px;
    box-sizing: border-box;
    text-align: left;
    width: 100%;
}

@media (max-width: 767px) {
    .advantage-card {;
        padding: 35px 15px 40px 25px;
    }
}

.advantage-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

@media (max-width: 767px) {
    .advantage-card h3 {;
        font-size: 20px;
    }
}

.advantage-card p {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    max-width: 465px;
    line-height: 24px;
}

@media (max-width: 767px) {
    .advantage-card p {;
        font-size: 16px;
    }
}

.cooperation-stages {
    text-align: center;
}

.cooperation-stages h2 {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .cooperation-stages h2 {
        font-size: 24px;
    }
}

.stages-cards {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .stages-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.stage-card {
    text-align: center;
    width: 270px;
}

@media (max-width: 991px) {
    .stage-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 79px;
    }
}

.stage-card img {
    width: 135px;
    height: 135px;
    box-shadow: 0px 5px 35px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    border-radius: 1000px;
}

@media (max-width: 767px) {
    .stage-card img {
        width: 112px;
        height: 112px;
    }
}

.stage-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .stage-card h3 {
        font-size: 20px;
    }
}

.stage-card p {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

@media (max-width: 767px) {
    .stage-card p {
        font-size: 16px;
    }
}

.arrow {
    margin: 0px;
    position: relative;
    top: 51px;
    height: 34px;
}

@media (max-width: 991px) {
    .arrow {
        top: -40px;
        transform: rotate(90deg);
    }
}

.terms {
    text-align: center;
}

.terms h2 {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .terms h2 {
        font-size: 24px;
    }
}

.terms-card {
    height: 195px;
    border: 1px solid #DDE3ED;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding-left: 70px;
    box-sizing: border-box;
}

@media (max-width: 1199px) {
    .terms-card {
        padding-left: 60px;
    }
}

@media (max-width: 991px) {
    .terms-card {
        padding: 30px 40px;
        height: auto;
    }
}

@media (max-width: 767px) {
    .terms-card {
        padding: 30px 15px 40px 25px;
        height: auto;
        display: flex;
        flex-direction: column;
    }
}

.terms-card h3 {
    font-size: 100px;
    font-weight: bold;
    margin: 0;
}

@media (max-width: 767px) {
    .terms-card h3 {
        font-size: 60px;
        margin-bottom: 10px;
    }
}

.terms-card p {
    font-size: 22px;
    font-weight: normal;
    margin: 0 0 0 80px;
    text-align: left;
    width: 750px;
    line-height: 30px;
}

@media (max-width: 1399px) {
    .terms-card p {
        font-size: 20px;
        margin-left: 60px;
        width: 680px;
    }
}

@media (max-width: 1199px) {
    .terms-card p {
        font-size: 18px;
        line-height: 25px;
        width: 500px;
    }
}

@media (max-width: 767px) {
    .terms-card p {
        font-size: 16px;
        width: auto;
        margin: 0px;
    }
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact img {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.contact h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .contact h3 {
        font-size: 20px;
    }
}

.contact p {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 15px;
    width: 320px;
}

@media (max-width: 767px) {
    .contact p {
        font-size: 18px;
    }
}

.contact a {
    font-size: 24px;
    font-weight: bold;
    color: #F65623 !important;
    text-decoration: none;
    margin-top: 15px;
}

@media (max-width: 767px) {
    .contact a {
        font-size: 20px;
    }
}


.back-button {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 25px;

}

.back-icon {
    width: 16px;
    height: 16px;
    margin-right: 2px;
    cursor: pointer;
    top: -0.5px;
    position: relative;
}

button {
    background-color: transparent;
    border: none;
    font-size: 16px;
    font-family: 'Gilroy', sans-serif;
    cursor: pointer;
}
