
body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #333;
}

.container {
    max-width: 820px;
    margin: auto;
    padding: 40px 20px;
}

.hero {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.profile-pic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6C63FF;
    margin-bottom: 10px;
}

h1 {
    font-size: 2em;
    margin: 10px 0 5px 0;
    color: #000;
}

.subtitle {
    font-size: 1.1em;
    color: #6C63FF;
    margin-bottom: 10px;
}

.contact {
    font-size: 0.95em;
    color: #666;
}

a {
    color: #6C63FF;
    text-decoration: none;
}

section {
    margin-top: 40px;
}

h2 {
    font-size: 1.4em;
    color: #000;
    margin-bottom: 12px;
    border-bottom: 2px solid #6C63FF;
    display: inline-block;
    padding-bottom: 4px;
}

.card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.duration {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 8px;
}

.pill-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list li {
    background-color: #EFEFFD;
    color: #6C63FF;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9em;
}

.block-text {
    text-align: justify;
    line-height: 1.6em;
}

/* Gradient for profile picture border */
.profile-pic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border: 4px solid;
    border-image: linear-gradient(90deg, #FF6B8A, #6C63FF) 1;
}

/* Gradient underline for section headings */
h2 {
    border-bottom: none;
    display: inline-block;
    position: relative;
    padding-bottom: 6px;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #FF6B8A, #6C63FF);
    border-radius: 2px;
}

/* Gradient text only where it was previously purple */
.subtitle,
a {
    background: linear-gradient(90deg, #FF6B8A, #6C63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Keep pill list background light, only update text color */
.pill-list li {
    background-color: #EFEFFD;
    color: #6C63FF;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-pic-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(90deg, #FF6B8A, #6C63FF);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.profile-pic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    z-index: 2;
}

@media print {
    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background: white !important;
        color: black;
    }

    @page {
        size: A4;
        margin: 15mm;
    }

    .container {
        width: 100%;
        max-width: 180mm;
        margin: 0 auto;
        padding: 0;
    }

    .hero, section, .card {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .pill-list li {
        background-color: #EFEFFD !important;
        color: #6C63FF !important;
        -webkit-print-color-adjust: exact;
    }

    h1, h2, h3, .subtitle, a {
        background: none !important;
        -webkit-text-fill-color: black !important;
        color: black !important;
    }
}
