.process-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0fdfc 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(43, 144, 142, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.process-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(10, 90, 85, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}


.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-right: 80px;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 35px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        #2B908E 0%, 
        #2B908E 20%, 
        #0A5A55 50%, 
        #0A5A55 80%, 
        #2B908E 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(43, 144, 142, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:hover .timeline-card {
    transform: translateX(-10px);
    box-shadow: 0 15px 40px rgba(43, 144, 142, 0.2);
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(43, 144, 142, 0.4);
}

.timeline-number-wrapper {
    position: relative;
    flex-shrink: 0;
    z-index: 2;
}

.timeline-number-bg {
    position: absolute;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(43, 144, 142, 0.2) 0%, rgba(10, 90, 85, 0.1) 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.timeline-number {
    position: relative;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2B908E 0%, #0A5A55 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(43, 144, 142, 0.3),
                0 0 0 6px #f8f9fa,
                0 0 0 8px rgba(43, 144, 142, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

/* Add accent colors to timeline numbers */
.timeline-item:nth-child(1) .timeline-number {
    background: linear-gradient(135deg, #2B908E 0%, #48CAE4 100%);
}

.timeline-item:nth-child(2) .timeline-number {
    background: linear-gradient(135deg, #2B908E 0%, #023E8A 100%);
}

.timeline-item:nth-child(3) .timeline-number {
    background: linear-gradient(135deg, #2B908E 0%, #0A5A55 100%);
}

.timeline-item:nth-child(4) .timeline-number {
    background: linear-gradient(135deg, #E63946 0%, #2B908E 100%);
}

.timeline-item:nth-child(5) .timeline-number {
    background: linear-gradient(135deg, #48CAE4 0%, #2B908E 100%);
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px 40px;
    border-radius: 16px;
    border: 2px solid rgba(43, 144, 142, 0.1);
    box-shadow: 0 5px 25px rgba(43, 144, 142, 0.1),
                0 0 0 1px rgba(43, 144, 142, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #2B908E, #0A5A55);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-card::before {
    opacity: 1;
}

.timeline-title {
    font-size: 24px;
    font-weight: bold;
    color: #2B908E;
    margin-bottom: 12px;
    line-height: 1.4;
    position: relative;
    padding-right: 15px;
}

.timeline-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #2B908E, #0A5A55);
    border-radius: 50%;
    opacity: 0.6;
}

.timeline-description {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin: 0;
    text-align: justify;
}





/* Responsive Design */
@media (max-width: 968px) {
    
    .process-section {
        padding: 60px 20px;
    }

    .timeline {
        padding-right: 60px;
    }

    .timeline-item {
        gap: 25px;
        margin-bottom: 40px;
    }

    .timeline-card {
        padding: 30px 25px;
    }

}

@media (max-width: 640px) {
    
    .process-section {
        padding: 50px 15px;
    }

    
    .timeline {
        padding-right: 40px;
    }

    .timeline::before {
        right: 20px;
        width: 3px;
    }

    .timeline-item {
        gap: 20px;
        margin-bottom: 35px;
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item:hover .timeline-card {
        transform: none;
    }

    .timeline-number-wrapper {
        align-self: flex-start;
    }

    .timeline-number {
        width: 55px;
        height: 55px;
        font-size: 22px;
        box-shadow: 0 3px 15px rgba(43, 144, 142, 0.3),
                    0 0 0 4px #f8f9fa,
                    0 0 0 6px rgba(43, 144, 142, 0.1);
    }

    .timeline-number-bg {
        width: 55px;
        height: 55px;
    }

    .timeline-content {
        width: 100%;
        padding-top: 0;
        margin-top: -10px;
    }

    .timeline-card {
        padding: 20px;
        border-radius: 12px;
        width: 100%;
    }

    .timeline-title {
        font-size: 18px;
        margin-bottom: 10px;
        padding-right: 12px;
    }

    .timeline-title::before {
        width: 5px;
        height: 5px;
    }

    .timeline-description {
        font-size: 14px;
        line-height: 1.7;
    }

}

@media (max-width: 480px) {

    .timeline {
        padding-right: 35px;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .timeline-number-bg {
        width: 50px;
        height: 50px;
    }

    .timeline-card {
        padding: 18px;
    }

    .timeline-title {
        font-size: 16px;
    }

    .timeline-description {
        font-size: 13px;
    }
}