/* Global Styles */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #34495e;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --sidebar-width: 280px;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

main {
    overflow-x: hidden;
    width: 100%;
}

section {
    overflow-x: hidden;
    width: 100%;
}

/* Enhanced Top Navigation */
.top-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 251, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: var(--transition);
    border-bottom: 1px solid rgba(26, 115, 232, 0.1);
    overflow-x: hidden;
}

.top-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* AI-Themed Brand */
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.brand-link:hover {
    transform: scale(1.05);
}

.ai-logo {
    position: relative;
    width: 40px;
    height: 40px;
}

.neural-network-icon {
    position: relative;
    width: 100%;
    height: 100%;
}

.neural-network-icon .node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.neural-network-icon .node:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.neural-network-icon .node:nth-child(2) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 0.5s;
}

.neural-network-icon .node:nth-child(3) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.neural-network-icon .connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    animation: dataFlow 3s infinite;
}

.neural-network-icon .connection:nth-child(4) {
    top: 25%;
    left: 25%;
    width: 50%;
    transform: rotate(45deg);
}

.neural-network-icon .connection:nth-child(5) {
    top: 25%;
    right: 25%;
    width: 50%;
    transform: rotate(-45deg);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.top-nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.top-nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 18px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.top-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.1), transparent);
    transition: left 0.3s;
}

.top-nav-link:hover::before {
    left: 100%;
}

.top-nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(26, 115, 232, 0.1);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1003;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Removed Sidebar - Now using full-width layout */

/* Main Content - Full Width Layout */
.main-content {
    margin-top: 70px;
    width: 100%;
    transition: var(--transition);
}

/* AI-Themed Hero Section */
.hero {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* AI Background Animation */
.ai-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neural-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    opacity: 0.1;
}

.neural-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neural-layer.layer-1 {
    top: 0;
    animation: neuralPulse 4s ease-in-out infinite;
}

.neural-layer.layer-2 {
    top: 30%;
    animation: neuralPulse 4s ease-in-out infinite 1s;
}

.neural-layer.layer-3 {
    top: 60%;
    animation: neuralPulse 4s ease-in-out infinite 2s;
}

.neuron {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-color);
    animation: neuronGlow 3s ease-in-out infinite;
}

.neural-layer.layer-1 .neuron:nth-child(1) { top: 0; left: 20%; }
.neural-layer.layer-1 .neuron:nth-child(2) { top: 0; left: 40%; }
.neural-layer.layer-1 .neuron:nth-child(3) { top: 0; left: 60%; }
.neural-layer.layer-1 .neuron:nth-child(4) { top: 0; left: 80%; }

.neural-layer.layer-2 .neuron:nth-child(1) { top: 0; left: 10%; }
.neural-layer.layer-2 .neuron:nth-child(2) { top: 0; left: 30%; }
.neural-layer.layer-2 .neuron:nth-child(3) { top: 0; left: 50%; }
.neural-layer.layer-2 .neuron:nth-child(4) { top: 0; left: 70%; }
.neural-layer.layer-2 .neuron:nth-child(5) { top: 0; left: 90%; }

.neural-layer.layer-3 .neuron:nth-child(1) { top: 0; left: 25%; }
.neural-layer.layer-3 .neuron:nth-child(2) { top: 0; left: 50%; }
.neural-layer.layer-3 .neuron:nth-child(3) { top: 0; left: 75%; }

.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 4s; }

.hero-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.profile-image {
    position: relative;
}

.ai-frame {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(26, 115, 232, 0.5);
    overflow: hidden;
    animation: aiFrameGlow 3s ease-in-out infinite;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(1.1) contrast(1.1);
}

.ai-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scanLine 2s ease-in-out infinite;
}

.profile-img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

.profile-info {
    text-align: left;
    max-width: 500px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
    position: relative;
}

.ai-text {
    background: linear-gradient(135deg, #ffffff, #4a90e2, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: textGlow 3s ease-in-out infinite;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-color);
    margin-left: 5px;
    animation: blink 1s infinite;
}

.hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
    align-items: center;
}

