/* ============================================================================
   NEW SIMPLIFIED WORKFLOW SECTION - V2
   Modern, clean design with click-to-navigate functionality
   ============================================================================ */

.workflow-progress-section-v2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.workflow-header-v2 {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.workflow-header-v2 h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.workflow-header-v2 p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    color: white;
}

/* Workflow Steps Container */
.workflow-steps-v2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual Workflow Card */
.workflow-card {
    background: linear-gradient(135deg, #a8d5ff 0%, #8ec5fc 100%);
    border-radius: 16px;
    padding: 30px 20px 20px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 3px solid transparent;
}

.workflow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.workflow-card:active {
    transform: translateY(-4px) scale(0.98);
}

/* Workflow Icon */
.workflow-icon {
    font-size: 56px;
    color: #1e3a8a;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.workflow-card:hover .workflow-icon {
    transform: scale(1.1);
}

/* Workflow Title */
.workflow-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Workflow Description */
.workflow-description {
    font-size: 15px;
    color: white;
    background: rgba(179, 217, 255, 0.35);
    padding: 12px 10px;
    border-radius: 8px;
    margin: 0;
    line-height: 1.5;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Active/Clicked State */
.workflow-card.workflow-active {
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

/* Responsive Design - Tablets */
@media (max-width: 1024px) {
    .workflow-steps-v2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .workflow-icon {
        font-size: 48px;
    }
    
    .workflow-card h4 {
        font-size: 16px;
    }
    
    .workflow-description {
        font-size: 14px;
        min-height: 50px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .workflow-progress-section-v2 {
        padding: 30px 15px;
    }
    
    .workflow-steps-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .workflow-card {
        padding: 20px 15px 15px 15px;
    }
    
    .workflow-icon {
        font-size: 40px;
    }
    
    .workflow-card h4 {
        font-size: 14px;
    }
    
    .workflow-description {
        font-size: 13px;
        padding: 10px 8px;
        min-height: 45px;
    }
    
    .workflow-header-v2 h3 {
        font-size: 22px;
    }
    
    .workflow-header-v2 p {
        font-size: 14px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .workflow-steps-v2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .workflow-card {
        padding: 25px 20px 20px 20px;
    }
}

/* Animation for card click */
@keyframes cardPulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

.workflow-card.just-clicked {
    animation: cardPulse 0.6s ease;
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hide old workflow section if both exist */
.workflow-progress-section {
    display: none;
}

/* Show new workflow section */
.workflow-progress-section-v2 {
    display: block;
}
