/* AEM Labs Limited - CSS Module: Step Container */
/* ============================================= */

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

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

.step-number {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--accent-color), #6907c5);
    box-shadow: 0 4px 15px rgba(167, 28, 28, 0.3);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    line-height: 1.65;
}

@media (max-width: 1440px) {
    .steps-container {
        padding: 20px 10px;
        gap: 12px;
    }

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

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

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

@media (max-width: 992px) {
    .steps-container {
        padding: 20px 16px;
        gap: 20px 12px;
    }

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

@media (max-width: 480px) {
    .steps-container {
        gap: 16px;
    }

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

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

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

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

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

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

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