body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
    color: #333;
}

h1, h2 {
    font-family: 'Roboto', Arial, sans-serif;
    color: #1E90FF;
}
p, li {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
}
.resume-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2980b9;
    transition: border-color 0.3s ease;
}
.profile-photo:hover {
    border-color: #e74c3c;
}
.name {
    font-size: 2.5em;
    font-weight: 700;
    color: #2980b9;
    margin: 0;
}
.tagline {
    font-size: 1.1em;
    color: #7f8c8d;
    font-style: italic;
}
.contact {
    font-size: 0.9em;
    color: #2980b9;
    margin-bottom: 15px;
}
.contact i {
    margin-right: 3px;
    margin-left: 1px;
    color: #2980b9;
}
.contact a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}
.contact a:hover {
    color: #e74c3c;
    text-decoration: underline;
}
.section {
    margin-bottom: 15px;
}
.section-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #2980b9;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #2980b9, transparent);
}
.experience {
    margin-bottom: 15px;
}
.role {
    font-size: 1.2em;
    font-weight: 500;
    color: #2980b9;
}
.company {
    color: #7f8c8d;
    margin-bottom: 3px;
}
.date {
    font-size: 0.9em;
    color: #95a5a6;
}
ul {
    padding-left: 15px;
    list-style-type: circle;
}
li {
    margin-bottom: 5px;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}
.skills-grid div {
    background-color: #ecf0f1;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}
.skills-grid div:hover {
    background-color: #d5e8f3;
}
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-photo {
        width: 80px;
        height: 80px;
    }
    .name {
        font-size: 2em;
    }
    .tagline {
        font-size: 1em;
    }
    .contact {
        font-size: 0.8em;
    }
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}
@media print {
    body {
        padding: 5px;
        line-height: 1.4;
        color: #000;
    }
    .resume-container {
        box-shadow: none;
        padding: 5px;
        border-radius: 0;
    }
    .header {
        gap: 10px;
        margin-bottom: 10px;
    }
    .profile-photo {
        width: 80px;
        height: 80px;
        border-color: #000;
    }
    .name {
        font-size: 2.5em;
        color: #000;
    }
    .tagline {
        font-size: 1.1em;
    }
    .contact {
        color: #000;
        margin-bottom: 10px;
        font-size: 0.9em;
    }
    .contact i {
        display: none;
    }
    .contact a {
        color: #000;
        text-decoration: none;
    }
    .section {
        margin-bottom: 5px;
    }
    .section-title {
        font-size: 1.2em;
        color: #000;
    }
    .experience {
        margin-bottom: 8px;
    }
    .role {
        font-size: 1.2em;
        color: #000;
    }
    .company {
        margin-bottom: 2px;
    }
    .date {
        font-size: 0.9em;
    }
    ul {
        padding-left: 10px;
    }
    li {
        margin-bottom: 3px;
    }
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 3px;
    }
    .skills-grid div {
        background-color: transparent;
        padding: 0;
        text-align: left;
    }
}