/* Modern Resume CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.resume-container {
    max-width: 900px;
    margin: 2rem auto;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.title {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-item a:hover {
    opacity: 0.8;
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
}

.left-column {
    padding: 2rem;
}

.right-column {
    background: #f8f9fa;
    padding: 2rem;
}

.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #667eea;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
}

.experience-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.experience-item:last-child {
    border-bottom: none;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.company {
    font-size: 1rem;
    font-weight: 500;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.date {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.job-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4a5568;
}

.job-description ul {
    margin-left: 1.5rem;
}

.job-description li {
    margin-bottom: 0.5rem;
}

.tech-stack {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #718096;
}

.tech-stack strong {
    color: #4a5568;
}

.education-item {
    margin-bottom: 1.5rem;
}

.education-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.education-degree {
    font-size: 0.9rem;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.education-date {
    font-size: 0.85rem;
    color: #718096;
}

.skills-grid {
    display: grid;
    gap: 1rem;
}

.skill-category {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.skill-category h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.language-name {
    font-size: 0.9rem;
    color: #4a5568;
}

.language-level {
    font-size: 0.8rem;
    color: #718096;
    font-style: italic;
}

.reference-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.reference-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.reference-title {
    font-size: 0.8rem;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.reference-contact {
    font-size: 0.8rem;
    color: #718096;
}

.course-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.course-item:last-child {
    border-bottom: none;
}

.course-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.course-date {
    font-size: 0.8rem;
    color: #718096;
}

.download-section {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #667eea;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background: #5a67d8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-container {
        margin: 1rem;
        border-radius: 0;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 2rem 1rem;
    }

    .name {
        font-size: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .left-column,
    .right-column {
        padding: 1.5rem;
    }
}

@media print {
    body {
        background: white;
    }

    .resume-container {
        box-shadow: none;
        margin: 0;
        border-radius: 0;
    }

    .download-section {
        display: none;
    }
}