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

html {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) no-repeat center center fixed;
    background-size: cover;
    min-height: 100%;
    height: 100%;
}

html.dark-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 50%, #16213e 100%) no-repeat center center fixed;
    background-size: cover;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: transparent;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Dark Theme Styles */
body.dark-theme {
    background: transparent;
    color: #e0e0e0;
}

body.dark-theme .section {
    border-bottom-color: #333;
}

body.dark-theme .section h2 {
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.2);
}

body.dark-theme .about-text h1 {
    color: #e0e0e0;
}

body.dark-theme .about-text p {
    color: #b0b0b0;
}

body.dark-theme .about-text a {
    color: #4da6ff;
}

body.dark-theme .about-text a:hover {
    color: #66b3ff;
    text-shadow: 0 0 12px rgba(77, 166, 255, 0.6);
}

body.dark-theme .profile-picture h2 {
    color: #e0e0e0;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.2), 0 0 20px rgba(102, 126, 234, 0.4);
}

body.dark-theme .profile-picture p {
    color: #b0b0b0;
}

body.dark-theme .social-links a {
    color: #4da6ff;
}

body.dark-theme .skill-category {
    background-color: #2a2a2a;
    border-left-color: #007bff;
}

body.dark-theme .skill-category h3 {
    color: #e0e0e0;
}

body.dark-theme .skill-category p {
    color: #b0b0b0;
}

body.dark-theme .project {
    background-color: #2a2a2a;
    border-left-color: #28a745;
}

body.dark-theme .project h3 {
    color: #e0e0e0;
}

body.dark-theme .project p {
    color: #b0b0b0;
}

body.dark-theme .publication {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left-color: #dc3545;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .publication h3 {
    color: #e0e0e0;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.2);
}

body.dark-theme .publication p {
    color: #b0b0b0;
}

body.dark-theme .experience-item {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left-color: #ffc107;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .experience-item h3 {
    color: #e0e0e0;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.2);
}

body.dark-theme .experience-item p {
    color: #b0b0b0;
}

body.dark-theme .experience-item li {
    color: #b0b0b0;
}

body.dark-theme .education-item {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left-color: #17a2b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .education-item h3 {
    color: #e0e0e0;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.2);
}

body.dark-theme .education-item p {
    color: #b0b0b0;
}

body.dark-theme .education-item li {
    color: #b0b0b0;
}

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

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

/* Navigation Bar */
nav {
    background: rgba(51, 51, 51, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #007bff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.nav-links a:hover {
    color: #007bff;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.8), 0 0 20px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #007bff;
}

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

.theme-toggle:hover i {
    transform: rotate(15deg);
}

/* Sections */
.section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.section:last-of-type {
    border-bottom: none;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Home Section */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 70px;
    margin-bottom: 40px;
}

.profile-picture {
    text-align: center;
    flex-shrink: 0;
}

.profile-picture img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(255, 255, 255, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.profile-picture img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(255, 255, 255, 0.3);
}

.profile-picture h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #333;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.profile-picture p {
    color: #666;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    margin: 0 12px;
    color: #007bff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    display: inline-block;
    transform: scale(1);
}

.social-links a:hover {
    transform: scale(1.3);
}

