.how-section {
    width: 100%;
    height: fit;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    overflow-x: hidden;
}

/* text section */

.text-section {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.text-section .section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.text-section .section-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* steps */

.steps-wrap {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.step-connector {
    position: absolute;
    top: 26px;
    left: 50%;
    right: -50%;
    height: 2px;
    border-top: 2px dashed #90caf9;
    z-index: 0;
}

[dir="rtl"] .step-connector {
    left: -50%;
    right: 50%;
}

.step-item:last-child .step-connector {
    display: none;
}

.step-circle {
    width: 52px;
    height: 52px;
    background: #1565C0;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.35);
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.step-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 240px;
    text-align: center;
}

@media (max-width: 767px) {
    .steps-wrap {
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        position: relative;
    }

    .step-item {
        width: 100%;
    }

    .step-desc {
        max-width: fit-content;
        text-align: center;
    }

    .step-connector {
        display: none;
    }
}
