/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Resume Container */
.resume-container {
    display: flex;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    padding: 0;
    position: relative;
}

/* Profile Section */
.profile-section {
    text-align: center;
    padding: 40px 30px 30px;
    background: rgba(0, 0, 0, 0.1);
}

.profile-image-container {
    margin-bottom: 20px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.profile-title {
    font-size: 14px;
    color: #cbd5e0;
    font-weight: 400;
    line-height: 1.4;
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding: 0 30px;
    color: #81c7d4;
    border-bottom: 1px solid rgba(129, 199, 212, 0.3);
    padding-bottom: 10px;
}

.section-title i {
    font-size: 16px;
}

/* Contact Section */
.contact-section {
    padding: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 0 30px;
    color: #e2e8f0;
    font-size: 13px;
}

.contact-item i {
    width: 16px;
    font-size: 14px;
    color: #81c7d4;
}

/* Education Section */
.education-section {
    padding: 30px 0;
}

.education-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 0 30px;
}

.education-years {
    font-size: 12px;
    color: #81c7d4;
    font-weight: 600;
    min-width: 60px;
    flex-shrink: 0;
}

.education-details h3 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.education-details p {
    font-size: 12px;
    color: #cbd5e0;
    line-height: 1.4;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px;
    background: white;
}

/* Main Section Titles */
.main-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #81c7d4;
    border-bottom: 2px solid #81c7d4;
    padding-bottom: 8px;
}

.main-section-title i {
    font-size: 18px;
}

/* Professional Summary */
.summary-section {
    margin-bottom: 40px;
}

.summary-text {
    font-size: 14px;
    line-height: 1.8;
    color: #4a5568;
    text-align: justify;
}

/* Experience Section */
.experience-section {
    margin-bottom: 40px;
}

.job-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

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

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

.job-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.job-date {
    font-size: 12px;
    color: #81c7d4;
    font-weight: 600;
}

.job-company {
    font-size: 13px;
    color: #718096;
    margin-bottom: 12px;
    font-style: italic;
}

.job-responsibilities {
    list-style: none;
}

.job-responsibilities li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #4a5568;
}

.job-responsibilities li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #81c7d4;
    font-weight: bold;
}

/* Skills Section */
.skills-section {
    margin-bottom: 40px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 0;
}

.skill-name {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

.skill-rating {
    display: flex;
    gap: 3px;
}

.skill-rating i {
    font-size: 14px;
    color: #81c7d4;
}

.skill-rating .far {
    color: #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .sidebar {
        width: 100%;
        order: 1;
    }
    
    .main-content {
        order: 2;
        padding: 30px 20px;
    }
    
    .profile-section {
        padding: 30px 20px 20px;
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .contact-section,
    .education-section {
        padding: 20px 0;
    }
    
    .section-title,
    .contact-item,
    .education-item {
        padding: 0 20px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 15px;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .section-title,
    .contact-item,
    .education-item {
        padding: 0 15px;
    }
}

/* Print Styles */
@media print {
    .resume-container {
        box-shadow: none;
        max-width: none;
    }
    
    .sidebar {
        background: #4a5568;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .profile-image:hover {
        transform: none;
    }
}