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

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-body: #fcfcfd;
    --bg-card: #ffffff;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --sidebar-width: 320px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Layout */
#app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 40px;
    padding: 60px 20px;
}

@media (max-width: 1024px) {
    #app-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
}

/* Sidebar */
aside#sidebar {
    position: sticky;
    top: 60px;
    height: fit-content;
}

@media (max-width: 1024px) {
    aside#sidebar {
        position: static;
        margin-bottom: 40px;
    }
}

.profile-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: var(--radius);
    object-fit: cover;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-title {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 16px;
}

.profile-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Navigation Menu */
.nav-menu {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    background: #f3f4f6;
    color: var(--primary);
}

.nav-item.active {
    background: #eff6ff;
    color: var(--primary);
    font-weight: 600;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

/* About Section Social Links */
.about-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.about-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 20px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.about-social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Main Content */
main#content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

section {
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* News List */
.news-list {
    list-style: none;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    margin-bottom: 20px;
    gap: 16px;
}

.news-date {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Publication Card */
.pub-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.pub-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.pub-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.pub-authors {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pub-venue {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: block;
}

.pub-venue.under-review {
    color: var(--text-main);
}

.pub-links {
    display: flex;
    gap: 16px;
}

.pub-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    padding: 4px 10px;
    background: #eff6ff;
    border-radius: 6px;
}

.pub-link:hover {
    background: #dbeafe;
}

.view-all-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.view-all-btn:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Experience & Services Grid */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .dual-grid {
        grid-template-columns: 1fr;
    }
}

.exp-item {
    margin-bottom: 20px;
}

.exp-org {
    font-weight: 600;
    display: block;
}

.exp-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
