.how-it-works {
    padding-top: 169px;
    padding-bottom: 51px;
}

.how-it-works-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 52px;
}

.how-it-works-header-head {
    max-width: 584px;
    margin-right: 30px;
}

.how-it-works-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 157%;
    margin-bottom: -3px;
}

.how-it-works-subtitle {
    line-height: 157%;
    font-size: 50px;
    font-family: 'Georgia', serif;
    color: #01996D;
    font-weight: 700;
}

.how-it-works-header-content {
    max-width: 671px;
    line-height: 150%;
    font-weight: 500;
    padding-top: 58px;
}

.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, 390px);
    column-gap: 95px;
}

.step {
    max-width: 390px;
}

.step:nth-child(2) {
    padding-top: 287px;
}

.step:nth-child(3) {
    padding-top: 54px;
}

.step-heading {
    position: relative;
    padding-top: 135px;
    padding-left: 88px;
    font-family: 'Georgia', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 150%;
    color: black;
    margin-bottom: 55px;
}

/* .step:nth-child(3) .step-heading {
    padding-left: 124px;
}

.step:nth-child(2) .step-heading {
    padding-left: 79px;
    width: 392px;
} */

.step-heading::before {
    content: attr(data-number);
    font-weight: 400;
    font-size: 150px;
    line-height: 150%;
    color: rgba(1, 153, 109, 0.2);
    position: absolute;
    left: 0;
    top: 0;
}

.step-text {
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    margin-bottom: 60px;
}

.step-img-wrapper {
    position: relative;
    padding-bottom: 126%;
}

.step-img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 1399px) {
    .how-it-works-header {
        flex-direction: column;
        padding-bottom: 52px;
    }

    .how-it-works {
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .how-it-works-subtitle {
        line-height: 130%;
        font-size: 40px;
    }

    .how-it-works-header-content {
        padding-top: 20px;
    }
}

@media (max-width: 1389px) {
    .step:nth-child(3),
    .step:nth-child(2) {
        padding-top: 0;
    }
}

@media (max-width: 419px) {
    .how-it-works-steps {
        grid-template-columns: 1fr;
    }
}