.how-it-works {
    padding: 80px 40px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.64) 80%, rgba(0, 0, 0, 0.8)), url("") center center / cover no-repeat;
    background-attachment: fixed;
}

.content-wrapper {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.text-part {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 24px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.text-part:hover {
    transform: translateY(-5px);
}

.label {
    display: inline-block;
    font-size: 14px;
    background-color: #e67e22;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.text {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 40px 20px;
        background-attachment: scroll;
    }
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .title {
        font-size: 20px;
    }
    .text {
        font-size: 14px;
    }
}
