@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #005F86;
    --text-color: #333;
    --background-color: #fff;
}

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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Profile Section */
.profile {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.profile-image {
    flex: 0 0 250px;
}

.profile-image img {
    width: 100%;
    height: auto;
    max-width: 250px;
    border-radius: 8px;
    object-fit: cover;
}

.profile-content {
    flex: 1;
}

.profile-content h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2em;
}

.profile-content h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 400;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

section h2 {
    color: #111;
    font-size: 1.8em;
    margin-bottom: 1.5rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

section h3 {
    color: #111;
    font-size: 1.3em;
    margin-bottom: 1rem;
    font-weight: 600;
}

section h4 {
    color: #333;
    font-size: 1.1em;
    margin: 1.5rem 0 1rem 0;
    font-weight: 500;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
}

.page-header h1 {
    font-size: 2.5em;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

.social-icons img {
    width: 24px;
    height: 24px;
    filter: invert(24%) sepia(88%) saturate(1247%) hue-rotate(169deg) brightness(94%) contrast(101%);
}

/* Lists - Horizontal Layout */
.education-list,
.news-list,
.publication-list,
.presentation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.education-item,
.news-item,
.publication-item,
.presentation-item,
.project-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.education-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2em;
}

.education-item p,
.news-item p,
.publication-item p,
.presentation-item p,
.project-item p {
    margin: 0;
    line-height: 1.8;
}

.project-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2em;
}

.project-item ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.project-item li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.news-item strong {
    color: var(--primary-color);
}

/* Research Methods Grid */
.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.method-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}

.method-item h4 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    margin-top: 3rem;
    border-radius: 8px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        padding: 1rem;
    }

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

    .profile-image {
        flex: 0 0 auto;
        margin-bottom: 1.5rem;
    }

    .profile-image img {
        max-width: 200px;
    }

    .profile-content h1 {
        font-size: 1.8em;
    }

    .profile-content h2 {
        font-size: 1.3em;
    }

    .social-icons {
        justify-content: center;
    }

    section h2 {
        font-size: 1.5em;
    }

    .page-header h1 {
        font-size: 2em;
    }

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

@media screen and (max-width: 480px) {
    .profile-image img {
        max-width: 150px;
    }

    .profile-content h1 {
        font-size: 1.5em;
    }

    .profile-content h2 {
        font-size: 1.2em;
    }

    section h2 {
        font-size: 1.3em;
    }

    .page-header h1 {
        font-size: 1.8em;
    }

    .page-header {
        padding: 1.5rem 0;
    }

    .education-item,
    .news-item,
    .publication-item,
    .presentation-item,
    .project-item {
        padding: 1rem;
    }

    .social-icons a {
        font-size: 1.3rem;
    }
}
