/* Experience page */

.exp-hero {
    padding: 9rem 0 4rem;
    text-align: center;
    position: relative;
}

.exp-hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    letter-spacing: -0.04em;
    margin: 0.5rem 0 1rem;
}

.exp-hero-desc {
    max-width: 620px;
    margin: 0 auto 2.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.exp-stats {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.exp-stat {
    min-width: 120px;
    padding: 1.25rem 1.5rem;
    border-radius: 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.exp-stat-number {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
}

.exp-stat-value,
.exp-stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.exp-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.exp-section {
    padding: 4rem 0 5rem;
}

.exp-section-alt {
    padding-bottom: 4rem;
}

.exp-section-head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.exp-section-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 43, 0.12);
    color: var(--accent-primary);
    border: 1px solid rgba(255, 107, 43, 0.25);
    flex-shrink: 0;
}

.text-left {
    text-align: left;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
    border-radius: 2px;
    overflow: hidden;
}

.timeline-progress {
    display: block;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-primary), #ff8a5c);
    border-radius: inherit;
    transition: height 0.15s linear;
    box-shadow: 0 0 16px rgba(255, 107, 43, 0.45);
}

.timeline-item {
    position: relative;
    padding: 0 0 2.5rem 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 1.6rem;
    width: 16px;
    height: 16px;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-marker span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 43, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.timeline-item.is-visible .timeline-marker span,
.timeline-item.is-current .timeline-marker span {
    background: var(--accent-primary);
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(255, 107, 43, 0.2), 0 0 20px rgba(255, 107, 43, 0.45);
}

.timeline-card {
    padding: 1.75rem 1.75rem 1.6rem;
    border-radius: 1.5rem;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 43, 0.35);
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent-primary);
    text-transform: uppercase;
}

.timeline-badge {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 107, 43, 0.15);
    color: var(--accent-primary);
    border: 1px solid rgba(255, 107, 43, 0.3);
    animation: badgePulse 2.4s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 43, 0.35); }
    50% { box-shadow: 0 0 0 6px rgba(255, 107, 43, 0); }
}

.timeline-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.timeline-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.timeline-desc {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Education grid */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.edu-card {
    padding: 1.75rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 43, 0.35);
}

.edu-year {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.edu-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.edu-focus {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.edu-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

/* CTA */
.exp-cta-section {
    padding: 2rem 0 6rem;
}

.exp-cta {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 2rem;
}

.exp-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.exp-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.exp-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Reveal animations */
.exp-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i, 0) * 0.08s);
}

.exp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.exp-reveal {
    transform: translateX(-18px) translateY(12px);
}

.timeline-item.exp-reveal.is-visible {
    transform: translateX(0) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .exp-reveal,
    .timeline-item.exp-reveal,
    .timeline-badge,
    .timeline-progress {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 900px) {
    .edu-grid {
        grid-template-columns: 1fr;
    }

    .edu-card:last-child:nth-child(odd) {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .exp-hero {
        padding-top: 7.5rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-card {
        padding: 1.35rem;
    }

    .timeline-title {
        font-size: 1.2rem;
    }

    .exp-section-head {
        align-items: flex-start;
    }
}
