.stages-section {
    padding: 80px 20px;
    margin: 0 auto;
    width: 85%;
    max-width: 1200px;
}

.stages-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.stages-section > p {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 60px auto;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #004a99;
    opacity: 0.1;
}

.stage {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.stage:nth-child(even) {
    justify-content: flex-end;
}

.stage-content {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 15px;
    width: 46%;
    border-left: 5px solid var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

.stage-content:hover {
    transform: translateY(-5px);
}

.stage:nth-child(even) .stage-content {
    border-left: none;
    border-right: 5px solid var(--primary-blue);
}

.stage-content h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    margin-top: 0;
}

.stage-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--grey);
    margin: 10px 0;
}

.stage-content strong {
    color: var(--primary-black);
}

.stage:nth-child(1) .stage-content { animation-delay: 0.4s; }
.stage:nth-child(2) .stage-content { animation-delay: 0.6s; }
.stage:nth-child(3) .stage-content { animation-delay: 0.8s; }
.stage:nth-child(4) .stage-content { animation-delay: 1.0s; }

@media (max-width: 992px) {
    .stages-section { width: 95%; }
    .stage-content { width: 48%; }
}

@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    
    .stage, .stage:nth-child(even) {
        justify-content: flex-start;
        padding-left: 40px;
    }
    
    .stage-content {
        width: 100%;
        border-left: 5px solid var(--primary-blue) !important;
        border-right: none !important;
    }
}