/* Modern Professional Resume Styles */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --background: #ffffff;
    --background-alt: #f9fafb;
}

* {
    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.6;
    color: var(--text-dark);
    background: var(--background-alt);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.resume-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 1rem;
    font-style: italic;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-separator {
    opacity: 0.5;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Content Styles */
.resume-content {
    padding: 3rem 2rem;
}

.resume-section {
    margin-bottom: 3rem;
}

.resume-section h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.resume-section p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* Job Styles */
.job {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.company {
    color: var(--text-medium);
    font-weight: 600;
}

.dates {
    color: var(--text-light);
    font-style: italic;
    white-space: nowrap;
}

.accomplishments {
    list-style: none;
    padding-left: 0;
}

.accomplishments li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

.accomplishments li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
}

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

/* Education */
.education h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.education p {
    color: var(--text-medium);
}

/* Footer */
.resume-footer {
    background: var(--background-alt);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.resume-footer p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-note {
    margin-top: 0.5rem;
}

.footer-note a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-note a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-header {
        padding: 2rem 1.5rem;
    }

    .profile-section {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .header-info h1 {
        font-size: 2rem;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

    .contact-info {
        justify-content: center;
    }

    .header-actions {
        justify-content: center;
    }

    .resume-content {
        padding: 2rem 1.5rem;
    }

    .job-header {
        flex-direction: column;
    }

    .dates {
        margin-top: 0.5rem;
    }

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

@media print {
    body {
        background: white;
    }

    .container {
        box-shadow: none;
    }

    .btn {
        display: none;
    }

    .resume-footer {
        background: white;
    }
}


.cert-in-progress {
    color: var(--primary-color);
    font-style: italic;
}

.cert-active {
    color: #059669;
    font-weight: 500;
}

.cert-expired {
    color: #9ca3af;
    font-style: italic;
}

.cert-section-title {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-expired {
    color: var(--text-medium);
    font-style: italic;
}

.affiliations-list {
    list-style: none;
    padding: 0;
}

.affiliations-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.affiliations-list li:last-child {
    border-bottom: none;
}

.references-note {
    color: var(--text-medium);
    font-style: italic;
}
