.text-mtech-2 {
    display: flex;
    flex-direction: column;
    padding: 4.5rem 0;
    gap: 6rem;
}

.text-mtech-2 .headline {
    font-size: 4rem;
    line-height: 4rem;
    text-align: center;
    color: #0F0F0F;
    font-weight: 500;
}

.text-mtech-2 .content-wrapper {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.text-mtech-2 .content-wrapper .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F1F2F6;
    gap: 1.5rem;
    width: 420px;
    height: 428px;
    padding: 3rem 1.75rem;
    border-radius: 0.5rem;
}

.text-mtech-2 .content-wrapper .card>img {
    width: 5.375rem;
    height: 5.375rem;
    -o-object-fit: contain;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.text-mtech-2 .content-wrapper .card>h2 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 2.125rem;
    text-align: center;
}

.text-mtech-2 .content-wrapper .card>p {
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: center;
    font-weight: 400;
    color: #898D90;
}

@media (max-width: 1300px) {
    .text-mtech-2 {
        padding: 6rem;
        gap: 8.75rem;
        align-items: center;
    }

    .text-mtech-2 .headline {
        font-size: 4rem;
        line-height: 4.5rem;
        text-align: left;
        max-width: 640px;
        width: 100%;
        font-weight: 600;
        letter-spacing: -2.56px;
    }

    .text-mtech-2 .content-wrapper {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }

    .text-mtech-2 .content-wrapper .card {
        gap: 1.5rem;
        max-width: 640px;
        width: 100%;
        min-height: 542px;
        height: auto;
        padding: 4rem 5rem;
        border-radius: 0.5rem;
    }

    .text-mtech-2 .content-wrapper .card>img {
        width: 8.125rem;
        height: 8.125rem;
        margin-bottom: 1rem;
    }

    .text-mtech-2 .content-wrapper .card>h2 {
        font-size: 3rem;
        font-weight: 500;
        line-height: 2.5rem;
        letter-spacing: -1.44px;
    }

    .text-mtech-2 .content-wrapper .card>p {
        font-size: 1rem;
        line-height: 1.375rem;
        letter-spacing: -0.48px;
    }
}

@media (max-width: 700px) {
    .text-mtech-2 {
        padding: 3rem 1.25rem;
        gap: 3rem;
        align-items: center;
    }

    .text-mtech-2 .headline {
        font-size: 2.25rem;
        line-height: 2.25rem;
        text-align: left;
        max-width: unset;
        width: 100%;
        letter-spacing: -1.44px;
    }

    .text-mtech-2 .content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .text-mtech-2 .content-wrapper .card {
        gap: 3rem;
        max-width: unset;
        width: 100%;
        min-height: unset;
        height: auto;
        padding: 3rem 1.5rem;
        border-radius: 0.5rem;
    }

    .text-mtech-2 .content-wrapper .card>img {
        width: 6rem;
        height: 6rem;
        margin-bottom: 0;
    }

    .text-mtech-2 .content-wrapper .card>h2 {
        font-size: 2.25rem;
        font-weight: 500;
        line-height: 1.5rem;
        letter-spacing: -1.08px;
    }

    .text-mtech-2 .content-wrapper .card>p {
        font-size: 0.75rem;
        line-height: 1rem;
        letter-spacing: -0.36px;
    }
}