/* ==============================================
   EXPERIENCE & EDUCATION PAGE
   ============================================== */

.exp-edu-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: start;
}

/* ── Column Headers ───────────────────────────── */
.col-header {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-8);
    padding-bottom: var(--sp-5);
    border-bottom: 2px solid var(--border);
}
.col-header__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}
.col-header__title {
    font-size: var(--text-2xl);
    color: var(--text-primary);
}
.col-header__subtitle {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
    margin-top: var(--sp-1);
}

/* ── Education Cards ──────────────────────────── */
.edu-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}
.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-5) var(--sp-6);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.edu-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.edu-card__degree {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-1);
}
.edu-card__institution {
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--sp-2);
}
[data-theme="dark"] .edu-card__institution { color: var(--primary); }
.edu-card__year {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-subtle);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
}
[data-theme="dark"] .edu-card__year { background: rgba(196,154,42,0.15); }

/* ── Experience Timeline ──────────────────────── */
.exp-timeline {
    position: relative;
    padding-left: var(--sp-8);
}
.exp-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}
.exp-item {
    position: relative;
    margin-bottom: var(--sp-6);
}
.exp-item:last-child { margin-bottom: 0; }

/* Timeline dot */
.exp-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--sp-8) + 7px);
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 3px solid var(--accent);
    z-index: 1;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.exp-item:first-child::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(196, 154, 42, 0.2);
}

.exp-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-5) var(--sp-6);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.exp-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.exp-card__role {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--sp-1);
}
.exp-card__org {
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--sp-2);
}
.exp-card__period {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-family: var(--font-body);
}
.exp-card__period i { color: var(--accent); font-size: 0.75em; }
.exp-card__current {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: #047857;
    background: #ECFDF5;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    margin-left: var(--sp-2);
    font-family: var(--font-body);
    vertical-align: middle;
}
[data-theme="dark"] .exp-card__current { background: #064E3B; color: #6EE7B7; }

.exp-card__desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: var(--sp-3);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--border);
}

/* ── Expertise Tags ───────────────────────────── */
.expertise-section { margin-top: var(--sp-16); }
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    justify-content: center;
}
.expertise-tag {
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    transition: all var(--transition-fast);
}
.expertise-tag:hover {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

@media (max-width: 900px) {
    .exp-edu-layout { grid-template-columns: 1fr; gap: var(--sp-10); }
}
