* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #f8f9fa;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Main content wrapper with card effect */
main {
    background-color: #fff;
    padding: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #0066cc;
}

h1 {
    font-size: 2.75em;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.3em;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 18px;
}

.contact-info {
    font-size: 0.95em;
    color: #6c757d;
    margin-top: 15px;
    line-height: 1.8;
}

.contact-info a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #0052a3;
    text-decoration: underline;
}

h2 {
    font-size: 1.6em;
    color: #0066cc;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    font-weight: 700;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.25em;
    color: #1a1a1a;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

h4 {
    font-size: 1.1em;
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    color: #495057;
}

.section {
    margin-bottom: 35px;
}

.job-header {
    margin-bottom: 8px;
}

.job-title {
    font-weight: 600;
    font-size: 1.1em;
    color: #1a1a1a;
}

.job-date {
    font-style: italic;
    color: #6c757d;
    font-size: 0.95em;
}

.company {
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 12px;
    font-size: 1.1em;
}

ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
    color: #495057;
    line-height: 1.7;
}

li strong {
    color: #2c3e50;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.skill-category {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #0066cc;
}

.skill-category strong {
    display: block;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-size: 1.05em;
}

.skill-list {
    color: #495057;
    font-size: 0.95em;
    line-height: 1.9;
}

.project-card {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #0066cc;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.project-card h3 {
    margin-top: 0;
    font-size: 1.15em;
    color: #1a1a1a;
}

.project-card p {
    margin-bottom: 10px;
}

.project-role {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9em;
    margin-top: 8px;
}

.differentiators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.differentiator-item {
    padding: 18px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #0066cc;
    transition: transform 0.2s ease;
}

.differentiator-item:hover {
    transform: translateY(-2px);
}

.differentiator-item strong {
    color: #0066cc;
    display: block;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.awards {
    color: #495057;
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 10px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

@media print {
    body {
        padding: 0;
        font-size: 11pt;
        background-color: #fff;
    }

    main {
        box-shadow: none;
        padding: 0;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.3em;
        page-break-after: avoid;
    }

    .section {
        page-break-inside: avoid;
    }

    .project-card,
    .differentiator-item,
    .skill-category {
        page-break-inside: avoid;
    }

    a {
        color: #000;
        text-decoration: none;
    }

    .project-card:hover,
    .differentiator-item:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    main {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.4em;
    }

    .skills-grid,
    .differentiators {
        grid-template-columns: 1fr;
    }

    .contact-info {
        font-size: 0.9em;
    }

    .skill-category,
    .project-card,
    .differentiator-item {
        padding: 15px;
    }
}
