
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Encode Sans Condensed', Arial, sans-serif;
}
 
html {
    scroll-behavior: smooth;
}
 
body {
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(0, 0, 77, 1) 51%, rgba(3, 0, 48, 1) 100%);
    color: white;
    min-height: 100%;
    overflow-x: hidden;
}
 
a {
    color: inherit;
    text-decoration: none;
}
 
.timeline-hero {
    padding: clamp(120px, 90px + 8vw, 180px) 6% clamp(70px, 50px + 4vw, 110px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
}
 
.timeline-hero-eyebrow {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.75;
    animation: fadeInUp 0.7s ease both;
}
 
.timeline-hero-title {
    font-size: clamp(40px, 3vw + 26px, 68px);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    animation: fadeInUp 0.8s ease 0.1s both;
}
 
.timeline-hero-sub {
    max-width: 620px;
    line-height: 1.8;
    opacity: 0.85;
    animation: fadeInUp 0.8s ease 0.2s both;
}
 
.scroll-cue {
    margin-top: 30px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite, fadeInUp 0.8s ease 0.3s both;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
 
.scroll-cue:hover {
    border-color: white;
    transform: scale(1.08);
}
 
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
 
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
 

.timeline-section {
    position: relative;
    padding: 20px 6% clamp(80px, 60px + 4vw, 140px);
    max-width: 1100px;
    margin: 0 auto;
}
 

.timeline-track {
    position: absolute;
    top: 0;
    bottom: 90px;
    left: 50%;
    width: 3px;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-50%);
    border-radius: 3px;
}
 
.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.35));
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    transition: height 0.15s ease-out;
}
 
.timeline-list {
    list-style: none;
    position: relative;
}
 
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 50px clamp(50px, 40px + 2vw, 80px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1);
}
 
.timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}
 
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
 
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
 
.timeline-item:nth-child(odd).in-view { transform: translateX(0); }
.timeline-item:nth-child(even).in-view { transform: translateX(0); }
 
.timeline-item:nth-child(odd):not(.in-view) { transform: translate(-24px, 20px); }
.timeline-item:nth-child(even):not(.in-view) { transform: translate(24px, 20px); }
 

.timeline-dot {
    position: absolute;
    top: 4px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #020024;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
 
.timeline-item:nth-child(odd) .timeline-dot { right: -23px; }
.timeline-item:nth-child(even) .timeline-dot { left: -23px; }
 
.timeline-dot .material-icons {
    font-size: 20px;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}
 
.timeline-item.in-view .timeline-dot {
    border-color: white;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 0 16px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}
 
.timeline-item.in-view .timeline-dot .material-icons {
    opacity: 1;
}
 

.timeline-card {
    display: inline-block;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 22px 26px;
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
 
.timeline-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
 
.timeline-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
    filter: saturate(0.85) brightness(0.95);
    transition: filter 0.3s ease, transform 0.3s ease;
}
 
.timeline-card:hover img {
    filter: saturate(1) brightness(1.05);
    transform: scale(1.02);
}
 
.timeline-year {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #414141;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 14px rgba(65, 65, 65, 0.6);
    margin-bottom: 10px;
}
 
.timeline-card h2 {
    font-size: clamp(19px, 0.6vw + 16px, 23px);
    margin-bottom: 8px;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}
 
.timeline-card p {
    font-size: 14.5px;
    line-height: 1.7;
    opacity: 0.85;
    text-align: left;
}


.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #414141;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 5px 20px rgba(65, 65, 65, 0.7);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
    z-index: 900;
}
 
.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
 
.back-to-top:hover {
    background: #5a5a5a;
}
 
@media (min-width: 1025px) and (max-width: 1400px) {
    .timeline-card {
        max-width: 360px;
    }
}
 
@media (max-width: 1024px) {
    .timeline-track {
        left: 22px;
    }
 
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 0 0 clamp(40px, 32px + 2vw, 60px) 60px;
    }
 
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
        right: auto;
    }
 
    .timeline-item:nth-child(odd):not(.in-view),
    .timeline-item:nth-child(even):not(.in-view) {
        transform: translate(0, 20px);
    }
 
    .timeline-card {
        max-width: 100%;
    }
 
    .timeline-card p {
        text-align: left;
    }
}
 
@media (max-width: 560px) {
    .timeline-hero {
        padding-left: 5%;
        padding-right: 5%;
    }
 
    .timeline-dot {
        width: 38px;
        height: 38px;
    }
 
    .timeline-dot .material-icons {
        font-size: 17px;
    }
}