.scroll-timeline {
    padding: 4rem 0;
}

.scroll-timeline .main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header - Title and Subtitle */
.scroll-timeline h2 {
    font-size: 5.8rem;
    line-height: 100%;
    font-weight: 900;
    color: #1E3480;
    margin: 0 0 1rem 0;
    text-align: center;
}

.scroll-timeline > .main-wrapper > p {
    font-size: 1.8rem;
    color: #1E3480;
    text-align: center;
    margin: 0 0 4rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Container */
.scroll-timeline__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Central Timeline Line */
.scroll-timeline__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #1E3480;
    transform: translateX(-50%);
    z-index: 1;
}

/* Timeline Items */
.scroll-timeline__item {
    position: relative;
    display: flex;
    flex-direction: column;
    /* margin-bottom: 4rem; */
    padding: 2rem;
}

/* Checkpoint Circles */
.scroll-timeline__item::before {
    content: '';
    position: absolute;
    top: 2rem;
    width: 10px;
    height: 10px;
    background: #1E3480;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Right side items (odd - 1st, 3rd, 5th...) */
.scroll-timeline__item:nth-child(odd) {
    margin-left: 55%;
    width: 44%;
}

.scroll-timeline__item:nth-child(odd)::before {
    left: -45px; /* Move more to the left to center on timeline */
}

/* Left side items (even - 2nd, 4th, 6th...) */
.scroll-timeline__item:nth-child(even) {
    margin-right: 55%;
    text-align: right;
    width: 38%;
}

.scroll-timeline__item:nth-child(even)::before {
    right: -60px; /* Move more to the left to center on timeline */
}

/* Timeline Item Content */
.scroll-timeline__item h3 {
    font-size: 2.8rem;
    line-height: 120%;
    font-weight: 700;
    color: #1E3480;
    margin: 0 0 0.5rem 0;
}

.scroll-timeline__item p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 150%;
    color: #1E3480;
    margin: 0;
}

/* Active Timeline Items */
.scroll-timeline__item.timeline-item-active::before {
    background: #FBD723;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {
    .scroll-timeline__item:nth-child(odd) {
        width: 45%;
    }
}

@media (max-width: 1024px) {
    .scroll-timeline__item:nth-child(odd) {
        width: 35%;
    }
}

@media (max-width: 768px) {

    .scroll-timeline h2 {
        text-align: left;
    }
    
    .scroll-timeline > .main-wrapper > p {
        text-align: left;
    }

    .scroll-timeline__item:nth-child(even) {
        text-align: left;
    }


    .scroll-timeline h2 {
        font-size: 4rem;
        line-height: 100%;
    }

    .scroll-timeline > .main-wrapper > p {
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }

    /* Mobile Timeline - Single Column */
    .scroll-timeline__timeline::before {
        left: 5px;
    }

    .scroll-timeline__item {
        width: auto;
        margin-left: 15px !important;
        margin-right: 0 !important;
        margin-bottom: 3rem;
    }

    .scroll-timeline__item::before {
        left: -15px !important;
        right: auto !important;
    }

    .scroll-timeline__item h3 {
        font-size: 2rem;
    }

    .scroll-timeline__item p {
        font-size: 1.4rem;
    }
}