:root {
    --primary-color: #6d597a;
    --secondary-color: #b56576;
    --light-color: #f8f1f1;
    --dark-color: #333;
    --accent-color: #e56b6f;
    --text-color: #444;
    --text-light: #777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-color);
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

header h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f8f1f1 0%, #e8dff5 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.hero-image {
    flex: 0 0 300px;
}

.profile-photo {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-light {
    padding: 80px 0;
    background-color: white;
}

.section-dark {
    padding: 80px 0;
    background-color: var(--light-color);
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

.research-grid, .teaching-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.research-item, .teaching-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.research-item h3, .teaching-item h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.research-item ul, .teaching-item ul {
    list-style-position: inside;
    margin-bottom: 20px;
}

.research-item li, .teaching-item li {
    margin-bottom: 10px;
}

.publications li {
    margin-bottom: 20px;
    list-style: none;
}

.pub-title {
    display: block;
    font-weight: 600;
}

.pub-journal {
    display: block;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 5px 0;
}
.pub-author {
    display: block;
    font-style: normal; 
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 5px 0;
}

.pub-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.cv-container {
    max-width: 800px;
    margin: 0 auto;
}

.cv-section {
    margin-bottom: 30px;
}

.cv-section h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.cv-list {
    list-style: none;
}

.cv-list li {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cv-year {
    flex: 0 0 120px;
    font-weight: 600;
    color: var(--primary-color);
}

.cv-detail {
    flex: 1;
}

.materials {
    text-align: center;
    margin-top: 40px;
}

.materials h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.material-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 3rem; /* Adjust as needed (e.g., 1rem, 32px, etc.) */
}
.research-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn, .btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.contact-info {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-image {
        flex: 0 0 auto;
        width: 70%;
    }
    
    nav ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    header h1 {
        text-align: center;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 15px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
}






