/* next-step-form */
section.next-step-form__section {
    background-color: #000000;
    padding-block: 0rem;
}

.next-step-form__section form {
    padding: 3rem 0;
}

section.next-step-form__section form > div div {
    margin-bottom: 1.3rem;
}

.next-step-form__section form h2 {
    color: white;
    text-align: center;
    font-weight: 400;
}

.next-step-form__section form p {
    color: rgb(228, 223, 223);
    text-align: center;
    line-height: 1.373rem;
    font-size: 0.85rem;
    font-weight: 400;
    margin: 0.8rem auto 2rem;
}

.next-step-form__section form input,
.next-step-form__section form textarea,
.next-step-form__section form label {
    color: white;
    width: 100%;
}

.next-step-form__section form input,
.next-step-form__section form textarea {
    padding: 1rem;
    border: none;
    background-color: #f6f6f62c;
    resize: none;
}

.next-step-form__section form div div:last-child {
    grid-column-start: 1;
    grid-column-end: 3;
}

.next-step-form__section form div div:last-child label {
    width: 100%;
}

.next-step-form__section form label {
    padding: 1rem 0;
    line-height: 2.2rem;
}

section.next-step-form__section form > div:last-child {
    display: block;
    max-width: 250px;
    margin: 3rem auto 0;
}

section.next-step-form__section form > div:last-child button {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    font-size: 0.8rem;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
}

@media (min-width: 768px) {
    /* next-step-form */
    section.next-step-form__section form > div:last-child {
        margin: 3rem auto 0;
    }

    section.next-step-form__section form > div:last-child button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    section.next-step-form__section form > div {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
    }


    .next-step-form__section form h2 {
        font-size: 2.125rem;
        line-height: 3.625rem;
    }

    .next-step-form__section form p {
        line-height: 1.373rem;
        font-size: 1rem;
        width: 70%;
        margin: 0.5rem auto 2rem;
    }

    .next-step-form__section form input,
    .next-step-form__section form textarea,
    .next-step-form__section form label {
        color: white;
        width: 100%;
    }

    .next-step-form__section form input,
    .next-step-form__section form textarea {
        padding: 1rem;
        border: none;
        background-color: #f6f6f62c;
        resize: none;
    }

    .next-step-form__section form div div:last-child {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .next-step-form__section form div div:last-child label {
        width: 100%;
    }

    .next-step-form__section form label {
        padding: 1rem 0;
        line-height: 2.2rem;
    }
}

@media (min-width: 1024px) {
    .next-step-form__section .container {
        width: 60%;
        margin: unset auto;
    }
    .next-step-form__section form p {
        width: 70%;
        margin: 1rem auto 3rem;
    }
    .service_item {
        padding: 3rem !important;
    }
    section.next-step-form__section {
        padding-block: 5rem;
    }

    .service_item p {
        line-height: 2rem !important;
    }
}

.form-error {
    color: red;
}
