.history-banner {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.history-title {
    color: #fff;
    text-shadow: 0 2px 16px #0056b3, 0 1.5px 6px #51d88a;
    font-weight: 700;
    letter-spacing: 1px;
}

.timeline {
    position: relative;
    margin: 3rem 0 2rem 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #51d88a 0%, #0056b3 100%);
    border-radius: 2px;
}

.timeline-event {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 60px;
    cursor: pointer;
    transition: background 0.2s;
}

.timeline-dot {
    position: absolute;
    left: -2px;
    top: 11px;
    width: 30px;
    height: 30px;
    background: #51d88a;
    border: 4px solid #51d88a;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.08);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.timeline-event.active .timeline-dot,
.timeline-event:hover .timeline-dot {
    border-color: #0056b3;
    background: #0056b3;
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.18);
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.timeline-event.active .timeline-year,
.timeline-event:hover .timeline-year {
    color: #51d88a;
}

.timeline-img {
    width: 170px;
    height: 100px;
    object-fit: cover;
    border-radius: 1rem;
    border: 3px solid #51d88a;
    margin-bottom: 0.5rem;
    background: #fff;
    transition: border-color 0.2s, transform 0.2s;
}

.timeline-event.active .timeline-img,
.timeline-event:hover .timeline-img {
    border-color: #0056b3;
    transform: scale(1.07) rotate(-2deg);
}

.timeline-desc {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 16px 0 rgba(0, 86, 179, 0.07), 0 1.5px 6px 0 rgba(81, 216, 138, 0.08);
    padding: 1rem 1.5rem;
    margin-left: 10px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.timeline-event.active .timeline-desc {
    display: block;
    opacity: 1;
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {
    .timeline {
        padding-left: 18px;
    }

    .timeline-event {
        padding-left: 40px;
    }

    .timeline-dot {
        left: 2px;
        width: 18px;
        height: 18px;
        top: 14px;
    }

    .timeline-img {
        width: 60px;
        height: 60px;
    }

    .timeline-desc {
        padding: 0.75rem 1rem;
    }
}


.first-para {
    font-size: 18px;
    text-align: justify;
}