/* Modern Resume Stylesheet */
:root {
    --primary-color: #2a4365;
    --secondary-color: #4299e1;
    --accent-color: #ebf8ff;
    --text-color: #2d3748;
    --light-text: #718096;
    --border-color: #e2e8f0;
    --background-color: #ffffff;
    --section-padding: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f7fafc;
    padding: 0;
    margin: 0;
}

.container {
    margin: 2rem auto;
    background-color: var(--background-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem var(--section-padding);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.profile h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-color);
}

.contact-info {
    margin-top: 0.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* Section Styles */
section {
    padding: 1.5rem var(--section-padding);
    border-bottom: 1px solid var(--border-color);
}

section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

/* Summary Section */
.summary p {
    text-align: justify;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.skill-category {
    flex: 1;
    min-width: 150px;
}

.skill-category h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.skill-category ul {
    list-style-type: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.skill-category li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Experience Section */
.job {
    margin-bottom: 1.5rem;
}

.job:last-child {
    margin-bottom: 0;
}

.job-header {
    margin-bottom: 0.75rem;
}

.job-header h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.company-details {
    display: flex;
    justify-content: space-between;
    color: var(--light-text);
    font-size: 0.95rem;
}

.job ul {
    padding-left: 1.5rem;
}

.job li {
    margin-bottom: 0.5rem;
}

/* Education Section */
.education-item {
    margin-bottom: 1rem;
}

.education-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.education-item p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Certifications Section */
.certifications ul {
    padding-left: 1.5rem;
}

.certifications li {
    margin-bottom: 0.5rem;
}

/* Projects Section */
.project {
    margin-bottom: 1.25rem;
}

.project h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project p {
    text-align: justify;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    color: var(--light-text);
    font-size: 0.9rem;
    background-color: var(--accent-color);
}

/* Print Styles */
@media print {
    body {
        background-color: white;
    }
    
    .container {
        margin: 0;
        box-shadow: none;
        max-width: 100%;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    @page {
        margin: 0.5cm;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-top: 1.5rem;
    }
    
    .skills-container {
        flex-direction: column;
    }
} 