.ai-badge, .vlm-badge, .llm-badge {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: badgePulse 2s ease-in-out infinite;
}

.ai-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.vlm-badge {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.llm-badge {
    background: linear-gradient(135deg, #a8e6cf, #7fcdcd);
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(168, 230, 207, 0.3);
}

.hero-description {
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    color: #b8c5d6;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 500;
}

.hero-location {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #8fa3b8;
    margin-bottom: 25px;
    font-style: italic;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.expertise-tag {
    padding: 6px 16px;
    background: rgba(26, 115, 232, 0.2);
    color: #4a90e2;
    border: 1px solid rgba(26, 115, 232, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    animation: tagFloat 3s ease-in-out infinite;
}

.expertise-tag:nth-child(1) { animation-delay: 0s; }
.expertise-tag:nth-child(2) { animation-delay: 0.5s; }
.expertise-tag:nth-child(3) { animation-delay: 1s; }
.expertise-tag:nth-child(4) { animation-delay: 1.5s; }

.expertise-tag:hover {
    background: rgba(26, 115, 232, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.2);
}

.hero-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.ai-btn {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    min-width: 140px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary.ai-btn {
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
}

.btn-primary.ai-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 115, 232, 0.4);
    background: linear-gradient(135deg, #1557b0, var(--primary-color));
}

.btn-secondary.ai-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary.ai-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ai-btn:hover .btn-glow {
    left: 100%;
}

/* Sections */
.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: sectionFadeIn 0.8s ease forwards;
}

@keyframes sectionFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-alt {
    background-color: var(--background-light);
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 60px);
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    line-height: 1.2;
    width: 100%;
}

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

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

.research-interests {
    margin-top: 40px;
}

.research-interests h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 480px) {
    .interest-tags {
        gap: 8px;
    }
    
    .tag {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}

.tag {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
}

.tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.tag:hover::before {
    animation: shine 0.5s ease;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 20px 40px;
    width: 50%;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 30px;
}

.timeline-item:nth-child(odd)::after {
    right: -8px;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.05), transparent);
    transition: left 0.6s;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    margin-bottom: 10px;
    line-height: 1.3;
}

.institution {
    color: var(--text-light);
    margin-bottom: 5px;
}

.details {
    font-weight: 600;
    color: var(--text-dark);
}

.courses {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Experience */
.experience-category {
    margin-bottom: 60px;
}

.experience-category h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 30px;
}

@media (max-width: 400px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.experience-card {
    background: linear-gradient(145deg, #ffffff, #fafbfc);
    border: 1px solid rgba(26, 115, 232, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.experience-header h4 {
    font-size: clamp(1.1rem, 3vw, 1.2rem);
    color: var(--primary-color);
    line-height: 1.3;
}

.experience-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.experience-role {
    font-weight: 600;
    margin-bottom: 5px;
}

.experience-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-title {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    margin-top: 15px;
}

.project-section {
    margin-bottom: 20px;
}

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

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

.experience-details li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
}

.experience-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Teaching */
.teaching-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
}

@media (max-width: 400px) {
    .teaching-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.teaching-item {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

.teaching-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), #4a90e2);
    transition: height 0.3s ease;
}

.teaching-item:hover::before {
    height: 100%;
}

.teaching-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.teaching-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Enhanced Publications */
.publication-category {
    margin-bottom: 50px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
}

.category-title i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.publications-list {
    max-width: 1000px;
    margin: 0 auto;
}

.publication-item {
    background-color: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.publication-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), #4a90e2);
    transition: height 0.3s ease;
}

.publication-item:hover::before {
    height: 100%;
}

.publication-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.15);
    border-left-color: var(--primary-color);
}

.publication-item.featured {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.2);
}

.publication-item.preprint {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-left-color: #ff9800;
}

.publication-item.book-chapter {
    background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
    border-left-color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.2);
}

.publication-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(26, 115, 232, 0.3);
}

.preprint-badge {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    box-shadow: 0 2px 10px rgba(255, 152, 0, 0.3);
}

.book-badge {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    box-shadow: 0 2px 10px rgba(156, 39, 176, 0.3);
}

