/* =========================================================
   JOURNEY TIMELINE CSS — Unified Fonts, Fixed Spacing
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1650;
    --navy-deep: #07091A;
    --gold: #FFD700;
    --gold-soft: #FFE44A;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--navy-deep);
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

.journey-section {
    padding: 130px 0 60px !important; /* Top padding clears floating menu */
    background: var(--navy-deep);
}

/* Offset Clearance for Floating Right Side Buttons */
.journey-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 75px 0 20px !important;
}

/* --- Section Header --- */
.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-family: var(--font-heading) !important;
    font-size: 32px;
    font-weight: 700 !important;
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.section-title p {
    font-family: var(--font-body) !important;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

/* --- Timeline Main Axis --- */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-soft), rgba(255, 215, 0, 0.2));
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* --- Timeline Item Block --- */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

/* --- Year Badge --- */
.year {
    position: absolute;
    top: 18px;
    right: -40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--navy-deep);
    padding: 6px 16px;
    border-radius: 30px;
    font-family: var(--font-heading) !important;
    font-weight: 700;
    font-size: 12.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.35);
}

.timeline-item.right .year {
    left: -40px;
    right: auto;
}

/* --- Card Content --- */
.timeline-content {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
}

.timeline-content.full-width-text {
    display: block;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

/* Left Accent Line */
.timeline-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-soft));
}

/* --- Text Formatting --- */
.timeline-text h3 {
    font-family: var(--font-heading) !important;
    color: var(--gold);
    font-size: 16px;
    font-weight: 700 !important;
    line-height: 1.3;
    margin-bottom: 8px;
}

.timeline-text p {
    font-family: var(--font-body) !important;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 8px;
}

.timeline-text p b {
    color: #fff;
    font-weight: 600;
}

.timeline-text .stats {
    font-family: var(--font-body) !important;
    font-size: 12.5px;
    color: var(--gold-soft);
    font-weight: 500;
    margin-bottom: 0;
}

.timeline-text .stats b {
    color: var(--gold);
    font-weight: 700;
}

.timeline-text .stats .sep {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

/* --- Image Styling --- */
.timeline-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    transition: transform .35s ease;
}

.timeline-content:hover .timeline-img img {
    transform: scale(1.02);
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================= */

@media (max-width: 1024px) {
    .timeline-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .journey-container {
        padding-right: 20px !important;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding-left: 55px;
        padding-right: 15px;
    }

    .year {
        left: 0 !important;
        right: auto;
        top: 15px;
    }

    .section-title h2 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .journey-section {
        padding: 110px 0 40px !important;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .timeline-content {
        padding: 16px;
    }

    .timeline-text h3 {
        font-size: 15px;
    }

    .timeline-img img {
        height: 140px;
    }
}