section {
    padding: 100px 0;
}

@media (max-width:767px) {
    section {
        padding: 40px 0;
    }
}

.timeline-section {
    padding: 6rem 0;
}

.timeline-modern {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.timeline-modern::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom,
            rgba(40, 93, 168, 0.2),
            rgba(40, 93, 168, 0.6));
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
}

.timeline-step.left {
    left: 0;
    text-align: right;
}

.timeline-step.right {
    left: 50%;
    text-align: left;
}

.timeline-step::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(40, 93, 168, 0.15);
}

.timeline-step.left::before {
    right: -8px;
}

.timeline-step.right::before {
    left: -8px;
}

.timeline-year {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.timeline-content h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .timeline-modern::before {
        left: 8px;
    }

    .timeline-step {
        width: 100%;
        padding-left: 3rem;
        padding-right: 1rem;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-step::before {
        left: 0;
        right: auto;
    }
}