/* Professional Process Flow Styling */

.process-flow-section {
    position: relative;
}

.process-flow-card {
    background: #fff;
    border-radius: 18px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(30, 41, 59, 0.10);
    position: relative;
    overflow: hidden;
}

.process-flow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a365d, #2563eb, #64748b, #e2e8f0);
}

.process-flow-subtitle {
    color: #1a365d;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.process-description {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Desktop Process Flow */
.process-flow-desktop {
    margin-top: 3rem;
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

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

.process-node {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom removed for baseline alignment */
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(30, 41, 59, 0.12);
}

.process-node:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.process-number {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.process-desc {
    font-size: 0.95rem;
    color: #475569;
    max-width: 120px;
}

/* Node Colors */
.concept-node {
    background: linear-gradient(135deg, #1a365d, #2563eb);
}

.develop-node {
    background: linear-gradient(135deg, #334155, #64748b);
}

.produce-node {
    background: linear-gradient(135deg, #64748b, #abb1b8);
}

.utilize-node {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.support-node {
    background: linear-gradient(135deg, #5784c4, #64748b);
}

.retire-node {
    background: linear-gradient(135deg, #779dcf, #7a8695);
}

/* Connectors */
.process-connector {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, #cbd5e1, #64748b, #cbd5e1);
    position: relative;
    margin: 0 1rem;
    border-radius: 2px;
    align-self: center;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #64748b;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Mobile Process Flow */
.process-flow-mobile {
    margin-top: 2rem;
}

.process-steps-vertical {
    position: relative;
}

.process-steps-vertical::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(180deg, #1a365d, #2563eb, #64748b, #e2e8f0);
    border-radius: 2px;
}

.process-step-mobile {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 80px;
}

.process-step-mobile:last-child {
    margin-bottom: 0;
}

.process-step-content {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.process-step-content:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.10);
}

.process-node-mobile {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    position: absolute;
    left: -110px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.10);
    flex-shrink: 0;
}

.process-node-mobile .process-number {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.process-text-mobile h4 {
    color: #1a365d;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-text-mobile p {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .process-flow-card {
        padding: 2rem;
    }
    
    .process-flow-title {
        font-size: 2.2rem;
    }
    
    .process-node {
        width: 70px;
        height: 70px;
    }
    
    .process-number {
        font-size: 1.3rem;
    }
    
    .process-label {
        font-size: 1.1rem;
    }
    
    .process-desc {
        font-size: 0.9rem;
        max-width: 110px;
    }
}

@media (max-width: 992px) {
    .process-flow-card {
        padding: 1.5rem;
    }
    
    .process-flow-subtitle {
        font-size: 2rem;
    }
    
    .process-description {
        font-size: 1rem;
    }
    
    .process-steps-vertical::before {
        left: 25px;
    }
    
    .process-step-mobile {
        padding-left: 70px;
    }
    
    .process-node-mobile {
        width: 50px;
        height: 50px;
        left: -95px;
    }
    
    .process-node-mobile .process-number {
        font-size: 1.1rem;
    }
    
    .process-text-mobile h4 {
        font-size: 1.25rem;
    }
    
    .process-text-mobile p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .process-flow-card {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .process-flow-subtitle {
        font-size: 1.75rem;
    }
    
    .process-description {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .process-steps-vertical::before {
        left: 20px;
    }
    
    .process-step-mobile {
        padding-left: 60px;
        margin-bottom: 1.5rem;
    }
    
    .process-step-content {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .process-node-mobile {
        width: 40px;
        height: 40px;
        left: -80px;
    }
    
    .process-node-mobile .process-number {
        font-size: 1rem;
    }
    
    .process-text-mobile h4 {
        font-size: 1.1rem;
    }
    
    .process-text-mobile p {
        font-size: 0.9rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step,
.process-step-mobile {
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(3) { animation-delay: 0.2s; }
.process-step:nth-child(5) { animation-delay: 0.3s; }
.process-step:nth-child(7) { animation-delay: 0.4s; }
.process-step:nth-child(9) { animation-delay: 0.5s; }
.process-step:nth-child(11) { animation-delay: 0.6s; }

.process-step-mobile:nth-child(1) { animation-delay: 0.1s; }
.process-step-mobile:nth-child(2) { animation-delay: 0.2s; }
.process-step-mobile:nth-child(3) { animation-delay: 0.3s; }
.process-step-mobile:nth-child(4) { animation-delay: 0.4s; }
.process-step-mobile:nth-child(5) { animation-delay: 0.5s; }
.process-step-mobile:nth-child(6) { animation-delay: 0.6s; }
