:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: #4a90e2;
    --border-color: #ddd;
    --text-main: #333;
    --text-muted: #555;
    --font-serif: "Georgia", serif;
    --font-sans: "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--text-main);
    background-color: #f5f5f5;
    padding: 40px 20px;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.header-left h1 {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1;
}

.header-left .subtitle {
    font-size: 20px;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.skills-list {
    font-size: 13px;
    color: #777;
    font-weight: 400;
}

.contact-info {
    list-style: none;
    font-size: 11px;
    color: var(--secondary-color);
    padding-top: 8px;
}

.contact-info li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.icon {
    width: 20px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    color: #999;
    margin-right: 4px;
}

.icon svg {
    stroke: #999;
}

/* Section Styles */
.section {
    margin-bottom: 35px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
    position: relative;
}

p {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-main);
}

/* Job/Timeline Styles */
.job {
    margin-bottom: 30px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.job-title-group h3 {
    font-size: 16px;
    font-weight: 700;
}

.job-title-group .company {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.date {
    font-size: 13px;
    color: var(--secondary-color);
}

.job-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.job-content li {
    font-size: 13.5px;
    margin-bottom: 5px;
}

.sub-project {
    margin-top: 15px;
    padding-left: 0;
}

.sub-project p {
    margin-bottom: 8px;
}

.sub-project strong {
    font-weight: 700;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 30px;
    }

    header {
        flex-direction: column;
    }

    .contact-info {
        text-align: left;
        margin-top: 20px;
    }

    .contact-info li {
        justify-content: flex-start;
    }

    .job-header {
        flex-direction: column;
    }

    .date {
        margin-top: 5px;
    }
}

@media print {
    body {
        padding: 0;
        background-color: white;
    }
    .container {
        box-shadow: none;
        width: 100%;
        max-width: none;
        padding: 0;
    }
}
