/* ===== WORK PROCESS SECTION ===== */
.work-process {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1.25rem 0.5rem;
}

@media (min-width: 768px) {
    .work-process {
        padding: 2.5rem 0.5rem;
    }
}

@media (min-width: 1024px) {
    .work-process {
        padding: 6.25rem 0.5rem;
    }
}

@media (min-width: 1280px) {
    .work-process {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 8.75rem 0.5rem;
    }
}

@media (max-width: 1319px) {
    .work-process {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Left text */
.work-process-text {
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .work-process-text {
        padding-right: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .work-process-text {
        padding-right: 8.9375rem;
        margin-bottom: 0;
    }
}

@media (max-width: 1279px) {

    .work-process-text .section-title,
    .work-process-text p {
        text-align: center;
    }
}

.work-process-desc {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-500);
}

@media (min-width: 768px) {
    .work-process-desc {
        font-size: 1.125rem;
    }
}

/* Cards grid */
.work-process-cards {
    display: grid;
    grid-template-columns: 1fr;
    width: fit-content;
    margin: 0.5rem auto;
}

@media (min-width: 363px) {
    .work-process-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Individual card */
.work-step-card {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 1000ms ease-out;
    cursor: default;
}

@media (min-width: 640px) {
    .work-step-card {
        padding: 2rem;
        max-width: 19.5rem;
    }
}

@media (max-width: 362px) {
    .work-step-card+.work-step-card {
        margin-top: 0.75rem;
    }
}

.work-step-card:hover {
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.1));
}

/* Offset cards (odd index: 2nd, 4th) */
@media (min-width: 363px) {
    .work-step-card:nth-child(even) {
        margin-left: 0.75rem;
        margin-top: 1.5rem;
    }

    .work-step-card:nth-child(odd) {
        margin-bottom: 1.5rem;
    }
}

/* Icon box */
.work-step-icon {
    width: 2.75rem;
    height: 2.75rem;
    background-color: #EDD8FF80;
    border-radius: 0.375rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

@media (min-width: 640px) {
    .work-step-icon {
        width: 4.5rem;
        height: 4.5rem;
    }
}

.work-step-card:hover .work-step-icon {
    background-color: var(--picto-primary);
}

.work-step-icon svg {
    padding: 0.5rem;
}

@media (min-width: 640px) {
    .work-step-icon svg {
        width: 2rem;
        height: 2rem;
        padding: 0;
    }
}

.work-step-icon svg path {
    fill: #A53DFF;
    transition: fill 0.3s;
}

.work-step-card:hover .work-step-icon svg path {
    fill: var(--white);
}

/* Card text */
.work-step-title {
    margin-top: 0.75rem;
    font-weight: 600;
}

@media (min-width: 363px) {
    .work-step-title {
        margin-top: 1rem;
    }
}

@media (min-width: 640px) {
    .work-step-title {
        margin-top: 2rem;
        font-size: 1.25rem;
    }
}

.work-step-desc {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: #697482;
}

@media (min-width: 640px) {
    .work-step-desc {
        font-size: 1rem;
    }
}