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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

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

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.title {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 5px;
    font-weight: 500;
}

.institution {
    font-size: 1.1rem;
    color: #95a5a6;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 8px;
    color: #555;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #2980b9;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 20px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Navigation Styles */
.navigation {
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.navigation a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.navigation a:hover,
.navigation a:focus {
    color: #3498db;
    border-bottom-color: #3498db;
}

/* Main Content Styles */
.main-content {
    margin-bottom: 60px;
}

.section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.content p {
    margin-bottom: 20px;
}

.content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content li {
    margin-bottom: 8px;
}

/* Education Styles */
.education-item {
    margin-bottom: 20px;
    padding: 0;
    background-color: transparent;
    border: none;
    border-left: none;
}

.education-item h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.education-item .degree {
    color: #7f8c8d;
    margin-bottom: 3px;
    font-size: 0.95rem;
    font-weight: 500;
}

.education-item .advisor {
    color: #95a5a6;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.education-item .advisor a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.education-item .advisor a:hover {
    color: #2980b9;
}

.education-item .gpa {
    color: #7f8c8d;
    margin-bottom: 3px;
    font-size: 0.85rem;
    font-weight: 500;
}

.education-item .location {
    color: #95a5a6;
    font-size: 0.85rem;
    font-style: italic;
}

/* Awards Styles */
.award-item {
    margin-bottom: 15px;
    padding: 0;
    background-color: transparent;
    border: none;
    border-left: none;
}

.award-item h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 600;
}

.award-event {
    color: #7f8c8d;
    margin-bottom: 3px;
    font-size: 0.9rem;
    font-weight: 500;
}

.award-team {
    color: #7f8c8d !important;
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-size: 0.85rem !important;
}

.award-project {
    color: #95a5a6 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-size: 0.85rem !important;
    font-style: italic !important;
}

/* Publications Styles */
.publication-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.publication-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.publication-authors {
    color: #7f8c8d;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.publication-venue {
    color: #95a5a6;
    font-style: italic;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.publication-note {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.publication-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.publication-links a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: white;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.publication-links a:hover {
    background-color: #3498db;
    color: white;
}

/* News Styles */
.news-item {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.news-date {
    font-weight: 600;
    color: #3498db;
    min-width: 100px;
    font-size: 0.9rem;
}

.news-text {
    flex: 1;
    color: #555;
}

/* Contact Styles */
.contact-details {
    margin-top: 20px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details i {
    color: #3498db;
    width: 20px;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    color: #95a5a6;
    font-size: 0.9rem;
}

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

    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

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

    .name {
        font-size: 2rem;
    }

    .navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .navigation a {
        padding: 10px 0;
        border-bottom: 1px solid #e0e0e0;
    }

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

    .news-item {
        flex-direction: column;
        gap: 10px;
    }

    .news-date {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 0;
    }

    .name {
        font-size: 1.8rem;
    }

    .title {
        font-size: 1.1rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .content {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .navigation,
    .social-links,
    .footer {
        display: none;
    }

    .header {
        border-bottom: 2px solid #000;
    }

    .section {
        break-inside: avoid;
    }
}