/* old blue #06a3da */

.timeline-wrapper {
    position: relative;
    padding: 18px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #007cba;
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin: 80px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid gray;
    border-radius: 50%;
    z-index: 3;
}

.timeline-content {
    width: 45%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.timeline-text {
    padding: 25px;
}

.timeline-year {
    color: #0d6efd;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.timeline-desc {
    color: #666;
    line-height: 1.6;
}

.timeline-item.reverse .timeline-content {
    margin-left: auto;
}

#timeline{
    /* background-image: url("../img/"); */
    background: linear-gradient(135deg, #ffffff 0%, #e6f7ff 40%, #007cba 100%);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive Design */
@media (max-width: 768px) {

    .timeline-line {
        left: 30px;
        transform: none;
    }

    /* items vertically */
    .timeline-item {
        display: block;
        margin: 40px 0;
        width: 100%;
    }

    .timeline-dot {
        left: 20px;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin: 10px 0 0 60px;
    }

    .timeline-item.reverse .timeline-content {
        margin-left: 60px;
    }
}