html,
body {
    height: 100%;
    margin: 0;
    background: #E9F4F9;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

p, h6 {
    margin: 0;
}

.container {
    max-width: 1653px;
    margin: 0 auto;
}

header {
    max-width: 1653px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 15px 100px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 50px;
    position: relative;
    z-index: 23;
    box-shadow: 0px 5px 15.5px rgba(0, 0, 0, 0.05);
}

.header-right {
    background: #E9F4F9;
    padding: 20px 13px;
    border-radius: 40px;
    box-sizing: border-box;
    height: 84px;
}

.header-right a {
    color: #757E91;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
    width: 130px;
    text-align: center;
    padding: 14px 0;
    border-radius: 25px;
    transition: all .3s ease-in-out;
}

.header-right a:hover {
    background: #5A31E1;
    color: #fff;
    filter: brightness(1.2);
}

.text-section-contact:hover {
    filter: brightness(1.2);
}

a.contact-us {
    background: #5A31E1;
    color: #fff;
}

.logo {
    max-width: 316px;
    padding-left: 15px;
}

.logo img {
    width: 100%;
}

.promo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    margin-bottom: 100px;
    position: relative;
    z-index: 23;
}

.promo-section img {
    width: 40%;
}

.text-section-subtitle {
    font-size: 25px;
    color: #5A31E1;
    margin-bottom: 20px;
}

.text-section-title {
    font-size: 59px;
    font-weight: 400;
    margin-bottom: 30px;
}

.text-section-title span {
    color: #5A31E1;
}

.text-section-desc {
    font-size: 24px;
    color: #768195;
    max-width: 670px;
    line-height: 39px;
    margin-bottom: 50px;
}

.text-section {
    max-width: 830px;
}

.text-section-desc span {
    color: #5A31E1;
}

.text-section-contact {
    display: inline-block;
    color: #fff;
    background: #5A31E1;
    padding: 17px 58px;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: 0px 4px 20px rgba(49, 100, 225, 0.72);
    border-radius: 44px;
    transition: all .3s ease-in-out;
}

.services {
    display: flex;
    justify-content: space-between;
    max-width: 1319px;
    margin: 0 auto 100px;
    position: relative;
    z-index: 23;
}

.services-item {
    max-width: 411px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.58);
    border: 3px solid #FFFFFF;
    box-shadow: 0px 4px 16.5px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 35px;
}

.services-title {
    font-size: 18px;
    margin: 30px 0 20px;
}

.services-desc {
    color: #757E91;
    font-size: 14px;
    line-height: 28px;
}

.promo-section-second {
    justify-content: center;
}

.promo-section-second .text-section {
    max-width: 478px;
    margin-left: 150px;
}

.promo-section-second .text-section-desc {
    font-size: 18px;
}

.promo-section-second .text-section-title {
    font-size: 32px;
}

.services-persons {
    position: relative;
}

.services-persons .services-item {
    background: rgba(255, 248, 218, 0.58);
    border: 3px solid #FFFFFF;
    box-shadow: 0px 4px 16.5px rgba(0, 0, 0, 0.06);
    border-radius: 12px 12px 12px 0px;
    position: relative;
    padding: 0;
    padding-left: 96px;
    padding-top: 14px;
    padding-bottom: 34px;
    padding-right: 15px;
}

.services-persons .services-item img {
    position: absolute;
    left: -35px;
    top: -35px;
}

.services-persons .services-title {
    margin: 0 0 15px;
    font-size: 15px;
}

.services-persons .services-desc {
    line-height: 20px;
    margin-bottom: 10px;
}

.services-name {
    position: absolute;
    bottom: 12px;
}

footer {
    text-align: center;
    color: #013158;
    font-size: 10px;
    padding-bottom: 30px;
    position: relative;
    z-index: 23;
}

footer span {
    display: block;
}

.services-persons::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 110px;
    bottom: 220px;
    z-index: -1;
    background: url("./img/decor.png") 0  0 no-repeat;
}

.ellipses {
    background: #F6FCFF;
    position: absolute;
    border-radius: 50%;
    width: 1200px;
    height: 1200px;
    top: -285px;
    left: -181px;
    z-index: 0;
}

.ellipses-bottom {
    bottom: -120px;
    right: -200px;
    top: unset;
    left: unset;
}

.main-wrapper {
    position: relative;
    overflow: hidden;
}

@media (min-width: 1440px) {
    header {
        margin: 50px auto 100px;
    }
}

@media (max-width: 1380px) {
    .services {
        padding: 0 15px;
    }

    .services-persons {
        padding: 0 32px;
    }

    .services-persons .services-item:not(:last-child) {
        margin-right: 30px;
    }

}

@media (max-width: 1260px) {
    .services-item:not(:last-child) {
        margin-right: 15px;
    }
}

@media (max-width: 1024px) {
    .text-section-title {
        font-size: 44px;
    }

    header {
        margin: 25px 15px 50px;
    }
}

@media (max-width: 768px) {
    .services-item {
        padding: 15px;
    }

    .services-persons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;
    }

    .services-persons .services-item {
        margin-right: 0!important;
        margin-bottom: 35px;
        text-align: left;
    }

    .logo {
        max-width: 250px;
        margin-right: 15px;
    }

    .header-right {
        display: flex;
    }

    .text-section-subtitle {
        font-size: 23px;
    }

    .text-section-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .text-section-desc {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .promo-section img {
        width: 49%;
    }

    .promo-section-second .text-section {
        margin-left: 50px;
    }

    .promo-section-second .text-section-desc {
        font-size: 15px;
        line-height: 29px;
    }
}

@media (max-width: 630px) {
    .promo-section-second .text-section {
        margin-left: 0;
        margin-top: 20px;
    }
    .promo-section {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
    .text-section {
        margin-bottom: 35px;
    }

    .promo-section img {
        width: 60%;
    }

    .services {
        margin-bottom: 50px;
    }
}

@media (max-width: 580px) {
    .services {
        flex-direction: column;
    }
    .services-item {
        max-width: none;
        margin-right: 0;
        text-align: center;
        margin-bottom: 15px;
    }

    header {
        flex-direction: column;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 25px;
    }
}