body {
    font-family: 'Roboto', sans-serif;
}

.section-title {
    font-weight: 700;
    color: #0d6efd;
}

/* --- CSS ĐÃ SỬA LỖI HOÀN CHỈNH CHO TIMELINE --- */
.head-timeline-container {
    position: relative;
    margin-top: 120px;
}

/* Hàng chứa đường kẻ và các mốc năm */
.timeline-axis-row {
    position: relative;
    /* Vẽ đường kẻ nét đứt ở nền */
    background-image: linear-gradient(to right, #0d6efd 50%, transparent 50%);
    background-size: 12px 3px;
    background-repeat: repeat-x;
    background-position: center;
    height: 2rem;
    /* Chiều cao để căn giữa đường kẻ */
}

.timeline-years {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.timeline-year {
    background-color: #fff;
    /* Nền trắng để che đường kẻ phía sau */
    padding: 0 0.5rem;
    /* Tạo khoảng trống hai bên chữ */
    background-color: var(--accent-orange);
    color: white;
    border-radius: 50px;
    padding: 0.25rem 1rem;
    font-weight: 500;
}

/* Hàng chứa ảnh đại diện */
.timeline-avatars-row {
    margin-top: -85px;
    /* Kéo hàng ảnh lên trên */
}

.timeline-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #0d6efd;
    background-color: white;
    transition: transform 0.3s ease-in-out;
}

.timeline-avatar img[alt$='Đồng Thị Bích Thủy'] {
    border: 5px solid black;
}

.timeline-avatar:hover {
    z-index: 10;
    /* Đưa cả card lên trên các card khác */
}

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

}

/* Hàng chứa tên */
.timeline-names-row {
    margin-top: -15px;
    /* Kéo hàng tên lên gần đường kẻ */
}

.timeline-name .title {
    font-weight: 500;
    margin-top: 0.5rem;
}


.research-quote {
    border-left: 4px solid #0d6efd;
    padding-left: 1.5rem;
    background-color: #f8f9fa;
    font-style: italic;
}

.mobile-timeline {
    display: none;
}

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

    .mobile-timeline {
        display: block;
    }

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