/* ===================================
   Process Timeline Styles
   =================================== */

.process-timeline-wrapper {
    position: relative;
}

/* Horizontal Timeline Line */
.timeline-line {
    position: absolute;
    top: 90px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.timeline-line-progress {
    position: absolute;
    top: 90px;
    left: 12.5%;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #188834 0%, #005aab 100%);
    z-index: 2;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step Column */
.process-step-col {
    margin-bottom: 30px;
}

/* Step Card */
.process-step-card {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Step Connector */
.step-connector {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.step-number-circle {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid #e0e0e0;
    border-radius: 50%;
    z-index: 3;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number-circle .step-num {
    font-size: 28px;
    font-weight: 700;
    color: #ccc;
    transition: all 0.4s ease;
}

/* Active State */
.process-step-card.active .step-number-circle {
    background: linear-gradient(135deg, #188834 0%, #005aab 100%);
    border-color: #188834;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transform: scale(1.1);
}

.process-step-card.active .step-number-circle .step-num {
    color: white;
}

/* Connector Line (only show on desktop) */
.connector-line {
    display: none;
}

@media (min-width: 992px) {
    .connector-line {
        display: block;
        position: absolute;
        top: 40px;
        left: 50%;
        width: 100%;
        height: 3px;
        background: transparent;
        transform: translateX(40px);
    }

    .process-step-col:last-child .connector-line {
        display: none;
    }
}

/* Step Content Card */
.step-content {
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    min-height: 380px;
}

.process-step-card.active .step-content {
    border-color: #188834;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
    transform: translateY(-5px);
}

/* Icon Wrapper */
.icon-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.icon-box i {
    font-size: 32px;
    color: #1e40af;
    transition: all 0.4s ease;
}

.process-step-card.active .icon-box {
    background: linear-gradient(135deg, #188834 0%, #005aab 100%);
    transform: scale(1.1) rotate(5deg);
}

.process-step-card.active .icon-box i {
    color: white;
}

/* Step Title */
.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
    transition: color 0.3s ease;
}

.process-step-card.active .step-title {
    color: #188834;
}

/* Step Description */
.step-description {
    font-size: 14px;
    line-height: 24px;
    color: #64748b;
    text-align: center;
    margin-bottom: 20px;
}

/* Step Checklist */
.step-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-checklist li {
    font-size: 13px;
    color: #64748b;
    padding: 6px 0;
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.step-checklist li i {
    color: #cbd5e1;
    margin-right: 10px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.process-step-card.active .step-checklist li {
    opacity: 1;
}

.process-step-card.active .step-checklist li i {
    color: #22c55e;
}

/* Hover Effects */
.process-step-card:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .timeline-line,
    .timeline-line-progress {
        display: none;
    }

    .process-timeline-wrapper {
        padding-top: 20px;
    }

    .step-content {
        min-height: auto;
    }
}

/* Animation Delays */
.process-step-card[data-step="1"] { transition-delay: 0.1s; }
.process-step-card[data-step="2"] { transition-delay: 0.2s; }
.process-step-card[data-step="3"] { transition-delay: 0.3s; }
.process-step-card[data-step="4"] { transition-delay: 0.4s; }
