/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header and Navigation */
header {
    padding: 15px 0 10px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

h1 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

nav a:hover {
    color: #000;
}

nav a.active {
    color: #000;
    border-bottom: 2px solid #000;
}

/* Main Content */
main {
    flex: 1;
    margin-bottom: 25px;
}

/* Profile Section */
.profile-section {
    display: flex;
    gap: 18px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-info p {
    margin: 2px 0;
    color: #555;
    font-size: 15px;
}

.contact-info strong {
    color: #222;
}

.email {
    color: #0066cc !important;
    text-decoration: none;
    cursor: pointer;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
    transform: translateY(-3px);
}

/* Content Section */
.content-section {
    margin-bottom: 12px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 8px;
    color: #222;
}

h2:first-child {
    margin-top: 0;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 8px;
    color: #333;
}

p {
    margin-bottom: 7px;
    color: #555;
    line-height: 1.55;
    font-size: 16px;
}

ul {
    list-style: none;
    margin-bottom: 8px;
}

ul li {
    margin-bottom: 5px;
    color: #555;
    line-height: 1.55;
    padding-left: 0;
    font-size: 16px;
}

.research-list li {
    margin-bottom: 10px;
}

.citation-link {
    white-space: nowrap;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Footer */
footer {
    border-top: 1px solid #e0e0e0;
    padding: 15px 0 8px 0;
    text-align: center;
    color: #999;
    font-size: 11px;
    margin-top: auto;
}

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

    h1 {
        font-size: 26px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 15px;
    }

    .profile-section {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .profile-image {
        width: 130px;
        height: 130px;
    }

    header {
        padding: 18px 0 12px 0;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 19px;
    }

    p {
        font-size: 15px;
    }

    ul li {
        font-size: 15px;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    nav {
        flex-direction: column;
        gap: 8px;
    }

    nav a {
        font-size: 15px;
    }

    .profile-section {
        gap: 15px;
        margin-bottom: 18px;
    }

    .profile-image {
        width: 110px;
        height: 110px;
    }

    .contact-info p {
        font-size: 14px;
        margin: 2px 0;
    }

    header {
        padding: 15px 0 10px 0;
        margin-bottom: 18px;
    }

    main {
        margin-bottom: 20px;
    }

    h2 {
        font-size: 18px;
        margin-top: 12px;
    }

    h3 {
        font-size: 15px;
    }

    p {
        font-size: 15px;
        margin-bottom: 8px;
    }

    ul li {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .social-links {
        gap: 10px;
        margin-top: 8px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    footer {
        padding: 15px 0 8px 0;
        font-size: 11px;
    }
}
