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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
    padding: 40px 20px;
}

.resume-container {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    padding: 50px 60px;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* aligns photo with title, not name */
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px
}

.profile-photo {
    width: 120px;
    height: auto;
    border-radius: 6px;
    margin-top: 2px;
    /* tiny tweak to match title baseline */
}


.name {
    font-size: 30px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.title {
    font-size: 16px;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    /* 👈 stack items vertically */
    gap: 8px;
    font-size: 13px;
    color: #4a5568;
}

.contact-info a {
    color: #4a5568;
    text-decoration: none;
}

.contact-info a:hover {
    color: #2563eb;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    /* left text, right photo */
    align-items: flex-start;
    width: 100%;
}

.profile-photo {
    width: 110px;
    height: auto;
    border-radius: 6px;
    /* or 50% for circle */
}


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

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 12px 20px;
    font-size: 14px;
}

.skill-category {
    font-weight: 600;
    color: #2d3748;
}

.skill-items {
    color: #4a5568;
}

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

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

.company-title {
    flex: 1;
}

.company {
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
}

.job-title {
    font-size: 14px;
    color: #2563eb;
    font-weight: 500;
    margin-top: 2px;
}

.dates {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
    white-space: nowrap;
}

.responsibilities {
    list-style: none;
    margin-top: 10px;
}

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

.responsibilities li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
}

/* Education Section */
.education-item {
    margin-bottom: 15px;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.degree {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
}

.institution {
    font-size: 13px;
    color: #4a5568;
    margin-top: 2px;
}

.edu-dates {
    font-size: 13px;
    color: #718096;
    white-space: nowrap;
}

/* Languages Section */
.languages {
    display: flex;
    gap: 30px;
    font-size: 14px;
}

.language {
    color: #4a5568;
}

.language strong {
    color: #2d3748;
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .resume-container {
        box-shadow: none;
        padding: 40px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .resume-container {
        padding: 30px 25px;
    }

    .name {
        font-size: 28px;
    }

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

    .dates,
    .edu-dates {
        margin-top: 4px;
    }

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

    .contact-links {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        /* wraps nicely on small screens */
    }

    .contact-links span {
        white-space: nowrap;
        /* keeps icon + text together */
    }

}