
.timeline.map-info {
    padding: 90px 0 110px;
    position: relative;
}

.timeline .container {
    width: min(1100px, 92vw);
    margin: 0 auto;
    position: relative;
}
.img-fluid.maplogo {
  max-width: 80px;
  margin: 10px 0;
}

.timeline .timelineRail {
    position: absolute;
    top: 300px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(197, 202, 233, 0.65),
        rgba(63, 81, 181, 0.25)
    );
    box-shadow: 0 0 0 6px rgba(197, 202, 233, 0.12);
}

.timeline .timelineItem {
    position: relative;
    width: 100%;
    margin: 0 0 70px;
    display: flex;
    justify-content: flex-start;
}

.timeline .timelineItem.right {
    justify-content: flex-end;
}

.timeline .timelineDot {
    width: 28px;
    height: 28px;
    background: #9b6b3e;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 28px;
    box-shadow: 0 0 0 6px rgba(197, 202, 233, 0.35),
        0 18px 40px rgba(63, 81, 181, 0.25);
}

.timeline .card {
    width: min(520px, 92%);
    background: #fff;
    border-radius: 15px;
    box-shadow: ;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.timeline .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 38px -18px rgba(0, 0, 0, 0.42);
}

.timeline .cardTop {
    position: relative;
}

.timeline .imgWrap {
    width: 100%;
    height: 250px;
    background: linear-gradient(
        135deg,
        rgba(63, 81, 181, 0.12),
        rgba(255, 64, 129, 0.08)
    );
    overflow: hidden;
}

.timeline .imgWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.timeline .card:hover .imgWrap img {
    transform: scale(1.06);
}

.timeline .cardTop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.2)
    );
    pointer-events: none;
}

.timeline .date {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #000;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.3px; font-size: 16px;
    box-shadow: 0 14px 28px rgba(255, 64, 129, 0.25);
}

.timeline .cardBody {
    padding: 18px 18px 16px;
}

.timeline .cardBody h2 {
    font-size: 22px; 
    margin-bottom: 8px; color: #051936;
}

.timeline .cardBody p {
    color: #ddd;
    line-height: 1.65;
    margin-bottom: 12px;
}

.timeline .meta {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.timeline .meta li {
    position: relative;
    padding-left: 18px;
    color: rgba(33, 33, 33, 0.82);
    font-size: 14px;
}

.timeline .meta li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(63, 81, 181, 0.85);
    position: absolute;
    left: 0;
    top: 7px;
}


.pulse {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(63, 81, 181, 0.85);
    box-shadow: 0 0 0 0 rgba(63, 81, 181, 0.35);
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(63, 81, 181, 0.35);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(63, 81, 181, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(63, 81, 181, 0);
    }
}

/* reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.left {
    transform: translate(-56px, 16px);
}
.reveal.right {
    transform: translate(56px, 16px);
}

.reveal.show {
    opacity: 1;
    transform: translate(0, 0);
}

/* little arrow pointers like classic timeline */
.timeline .timelineItem.left .card::after,
.timeline .timelineItem.right .card::after {
    content: "";
    position: absolute;
    top: 36px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline .timelineItem.left .card::after {
    right: -14px;
    border-width: 10px 0 10px 14px;
    border-color: transparent transparent transparent var(--surface);
    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.15));
}

.timeline .timelineItem.right .card::after {
    left: -14px;
    border-width: 10px 14px 10px 0;
    border-color: transparent var(--surface) transparent transparent;
    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.15));
}


.toTop.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toTop:hover {
    transform: translateY(-2px);
}

/* responsive */
@media (max-width: 840px) {
 .timeline .timelineRail {
        left: 44px;
        transform: none;
    }
    .timeline .timelineDot {
        left: 44px;
        transform: none;
    }

    .timeline .timelineItem {
        justify-content: flex-start !important;
    }

    .timeline .card {
        width: calc(100% - 74px);
        margin-left: 74px;
    }

    .timeline .timelineItem.left .card::after,
    .timeline .timelineItem.right .card::after {
        left: -14px;
        right: auto;
        border-width: 10px 14px 10px 0;
        border-color: #F38D4B;
    }
}