* {
    font-family: Inter, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: linear-gradient(to right, #32418C, #FBD117, #003A70);
    font-family: Arial, sans-serif;
    color: #000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

.card {
    background: #fff;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.header img {
    width: 100px;
    height: 100px;
    border-radius: 20%;
    object-fit: cover;
}

.header-info h1 {
    font-size: 28px;
    color: #32418C;
}

.header-info p {
    margin: 5px 0;
    color: #333;
}

.btn-back,
.btn-print {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #32418C;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-print {
    margin-left: 10px;
}

.btn-back:hover,
.btn-print:hover {
    background: #003A70;
}

.section {
    margin-top: 30px;
}

.section h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    text-transform: uppercase;
    color: #003A70;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.skills-grid div {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.education,
.experience,
.research,
.activities {
    margin-top: 20px;
}

.edu-entry,
.exp-entry {
    margin-bottom: 15px;
}

.edu-entry span,
.exp-entry span {
    display: block;
    font-size: 13px;
    color: #555;
}

.exp-entry ul {
    margin-top: 5px;
    padding-left: 18px;
    font-size: 14px;
}

.exp-entry ul li {
    margin-bottom: 5px;
}

.research-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.activity-entry {
    margin-bottom: 10px;
}

@media (max-width: 600px){
    .header{
        flex-direction: column;
        text-align: center;
    }
    .header img{
        margin-bottom: 10px;
    }
    .header-info{
        align-items: center;
    }
}