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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.profile-image {
    margin-bottom: 20px;
}

.profile-image img {
    width: 156px;
    height: 206px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}

.profile-info h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 300;
}

.profile-info h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 300;
    opacity: 0.9;
}

.contact-info {
    font-size: 1em;
    opacity: 0.8;
}

.contact-info span {
    margin: 0 5px;
}

main {
    padding: 0;
}

section {
    padding: 30px 40px;
    border-bottom: 1px solid #eee;
}

section:last-child {
    border-bottom: none;
}

h3 {
    color: #667eea;
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 5px;
}

h4 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.entry {
    margin-bottom: 25px;
}

.entry:last-child {
    margin-bottom: 0;
}

.institution {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

ul {
    margin-left: 20px;
    margin-top: 10px;
}

li {
    margin-bottom: 5px;
}

.publication {
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #667eea;
}

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

.skill-category h4 {
    color: #667eea;
    margin-bottom: 10px;
}

.skill-category ul {
    margin-left: 15px;
}

.summary p {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }

    .profile-header {
        padding: 20px;
    }

    .profile-info h1 {
        font-size: 2em;
    }

    .profile-info h2 {
        font-size: 1.1em;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    section {
        padding: 20px;
    }

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

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

    .contact-info span {
        display: block;
        margin: 5px 0;
    }
}
