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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: white;
}

.resume-container {
    max-width: 800px;
    margin: 10px auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 10px;
}

#name {
    font-size: 3em;
    color: #2c3e50;
    font-weight: 700;
}

.label {
    font-size: 1.1em;
    color: #7f8c8d;
    margin-bottom: 12px;
}

ul.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: inline;
}

.contact-info li:not(:last-child)::after {
    content: " | ";
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

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

section {
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 800;
}

h3 {
    color: #34495e;
    margin-bottom: 5px;
    font-size: 1.1em;
    font-weight: 600;
}

h4 {
    color: #34495e;
    margin-bottom: 5px;
    font-size: 1em;
}

.item-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: baseline;
    margin-bottom: 5px;
}

.item-header h3 {
    margin-bottom: 0;
    grid-column: 1;
}

.flex-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.date {
    color: #7f8c8d;
    font-style: italic;
    font-size: 0.9em;
    white-space: nowrap;
    grid-column: 2;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    margin: 0 5px;
    font-size: 0.9em;
}

.work-item, .education-item, .project-item, .leadership-item, .volunteer-item, .language-item, .skill-category, .certificate-item, .interest-category {
    margin-bottom: 8px;
    padding-left: 10px;
}

ul {
    margin-left: 20px;
    margin-top: 10px;
}

li {
    margin-bottom: 5px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.project {
    margin-top: 15px;
}

@media (max-width: 580px) {
    .resume-container {
        margin: 10px;
        padding: 20px;
    }

    .contact-info li {
        display: block;
    }
    
    .contact-info li:not(:last-child)::after {
        content: "";
    }
    
    #name {
        font-size: 2em;
    }
    
    .date {
        margin-left: 0;
        margin-top: 2px;
    }
}