.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.about-text a {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.about-text a:hover {
    color: #0056b3;
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.about-text a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-text a:hover::after {
    transform: scaleX(1);
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #555;
}

/* Skills Section */
.skills-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    padding: 20px;
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.skill-category h3 i {
    margin-right: 10px;
    color: #007bff;
}

.skill-category p {
    color: #666;
    line-height: 1.6;
}

/* Projects Section */
.projects-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project {
    padding: 30px;
    border-left: 3px solid #28a745;
    background-color: #f8f9fa;
}

.project h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.project p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.project a:hover {
    text-decoration: underline;
}

/* Publications Section */
.publications-content {
    max-width: 1000px;
    margin: 0 auto;
}

.publication {
    margin-bottom: 30px;
    padding: 30px;
    border-left: 3px solid #dc3545;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.publication:last-child {
    margin-bottom: 0;
}

.publication:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.publication h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.publication p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.publication a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.publication a:hover {
    text-decoration: underline;
}

/* Experience Section */
.experience-content {
    max-width: 1000px;
    margin: 0 auto;
}

.experience-item {
    margin-bottom: 30px;
    padding: 30px;
    border-left: 3px solid #ffc107;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.experience-item p {
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.experience-item ul {
    padding-left: 20px;
}

.experience-item li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Additional Experience Section */
.experience-item.additional {
    border-left-color: #6f42c1;
    background-color: #f8f9fa;
}

.additional-subsection {
    margin-bottom: 25px;
}

.additional-subsection:last-child {
    margin-bottom: 0;
}

.additional-subsection h4 {
    font-size: 1.2rem;
    color: #6f42c1;
    margin-bottom: 12px;
    padding-bottom: 5px;
    border-bottom: 2px solid #6f42c1;
    display: inline-block;
}

.additional-subsection ul {
    margin-top: 10px;
}

/* Logo styling for experience and education items */
.experience-header, .education-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.company-logo, .university-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.experience-title, .education-title {
    flex: 1;
}

.experience-title h3, .education-title h3 {
    margin: 0 0 5px 0;
}

.experience-title p, .education-title p {
    margin: 0;
}

/* Dark theme logo styling */
body.dark-theme .company-logo,
body.dark-theme .university-logo {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Skills Section */
.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border-left: 4px solid #007bff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.skill-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.85);
}

.skill-item i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 15px;
    display: block;
}

.skill-item h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.skill-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Dark theme skills */
body.dark-theme .skill-item {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left-color: #4da6ff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .skill-item:hover {
    background: rgba(42, 42, 42, 0.8);
}

body.dark-theme .skill-item i {
    color: #4da6ff;
    filter: drop-shadow(0 0 10px rgba(77, 166, 255, 0.5));
}

/* Teaching Section */
.teaching-content {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 30px;
}

.teaching-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 3px solid #28a745;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teaching-item:last-child {
    margin-bottom: 0;
}

.teaching-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.teaching-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.teaching-title {
    flex: 1;
}

.teaching-title h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.teaching-title p {
    margin: 0;
    color: #666;
    font-weight: 500;
}

.teaching-item ul {
    margin: 0;
    padding-left: 20px;
}

.teaching-item li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Dark theme teaching */
body.dark-theme .teaching-item {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left-color: #4caf50;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .teaching-title h3 {
    color: #ffffff;
}

body.dark-theme .teaching-title p,
body.dark-theme .teaching-item li {
    color: #cccccc;
}

/* Additional section with multiple roles */
.experience-item.additional h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.experience-item.additional h3:first-child {
    margin-top: 0;
}

.experience-item.additional p {
    margin-bottom: 15px;
}

body.dark-theme .experience-item.additional {
    background-color: #2a2a2a;
    border-left-color: #6f42c1;
}

body.dark-theme .additional-subsection h4 {
    color: #9d7bdd;
    border-bottom-color: #9d7bdd;
}

/* Education Section */
.education-content {
    max-width: 1000px;
    margin: 0 auto;
}

.education-item {
    margin-bottom: 30px;
    padding: 30px;
    border-left: 3px solid #17a2b8;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.education-item p {
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.education-item ul {
    padding-left: 20px;
}

.education-item li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Recommendations Section */
.recommendations-content {
    max-width: 1000px;
    margin: 0 auto;
}

.year-section {
    margin-bottom: 40px;
}

.year-section:last-child {
    margin-bottom: 0;
}

.year-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.category-section {
    margin-bottom: 30px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-section h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-section h5 {
    font-size: 1.2rem;
    color: #555;
    margin: 15px 0 10px 0;
    font-weight: 500;
}

.recommendation-list {
    list-style: none;
    padding-left: 0;
}

.recommendation-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.recommendation-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.recommendation-list a {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.recommendation-list a:hover {
    color: #0056b3;
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.recommendation-list a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.recommendation-list a:hover::after {
    transform: scaleX(1);
}

.paper-authors {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 5px;
    display: inline-block;
}

.hidden-paper {
    display: none !important;
}

.view-more-btn {
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Dark theme recommendations */
body.dark-theme .year-section h3 {
    color: #e0e0e0;
    border-bottom-color: #4da6ff;
}

body.dark-theme .category-section h4 {
    color: #e0e0e0;
}

body.dark-theme .category-section h5 {
    color: #b0b0b0;
}

body.dark-theme .recommendation-list li::before {
    color: #4da6ff;
}

body.dark-theme .recommendation-list a {
    color: #4da6ff;
}

body.dark-theme .recommendation-list a:hover {
    color: #66b3ff;
    text-shadow: 0 0 12px rgba(77, 166, 255, 0.6);
}

body.dark-theme .paper-authors {
    color: #999;
}

body.dark-theme .view-more-btn {
    background-color: #4da6ff;
}

body.dark-theme .view-more-btn:hover {
    background-color: #66b3ff;
    box-shadow: 0 4px 8px rgba(77, 166, 255, 0.4);
}

/* News Section */
.news-content {
    max-width: 1000px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-text {
    flex: 1;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.news-date {
    flex-shrink: 0;
    font-weight: 600;
    color: #dc3545;
    font-size: 1rem;
    min-width: 120px;
    text-align: right;
}

/* Dark theme news */
body.dark-theme .news-item {
    border-bottom-color: #444;
}

body.dark-theme .news-text {
    color: #b0b0b0;
}

body.dark-theme .news-date {
    color: #ff6b6b;
}

/* Footer */
footer {
    background: rgba(51, 51, 51, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 30px 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1300px) {
    .hero-content {
        max-width: 95%;
    }
}

@media (max-width: 1024px) {
    .hero-content,
    .skills-content,
    .projects-content,
    .publications-content,
    .experience-content,
    .education-content {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .profile-picture img {
        width: 180px;
        height: 180px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .skills-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project, .publication, .experience-item, .education-item {
        padding: 20px;
    }
    
    .experience-header, .education-header {
        gap: 15px;
    }
    
    .company-logo, .university-logo {
        width: 50px;
        height: 50px;
    }
    
    .skills-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-item {
        padding: 20px;
    }
    
    .skill-item i {
        font-size: 2.5rem;
    }
    
    .teaching-header {
        gap: 15px;
    }
    
    .teaching-item {
        padding: 20px;
    }
    
    .hero-content,
    .skills-content,
    .projects-content,
    .publications-content,
    .experience-content,
    .education-content {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 10px;
        font-size: 0.8rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .about-text h1 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .project h3, .publication h3, .experience-item h3, .education-item h3 {
        font-size: 1.2rem;
    }
    
    .hero-content,
    .skills-content,
    .projects-content,
    .publications-content,
    .experience-content,
    .education-content {
        max-width: 98%;
    }
}
