/* Remove standart styles */
*,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'ICTV';
    font-style: normal;
    font-weight: 400;
}

a {
    font: inherit;
    color: inherit;
    text-decoration: none;
}

button {
    outline: none;
    border: none;
}

input {
    outline: none;
    border: none;
}

textarea {
    outline: none;
    border: none;
    resize: none;
}

img {
    width: 100%;
    height: auto;
}

/* Reuseble styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: #FF3D00;
    border-radius: 4px;
    padding: 18px 32px;
    font-size: 18px;
    line-height: 18px;
    color: #FFFFFF;
    filter: drop-shadow(0px 10px 25px rgba(50, 47, 60, 0.25));
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    background: #FF7A00;
}

.ui-section-title {
    text-align: center;
    font-weight: 700;
    font-size: 48px;
    line-height: 48px;
    color: #333333;
}

.ui-input__wrapper {
    display: flex;
    flex-direction: column;
}

.ui-input__label {
    font-size: 14px;
    line-height: 14px;
    color: #787878;
    margin-left: 16px;
    margin-bottom: 4px;
}

.ui-input {
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
    border-radius: 4px;
    padding: 18px 16px;
}

.ui-unput::placeholder {
    font-family: 'ICTV';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #333333;
}

/* firstScreen section */
.firstScreen {
    position: relative;
    background: linear-gradient(105.24deg, #79C4FF 0%, #5088F4 100%);
    border-bottom-right-radius: 90% 25%;
    border-bottom-left-radius: 90% 25%;
    margin-bottom: 125px;
}

section.overflow {
    overflow: hidden;
}

.header {
    padding: 40px 0;
    margin-bottom: 70px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    cursor: pointer;
    max-width: 100%;
}

.header-nav.active {
    max-width: 340px;
    width: 100%;
    position: absolute;
    z-index: 15;
    top: 0;
    right: 0;
    background-color: #FFFFFF;
    padding: 120px 20px 60px;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
}

.header-nav.active .header-nav__list {
    flex-direction: column;
    align-items: flex-end;
}

.header-nav__list {
    list-style: none;
    display: flex;
    align-items: center;
}

.header-nav__item {
    position: relative;
    cursor: pointer;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    margin-left: 40px;
}

.header-nav__item::after {
    content: "";
    opacity: 0;
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    transition: all 0.3s ease-in-out;
}

.header-nav__item:hover.header-nav__item::after {
    opacity: 1;
}

.header-nav__item:first-child {
    margin-left: 0;
}

.header__burger {
    position: relative;
    z-index: 20;
    display: none;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
}

.header__burger-icon {
    width: 22px;
    height: 2px;
    background: #5088F4;
    border-radius: 2px;
}

.header__burger-icon::before,
.header__burger-icon::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    background: #5088F4;
    border-radius: 2px;
    transition: all 0.5s ease-in-out;
}

.header__burger-icon::before {
    transform: translateY(-5px);
}

.header__burger-icon::after {
    transform: translateY(5px);
}

.header__burger.active .header__burger-icon {
    transform: translateX(-50px);
    background: transparent;
}

.header__burger.active .header__burger-icon::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.header__burger.active .header__burger-icon::after {
    transform: rotate(-45deg) translate(35px, 35px);
}

/* underHeader section */
.underHeader {
    overflow: hidden;
}

.underHeader__title {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 64px;
    line-height: 80px;
    text-align: center;
    letter-spacing: -0.05em;
    text-transform: uppercase;

    color: #FFFFFF;
    margin-bottom: 32px;
}

.underHeader__btn-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.underHeader__btn {
    margin-bottom: 30px;
}

.underHeader__illustration-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -115px;
    width: 100%;
    height: 540px;
}

.underHeader__illustration {
    position: absolute;
    width: 1200px;
}

.firstScreen__scroll {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -24px;
    right: calc(50% - (48px / 2));
    width: 48px;
    height: 48px;
    background: #5088F4;
    border-radius: 50%;
    filter: drop-shadow(0px 10px 25px rgba(50, 47, 60, 0.25));
}

.firstScreen__scroll .arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    margin-bottom: 5px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border-radius: 2px;
}

