/* Career Section Modularized Styles */
.career {
    padding: 4.5rem 0;
    background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.24), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(125, 211, 252, 0.28), transparent 42%),
    linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
}

.career h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000;
    letter-spacing: 0.04em;
}

.career .container {
    max-width: 1240px;
}

.career-timeline {
    display: grid;
    gap: 2.1rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .career-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .career-timeline > .career-item:first-child {
        grid-column: 1 / -1;
    }
}


.career-item {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(7, 16, 38, 0.95), rgba(4, 10, 28, 0.96));
    padding: 2rem;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 45px rgba(3, 8, 20, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.career-item::before {
    content: "";
    position: absolute;
    inset: -35%;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.16), transparent 52%),
        radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.14), transparent 48%);
    pointer-events: none;
    opacity: 0.9;
}

.career-item > * {
    position: relative;
    z-index: 1;
}

.career-item:hover {
    transform: translateY(-4px);
    border-color: rgba(125, 211, 252, 0.45);
    box-shadow: 0 26px 60px rgba(3, 8, 20, 0.56);
}

.career-period {
    color: #7dd3fc;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.55rem;
    letter-spacing: 0.03em;
}

.career-item h3 {
    color: #f3f7ff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.career-item h3::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #f8fafc, #22c55e);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.18);
    flex-shrink: 0;
}

.career-item p {
    color: #b7c4df;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.04rem;
}

.career-timeline > .career-item:first-child p {
    color: #d7e8ff;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin: 0;
    max-width: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.career-item ul {
    list-style: none;
    padding-inline-start: 0;
    color: #b7c4df;
    line-height: 1.7;
}

.career-item ul li {
    margin-bottom: 0.72rem;
    padding-inline-start: 1.4rem;
    position: relative;
}

.career-item ul li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
    position: absolute;
    inset-inline-start: 0;
    top: 0.65rem;
}

/* Career image area removed intentionally */

.career-item a {
    color: #93d9ff;
}

.career-item a:hover {
    color: #d6ecff;
}

@media (max-width: 768px) {
    .career-item {
        padding: 1.4rem;
        border-radius: 18px;
    }

    .career-item h3 {
        font-size: 1.25rem;
    }

    .career-item p,
    .career-item ul li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .career h2 {
        font-size: 2rem;
    }

    .career-item {
        padding: 1.15rem;
    }
}