.timeline-container {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.timeline-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.timeline-svg path {
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 4;
}

.timeline-axis {
    position: relative;
    height: 1000px;
}

.timeline-axis::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 90px;
    bottom: 0;
    width: 3px;
    background-image: linear-gradient(to bottom, #0d6efd 2px, transparent 2px);
    background-size: 100% 8px;
    transform: translateX(-50%);
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    color: white;
    padding: 4px 12px;
    border-radius: 1rem;
    font-weight: 700;
}

.year-1995 {
    top: 60px;
}

.year-2000 {
    top: 200px;
}

.year-2003 {
    top: 310px;
}

.year-2006 {
    top: 420px;
}

.year-2007 {
    top: 480px;
}

.year-2016 {
    top: 700px;
}

.year-nay {
    top: 1000px;
}

.person-card {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1;
    position: relative;
    cursor: pointer;
}

.person-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #0d6efd;
    transition: transform 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}

.vice-person-1 img {
    border: 3px solid black;
}

/* THAY ĐỔI TỈ LỆ PHÓNG TO TẠI ĐÂY */
/* 1. Nâng z-index của TOÀN BỘ card khi hover */
.person-card:hover {
    z-index: 10;
    /* Đưa cả card lên trên các card khác */
}

.person-card:hover img {
    transform: scale(2.0);
    /* Phóng to gấp đôi (200%) khi hover */

}

.person-info h6 {
    font-weight: 700;
    margin-bottom: 0;
}

.person-info p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

.deans {
    text-align: right;
}

.deans .person-card {
    flex-direction: row-reverse;
}

.vice-deans {
    text-align: left;
}

.vice-deans .person-card {
    flex-direction: row;
}

.person-1 {
    margin-top: 60px;
}

.person-2 {
    margin-top: 150px;
}

.person-3 {
    margin-top: 120px;
}

.person-4 {
    margin-top: 95px;
}

.vice-person-1 {
    margin-top: 60px;
}

.vice-person-2 {
    margin-top: 45px;
}

.vice-person-3 {
    margin-top: 10px;
}

.vice-person-4 {
    margin-top: 10px;
}

.vice-person-5 {
    margin-top: 10px;
}

.vice-person-6 {
    margin-top: 10px;
}

.vice-person-7,
.vice-person-8,
.vice-person-9 {
    margin-top: 10px;
}

.mobile-timeline {
    display: none;
}

@media (max-width: 991.98px) {
    .desktop-timeline {
        display: none;
    }

    .mobile-timeline {
        display: block;
    }

    .mobile-person {
        border-left: 3px solid #0d6efd;
        padding-left: 1rem;
        margin-bottom: 1.5rem;
    }
}