/* ── Experience / Mission Log ─────────────────────────────────────────────── */

.experience {
    position: relative;
    background: #030d1a;
    padding: 100px 40px;
    overflow: hidden;
}

.experience__bg-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 15% 30%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 70%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 15%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 25% 50%, rgba(191,0,255,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 80%, rgba(2,150,169,0.3) 0%, transparent 100%);
    pointer-events: none;
}

.experience__content {
    position: relative;
    z-index: 1;
    max-width: 1060px;
    margin: 0 auto;
}

.experience__title {
    font-size: clamp(28px, 4vw, 48px);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 80px;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Timeline */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgb(2, 150, 169), transparent);
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr auto 1.4fr;
    align-items: center;
    gap: 32px;
    margin-bottom: 80px;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__item--left .timeline__phase {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
}

.timeline__item--left .timeline__card {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.timeline__item--left .timeline__node {
    grid-column: 2;
    grid-row: 1;
}

.timeline__item--right .timeline__phase {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.timeline__item--right .timeline__card {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
}

.timeline__item--right .timeline__node {
    grid-column: 2;
    grid-row: 1;
}

.timeline__node {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgb(2, 150, 169);
    border: 2px solid #030d1a;
    box-shadow: 0 0 12px rgba(2, 150, 169, 0.8), 0 0 24px rgba(2, 150, 169, 0.4);
    flex-shrink: 0;
}

.timeline__phase {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline__card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(2, 150, 169, 0.2);
    border-radius: 12px;
    padding: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease;
}

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

.timeline__card:hover {
    border-color: rgba(2, 150, 169, 0.5);
}

.timeline__role {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.timeline__company {
    font-size: 12px;
    color: rgb(2, 150, 169);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.timeline__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

@media (max-width: 640px) {
    .timeline::before { display: none; }

    .timeline__item,
    .timeline__item--left,
    .timeline__item--right {
        display: block;
    }

    .timeline__item--left .timeline__phase,
    .timeline__item--right .timeline__phase,
    .timeline__item--left .timeline__node,
    .timeline__item--right .timeline__node {
        display: none;
    }

    .timeline__item--left .timeline__card,
    .timeline__item--right .timeline__card {
        text-align: left;
        margin-bottom: 24px;
    }
}

/* ── Contact Section ─────────────────────────────────────────────────────── */

.contact {
    position: relative;
    background: linear-gradient(to bottom, #030d1a, #000508);
    padding: 100px 40px;
    overflow: hidden;
    text-align: center;
}

.contact__bg-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 80%, rgba(191,0,255,0.25) 0%, transparent 100%),
        radial-gradient(2px 2px at 90% 30%, rgba(2,150,169,0.25) 0%, transparent 100%);
    pointer-events: none;
}

.contact__content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.contact__title {
    font-size: clamp(28px, 4vw, 48px);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.contact__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 48px;
}

.contact__cta {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid rgb(2, 150, 169);
    border-radius: 40px;
    color: rgb(2, 150, 169);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 56px;
}

.contact__cta:hover {
    background: rgb(2, 150, 169);
    color: #000;
    box-shadow: 0 0 20px rgba(2, 150, 169, 0.5);
}

.contact__links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact__links a {
    text-decoration: none;
    padding: 14px;
    border-radius: 50%;
    border: 1px solid rgba(204, 204, 204, 0.4);
    color: white;
    font-size: 22px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact__links a::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: rgba(230, 230, 230);
    transform: translateY(-100%);
    transition: transform 100ms ease-in;
}

.contact__links a:hover {
    color: rgb(2, 150, 169);
    border-color: rgb(2, 150, 169);
}

.contact__links a:hover::after {
    transform: translateY(0);
}