.publication-item h4 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 600;
    padding-right: 80px;
}

.authors {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.authors strong {
    color: var(--primary-color);
    font-weight: 600;
}

.publication-venue {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.publication-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.pub-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.pub-link i {
    font-size: 0.8rem;
}

/* Journal Reviewer Section */
.reviewer-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.reviewer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 30px;
    margin-top: 30px;
}

.reviewer-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.reviewer-category h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
}

.journal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.journal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.journal-item:hover {
    border-left-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.1);
}

.journal-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
    flex: 1;
}

.review-count {
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.publication-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(26, 115, 232, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.publication-note p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.publication-note i {
    color: var(--primary-color);
    margin-right: 8px;
}

.publication-note a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .skills-grid {
        gap: 25px;
    }
}

@media (max-width: 400px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.skill-category {
    text-align: center;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.skill-category i {
    margin-right: 10px;
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 480px) {
    .skill-tags {
        gap: 8px;
    }
    
    .skill-tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

.skill-tag {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    z-index: -1;
}

.skill-tag:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.skill-tag:hover {
    color: white;
    border-color: var(--primary-color);
}

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 400px) {
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.award-item {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: linear-gradient(145deg, #ffffff, #f8fafb);
    border: 1px solid rgba(26, 115, 232, 0.08);
    position: relative;
    overflow: hidden;
}

.award-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.award-item:hover::before {
    transform: scaleX(1);
}

.award-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 115, 232, 0.15);
}

.featured-award {
    background: linear-gradient(145deg, #fff8e1, #ffffff);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.2);
    position: relative;
}

.featured-award::after {
    content: 'Latest';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.award-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.award-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.award-item p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.award-date {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.award-description {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(26, 115, 232, 0.1);
}

.award-description p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.certificates {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.certificates h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.certificates ul {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.certificates li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.certificates li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ========================================
   EXCEPTIONAL CONTACT SECTION
   ======================================== */

.contact-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-header-modern {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle-modern {
    font-size: 1.15rem;
    color: #64748b;
    margin-top: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Elegant Form */
.contact-main-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.elegant-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.elegant-form .form-field {
    margin-bottom: 25px;
}

.elegant-form label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.elegant-form input,
.elegant-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafbfc;
    box-sizing: border-box;
    color: #1e293b;
}

.elegant-form input::placeholder,
.elegant-form textarea::placeholder {
    color: #94a3b8;
}

.elegant-form input:focus,
.elegant-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.08);
    transform: translateY(-1px);
}

.elegant-form textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.elegant-submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    letter-spacing: 0.3px;
}

.elegant-submit-btn:hover {
    background: #1557b0;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(26, 115, 232, 0.25);
}

.elegant-submit-btn:active {
    transform: translateY(-1px);
}

.elegant-submit-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.elegant-submit-btn:hover i {
    transform: translateX(4px);
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
}

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

.detail-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(26, 115, 232, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content span,
.detail-content a {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-content a:hover {
    color: var(--primary-color);
}

/* Social Card */
.social-card-simple {
    background: white;
    border: 1px solid #e5e7eb;
}

.social-card-simple h3 {
    color: #1e293b;
    border-bottom: 1px solid #e5e7eb;
}

.social-buttons-simple {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn-simple {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.6rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.social-btn-simple.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.social-btn-simple.github:hover {
    background: #333;
    border-color: #333;
    color: white;
}

.social-btn-simple.scholar:hover {
    background: #4285f4;
    border-color: #4285f4;
    color: white;
}

.social-btn-simple.email:hover {
    background: #ea4335;
    border-color: #ea4335;
    color: white;
}

/* Citation Notification */
.citation-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 500;
}

.citation-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.citation-notification.success {
    border-left: 4px solid #10b981;
    color: #065f46;
}

.citation-notification.success i {
    color: #10b981;
    font-size: 1.2rem;
}

.citation-notification.error {
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.citation-notification.error i {
    color: #ef4444;
    font-size: 1.2rem;
}

/* Form Status */
.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-main-form {
        padding: 40px 35px;
    }
    
    .sidebar-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-main-form {
        padding: 30px 25px;
    }
    
    .elegant-form .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .sidebar-card {
        padding: 25px;
    }
    
    .contact-detail-item {
        margin-bottom: 20px;
    }
    
    .detail-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .section-subtitle-modern {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* Enhanced Contact Form */
.contact-form {
    width: 100%;
    max-width: none;
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: white;
    box-sizing: border-box;
}

.form-group small {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
    background: linear-gradient(145deg, #ffffff, #f8fafb);
    transform: translateY(-1px);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    margin-top: 15px;
    padding: 16px 24px;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    min-height: 50px;
    font-weight: 600;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.languages {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
}

.languages h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Simple Footer Styles */
.footer {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #22313f 100%);
    color: white;
    text-align: center;
    padding: 48px 0 32px 0;
    border-top: 3px solid var(--primary-color);
    margin-top: 60px;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.footer-social {
    display: flex;
    gap: 22px;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.15);
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.98rem;
    opacity: 0.8;
}

.footer-built {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem !important;
    margin-top: 5px !important;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .footer {
        padding: 32px 0 20px 0;
    }
    
    .footer-content {
        gap: 12px;
    }
    
    .footer-social a {
        font-size: 1.2rem;
    }
    
    .footer-copyright p {
        font-size: 0.92rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-separator {
        display: none;
    }
}

/* Custom Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f8fafb, #ffffff);
}

.modal-header h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.modal-close:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    background: none;
    border: none;
    padding: 0;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    background: var(--background-light);
    text-align: right;
}

.modal-footer .btn {
    min-width: 80px;
}

@media (max-width: 768px) {
    .custom-modal {
        padding: 15px;
    }
    
    .modal-content {
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .modal-body {
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .custom-modal {
        padding: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body pre {
        font-size: 0.9rem;
    }
}

/* Advanced Accessibility Features */

/* Screen Reader Only Content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    clip-path: inset(50%) !important;
}

/* ========================================
   ACCESSIBILITY BADGE & COMMITMENT
   ======================================== */

/* Accessibility Badge */
.accessibility-badge {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10003;
}

.badge-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseGlow 3s ease-in-out infinite;
}

.badge-trigger:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.badge-trigger i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.badge-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(102, 126, 234, 0.7);
    }
}

/* Accessibility Commitment Banner */
.a11y-commitment-banner {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 700px;
    width: calc(100% - 40px);
    animation: slideDown 0.5s ease-out;
}

.commitment-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 50px 18px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.commitment-content i.fa-heart {
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.commitment-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.commitment-content kbd {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.85rem;
    font-family: monospace;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.close-banner {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-banner:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) rotate(90deg);
}

/* Hide banner after close */
.a11y-commitment-banner.hidden {
    display: none;
}

/* Accessibility Statement Section - Simple */
.accessibility-statement-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%);
    padding: 40px 0;
    text-align: center;
}

.accessibility-statement-simple {
    font-size: 1.05rem;
    color: #334155;
    margin: 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 800px;
    line-height: 1.6;
}

.accessibility-statement-simple i {
    color: #667eea;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.accessibility-statement-simple kbd {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.9rem;
    font-family: monospace;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Responsive Accessibility */
@media (max-width: 768px) {
    .accessibility-badge {
        bottom: 20px;
        left: 20px;
    }
    
    .badge-trigger {
        width: 55px;
        height: 55px;
    }
    
    .badge-trigger i {
        font-size: 1.3rem;
    }
    
    .a11y-commitment-banner {
        top: 60px;
        width: calc(100% - 30px);
    }
    
    .commitment-content {
        padding: 15px 45px 15px 20px;
        font-size: 0.9rem;
    }
    
    .commitment-content i.fa-heart {
        font-size: 1.2rem;
    }
    
    .accessibility-statement-simple {
        font-size: 0.95rem;
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
}


/* Accessibility Toggle Button */
.accessibility-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    transition: all 0.3s ease;
    z-index: 10003;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus {
    background: #1557b0;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

/* Show accessibility toggle when needed */
.accessibility-toggle.show,
body.accessibility-active .accessibility-toggle {
    display: flex;
}

/* Accessibility Menu */
.accessibility-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10004;
    overflow-y: auto;
}

.accessibility-menu.active {
    transform: translateX(0);
}

.accessibility-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.accessibility-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.accessibility-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.accessibility-close:hover,
.accessibility-close:focus {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.accessibility-options {
    flex: 1;
    overflow-y: auto;
}

.accessibility-group {
    margin-bottom: 25px;
    padding: 15px;
    background: var(--background-light);
    border-radius: 8px;
}

.accessibility-group h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.accessibility-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.accessibility-option:hover {
    background: rgba(26, 115, 232, 0.05);
}

.accessibility-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.accessibility-option span {
    color: var(--text-dark);
    font-weight: 500;
}

.accessibility-reset {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.accessibility-reset:hover,
.accessibility-reset:focus {
    background: #c82333;
}

/* Reading Guide */
.reading-guide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    pointer-events: none;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.reading-guide.active {
    transform: translateY(0);
}

/* High Contrast Mode */
body.high-contrast {
    --primary-color: #0066cc;
    --secondary-color: #000000;
    --text-dark: #000000;
    --text-light: #333333;
    --background-light: #ffffff;
    --background-white: #ffffff;
    --border-color: #000000;
}

body.high-contrast .hero {
    background: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast .footer {
    background: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast .btn {
    border: 2px solid #000000 !important;
}

/* Large Text Mode */
body.large-text {
    font-size: 120% !important;
}

body.large-text h1,
body.large-text h2,
body.large-text h3,
body.large-text h4,
body.large-text h5,
body.large-text h6 {
    line-height: 1.4 !important;
}

/* Enhanced Focus Indicators */
body.enhanced-focus *:focus {
    outline: 3px solid var(--primary-color) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.2) !important;
}

/* Reduced Motion */
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Dyslexia-Friendly Font */
body.dyslexia-font {
    font-family: 'Comic Sans MS', 'Trebuchet MS', Verdana, sans-serif !important;
}

body.dyslexia-font .hero-title,
body.dyslexia-font .section-title {
    font-family: 'Comic Sans MS', 'Trebuchet MS', Verdana, sans-serif !important;
}

/* Keyboard Navigation Enhancement */
body.enhanced-keyboard .top-nav-link:focus {
    background: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.05) !important;
}

/* Form Error States */
.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Mobile Accessibility */
@media (max-width: 768px) {
    .accessibility-menu {
        width: 100%;
    }
    
    .accessibility-toggle {
        top: 5px;
        right: 5px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Print Accessibility */
@media print {
    .accessibility-menu,
    .accessibility-toggle,
    .reading-guide {
        display: none !important;
    }
}

/* Animation for Focus Management */
@keyframes focusGlow {
    0% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(26, 115, 232, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0); }
}

.focus-glow {
    animation: focusGlow 0.6s ease-out;
}

/* ========================================
   PROJECTS SECTION - PROFESSIONAL GRID
   ======================================== */

.section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: -15px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.project-thumbnail {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
}

.project-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    transition: transform 0.3s ease;
    position: relative;
}

.project-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.project-icon i {
    position: relative;
    z-index: 2;
}

.project-card:hover .project-icon {
    transform: scale(1.08);
}

/* Clean Gradient Backgrounds */
.medical-ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.navigation-ai {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.optimization {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.multimodal {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.graph-learning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.data-engineering {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.project-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: white;
}

.project-card-body h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 50px;
}

.project-card-body > p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    min-height: 72px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.project-tags span {
    background: #f1f5f9;
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.project-tags span:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-read-more:hover {
    background: #1557b0;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-read-more i {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10005;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.project-modal.active {
    display: flex;
}

.modal-container {
    background: white;
    max-width: 900px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.modal-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-body {
    padding: 40px;
}

.modal-section {
    margin-bottom: 35px;
}

.modal-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section p,
.modal-section ul {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.modal-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tech-item {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(26, 115, 232, 0.05));
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(26, 115, 232, 0.2);
    font-size: 0.9rem;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #24292e;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.github-link:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.github-link i {
    font-size: 1.4rem;
}

/* Responsive Projects */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .project-thumbnail {
        height: 180px;
    }
    
    .project-icon {
        font-size: 3rem;
    }
    
    .project-card-body {
        padding: 20px;
    }
    
    .project-card-body h3 {
        font-size: 1.15rem;
        min-height: auto;
    }
    
    .project-card-body > p {
        font-size: 0.875rem;
        min-height: auto;
    }
    
    .modal-container {
        max-height: 95vh;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body {
        padding: 25px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .top-nav-menu {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .top-nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .top-nav-container {
        padding: 0 15px;
        flex-wrap: wrap;
    }
    
    .nav-brand h2 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .hero-profile {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .profile-info {
        text-align: center;
        padding: 0 15px;
    }

    .profile-img {
        width: 160px;
        height: 160px;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 22px;
    }

    .timeline-item:nth-child(even)::after {
        left: 22px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .teaching-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        width: 100%;
        left: -100%;
    }
    
    .sidebar.active {
        left: 0;
    }

    .section-title::after {
        width: 40px;
        height: 3px;
    }
    
    .experience-card,
    .publication-item,
    .award-item {
        margin-bottom: 20px;
    }
}

/* Enhanced Small Screen Support */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0 60px;
    }
    
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 8px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .profile-img {
        width: 130px;
        height: 130px;
    }
    
    .hero-profile {
        gap: 20px;
    }
    
    .top-nav-menu {
        gap: 6px;
    }
    
    .top-nav-link {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .nav-brand h2 {
        font-size: 1.15rem;
    }
    
    .experience-card,
    .publication-item,
    .timeline-content {
        padding: 20px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Improve sidebar on very small screens */
    .sidebar {
        width: 100vw;
    }
    
    .sidebar-menu {
        padding: 15px 0;
    }
    
    .sidebar-link {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media print {
    .top-navbar,
    .sidebar,
    .sidebar-overlay {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }

    .hero {
        page-break-after: always;
    }
}

/* Improved Sidebar Responsiveness */
@media (min-width: 1024px) {
    .sidebar {
        left: 0;
        box-shadow: 2px 0 20px rgba(0,0,0,0.08);
        z-index: 1002;
        position: fixed;
    }
    .sidebar-overlay {
        display: none !important;
    }
    .main-content {
        margin-left: var(--sidebar-width);
        margin-top: 70px;
    }
    .sidebar-toggle {
        display: none;
    }
}

@media (max-width: 1023px) {
    .sidebar {
        left: -100%;
        width: min(80vw, 320px);
        max-width: 320px;
    }
    .sidebar.active {
        left: 0;
    }
    .main-content {
        margin-left: 0;
        margin-top: 70px;
    }
    .sidebar-toggle {
        display: flex;
    }
}

/* Sidebar always active on desktop */
@media (min-width: 769px) {
    .sidebar {
        transition: none;
    }
}

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

/* Add fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Links Animation */
.hero-links .btn {
    animation: bounceIn 0.6s ease;
}

.hero-links .btn:nth-child(1) { animation-delay: 0.1s; }
.hero-links .btn:nth-child(2) { animation-delay: 0.2s; }
.hero-links .btn:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounceIn {
    0% { 
        transform: scale(0.3); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.05); 
    }
    70% { 
        transform: scale(0.9); 
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

/* Timeline animations with stagger */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }

/* Experience card hover improvement */
.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Award item hover improvement */
.award-item:hover {
    transform: translateY(-5px);
}

/* Performance and Accessibility Improvements */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Improve focus indicators for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.sidebar-link:focus,
.top-nav-link:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(26, 115, 232, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 9998;
    display: none;
}

.loading-overlay.active,
.loading-spinner.active {
    display: block;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 6px;
}

/* Enhanced contrast and readability */
.text-light {
    color: #5a6c7d !important;
}

/* Improve text contrast ratios */
:root {
    --text-light: #5a6c7d;
    --text-medium: #495057;
}

/* Better line heights for readability */
p, li, .timeline-content, .experience-details {
    line-height: 1.6;
}

/* Improve small text readability */
.experience-date,
.timeline-date,
.post-meta,
.form-group small {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    line-height: 1.4;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #2c3e50;
        --border-color: #2c3e50;
    }
    
    .skill-tag,
    .tag {
        border: 2px solid var(--text-dark);
    }
}

/* Enhanced button states */
.btn:active {
    transform: translateY(1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Enhanced form validation styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Smooth transitions for all interactive elements */
button,
a,
input,
textarea,
.experience-card,
.publication-item,
.award-item,
.skill-tag,
.tag {
    transition: all 0.2s ease;
}

/* Optimize font loading */
.hero-title,
.section-title {
    font-display: swap;
}

/* Improve text selection */
::selection {
    background: rgba(26, 115, 232, 0.2);
    color: var(--text-dark);
}

/* Print styles optimization */
@media print {
    .loading-spinner,
    .loading-overlay,
    .skip-to-content {
        display: none !important;
    }
    
    .hero {
        break-after: page;
    }
    
    .section {
        break-inside: avoid;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* Enhanced mobile touch targets */
@media (max-width: 768px) {
    .btn,
    .sidebar-link,
    .top-nav-link,
    .contact-item a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Dark mode support (system preference) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #e9ecef;
        --text-light: #adb5bd;
        --background-light: #212529;
        --background-white: #343a40;
        --border-color: #495057;
    }
    
    body {
        background-color: var(--background-white);
        color: var(--text-dark);
    }
    
    .hero {
        background: linear-gradient(135deg, #343a40 0%, #495057 50%, #6c757d 100%);
    }
    
    .timeline-content,
    .experience-card,
    .publication-item,
    .award-item,
    .contact-card {
        background: var(--background-white);
        color: var(--text-dark);
    }
}

/* Image optimization and lazy loading */
img {
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Enhanced animations with better performance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    33% { 
        transform: translate3d(-20px, -20px, 0) rotate(120deg);
    }
    66% { 
        transform: translate3d(20px, -10px, 0) rotate(240deg);
    }
}

/* GPU acceleration for better performance */
.profile-img,
.btn,
.experience-card,
.sidebar {
    will-change: transform;
}

/* Preload critical animations */
.hero::before,
.profile-img {
    transform: translate3d(0, 0, 0);
}

/* Error state styles */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid #f5c6cb;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Success state styles */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn:hover,
    .experience-card:hover,
    .publication-item:hover,
    .award-item:hover,
    .skill-tag:hover,
    .tag:hover {
        transform: none;
        background-color: initial;
        color: initial;
        border-color: initial;
    }
    
    /* Add touch feedback */
    .btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .experience-card:active,
    .publication-item:active,
    .award-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .sidebar-link:active,
    .top-nav-link:active {
        background-color: rgba(26, 115, 232, 0.2);
    }
    
    /* Improve readability on touch devices */
    body {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* Safe area support for modern devices */
@supports (padding: max(0px)) {
    .top-navbar {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-top: env(safe-area-inset-top);
    }
    
    .sidebar {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-top: env(safe-area-inset-top);
    }
    
    .main-content {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
    
    /* Adjust button positioning in safe areas */
    .sidebar-toggle {
        margin-right: env(safe-area-inset-right);
    }
}

/* AI-Themed Animations */
@keyframes neuralPulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.05); }
}

@keyframes neuronGlow {
    0%, 100% { 
        box-shadow: 0 0 20px var(--primary-color);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px var(--primary-color), 0 0 40px rgba(26, 115, 232, 0.5);
        transform: scale(1.1);
    }
}

@keyframes dataFlow {
    0% { 
        opacity: 0;
        transform: translateX(-100%);
    }
    50% { 
        opacity: 1;
    }
    100% { 
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

@keyframes aiFrameGlow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(26, 115, 232, 0.5);
        border-color: var(--primary-color);
    }
    50% { 
        box-shadow: 0 0 50px rgba(26, 115, 232, 0.8);
        border-color: #4a90e2;
    }
}

@keyframes scanLine {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes textGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 10px rgba(26, 115, 232, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(26, 115, 232, 0.6));
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes tagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .top-nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 251, 0.95) 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .top-nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .top-nav-menu li {
        margin-bottom: 10px;
    }
    
    .top-nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
        border-radius: 10px;
        font-size: 1.1rem;
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Research Projects Section */
.project-category {
    margin-bottom: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), #4a90e2);
    transition: height 0.3s ease;
}

.project-item:hover::before {
    height: 100%;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.15);
    border-left-color: var(--primary-color);
}

.project-item.featured {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.2);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(26, 115, 232, 0.3);
}

.project-header {
    margin-bottom: 15px;
    padding-right: 80px;
}

.project-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.project-year {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-status {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.project-collaborators,
.project-venue,
.project-outcome {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.project-collaborators strong,
.project-venue strong,
.project-outcome strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Enhanced About Section */
.about-intro {
    margin-bottom: 40px;
}

.research-statement {
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-top: 25px;
}

.research-statement h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.research-statement p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.accessibility-focus {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.accessibility-focus i {
    color: #667eea;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-details {
    display: grid;
    gap: 40px;
}

.current-focus {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.focus-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 25px;
    margin-top: 20px;
}

.focus-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.focus-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.1);
}

.focus-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.focus-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.focus-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.research-approach {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 25px;
    margin-top: 20px;
}

.approach-item {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.approach-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.15);
    border-color: var(--primary-color);
}

.approach-item i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.approach-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.approach-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Teaching & Mentoring Section */
.teaching-content {
    display: grid;
    gap: 50px;
}

.teaching-philosophy {
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.teaching-philosophy h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.teaching-philosophy p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 25px;
    margin-top: 25px;
}

.course-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.course-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.15);
    border-left-color: var(--primary-color);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.course-header h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.course-semester {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.course-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.course-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.course-role,
.course-students {
    background: rgba(26, 115, 232, 0.05);
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.mentoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 25px;
    margin-top: 25px;
}

.mentoring-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.mentoring-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.15);
    border-color: var(--primary-color);
}

.mentoring-item i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.mentoring-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.mentoring-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
    margin-top: 25px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.1);
}

.achievement-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.achievement-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Responsive Publications */
@media (max-width: 768px) {
    .publication-category {
        margin-bottom: 30px;
    }
    
    .category-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .publication-item {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .publication-item h4 {
        padding-right: 60px;
        font-size: 1.1rem;
    }
    
    .publication-badge {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .publication-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .pub-link {
        justify-content: center;
        padding: 10px 16px;
    }
    
    .reviewer-section {
        padding: 20px;
        margin-top: 40px;
    }
    
    .reviewer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .journal-item {
        padding: 10px 12px;
    }
    
    .journal-name {
        font-size: 0.85rem;
    }
    
    .review-count {
        font-size: 0.75rem;
        padding: 3px 8px;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .publication-item h4 {
        padding-right: 50px;
        font-size: 1rem;
    }
    
    .publication-badge {
        padding: 3px 6px;
        font-size: 0.65rem;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .reviewer-category h4 {
        font-size: 1.1rem;
    }
}

/* Responsive Research Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-item {
        padding: 20px;
    }
    
    .project-header {
        padding-right: 60px;
    }
    
    .project-badge {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .project-technologies {
        gap: 6px;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
}

/* Responsive About Section */
@media (max-width: 768px) {
    .about-details {
        gap: 30px;
    }
    
    .focus-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .approach-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
        gap: 20px;
    }
    
    .research-statement {
        padding: 20px;
    }
    
    .current-focus,
    .research-approach {
        padding: 20px;
    }
}

/* Responsive Teaching Section */
@media (max-width: 768px) {
    .teaching-content {
        gap: 30px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-item {
        padding: 20px;
    }
    
    .course-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .course-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .mentoring-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievements-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .teaching-philosophy {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .project-header h4 {
        font-size: 1rem;
    }
    
    .focus-item {
        padding: 15px;
    }
    
    .approach-item {
        padding: 20px;
    }
    
    .course-item {
        padding: 15px;
    }
    
    .mentoring-item {
        padding: 20px;
    }
    
    .achievement-item {
        padding: 15px;
    }
} 