* -------------------- GENERAL -------------------- */ body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f9f9f9;
    color: #333;
}

body,
button,
input,
select,
textarea {
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
    font-weight: 600;
}

.btn,
.learn-more-btn {
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
    font-weight: 600;
}

/* ======================================================
   BANNER
   ====================================================== */
.lis-mv-banner {
    position: relative;
    height: 400px;
    background-image: url('../img/banners/about.jpg');
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center 45%;
    background-repeat: no-repeat;
    background-size: cover;

}


.lis-mv-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(122, 105, 189, 0.65),
            rgba(46, 115, 185, 0.65));
}

.lis-mv-banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.lis-mv-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.35));
    z-index: 1;
}

@media (max-width: 768px) {
    .lis-mv-banner {
        height: 220px;
        background-position: center 30%;
    }
}


/* ==================== HISTORY SECTION ==================== */
.history-section {
    padding: 90px 20px;
    background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
    overflow: hidden;
}

/* ==================== TITLE ==================== */
.section-title {
    font-size: 2.7rem;
    font-weight: 700;
    color: #2e73b9;
    text-align: center;
    margin-bottom: 100px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 4px;
    background: #2e73b9;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    border-radius: 4px;
}

/* ==================== TIMELINE ==================== */
.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Animated gradient spine */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #9dc4f3, #2e73b9, #154075);
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;
    border-radius: 6px;
}

@keyframes gradientMove {
    0% {
        background-position: 50% 0%;
    }

    50% {
        background-position: 50% 100%;
    }

    100% {
        background-position: 50% 0%;
    }
}

/* ==================== TIMELINE ITEM ==================== */
.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 120px;
    gap: 40px;
    position: relative;

    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Node */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    background: #2e73b9;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 0 0 6px rgba(46, 115, 185, .15),
        0 14px 34px rgba(46, 115, 185, .35);
}

/* Year badge */
.year-badge {
    position: absolute;
    left: 50%;
    top: calc(50% - 44px);
    transform: translateX(-50%);
    background: #2e73b9;
    color: #fff;
    padding: 6px 14px;
    font-weight: 700;
    font-size: .9rem;
    border-radius: 999px;
    z-index: 4;
    box-shadow: 0 8px 20px rgba(46, 115, 185, .4);
}

/* ==================== CONTENT ==================== */
.timeline-content {
    width: 45%;
    background: #fff;
    padding: 34px 36px;
    border-radius: 18px;
    border-left: 5px solid #2e73b9;

    box-shadow:
        0 14px 40px rgba(46, 115, 185, .25),
        0 0 0 1px rgba(46, 115, 185, .08);

    transition: transform .3s ease;
}

.timeline-content:hover {
    transform: translateY(-6px);
}

/* ==================== IMAGE ==================== */
.timeline-image {
    width: 45%;
    border-radius: 18px;
    overflow: hidden;
}

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

/* Zigzag */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* ==================== MOBILE ==================== */
@media (max-width: 991px) {
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 14px;
        transform: none;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .timeline-item::before,
    .year-badge {
        left: 14px;
        transform: none;
    }

    .timeline-content,
    .timeline-image {
        width: 100%;
    }
}