:root {
    --purple-dark: #4a1942;
    --purple-medium: #7b3d6f;
    --purple-light: #9b5a8f;
    --text-dark: #2d2d2d;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #f9fafb;
}

/* Header - Sticky */
.header {
    background: linear-gradient(135deg, var(--purple-dark) 0%, #5c2252 100%);
    color: white;
    text-align: center;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    margin-bottom: 1.5rem;
}

.photo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6dd5ed 0%, #2193b0 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    border: 5px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.contact-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 0.8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: white;
}

/* Left Column */
.left-column {
    padding-right: 2rem;
}

/* Right Column */
.right-column {
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-light);
}

/* Section Titles */
.section-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
    padding-bottom: 0.5rem;
}

.section {
    margin-bottom: 2.5rem;
}

/* Summary */
.summary-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    text-align: justify;
}

/* Job */
.job {
    margin-bottom: 2rem;
    page-break-inside: avoid;
}

.job-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.job-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.company-name {
    font-size: 0.9rem;
    color: var(--text-light);
}

.job-info {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
}

.job-date,
.job-location {
    margin-bottom: 0.2rem;
}

.job-responsibilities {
    list-style: none;
    padding-left: 0;
}

.job-responsibilities li {
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
}

.job-responsibilities li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--purple-dark);
    font-weight: bold;
}

.job-responsibilities li strong {
    color: var(--purple-dark);
}

/* Education */
.education {
    margin-bottom: 1rem;
}

.degree {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.school {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.education-info {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Skills */
.skill {
    margin-bottom: 1.2rem;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--border-light);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--purple-dark);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Interests */
.interests {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.interest-item {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Strengths */
.strengths {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.strength-badge {
    background: var(--purple-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

/* Languages */
.languages {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.language {
    text-align: center;
    flex: 1;
}

.circle-progress {
    position: relative;
    margin-bottom: 0.5rem;
}

.language-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Achievements */
.achievements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.achievement-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.achievement p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Certifications */
.certifications-list {
    list-style: none;
    padding-left: 0;
}

.certifications-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
}

.certifications-list li::before {
    content: '📜';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    color: var(--text-light);
    background: white;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .right-column {
        border-left: none;
        border-top: 2px solid var(--border-light);
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .left-column {
        padding-right: 0;
    }

    .contact-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-header {
        flex-direction: column;
    }

    .job-info {
        text-align: left;
    }

    .name {
        font-size: 2rem;
    }

    .languages {
        justify-content: center;
    }
}

@media print {
    body {
        background: white;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .header {
        position: relative;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .job {
        page-break-inside: avoid;
    }
}