/* ============================================= */
/* ========== PROFESSIONAL EXPERIENCE ========== */
/* ============================================= */

.experience-section {
    padding: 100px 8%;

    background: #101014;
    color: #ffffff;
}

.experience-section h2 {
    max-width: 900px;

    margin-bottom: 24px;

    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.1;
    letter-spacing: -0.04em;
}

.experience-lead {
    max-width: 850px;

    margin-bottom: 60px;

    color: #c7c7d1;

    font-size: 1.1rem;
    line-height: 1.8;
}


/* ============================================= */
/* =============== TIMELINE ==================== */
/* ============================================= */

.experience-timeline {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 28px;
}

.experience-timeline::before {
    content: "";

    position: absolute;

    left: 160px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: rgba(255, 255, 255, 0.08);
}


/* ============================================= */
/* ============ EXPERIENCE CARD ================ */
/* ============================================= */

.experience-card {
    position: relative;

    display: grid;
    grid-template-columns: 130px 1fr;

    gap: 40px;

    align-items: flex-start;
}

.experience-card::before {
    content: "";

    position: absolute;

    left: 154px;
    top: 10px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #a78bfa;

    box-shadow: 0 0 0 6px rgba(167, 139, 250, 0.12);
}


/* ============================================= */
/* =============== DATE ======================== */
/* ============================================= */

.experience-date {
    padding-top: 2px;

    color: #a78bfa;

    font-size: 0.92rem;
    font-weight: 700;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* ============================================= */
/* ============== CONTENT ====================== */
/* ============================================= */

.experience-content {
    padding: 30px;

    border-radius: 28px;

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.experience-content:hover {
    transform: translateY(-4px);

    border-color: rgba(167, 139, 250, 0.4);
}

.experience-content h3 {
    margin-bottom: 8px;

    font-size: 1.45rem;
}

.experience-company {
    margin-bottom: 18px;

    color: #d8ccff;

    font-weight: 600;
}

.experience-content p {
    color: #c7c7d1;

    line-height: 1.8;
}


/* ============================================= */
/* ================ TAGS ======================= */
/* ============================================= */

.experience-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
}

.experience-tags span {
    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(167, 139, 250, 0.12);

    border: 1px solid rgba(167, 139, 250, 0.2);

    color: #d8ccff;

    font-size: 0.85rem;
}


/* ============================================= */
/* ============== RESPONSIVE =================== */
/* ============================================= */

@media (max-width: 900px) {

    .experience-timeline::before {
        display: none;
    }

    .experience-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .experience-card::before {
        display: none;
    }

    .experience-date {
        margin-bottom: 4px;
    }
}

@media (max-width: 768px) {

    .experience-section {
        padding: 80px 24px;
    }

    .experience-content {
        padding: 24px;
    }
}