
/* TIMELINE CONTAINER */
.timeline-container {
    max-width: 900px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* TIMELINE ITEM */
.timeline-item {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid var(--frame-border);
}

/* DOT */
.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--text-color);
    border-radius: 50%;
    position: absolute;
    left: -9px;
    top: 4px;
    transition: background 0.4s ease;
}

/* CONTENT CARD */
.timeline-content {
    background: var(--card-bg);
    padding: 25px 30px;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.timeline-content:hover {
    background: var(--card-hover-bg);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-3px);
}

/* TEXT */
.timeline-content h2 {
    margin: 0;
    font-size: 22px;
    color: var(--text-color);
    transition: color 0.4s ease;
}

.exp-role {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--category-color);
    margin-top: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.exp-date {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
    color: var(--text-color);
}

.timeline-content p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.85;
    color: var(--text-color);
    transition: color 0.4s ease;
}

/* MOBILE */
@media (max-width: 850px) {
    .timeline-container {
        padding-left: 110px;
        margin: 40px 20px;
    }
}


/* INITIAL STATE (hidden) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* WHEN VISIBLE */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* OPTIONAL: slight stagger for child content */
.reveal.visible .timeline-content {
    transition-delay: 0.1s;
}


/* Resume CTA inside hero */
.resume-cta {
    display: inline-block;
    margin-top: 25px; /* creates the gap you wanted */
    font-size: 18px;
    color: var(--text-color); /* same color as <p> */
    opacity: 0.85;           /* same subtle tone */
    text-decoration: none;
    font-weight: 400;        /* same weight as <p> */
    padding: 10px 22px;

    border-radius: 12px;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.25s ease,
        opacity 0.3s ease;
}

/* Hover: make it obvious it's a button */
.resume-cta:hover {
    background: var(--card-hover-bg);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-3px);
    opacity: 1; /* brighten slightly */
}


