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

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: white;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0e4e78;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0e4e78;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #2d3748;
    text-align: center;
    position: relative;
    padding: 80px 0;
    margin-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #0e4e78;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #4a5568;
    text-align: justify;
    font-weight: 400;
}

.hero-description strong {
    font-weight: 600;
    color: #0e4e78;
}

.research-interests {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid #0e4e78;
    border-radius: 4px;
}

.research-interests-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0e4e78;
    margin-bottom: 0.8rem;
}

.research-interests-text {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.hero-contact {
    margin-top: 3rem;
    text-align: left;
}

.hero-contact p {
    margin-bottom: 1rem;
    color: #4a5568;
    font-size: 1rem;
}

.hero-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-links a {
    color: #0e4e78;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #0e4e78;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero-links a:hover {
    background: #0e4e78;
    color: white;
}

.profile-image {
    width: 320px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    filter: brightness(1.6) contrast(1.1);
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Research Section */
.research {
    padding: 80px 0;
    background: #f7fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #0e4e78;
}

.research-section {
    margin-bottom: 3rem;
}

.research-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #2d3748;
    border-bottom: 2px solid #0e4e78;
    padding-bottom: 0.5rem;
}

.paper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.paper-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0e4e78;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.paper-coauthors {
    font-style: italic;
    color: #718096;
    margin-bottom: 1rem;
}

.paper-abstract {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.paper-status {
    display: inline-block;
    background: #e6f2ff;
    color: #0e4e78;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
        text-align: justify;
        margin-bottom: 1.5rem;
    }

    .hero-contact {
        text-align: center;
        margin-top: 2rem;
    }

    .hero-links {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .profile-image {
        width: 260px;
        height: 320px;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        text-align: justify;
    }

    .profile-image {
        width: 240px;
        height: 300px;
    }

    .hero-links {
        flex-direction: column;
        align-items: center;
    }

    .hero-links a {
        width: 200px;
        text-align: center;
    }
}