.services {
    padding: 40px 0;
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.step-card {
    padding: 25px;
    background: #F8FAFC;
    border-radius: 12px;
    border-left: 4px solid #7C3AED;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(124,58,237,0.1);
}

.step-number {
    font-size: 24px;
    font-weight: 700;
    color: #7C3AED;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000000;
    font-weight: 600;
}

.step-card p {
    color: #000000;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr); /* Ensure two columns on mobile */
        gap: 15px; /* Reduced gap for mobile */
    }

    .step-card {
        padding: 15px; /* Reduced padding to decrease height */
        height: 250px; /* Fixed height to fit content */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .step-number {
        font-size: 18px; /* Smaller font size */
        margin-bottom: 8px; /* Reduced margin */
    }

    .step-card h3 {
        font-size: 16px; /* Smaller heading */
        margin-bottom: 6px; /* Reduced margin */
    }

    .step-card p {
        font-size: 13px; /* Smaller text */
        line-height: 1.3; /* Tighter line height */
        overflow: hidden; /* Prevent text overflow */
        text-overflow: ellipsis; /* Add ellipsis for overflowing text */
        /* display: -webkit-box; */
        -webkit-line-clamp: 4; /* Limit to 4 lines */
        -webkit-box-orient: vertical; /* Required for line clamping */
    }
}