/* who-we section */
.who-we {
    margin-bottom: 95px;
}

.who-we__title {
    margin-bottom: 40px;
}

.who-we__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
}

.who-we__card {
    padding: 32px;
    background: #FFFFFF;
    border-radius: 4px;
    filter: drop-shadow(0px 15px 55px rgba(0, 0, 0, 0.05));
}

.who-we__card-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FF3D00;
    margin-bottom: 16px;
}

.who-we__card-description {
    font-size: 18px;
    line-height: 28px;
    color: #333333;
}

/* what-we-do section */
.what-we-do {
    position: relative;
    margin-bottom: 105px;
}

.what-we-do__title {
    position: relative;
    z-index: 2;
    margin-bottom: 79px;
}

.what-we-do__wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 79px;
}

.what-we-do__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
    border-radius: 4px;
    padding: 57px 20px 24px;
}

.what-we-do__card-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -39px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
}

.what-we-do__card-icon {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.what-we-do__card-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: #333333;
    margin-bottom: 16px;
}

.what-we-do__card-description {
    font-size: 18px;
    line-height: 28px;
    color: #333333;
}

.what-we-do__card-more {
    font-size: 18px;
    line-height: 28px;
    text-decoration-line: underline;
    color: #5088F4;
    margin-top: 24px;
    transition: all 0.3s ease-in-out;
}

.what-we-do__card-more:hover {
    color: #003BAC;
}

.what-we-do__bg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.what-we-do__bg-image {
    width: unset;
    height: unset;
    position: absolute;
    top: -155px;
}

/* why-we section */
.why-we {
    margin-bottom: 100px;
}

.why-we__title {
    margin-bottom: 40px;
}

.why-we__wrapper {
    max-width: 1136px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 65px;
}

.why-we__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.why-we__item:nth-child(even) {
    flex-direction: row-reverse;
}

.why-we__item:nth-child(even) .why-we__item-illustration {
    margin-left: 35px;
}

.why-we__item:nth-child(odd) .why-we__item-illustration {
    margin-right: 24px;
}

.why-we__item-content {
    max-width: 524px;
    width: 100%;
}

.why-we__item-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: #333333;
    margin-bottom: 16px;
}

.why-we__item-description {
    font-size: 18px;
    line-height: 28px;
    color: #333333;
}

/* tell-us section */
.tell-us {
    margin-bottom: 100px;
}

.tell-us__title {
    text-align: center;
    font-weight: 700;
    font-size: 48px;
    line-height: 48px;
    text-align: center;
    color: #333333;
    margin-bottom: 40px;
}

