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

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 45vh;
    min-height: 200px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: 100% auto;
    background-position: center 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.); */
    z-index: 1;
}

/* Profile Image - positioned at the boundary */
.profile-image {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 200px;
    height: 200px;
    transform: translateY(50%);
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid white;
    z-index: 10;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Intro Section */
.intro-section {
    padding-top: 6rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.intro-text {
    flex: 1;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.title {
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 1rem;
}

.bio {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.bio p {
    margin: 0 0 1rem 0;
}

.bio p:last-child {
    margin-bottom: 0;
}

.bio a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    transition: opacity 0.3s;
}

.bio a:hover {
    opacity: 0.6;
}

/* Main Content */
.main-content {
    max-width: 100%;
    padding: 0 20% 4rem 20%;
    position: relative;
    background: white;
    z-index: 5;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #333;
    padding-bottom: 0.5rem;
}

.publication {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.publication h3 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.publication .authors {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.publication .venue {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.publication .links a {
    display: inline-block;
    margin-right: 1rem;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid #000;
}

.publication .links a:hover {
    opacity: 0.7;
}

/* Footer Navigation */
.footer-nav {
    background: #000;
    padding: 2rem;
    text-align: center;
}

.footer-nav nav {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #999;
}

/* Contact Button */
.contact-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #000;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.contact-btn:hover {
    background: white;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 40vh;
        min-height: 300px;
        background-attachment: scroll;
    }

    .profile-image {
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 50%);
        width: 150px;
        height: 150px;
    }

    .intro-section {
        padding-top: 5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        flex-direction: row;
        gap: 1.5rem;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1.1rem;
    }

    .bio {
        font-size: 0.95rem;
    }

    .footer-nav nav {
        flex-direction: column;
        gap: 1rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }
}
