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

body {
    font-family: 'Lora', Georgia, serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Hero Banner Styles */
.hero-banner {
    width: 100%;
    overflow: hidden;
}

.hero-top {
    max-height: 75px;
}

.hero-bottom {
    max-height: 200px;
    margin-top: 3rem;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Navigation Styles */
nav {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav li {
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #007bff;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.social-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Typography */
h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
}

h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Profile Section */
.profile-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-content {
    flex: 1;
}

/* Sections */
.section {
    margin-bottom: 2rem;
}

/* Publication formatting */
.hanging-indent {
    padding-left: 1.5em;
    text-indent: -1.5em;
    margin-bottom: 1em;
}

#research {
    scroll-margin-top: 80px;
}

#publications {
    scroll-margin-top: 80px;
}

#data-science {
    scroll-margin-top: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-top, .hero-bottom {
        max-height: 150px;
    }
}