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

:root {
    --primary-color: #0a0e27;
    --secondary-color: #6366f1;
    --accent-color: #ec4899;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-gray: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --primary-color: #f5f5f5;
    --secondary-color: #818cf8;
    --accent-color: #f472b6;
    --text-color: #e5e5e5;
    --text-light: #a3a3a3;
    --bg-color: #171717;
    --bg-gray: #262626;
    --border-color: #404040;
    --shadow: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.6);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.6);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation - Modern Minimal */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background-color: rgba(23, 23, 23, 0.8);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-brand {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-brand.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.1px;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-brand.logo:hover {
    color: var(--text-color);
}

.nav-brand.logo::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
    margin: 0 8px;
    opacity: 0.3;
}

.nav-icon {
    font-size: 1.1rem;
    padding: 8px 10px !important;
    transition: all 0.3s ease;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nav-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.1);
    text-decoration: none;
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero-About Combined Section */
.hero-about {
    padding: 2rem 0 2rem;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-color) 100%);
}

.hero-about-content {
    display: grid;
    grid-template-columns: 1.5fr 0.6fr;
    gap: 2.5rem;
    align-items: start;
}

.hero-about-text {
    padding-top: 0;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--primary-color);
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-affiliation {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.about-description {
    margin-top: 1rem;
}

.about-description p {
    font-size: 1.02rem;
    line-height: 1.68;
    color: var(--text-color);
    margin-bottom: 0.85rem;
}

.hero-about-image {
    position: sticky;
    top: 100px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

.hero-about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
    margin-top: 0;
}

.about-info {
    width: 100%;
    background: transparent;
    padding: 1rem 0 0.5rem;
    text-align: center;
    margin-top: auto;
    box-sizing: border-box;
}

.role-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.info-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 0 auto 0.6rem;
    border-radius: 2px;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.detail-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-color);
}

.detail-line i {
    color: var(--secondary-color);
    font-size: 0.75rem;
    width: 14px;
}

.detail-line span {
    font-weight: 500;
}

.group-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.group-link:hover {
    color: var(--accent-color);
}

.about-info p {
    margin: 0;
    padding: 0.25rem 0;
    color: var(--text-color);
    font-size: 0.75rem;
    line-height: 1.3;
}

.about-info p i {
    color: var(--secondary-color);
    margin-right: 0.4rem;
    width: 12px;
    text-align: center;
    font-size: 0.7rem;
}

.about-info p:first-child {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
    padding-top: 0;
    font-weight: 700;
    border-bottom: none;
}

.about-info p:last-child {
    padding-bottom: 0;
}

.group-link:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* Old hero and about styles - keeping for backwards compatibility */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-color) 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-affiliation {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--bg-gray);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

/* Section Styles */
.section {
    padding: 3rem 0;
}

.section-gray {
    background-color: var(--bg-gray);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* About Section - Modern Grid */
.about-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.05rem;
}

.research-interests {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    color: white;
}

.research-interests h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.research-interests ul {
    list-style: none;
    padding-left: 0;
}

.research-interests li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.research-interests li:before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.interests-title {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.research-interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.interest-card {
    padding: 1rem 1rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    color: white;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.interest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.interest-card h4 {
    color: white;
    margin: 0 0 0.6rem 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.4rem;
}

.interest-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.interest-card li {
    padding: 0.3rem 0;
    padding-left: 0;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.interest-card li i {
    color: white;
    font-size: 1rem;
    min-width: 1rem;
    text-align: center;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 1.5rem;
    border: 4px solid var(--border-color);
}

/* Timeline - Modern Horizontal */
.timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.timeline::before {
    display: none;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    position: relative;
}

.timeline-date {
    text-align: center;
    font-weight: 700;
    color: var(--secondary-color);
    padding-bottom: 0.75rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.timeline-content {
    background-color: var(--bg-color);
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    min-height: 68px;
}

.timeline-content h3.title-large {
    font-size: 1.05rem;
}

.timeline-content h3 i {
    color: var(--secondary-color);
    margin-right: 0;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.timeline-content h3 span {
    flex: 1;
}

.title-logo {
    height: 56px;
    width: auto;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.title-logo-large {
    height: 68px;
    width: auto;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.institution {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.8rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.institution span {
    flex: 1;
    white-space: nowrap;
}

.institution a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
    white-space: nowrap;
}

.institution a:hover {
    color: var(--secondary-color);
}

.institution i {
    color: var(--secondary-color);
    margin-right: 0;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.location {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.location i {
    color: var(--accent-color);
    margin-right: 0;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.location span {
    flex: 1;
}

.timeline-content ul {
    margin-top: 0.75rem;
    padding-left: 0;
    list-style: none;
    flex-grow: 1;
}

.timeline-content li {
    margin: 0.4rem 0;
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.85rem;
}

.timeline-content li i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* Publications - Modern Cards */
.publications-list {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 1.25rem;
}

.publication-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.25rem;
    background-color: var(--bg-color);
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.publication-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.publication-image {
    position: relative;
}

.publication-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
    border: 1px solid var(--border-color);
}

.publication-status {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-published {
    background: linear-gradient(135deg, #10b981, #059669);
}

.status-thesis {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.status-review {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.status-preparation {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.publication-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.authors {
    color: var(--text-color);
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.venue {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
}

.publication-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.publication-links .publication-status {
    position: static;
    margin: 0;
}

.btn-link {
    padding: 0.4rem 1rem;
    background-color: var(--bg-gray);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.btn-link:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Tabs for Experience & Projects */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 2rem;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-button:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Experience - Clean Cards */
.experience-list {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.experience-item {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 2rem;
}

.experience-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.experience-header h3 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.experience-header h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.experience-header h3 i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.experience-date {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.organization {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.05rem;
}

.supervisor {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.25rem;
}

.experience-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.experience-content li {
    margin: 0.75rem 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Projects - Modern Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.project-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-card .course-year {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--bg-gray);
    color: var(--text-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* CV Section */
.cv-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cv-content p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-primary i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--bg-gray);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-icon {
    transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: inline;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: inline;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-about {
        padding: 4rem 0 2rem;
    }

    .hero-about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-about-text {
        padding-top: 0;
    }

    .hero-about-image {
        position: relative;
        top: 0;
        order: -1;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .interests-title {
        font-size: 1.3rem;
        margin-top: 2rem;
    }

    .research-interests-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .interest-card {
        padding: 1.5rem 1.25rem;
    }

    .interest-card h4 {
        font-size: 1.1rem;
    }

    .interest-card li {
        font-size: 0.9rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        margin-bottom: 0;
    }

    .timeline-date {
        text-align: center;
        padding-bottom: 0.75rem;
    }

    .timeline-content::before {
        display: none;
    }

    .publication-item {
        grid-template-columns: 1fr;
    }

    .tabs {
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .experience-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .experience-date {
        text-align: left;
    }

    .experience-item {
        padding: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: flex;
    }

    .nav-social {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        justify-content: flex-start;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.75rem 0;
        text-align: left;
    }

    .nav-divider {
        display: none;
    }

    .nav-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu a::after {
        display: none;
    }
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-out;
}
