/* =========================================
   STEPS SECTION
========================================= */

.steps-section {
    padding: 20px 0;
    background: #f8fafc;

    overflow: hidden;
}

/* =========================================
   HEADER
========================================= */

.steps-header {
    text-align: center;

    max-width: 720px;

    margin: 0 auto 70px;
}

.steps-header h2 {
    font-size: 2rem;
    color: #0f172a;

    margin-bottom: 12px;
}

.steps-header p {
    color: #64748b;

    font-size: 1.05rem;
    line-height: 1.6;
}

/* =========================================
   WRAPPER
========================================= */

.steps-wrapper {
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;
}

/* =========================================
   CONNECTING LINE
========================================= */

.steps-line {
    position: absolute;

    top: 28px;
    left: 40px;
    right: 40px;

    height: 2px;

    background: #e2e8f0;

    z-index: 0;
}

/* =========================================
   STEP
========================================= */

.step {
    position: relative;
    z-index: 2;

    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

/* =========================================
   PERFECT CIRCLE
========================================= */

.step-circle {
    width: 56px;
    height: 56px;

    min-width: 56px;
    min-height: 56px;

    max-width: 56px;
    max-height: 56px;

    aspect-ratio: 1 / 1;

    flex-shrink: 0;

    border-radius: 50%;

    background: #14b8a6;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.1rem;

    box-shadow: 0 6px 14px rgba(20, 184, 166, 0.15);

    transition: all 0.25s ease;
}

.step-circle i {
    line-height: 1;
}

/* =========================================
   TITLES
========================================= */

.step h3 {
    margin-top: 14px;

    font-size: 1rem;
    font-weight: 600;

    color: #0f172a;
}

/* =========================================
   DESCRIPTION
========================================= */

.step-desc {
    margin-top: 6px;

    max-width: 180px;

    font-size: 0.85rem;
    line-height: 1.4;

    color: #64748b;
}

/* =========================================
   HOVER
========================================= */

.step:hover .step-circle {
    transform: translateY(-5px) scale(1.08);

    background: #0d9488;

    box-shadow: 0 14px 26px rgba(20, 184, 166, 0.25);
}

.step:hover .step-desc {
    color: #334155;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .steps-header {
        margin-bottom: 50px;
    }

    .steps-wrapper {
        flex-direction: column;

        align-items: center;

        gap: 26px;
    }

    .steps-line {
        display: none;
    }

    .step {
        width: 100%;

        max-width: 500px;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        text-align: center;

        gap: 12px;
    }

    .step-circle {
        margin-top: 0;
    }

    .step-desc {
        max-width: 100%;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .steps-section {
        padding: 50px 0;
    }

    .steps-header {
        margin-bottom: 40px;
    }

    .steps-header h2 {
        font-size: 1.8rem;
    }

    .steps-header p {
        font-size: 1rem;
    }

    .step {
        gap: 12px;

        padding: 0 10px;
    }

    .step-circle {
        width: 52px;
        height: 52px;

        min-width: 52px;
        min-height: 52px;

        max-width: 52px;
        max-height: 52px;

        font-size: 1rem;
    }

    .step h3 {
        margin-top: 0;

        font-size: 0.98rem;
    }

    .step-desc {
        margin-top: 4px;

        font-size: 0.84rem;
    }
}