/* Process Section Styles - FIXED */
.process {
    background-color: var(--space-dark);
    position: relative;
    overflow: hidden; /* Add this to contain the timeline */
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%; /* Center the line */
    transform: translateX(-50%); /* Center it properly */
    width: 80%; /* Limit width to 80% of container */
    height: 3px;
    background: linear-gradient(90deg, var(--neon-violet), var(--cyber-aqua));
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-violet), var(--cyber-aqua));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 10px 20px var(--neon-violet-glow);
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--neon-violet-glow);
}

.step-content {
    background: var(--space-light);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    height: 100%;
}

.process-step:hover .step-content {
    transform: translateY(-10px);
    box-shadow: 0 0 15px var(--cyber-aqua-glow);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--starlight);
}

.step-content p {
    color: var(--cosmic-text);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Mobile Responsive Design - UPDATED */
@media (max-width: 992px) {
    .process-steps::before {
        width: 90%; /* Slightly wider on tablet */
        left: 50%;
        transform: translateX(-50%);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .process-steps::before {
        display: none; /* Hide timeline on mobile for better experience */
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .step-content {
        padding: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .process-step {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .process-steps {
        gap: 1rem;
    }
    
    .step-content {
        padding: 1rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Animation for step numbers */
@keyframes stepPulse {
    0% {
        box-shadow: 0 0 0 0 var(--neon-violet-glow);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(168, 85, 247, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

.step-number.animated {
    animation: stepPulse 2s infinite;
}
