* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

@keyframes ticker {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}


a {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

body, button {
    font-family: "Onest", sans-serif;
    font-size: 26px;
}

body {
    position: relative;
    overflow-x: hidden;
}

button {
    cursor: pointer;
}

.wrapper {
    max-width: 1741px;
    margin: 0 auto;
}

.hero-section {
    background: #E8F0F9;
}

.hero-section .wrapper {
    padding: 251px 0 90px;
    display: flex;
    flex-direction: column;
    gap: 202px;
    background: #E8F0F9;
}

.hero-section__title {
    font-size: 154px;
    font-weight: 700;
    line-height: 169.4px;
    letter-spacing: 0.02em;
    text-align: left;
}

.hero-section__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.hero-section__bottom-mobile {
    display: none;
}

.hero-section__bottom-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hero-section__bottom-left span:first-child {
    padding: 20px 25px;
    border: 2px solid #05070F;
    border-radius: 50%;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    line-height: 39px;
}

.hero-section__bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-section__bottom-right span {
    display: block;
    width: 100%;
    max-width: 567px;
}

.hero-section__bottom-right button {
    border: none;
    border-radius: 50px;
    background-color: #F6FA5E;
    width: 100%;
    max-width: 273px;
    font-size: 26px;
    font-weight: 700;
    line-height: 39px;
    height: 79px;
    transition: all 0.3s;
}

.hero-section__bottom-right button:hover {
    background: #05070F;
    color: #FFFFFF;
}

.services-section {
    background: #05070F;
    padding: 90px 0;
    color: #E8F0F9;
}

.services-section .wrapper {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.services-section__header {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.services-section__title {
    font-size: 64px;
    font-weight: 400;
    line-height: 70.4px;
    letter-spacing: 0.02em;
}

.services-section__subtitle {
    font-size: 26px;
    font-weight: 400;
    line-height: 28.6px;
    letter-spacing: 0.02em;
}

.services-section__services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.services-section__service {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    max-width: 860px;
    background: #E8F0F91A;
    padding: 50px 50px 55px;
    border-radius: 25px;
    position: relative;
    z-index: 2;
}

.service__title {
    font-size: 64px;
    font-weight: 700;
    line-height: 70.4px;
    letter-spacing: 0.02em;
}

.service__description {
    font-size: 26px;
    font-weight: 400;
    line-height: 28.6px;
    letter-spacing: 0.02em;
    color: #E8F0F9A6;
}

.ball-first {
    position: absolute;
    right: 0;
    top: 25%;
}

.clients-section {
    padding: 180px 0;
    background: #E8F0F9;
}

.clients-section .wrapper {
    display: flex;
    flex-direction: column;
    gap: 180px;
}

.clients-section__header {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.clients-section__title {
    font-size: 64px;
    font-weight: 400;
    line-height: 70.4px;
    letter-spacing: 0.02em;
    text-align: left;
    position: relative;
    z-index: 2;
}

.clients-section__subtitle {
    font-size: 26px;
    font-weight: 400;
    line-height: 39.26px;
    letter-spacing: 0.02em;
    text-align: left;
    max-width: 1120px;
    position: relative;
    z-index: 2;
}

.clients-section__clients {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 20px;
}

.clients-section__client {
    width: 420px;
}

.ticker {
    height: 231px;
    display: flex;
    align-items: center;
    font-size: 154px;
    font-weight: 700;
    line-height: 231px;
    letter-spacing: 0.02em;
    text-align: left;
    background: #ffffff;
    overflow: hidden;
}

.ticker p {
    text-align: center;
    animation: ticker 15s infinite linear;
    padding-left: 100%;
    white-space: nowrap;
}


.about-section {
    background: #E8F0F9;
    padding: 180px 0;
}

.about-section__header {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-section__title {
    font-size: 64px;
    font-weight: 400;
    line-height: 96.64px;
    letter-spacing: 0.02em;
    max-width: 1153px;
}

.about-section__features {
    display: flex;
    justify-content: space-between;
    gap: 60px 20px;
    flex-wrap: wrap;
}

.about-section__feature {
    display: flex;
    gap: 15px;
    align-items: center;
    max-width: 863px;
}

.about-section__feature:first-child span:first-child {
    padding: 20px 15px;
}

.about-section__feature span {
    gap: 15px;
}

.about-section__feature span:first-child {
    padding: 20px 25px;
    border: 2px solid #05070F;
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    line-height: 39px;
}

.about-section__button {
    margin-top: 180px;
    background: #F6FA5E;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 359px;
    align-items: center;
    justify-content: space-between;
    padding: 0 90px;
    border-radius: 25px;
    font-size: 154px;
    font-weight: 700;
    line-height: 232.54px;
    letter-spacing: 0.02em;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.about-section__button span:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    width: 100%;
    max-width: 250px;
    height: 250px;
    border-radius: 50%;
    transition: all 0.3s;
}

.about-section__button:hover {
    color: #F6FA5E;
    background: #05070F;
}

.about-section__button:hover span:last-child {
    background: #F6FA5E;
}

.ball-second {
    position: absolute;
    left: 0;
    top: 70%;
    height: 200px;
}

.form-wrapper {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #05070F80;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-wrapper--closed {
    display: none;
}

.form {
    min-height: 1014px;
    background: #E8F0F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    width: 100%;
    max-width: 860px;
    max-height: 100%;
    gap: 50px;
    position: relative;
    padding: 50px 90px;
}

.form__cross {
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
    z-index: 20;
}

.form__title {
    font-size: 64px;
    font-weight: 700;
    line-height: 96.64px;
    letter-spacing: 0.02em;
}

.form__inputs {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    z-index: 20;
}

.form__input,
.form__textarea {
    border: none;
    border-radius: 10px;
    padding: 20px 25px;
    font-family: 'Onest', sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 39px;
    text-align: left;
}

.form__input {
    width: 100%;
    height: 79px;
}

.form__textarea {
    display: flex;
    width: 100%;
    height: 237px;
    color: #05070F;
    resize: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #05070FA6;
}

.form__input:focus,
.form__textarea:focus {
    background: #05070F;
    color: #FFFFFF;
}

.form__input--invalid {
    border: 2px solid #FF3939;
    background: #FFD7D7;
}

.form__input--invalid::placeholder {
    color: #FF3939;
}

.form__submit {
    z-index: 20;
    width: 100%;
    max-width: 273px;
    border: none;
    background: #F6FA5E;
    border-radius: 50px;
    height: 79px;
    font-size: 26px;
    font-weight: 700;
    line-height: 39px;
    color: #05070F;
    transition: all 0.3s;
}

.form__submit:hover {
    background: #05070F;
    color: #FFFFFF;
}

.form__close-button {
    z-index: 20;
    color: #05070F;
    cursor: pointer;
    font-size: 26px;
    font-weight: 700;
    line-height: 39px;
}

.form__ball {
    position: fixed;
    bottom: 0;
}

.form--submitted {
    min-height: 1014px;
    display: none;
    background: #F6FA5E;
    text-align: center;
    position: relative;
}

.form__description {
    margin-top: 25px;
    font-size: 26px;
    font-weight: 400;
    line-height: 39.26px;
    letter-spacing: 0.02em;
    text-align: center;
    color: #05070F;
}

.form--submitted .form__close-button {
    position: absolute;
    bottom: 50px;
}


@media (max-height: 1025px) {
    .form {
        min-height: 90%;
    }

    .form__textarea {
        height: 150px;
    }
}

@media (max-height: 940px) {
    .form {
        gap: 25px;
        padding: 35px 30px;
    }
}

@media (max-width: 1780px) {
    .wrapper {
        margin: 0 20px;
    }

    .services-section__services {
        justify-content: center;
        align-items: center;
    }

    .services-section__service {
        max-width: 800px;
        min-height: 450px;
    }
}

@media (max-width: 1660px) {
    .services-section__service {
        max-width: 700px;
        min-height: 480px;
    }
}

@media (max-width: 1255px) {
    .about-section__button {
        padding-top: 25px;
        padding-bottom: 25px;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 1160px) {
    .hero-section__bottom-left,
    .hero-section__bottom-right {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .hero-section__bottom-right button {
        order: -1;
    }
}

@media (max-width: 985px) {
    .hero-section__title {
        font-size: 100px;
        line-height: initial;
    }
}

@media (max-width: 700px) {
    body {
        font-size: 16px;
        font-weight: 400;
        line-height: 24.16px;
        text-align: left;
    }

    .hero-section .wrapper {
        padding: 50px 0 50px;
        gap: 25px;
    }

    .hero-section__title {
        font-size: 36px;
        font-weight: 700;
        line-height: 39.6px;
        letter-spacing: 0.02em;
    }

    .hero-section__bottom {
        flex-wrap: wrap;
        flex-direction: column;
        text-align: center;
        gap: 21px;
    }

    .hero-section__bottom-left {
        flex-direction: column;
    }

    .hero-section__bottom-left span:first-child {
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        text-align: left;
    }

    .hero-section__bottom-right span {
        display: none;
    }

    .hero-section__bottom-right button {
        order: 0;
        max-width: 280px;
    }

    .hero-section__bottom-mobile {
        display: flex;
    }


    .services-section {
        padding: 50px 0;
    }

    .services-section .wrapper {
        padding: 50px 0;
    }

    .services-section__title {
        font-size: 36px;
        font-weight: 700;
        line-height: 39.6px;
        letter-spacing: 0.02em;
    }

    .services-section__subtitle {
        font-size: 16px;
        font-weight: 400;
        line-height: 24.16px;
        color: #E8F0F9A6;
    }

    .services-section__service {
        gap: 25px;
        min-height: initial;
        padding: 25px 10px;
    }

    .service__title {
        font-size: 23px;
        font-weight: 700;
        line-height: 25.3px;
        letter-spacing: 0.02em;
    }

    .service__description {
        font-size: 16px;
        font-weight: 400;
        line-height: 17.6px;
        letter-spacing: 0.02em;
        color: #E8F0F9A6;
    }

    .clients-section {
        padding: 50px 0;
    }

    .clients-section .wrapper {
        gap: 25px;
    }

    .clients-section__title {
        font-size: 36px;
        font-weight: 400;
        line-height: 39.6px;
        letter-spacing: 0.02em;
        text-align: left;
    }

    .clients-section__subtitle {
        font-size: 16px;
        font-weight: 400;
        line-height: 24.16px;
        text-align: left;
    }

    .clients-section__client {
        width: 100%;
        max-width: 130px;
    }

    .ticker {
        height: 104px;
    }

    .ticker p {
        font-size: 36px;
        font-weight: 700;
        line-height: 54px;
        letter-spacing: 0.02em;
    }

    .about-section {
        padding: 50px 0;
    }

    .about-section__header {
        gap: 25px;
    }

    .about-section__title {
        font-size: 36px;
        font-weight: 400;
        line-height: 39.6px;
        letter-spacing: 0.02em;
    }

    .about-section__features {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .about-section__feature {
        flex-direction: column;
    }

    .about-section__feature:last-child {
        order: -1;
    }

    .about-section__feature span:first-child {
        font-size: 26px;
        font-weight: 700;
        line-height: 39px;
    }

    .about-section__feature span span:last-child {
        font-size: 26px;
        font-weight: 400;
        line-height: 39.26px;
    }

    .about-section__button {
        margin-top: 50px;
        font-size: 64px;
        font-weight: 700;
        line-height: 96.64px;
        letter-spacing: 0.02em;
        gap: 10px;
    }

    .about-section__button span:last-child {
        min-width: 240px;
        height: 240px;
    }

    .ball-second {
        top: 60%;
    }

    .form-wrapper {
        align-items: flex-end;
    }

    .form {
        gap: 25px;
        padding: 20px 25px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        min-height: 518px;
    }

    .form__cross {
        width: 25px;
        height: 25px;
    }

    .form__title {
        font-size: 36px;
        font-weight: 700;
        line-height: 54.36px;
        letter-spacing: 0.02em;
    }

    .form__description {
        font-size: 16px;
        font-weight: 400;
        line-height: 24.16px;
        letter-spacing: 0.02em;
    }

    .form__inputs {
        gap: 10px;
    }

    .form__input,
    .form__textarea {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }

    .form__input {
        height: 64px;
    }

    .form__textarea {
        height: 237px;
    }

    .form__submit {
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
    }

    .form__close-button {
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        text-align: left;
    }
}
