/* Reset and Base Styles */
* {
    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: #2c3e50;
    background: #f8f9fa;
    font-size: 14px;
}

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

/* Header Styles */
.header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4A90E2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4A90E2;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.profile-info {
    flex: 1;
}

.name {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.title {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 500;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 14px;
}

.contact-item i {
    color: #4A90E2;
    width: 16px;
    text-align: center;
    font-size: 12px;
}

.contact-item a {
    color: #4A90E2;
    text-decoration: none;
}

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

.contact-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.social-link.github {
    background: #333;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.stackoverflow {
    background: #f48024;
}

.social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 12px;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

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

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #4A90E2;
    padding-bottom: 5px;
}


/* Experience Section */
.experience-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

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

.experience-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.experience-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #7f8c8d;
}

.company {
    font-weight: 500;
    color: #4A90E2;
}

.duration {
    color: #7f8c8d;
}

.experience-description {
    color: #555;
    line-height: 1.4;
    font-size: 13px;
    margin-bottom: 10px;
    list-style: none;
    padding-left: 0;
}

.experience-description li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 4px;
}

.experience-description li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-size: 10px;
    top: 2px;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.tech-tag {
    background: #4A90E2;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Education Section */
.education-item {
    margin-bottom: 20px;
}

.education-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.education-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #7f8c8d;
}

.university {
    font-weight: 500;
    color: #4A90E2;
}

.education-description {
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}


/* Skills Section */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.skill-name {
    font-weight: 500;
    color: #2c3e50;
}

.skill-years {
    font-size: 12px;
    color: #4A90E2;
    font-weight: 600;
    background: rgba(74, 144, 226, 0.1);
    padding: 2px 6px;
    border-radius: 8px;
}

/* Tools Section */
.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tool-tag {
    border: 2px solid #4A90E2;
    color: #4A90E2;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    background: white;
}

/* Languages Section */
.languages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.language-name {
    font-weight: 500;
    color: #2c3e50;
}

.language-level {
    font-size: 12px;
    color: #7f8c8d;
}

/* Hobbies Section */
.hobbies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.hobby-tag {
    background: #4A90E2;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-links {
        justify-content: center;
    }
    
    .name {
        font-size: 20px;
    }
    
    .title {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .name {
        font-size: 18px;
    }
    
    .profile-image img {
        width: 60px;
        height: 60px;
    }
    
    .social-link {
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .container {
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
    
    .header {
        border-bottom: 2px solid #4A90E2;
    }
    
    .section {
        break-inside: avoid;
    }
    
    .experience-item {
        break-inside: avoid;
    }
}