/* JNXPC Limited - CSS Module: Steps */
/* ================================= */

.steps-section {
    padding: 30px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    background-color: white;
    border-radius: 20px;
    padding: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
}

.steps-section .step-item {
    text-align: center;
    position: relative;
}

.steps-section .step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #d64545, #a71c1c);
    box-shadow: 0 4px 15px rgba(167, 28, 28, 0.3);
    color: white;
    border-radius: 50%;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.steps-section .step-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.steps-section .step-content p {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    line-height: 1.65;
    width: 80%;
    margin: 0 auto 6px;
}

.steps-section .step-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    transition: all 0.3s ease;
}

.steps-section .step-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 10px;
}

.steps-section .step-link:hover {
    color: #8a1616;
}

.steps-section .step-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 1440px) {
    .steps-container {
        max-width: min(90%, var(--section-max-width));
        padding: 20px 10px;
        gap: 12px;
    }

    .steps-section .step-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .steps-section .step-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .steps-section .step-content p {
        font-size: 12px;
        font-weight: 600;
        max-width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .steps-section {
        padding: 20px 0;
    }

    .steps-container {
        max-width: min(85%, var(--section-max-width));
        padding: 20px 16px;
        gap: 20px 12px;
    }

    .steps-section .step-content p {
        max-width: 98%;
    }
}

@media (max-width: 480px) {
    .steps-section {
        padding: 10px 0;
    }

    .steps-container {
        max-width: min(80%, var(--section-max-width));
        gap: 16px;
    }

    .steps-section .step-item {
        padding-bottom: 12px;
    }

    .steps-section .step-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        height: 1px;
        background-color: #e0e0e0;
    }

    .steps-section .step-item:last-child {
        padding-bottom: 0;
    }

    .steps-section .step-item:last-child::after {
        display: none;
    }

    .steps-section .step-number {
        width: 40px;
        height: 40px;
        font-size: 15px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .steps-section .step-content h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .steps-section .step-content p {
        font-size: 11px;
        font-weight: 500;
    }

    .steps-section .step-link,
    .steps-section .step-link i {
        font-size: 11px;
    }
}