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

body {
    font-family: 'Arial', 'Calibri', sans-serif;
    font-size: 10.5pt;
    line-height: 1.3;
    color: #000000;
    background: white;
}

/* Container */
.container {
    max-width: 8.5in;
    margin: 0 auto;
    padding: 0.4in;
    background: white;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0A3D62;
}

.name {
    font-size: 22pt;
    font-weight: bold;
    color: #0A3D62;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 9.5pt;
    color: #333333;
}

.contact-info span {
    white-space: nowrap;
}

/* Two Column Layout */
.content {
    display: grid;
    grid-template-columns: 38% 62%;
    gap: 20px;
}

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

.section-title {
    font-size: 11pt;
    font-weight: bold;
    color: #0A3D62;
    border-bottom: 1.5px solid #008080;
    padding-bottom: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Left Column Styles */
.left-column {
    padding-right: 10px;
}

.summary {
    font-size: 9.5pt;
    text-align: justify;
    line-height: 1.4;
}

.summary strong {
    color: #0A3D62;
}

.skills {
    font-size: 9pt;
}

.skill-category {
    margin-bottom: 5px;
    line-height: 1.3;
}

.skill-category strong {
    color: #008080;
}

.certifications,
.languages {
    list-style: none;
    font-size: 9pt;
    padding-left: 5px;
}

.certifications li,
.languages li {
    margin-bottom: 3px;
}

/* Right Column Styles */
.right-column {
    padding-left: 10px;
    border-left: 1px solid #e0e0e0;
}

/* Experience Section */
.job {
    margin-bottom: 12px;
}

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

.job-title {
    color: #008080;
    font-size: 10pt;
}

.date {
    font-size: 9pt;
    color: #666666;
    font-style: italic;
}

.company {
    font-size: 9.5pt;
    color: #333333;
    margin-bottom: 5px;
}

.company strong {
    color: #0A3D62;
}

.achievements {
    list-style: none;
    padding-left: 10px;
    font-size: 9pt;
}

.achievements li {
    margin-bottom: 3px;
    position: relative;
    padding-left: 12px;
}

.achievements li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #008080;
}

.achievements strong {
    color: #0A3D62;
}

/* Projects Section */
.project {
    margin-bottom: 10px;
}

.project-header {
    font-size: 10pt;
    margin-bottom: 2px;
}

.project-header strong {
    color: #008080;
}

.tech-stack {
    font-size: 8.5pt;
    color: #666666;
    margin-bottom: 4px;
    font-style: italic;
}

.tech-stack strong {
    color: #333333;
    font-style: normal;
}

.project-details {
    list-style: none;
    padding-left: 10px;
    font-size: 9pt;
}

.project-details li {
    margin-bottom: 2px;
    position: relative;
    padding-left: 12px;
}

.project-details li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #008080;
}

.project-details strong {
    color: #0A3D62;
}

/* Education Section */
.degree {
    margin-bottom: 8px;
}

.degree-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.degree-header strong {
    color: #008080;
    font-size: 9.5pt;
}

.institution {
    font-size: 9pt;
    color: #333333;
}

/* Achievements Section */
.achievements-list {
    list-style: none;
    padding-left: 10px;
    font-size: 9pt;
}

.achievements-list li {
    margin-bottom: 3px;
    position: relative;
    padding-left: 12px;
}

.achievements-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #008080;
}

.achievements-list strong {
    color: #0A3D62;
}

/* Print Styles */
@media print {
    body {
        margin: 0;
        font-size: 10pt;
    }
    
    .container {
        padding: 0.3in;
        max-width: 100%;
    }
    
    .content {
        gap: 15px;
    }
    
    .section {
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 10.5pt;
    }
    
    /* Ensure colors print properly */
    .name,
    .section-title {
        color: #0A3D62 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .job-title,
    .project-header strong,
    .degree-header strong,
    .skill-category strong {
        color: #008080 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    /* Ensure it fits on one page */
    .achievements li,
    .project-details li,
    .achievements-list li {
        margin-bottom: 2px;
    }
    
    .job,
    .project,
    .degree {
        margin-bottom: 8px;
    }
}

/* Responsive Design for smaller screens */
@media screen and (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .right-column {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e0e0e0;
        padding-top: 10px;
    }
    
    .left-column {
        padding-right: 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
}

/* ATS-Friendly Enhancements */
strong {
    font-weight: 600;
}

/* Ensure text is selectable and readable by ATS */
.container,
.section,
.skills,
.achievements,
.project-details {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* High contrast for better readability */
@media (prefers-contrast: high) {
    body {
        background: white;
        color: black;
    }
    
    .section-title {
        border-bottom-width: 2px;
    }
}