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

body {
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 15px;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

a {
    color: #00c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid #999;
    padding-top: 15px;
    margin-bottom: 20px;
}

.tab {
    display: inline-block;
    padding: 6px 24px;
    border: 1px solid #999;
    border-bottom: none;
    background: #eee;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: -1px;
    border-radius: 4px 4px 0 0;
}

.tab:hover {
    background: #ddd;
    text-decoration: none;
}

.tab.active {
    background: #fff;
    font-weight: bold;
    border-bottom: 1px solid #fff;
}

/* Profile Section */
.profile {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    align-items: flex-start;
}

.profile-left {
    flex-shrink: 0;
    width: 200px;
    text-align: center;
}

.profile-photo {
    width: 180px;
    height: auto;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.profile-info {
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.profile-info h1 {
    font-size: 20px;
    margin-bottom: 4px;
    color: #000;
}

.profile-info p {
    margin: 2px 0;
}

.social-icons {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    padding-left: 0;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.social-icons a:nth-child(1) {
    background: #333;
}

.social-icons a:nth-child(2) {
    background: #4285f4;
}

.social-icons a:nth-child(3) {
    background: #0077b5;
}

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

.profile-right {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
}

.profile-right p {
    margin-bottom: 12px;
    text-align: justify;
}

/* Positions Box */
.positions-box {
    background: #ffc;
    border: 1px solid #cc9;
    padding: 12px 16px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.positions-box p {
    margin: 0;
}

/* Section Styles */
hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

h2 {
    font-size: 22px;
    font-weight: bold;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
    margin-bottom: 14px;
    margin-top: 16px;
}

/* News Section */
.news-list {
    list-style: disc;
    padding-left: 22px;
}

.news-list li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

/* Publications Section */
.pub-list {
    list-style: disc;
    padding-left: 22px;
}

.pub-list li {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.pub-title-row {
    display: inline;
}

.pub-title-row img {
    height: 18px;
    vertical-align: middle;
    margin-left: 6px;
}

.pub-authors {
    margin-top: 2px;
}

.pub-meta {
    margin-top: 2px;
}

.pub-venue {
    font-weight: bold;
    color: #900;
}

.pub-links {
    margin-top: 2px;
}

.pub-links a {
    color: #00c;
}

/* Projects Section */
.projects-list {
    list-style: disc;
    padding-left: 22px;
}

.projects-list li {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.projects-list img {
    height: 18px;
    vertical-align: middle;
    margin-left: 6px;
}

/* Contact Section */
.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-list i {
    width: 20px;
    text-align: center;
    margin-right: 6px;
    color: #555;
}

/* Footer */
footer {
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid #ccc;
    text-align: center;
    font-size: 12px;
    color: #888;
}

/* Responsive */
@media (max-width: 640px) {
    .profile {
        flex-direction: column;
        align-items: center;
    }

    .profile-left {
        width: 100%;
    }

    .profile-info {
        text-align: center;
    }

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

    .tab {
        padding: 6px 14px;
        font-size: 13px;
    }

    .profile-right p {
        text-align: left;
    }
}

html {
    scroll-behavior: smooth;
}
