/* experience page styles. Extracted from experience.blade.php. */

/* =====================================================
   EXPERIENCE PAGE — Page Specific Styles
   ===================================================== */
.h-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--h-card-shadow);
}
.h-hero__stat { text-align: center; padding: 0 4px; }
.h-hero__stat strong {
    display: block;
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.h-hero__stat span {
    display: block;
    font-size: 11.5px; font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase; letter-spacing: 0.08em;
}
@media (max-width: 640px) {
    .h-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; padding: 22px 12px; }
}

/* =====================================================
   2. TIMELINE
   ===================================================== */
.h-tl { position: relative; padding-left: 38px; max-width: 920px; margin: 0 auto; }
[dir="rtl"] .h-tl { padding-left: 0; padding-right: 38px; }
.h-tl::before {
    content: '';
    position: absolute;
    top: 10px; bottom: 10px;
    left: 11px; width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light) 70%, transparent);
}
[dir="rtl"] .h-tl::before { left: auto; right: 11px; }
.h-tl__item { position: relative; padding-bottom: 32px; }
.h-tl__item:last-child { padding-bottom: 0; }
.h-tl__dot {
    position: absolute;
    top: 28px;
    left: -38px;
    width: 24px; height: 24px;
    background: var(--bg-white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}
[dir="rtl"] .h-tl__dot { left: auto; right: -38px; }
.h-tl__dot--current {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(59,130,246,.22), 0 0 0 10px rgba(59,130,246,.08);
    animation: h-tl-pulse 2s ease-in-out infinite;
}
@keyframes h-tl-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(59,130,246,.22), 0 0 0 10px rgba(59,130,246,.08); }
    50% { box-shadow: 0 0 0 4px rgba(59,130,246,.32), 0 0 0 16px rgba(59,130,246,.0); }
}

.h-tl__card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 26px 30px;
    box-shadow: var(--h-card-shadow);
    transition: all .3s var(--h-ease);
}
.h-tl__card:hover { transform: translateY(-2px); box-shadow: var(--h-card-shadow-hover); border-color: rgba(59,130,246,.35); }

.h-tl__head {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px; flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}
.h-tl__head-main { flex-grow: 1; min-width: 0; }
.h-tl__role { font-size: 19px; font-weight: 700; color: var(--text-dark); margin: 0 0 6px; line-height: 1.3; }
.h-tl__company { font-size: 14px; color: var(--text-medium); margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.5; }
.h-tl__company i { color: var(--primary); font-size: 12px; }
.h-tl__company strong { color: var(--text-dark); font-weight: 700; }
.h-tl__type {
    padding: 2px 8px;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 11px; font-weight: 600;
}

.h-tl__date {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    background: rgba(59,130,246,.08);
    color: var(--primary);
    border-radius: 999px;
    font-size: 12.5px; font-weight: 600;
    white-space: nowrap;
}
.h-tl__date i { font-size: 11px; }
.h-tl__date--current {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}
.h-tl__pulse {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255,255,255,.35);
    animation: h-tl-dot-pulse 1.4s ease-in-out infinite;
}
@keyframes h-tl-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
    50% { box-shadow: 0 0 0 6px rgba(255,255,255,.0); }
}

.h-tl__resp { display: flex; flex-direction: column; gap: 12px; }
.h-tl__resp-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 700;
    color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.08em;
}
.h-tl__resp-label i { font-size: 12px; }

.h-tl__list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.h-tl__list li {
    display: flex; align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-medium);
}
.h-tl__list i {
    color: var(--primary);
    font-size: 11px;
    margin-top: 7px;
    flex-shrink: 0;
}
@media (max-width: 540px) {
    .h-tl { padding-left: 24px; }
    [dir="rtl"] .h-tl { padding-left: 0; padding-right: 24px; }
    .h-tl__dot { left: -24px; width: 18px; height: 18px; }
    [dir="rtl"] .h-tl__dot { left: auto; right: -24px; }
    .h-tl::before { left: 8px; }
    [dir="rtl"] .h-tl::before { left: auto; right: 8px; }
    .h-tl__card { padding: 20px 22px; }
    .h-tl__role { font-size: 17px; }
    .h-tl__list li { font-size: 14px; }
}

/* Empty state */
.h-empty {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-white);
    border: 2px dashed var(--border-light);
    border-radius: 20px;
}
.h-empty__icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
}
