/* ============================================================
   COMPANY JOURNEY & TIMELINE — timeline.css
   ============================================================ */

#journey {
    background: var(--offwhite);
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

.timeline-wrap {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

/* The vertical thread */
.timeline-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, var(--sky), var(--blue), var(--navy));
    transform: translateX(-50%);
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 30px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--sky);
    transition: var(--transition);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sky);
}

/* The node points */
.timeline-node {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--sky);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(0, 180, 255, 0.1);
}

.timeline-item:hover .timeline-node {
    background: var(--sky);
    box-shadow: 0 0 0 10px rgba(0, 180, 255, 0.2);
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.timeline-content p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline-client {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sky);
    background: var(--sky-light);
    padding: 4px 12px;
    border-radius: 100px;
}

/* ━━ FUTURE HORIZONS SECTION ━━ */
#future {
    background: var(--navy);
    color: white;
    padding: var(--section-py) 0;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.future-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 180, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.future-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--sky);
}

.future-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--sky);
    transform: scale(1.02);
}

.future-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: var(--sky);
    color: var(--navy);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.future-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.future-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.future-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.future-meta span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sky);
}

/* ━━ RESPONSIVE ━━ */
@media (max-width: 768px) {
    .timeline-wrap::before {
        left: 30px;
    }

    .timeline-node {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        text-align: left !important;
    }
}