/**
 * Component Styles: Recruit Selection Process
 *
 * @package RIKAI_Marketing
 * @since 1.0.0
 */

/* ========================================
   SECTION LAYOUT
   ======================================== */

.recruit-selection-process-section {
}

/* ========================================
   PROCESS GRID
   ======================================== */

.process-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========================================
   PROCESS CARD
   ======================================== */

.process-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.process-card-inner {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 40px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* min-height: 300px; */
    height: 100%;
    transition: transform 0.3s ease;
}

.process-card-inner:hover {
    transform: translateY(-5px);
}

/* Process Number Image */
.process-number {
    margin-bottom: -20px;
    z-index: 2;
}

.process-number img {
    width: 60px;
    height: auto;
    display: block;
}

/* Process Title */
.process-title {
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

.process-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Process Icon */
.process-icon {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.process-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

/* Process Description */
.process-description {
    line-height: 1.5;
    text-align: left;
}

.process-description p {
    margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet - 3 columns */
@media (max-width: 1024px) {
    .recruit-selection-process-section {
        padding: 60px 0;
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .process-card-inner {
        /* min-height: 320px; */
        padding: 35px 15px 25px;
    }
}

/* Mobile Large - 2 columns */
@media (max-width: 768px) {
    .recruit-selection-process-section {
        padding: 50px 0;
    }

    .process-grid {
        /* flex-wrap: wrap; */
        gap: 10px;
    }

    .process-card-inner {
        min-height: 300px;
        padding: 20px 12px;
    }

    .process-number {
        margin-bottom: -32px;
    }

    .process-icon img {
        width: 60px;
        height: 60px;
    }

    .process-title {
        font-size: 14px;
        min-height: 40px;
        padding-top: 10px;
    }

    .process-description {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .process-grid {
        flex-wrap: wrap;
        gap: 35px;
    }

    .process-card {
        width: 100%;
    }

    .process-card-inner {
        min-height: auto;
        width: 100%;
        padding: 25px 20px;
    }
}

/* Mobile Small - 1 column */
@media (max-width: 480px) {
    .recruit-selection-process-section {
        padding: 40px 0;
    }

    .process-number img {
        width: 55px;
    }

    .process-icon img {
        width: 70px;
        height: 70px;
    }

    .process-title {
        font-size: 16px;
        min-height: auto;
    }

    .process-description {
        font-size: 14px;
    }
}
