:root {
    --yellow-main: rgb(250, 155, 12);
    --white-main: rgb(242, 240, 240);
    --white-cards: rgb(254, 254, 254);
    --general-grey: rgb(148, 155, 171);
    --blue-main: rgb(42, 57, 88);
    --orange-main: rgb(250, 127, 12);
    --primary-font: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    width: 100vw;
    margin: 0;
    overflow-x: hidden;
    font-family: var(--primary-font);
    background-color: var(--white-main);
}

h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 58px;
    letter-spacing: 0%;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0%;
}

.hero-text h2 {
    margin: 0;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0%;
}

h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: 0%;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--white-main);
}

p {
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0%;
}

span {
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: 0%;
}

span.lg {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0%;
}

button span {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0%;
}

button,
.call-form-button,
.service-form-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 25px;
    padding: 15px 30px;
    border: none;
    background-color: var(--yellow-main);
    color: var(--white-main);
}

button:hover,
.call-form-button:hover,
.service-form-button:hover {
    background-color: var(--orange-main);
    cursor: pointer;
}

section.mobile-hero-section,
section.mobile-call-section {
    display: none;
}

.hero-wrapper {
    background-image: url('../images/hero_web.png');
    background-size: cover;
    background-repeat: no-repeat;
    height: 742px;
    padding: 81px 0 192px 193px;
}

.hero-wrapper img {
    width: 182px;
}

.hero-text {
    width: 574px;
    margin: 199px 0 30px 0;
    color: var(--blue-main);
}

.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 57px;
    color: var(--blue-main);
    margin: 100px 190px 59px 190px;
}

.services-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 43px;
}

.call-wrapper {
    color: var(--white-main);
    padding-top: 137px;
    position: relative;
}

.call-form-block {
    background-color: var(--blue-main);
    z-index: 1;
    padding: 70px 100px 70px 100px;
}

.call-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.call-form-control {
    padding: 15px 165px 15px 20px;
    border: 1px solid var(--general-grey);
    color: var(--general-grey);
    background-color: var(--blue-main);
    border-radius: 25px;
}

.call-form-button {
    color: var(--blue-main);
    background-color: var(--white-main);
}

.call-wrapper img {
    z-index: 50;
    position: absolute;
    bottom: 0;
    right: 100px;
    width: 332px;
    height: 376px;
}

.progress-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    color: var(--blue-main);
    margin: 100px 100px 59px 100px;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.services-container,
.progress-container {
    overflow-x: scroll;
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */
    width: 100%;
}

.progress-card {
    color: var(--white-main);
    background-color: var(--blue-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 20px;
    border-radius: 25px;
    width: 250px;
    height: 250px;
}

.progress-card h3 {
    margin: 0;
}

.progress-card img {
    align-self: center;
    margin-bottom: 30px;
}

.form-wrapper {
    display: flex;
    background-color: var(--white-cards);
    margin: 130px 100px;
    padding-left: 56px;
    gap: 103px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    overflow: hidden;
    color: var(--blue-main);
}

.form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 38px 0 38px 0;
    width: 100%;
}

.form-wrapper img {
    width: 500px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-form-control {
    border: 1px solid var(--blue-main);
    border-radius: 25px;
    padding: 10px 0 10px 20px;
}

.service-form-button {
    color: var(--white-main);
    background-color: var(--yellow-main);
}

footer {
    background-color: var(--blue-main);
    display: flex;
    justify-content: space-between;
    padding: 110px 190px 110px 190px;
    color: var(--white-main);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

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

.pop-up {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    background-color: var(--white-cards);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    padding: 40px;
    align-items: center;
    justify-content: center;
    min-width: 70%;
    z-index: 100;
    text-align: center;
    color: var(--blue-main);
}

@media only screen and (max-width: 1064px) {
    h1 {
        text-transform: uppercase;
        font-size: 20px;
        line-height: 24px;
    }

    h2 {
        font-size: 14px;
        line-height: 17px;
        text-transform: uppercase;
        font-weight: 500;
        margin: 0;
    }

    h3 {
        font-size: 14px;
        line-height: 17px;
        margin: 0;
    }

    section.hero-section,
    section.call-section {
        display: none;
    }

    section.mobile-hero-section,
    section.mobile-call-section {
        display: flex;
        flex-direction: column;
        margin-top: 50px;
        color: var(--blue-main);
    }

    button {
        width: 100%;
    }

    .mob-button-wrapper {
        margin: 0 17px;
    }

    .logo-mob {
        width: 117px;
        margin: 0 0 7px 19px;
    }

    .hero-mob {
        width: 100%;
    }

    .hero-text-mob {
        margin: 13px 17px 25px 17px;
    }

    .services-wrapper {
        gap: 50px;
        margin: 50px 16px;
    }

    .services-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-top: 30px;
    }

    .service-card {
        width: 100%;
        padding: 0 54px;
    }

    .call-wrapper-mob {
        display: flex;
        flex-direction: column;
    }

    .call-wrapper-mob img {
        width: 198px;
        margin: 0 auto;
    }

    .call-form-block {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 30px 16px;
        gap: 20px;
    }

    .call-form-block h2 {
        text-align: center;
    }

    .call-form {
        flex-direction: column;
    }

    .call-form-control {
        width: 100%;
        padding: 15px 0 15px 20px;
    }

    .call-form-button {
        width: 100%;
    }

    .progress-wrapper {
        margin: 50px 15px 100px 15px;
    }

    .progress-container {
        flex-direction: column;
        gap: 30px;
    }

    .progress-card {
        flex-direction: row-reverse;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding-top: 13px;
        padding-bottom: 13px;
        height: unset;
    }

    .progress-card img {
        margin: 0;
    }

    .form-wrapper {
        margin: 0 16px 30px 16px;
        padding: unset;
        background-color: unset;
        box-shadow: unset;
        border-radius: unset;
    }

    .form-wrapper img {
        display: none;
    }

    .form-wrapper form {
        margin-top: 0;
    }

    input:focus {
        outline: none;
    }

    footer {
        padding: 49px 172px 49px 24px;
        flex-direction: column;
    }

    .footer-col {
        gap: 10px;
    }

    .footer-col:nth-of-type(2) {
        margin-top: 15px;
    }

    .footer-col:nth-of-type(1) .footer-block:nth-of-type(2) {
        display: none;
    }

    .footer-block:last-of-type {
        margin-top: 15px;
    }

    .footer-block:last-of-type span {
        font-size: 10px;
        line-height: 12px;
    }
}