/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --spacing: 60px;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Navigation */
.navbar {
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Hero Section */
.hero-section {
    padding: calc(var(--spacing) + 40px) 0 var(--spacing);
    background-color: var(--light-bg);
}

.hero-section .row {
    align-items: flex-start;
}

.hero-section .col-md-4 {
    padding-right: 1.5rem;
    flex: 0 0 auto;
    width: auto;
}

.hero-section .col-md-8 {
    padding-left: 1.5rem;
    flex: 1;
}

.profile-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.hero-section h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-section h2 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.hero-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.hero-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.hero-link i {
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: var(--spacing) 0;
}

.section-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    margin: 0.75rem 0;
}

/* Bio Section */
.bio-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 55%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
    margin-right: 0;
    text-align: left;
}

.timeline-content {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    position: relative;
}



.timeline-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.timeline-content p:not(.timeline-date) {
    margin-bottom: 0.5rem;
}

.timeline-content p:last-child {
    margin-bottom: 0;
    padding-top: 0.25rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Publications */
.publication-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.publication-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.authors {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

.venue {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.85rem;
}

/* News Section */
.nav-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
}

.nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    margin-right: 0.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: transparent;
    border-bottom: 2px solid var(--secondary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
}

.news-list {
    max-width: 700px;
    margin: 0;
}

.news-item {
    background: white;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 3px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.news-content p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.4;
    font-size: 0.85rem;
}

/* Info Card */
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.info-card li:last-child {
    border-bottom: none;
}

/* Social Links */
.social-links {
    margin-top: 1rem;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    padding: 2rem 0;
}

.footer h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    width: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing: 40px;
    }

    .hero-section {
        text-align: left;
        padding: calc(var(--spacing) + 30px) 0 var(--spacing);
    }

    .profile-img {
        margin-bottom: 1.5rem;
        width: 180px;
        height: 180px;
    }

    .hero-links {
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .hero-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .section {
        padding: var(--spacing) 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -35px;
    }

    .news-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .publication-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
} 