﻿
/* Horizontal Steps (Desktop) */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 50px auto;
    max-width: 1200px;
}

.step-box {
    flex: 1 1 18%;
    text-align: center;
    background: var(--eduhive-white2, #EDEAF4);
    border-radius: 33%;
    padding: 55px 20px;
    margin: 10px;
    box-shadow: inset 0 2px 0px 11px var(--eduhive-secondary, #39D4D6);
    height: 200px;
    position: relative;
}

    .step-box i {
        font-size: 24px;
        color: #edeaf4;
        margin-bottom: 10px;
        padding-top: 8px;
        background-color: #39d4d6;
        border-radius: 15%;
        width: 40px;
        height: 40px;
    }

    .step-box h6 {
        font-weight: bold;
        font-size: 16px;
    }

    .step-box:hover {
        color: darkcyan;
        background-color: #dbdbdb;
    }

.step-box-1:hover {
    color: darkcyan;
    background-image: url('../images/process/procument.jpg');
}

.step-box::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    background: #ef802e;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
}

.step-box:last-child::after {
    content: none;
}

/* Vertical Timeline (Mobile) */
.timeline-mobile {
    display: none;
    padding: 2rem 1rem;
    max-width: 600px;
    margin: auto;
}

    .timeline-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 28px;
        width: 2px;
        height: 100%;
        border-left: 2px dashed #ff7a00;
        z-index: 1;
        margin-left: 15px;
    }

.timeline-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

    .timeline-step::before {
        content: '';
        position: absolute;
        top: 5px;
        left: 16px;
        width: 24px;
        height: 24px;
        background-color: #ff7a00;
        border-radius: 50%;
        border: 4px solid #fff;
        z-index: 2;
    }

    .timeline-step h5 {
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .timeline-step ul {
        list-style: none;
        padding-left: 0;
    }

        .timeline-step ul li {
            padding-left: 24px;
            position: relative;
            margin-bottom: 0.5rem;
        }

            .timeline-step ul li::before {
                content: '\f00c';
                font-family: 'Font Awesome 5 Free';
                font-weight: 900;
                position: absolute;
                left: 0;
                top: 0;
                color: #ff7a00;
            }

/* Responsive Handling */
@media (max-width: 768px) {
    .process-steps {
        display: none;
    }

    .timeline-mobile {
        display: block;
        position: relative;
    }
}

.courses-two {
    padding-top: 25px !important;
    background-color: #dcdcdc;
}

/* Horizontal Steps (Desktop) */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 50px auto;
    max-width: 1200px;
}

.step-box {
    flex: 1 1 18%;
    text-align: center;
    background: var(--eduhive-white2, #EDEAF4);
    border-radius: 33%;
    padding: 55px 20px;
    margin: 10px;
    box-shadow: inset 6px -3px 0px 5px var(--eduhive-secondary, #39D4D6);
    height: 200px;
    position: relative;
}

    .step-box i {
        font-size: 24px;
        color: #edeaf4;
        margin-bottom: 10px;
        padding-top: 13px;
        background-color: #39d4d6;
        border-radius: 15%;
        width: 50px;
        height: 50px;
    }

    .step-box h6 {
        font-weight: bold;
        font-size: 16px;
    }

    .step-box:hover {
        color: darkcyan;
        background-color: #dbdbdb;
    }


    .step-box::after {
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        right: -15px;
        transform: translateY(-50%);
        background: #ef802e;
        color: #ffffff;
        padding: 6px 16px;
        border-radius: 50px;
    }

    .step-box:last-child::after {
        content: none;
    }

/* Vertical Timeline (Mobile) */
.timeline-mobile {
    display: none;
    padding: 2rem 1rem;
    max-width: 600px;
    margin: auto;
}

    .timeline-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 28px;
        width: 2px;
        height: 100%;
        border-left: 2px dashed #674cef;
        z-index: 1;
        margin-left: 15px;
    }

.timeline-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

    .timeline-step::before {
        content: '';
        position: absolute;
        top: 5px;
        left: 16px;
        width: 24px;
        height: 24px;
        background-color: #674cef;
        border-radius: 50%;
        border: 4px solid #fff;
        z-index: 2;
    }

    .timeline-step h5 {
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .timeline-step ul {
        list-style: none;
        padding-left: 0;
    }

        .timeline-step ul li {
            padding-left: 24px;
            position: relative;
            margin-bottom: 0.5rem;
        }

            .timeline-step ul li::before {
                content: '\f00c';
                font-family: 'Font Awesome 5 Free';
                font-weight: 900;
                position: absolute;
                left: 0;
                top: 0;
                color: #ff7a00;
            }

/* Responsive Handling */
@media (max-width: 768px) {
    .process-steps {
        display: none;
    }

    .timeline-mobile {
        display: block;
        position: relative;
    }
}

.courses-two {
    padding-top: 25px !important;
    background-color: #dcdcdc;
}
