body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    transition: background 0.3s, color 0.3s;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

h1 {
    margin-bottom: 5px;
}

.profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.profile img {
    width: 180px;
    border-radius: 10px;
}

ul {
    padding-left: 20px;
}

button {
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    border: none;
}

/* Light Mode */
body.light {
    background: #ffffff;
    color: #222;
}

body.light nav a {
    color: #0056b3;
}

/* Dark Mode */
body.dark {
    background: #121212;
    color: #f5f5f5;
}

body.dark nav a {
    color: #4da3ff;
}

body.dark header {
    border-color: #333;
}

footer {
    text-align: center;
    margin-top: 60px;
    font-size: 14px;
    opacity: 0.7;
}
.scholar-link a {
    text-decoration: none;
    font-weight: 500;
}

.scholar-link a:hover {
    text-decoration: underline;
}

.scholar-icon {
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
}