.tell-us__wrapper {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tell-us__form {
    max-width: 384px;
    width: 100%;
    position: relative;
}

.tell-us__form .ui-input__wrapper {
    margin-bottom: 24px;
}

.tell-us__form .ui-input__wrapper {
    margin-bottom: 24px;
}

.tell-us__form-comment {
    height: 216px;
}

.tell-us__form-submit {
    width: 100%;
}

.preloader {
    display: none;
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-image: url(../images/preloader.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

/* how-we-work section */
.how-we-work {
    margin-bottom: 160px;
}

.how-we-work__title {
    margin-bottom: 90px;
}

.how-we-work__wrapper {
    position: relative;
    z-index: 2;
    max-width: 792px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 64px;
}

.how-we-work__card {
    position: relative;
    background: #FFFFFF;
    border: 2px solid #E3E3E3;
    border-radius: 4px;
    padding: 72px 32px 32px;
}

.how-we-work__card-number {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -40px;
    background: #FFFFFF;
    border: 1px solid #5088F4;
    border-radius: 4px;
    font-size: 60px;
    line-height: 60px;
    color: #5088F4;
}

.how-we-work__card-description {
    font-size: 18px;
    line-height: 28px;
    color: #333333;
}

@media (max-width: 1220px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 920px) {
    .firstScreen {
        border-bottom-right-radius: 70% 10%;
        border-bottom-left-radius: 70% 10%;
        margin-bottom: 105px;
    }

    .header-nav {
        position: absolute;
        transform: translateY(-200%);
    }

    .header__burger {
        display: flex;
    }

    .header-nav__item::after {
        background: #5088F4;
    }

    .header-nav__item {
        color: #5088F4;
        margin-left: 0;
        margin-bottom: 40px;
    }

    .header-nav__item:last-child {
        margin-bottom: 0;
    }

    .underHeader__title {
        font-size: 54px;
        line-height: 70px;
    }

    .underHeader__btn {
        margin-bottom: 51px;
    }

    .underHeader__illustration-wrapper {
        top: -95px;
        height: 450px;
    }

    .underHeader__illustration {
        width: 1000px;
    }

    .who-we {
        margin-bottom: 80px;
    }

    .who-we__wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .what-we-do {
        margin-bottom: 80px;
    }

    .what-we-do__wrapper {
        max-width: 540px;
        margin: 0 auto;
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 63px;
    }

    .what-we-do__card {
        padding: 57px 20px 20px;
    }

    .what-we-do__bg-image {
        top: 300px;
    }

    .why-we {
        margin-bottom: 80px;
    }

    .why-we__wrapper {
        grid-row-gap: 60px;
    }

    .why-we__item-content {
        max-width: 352px;
    }

    .tell-us {
        margin-bottom: 80px;
    }

    .tell-us__form {
        max-width: 446px;
        margin: 0 auto;
    }

    .tell-us__image {
        display: none;
    }
}

@media (max-width: 767px) {
    .why-we__item {
        flex-direction: column;
    }

    .why-we__item:nth-child(even) {
        flex-direction: column;
    }

    .why-we__item-image {
        margin-bottom: 16px;
    }

    .why-we__item:nth-child(odd) .why-we__item-illustration {
        margin-right: 0;
    }

    .why-we__item:nth-child(even) .why-we__item-illustration {
        margin-left: 0;
    }

    .why-we__item-content {
        max-width: 100%;
    }

    .how-we-work__wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 460px) {
    .firstScreen {
        border-bottom-right-radius: 70% 3%;
        border-bottom-left-radius: 70% 3%;
        margin-bottom: 75px;
    }

    .ui-section-title {
        font-size: 32px;
        line-height: 32px;
    }

    .container {
        padding: 0 10px;
    }

    .header-nav.active {
        max-width: 100%;
    }

    .underHeader__title {
        font-size: 34px;
        line-height: 40px;
    }

    .underHeader__btn {
        width: 100%;
        margin-bottom: 60px;
    }

    .underHeader__illustration-wrapper {
        height: 271px;
        top: -60px;
    }

    .underHeader__illustration {
        width: 602px;
    }

    .who-we {
        margin-bottom: 50px;
    }

    .who-we__title {
        margin-bottom: 30px;
    }

    .who-we__card {
        padding: 20px;
    }

    .who-we__card-description {
        font-size: 16px;
        line-height: 26px;
    }

    .what-we-do {
        margin-bottom: 50px;
    }

    .what-we-do__title {
        margin-bottom: 69px;
    }

    .what-we-do__card-title {
        font-size: 20px;
        line-height: 24px;
    }

    .what-we-do__card-description {
        font-size: 16px;
        line-height: 24px;
    }

    .what-we-do__card-more {
        font-size: 16px;
        line-height: 24px;
    }

    .what-we-do__bg {
        display: none;
    }

    .why-we {
        margin-bottom: 50px;
    }

    .why-we__title {
        margin-bottom: 30px;
    }

    .why-we__wrapper {
        grid-row-gap: 24px;
    }

    .why-we__item-title {
        font-size: 20px;
        line-height: 24px;
    }

    .why-we__item-description {
        font-size: 16px;
        line-height: 24px;
    }

    .tell-us {
        margin-bottom: 50px;
    }

    .tell-us__title {
        font-size: 32px;
        line-height: 32px;
        margin-bottom: 30px;
    }

    .how-we-work {
        margin-bottom: 60px;
    }

    .how-we-work__card {
        padding: 60px 20px 20px;
    }

    .how-we-work__card-description {
        font-size: 16px;
        line-height: 24px;
    }
}