.timeline-container {
    overflow: hidden;
}

.timeline {
    position: relative;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    height: calc(100% - 40px);
    top: 95px;
}

.section-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.section-header i {
    margin-left: 15px;
}

.section-header h2 {
    font-weight: 600;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-icon {
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.05);
}

.timeline-content {
    flex: 1;
}

.timeline-item:hover {
    border-radius: 20px !important;
}

.title-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.year {
    font-weight: 600;
    order: 2;
}

.title {
    font-weight: 600;
    order: 1;
}

.organization {
    display: flex;
    align-items: center;
    width: 100%;
}

.description {
    line-height: 1.5;
}

@media (max-width: 768px) {
    .timeline::before {
        right: 25px;
    }
    .section-header {
        padding: 20px 20px 12px;
    }
    .section-header h2 {
        font-size: 1.3rem;
    }
    .timeline-item {
        padding: 20px 20px;
    }
    .timeline-icon {
        width: 40px;
        height: 40px;
        margin-left: 15px;
    }
    .title {
        font-size: 1.1rem;
    }
    .title-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}