/* Modern CSS Reset and Variables */
:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2563eb;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Enhanced Header Styles */
header {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
}
.header-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.animated-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.95);
}

.affiliation {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
    color: rgba(255, 255, 255, 0.9);
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 1.2rem;
}

/* Navigation Styles */
nav {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
nav ul li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

/* Main Content */
main {
    padding: 60px 0;
}
/* Section Styles */
section {
    margin-bottom: 80px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-number {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    margin-right: 1rem;
}

/* NEW About Section Design */
#about {
    padding-top: 40px;
}

.about-hero {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 4rem;
    align-items: start;
}
/* About Left Column */
.about-hero-left {
    position: sticky;
    top: 100px;
}

.profile-photo-container {
    position: relative;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: block;
    position: relative;
    z-index: 2;
}

.photo-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: 1;
    opacity: 0.3;
}

.quick-facts {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}
.fact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.fact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 30px;
}

.fact-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.fact-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* About Right Column */
.about-hero-right {
    padding-top: 10px;
}

.lead-statement {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 3rem;
    font-weight: 300;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-header h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}
.about-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
}

/* Expertise Section */
.expertise-section {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.expertise-section h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    cursor: default;
}

.tag:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
/* Research Section */
.section-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin: -2rem 0 3rem 0;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.research-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.research-card:hover::before {
    transform: translateY(0);
}

.research-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--border-light);
}
.research-card.active {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-color: #667eea;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.research-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pub-count {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.research-card p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.explore-btn i {
    transition: transform 0.3s ease;
}

.research-card:hover .explore-btn i {
    transform: translateX(4px);
}

/* Projects Timeline */
.current-projects {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-top: 3rem;
}

.current-projects h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.projects-timeline {
    position: relative;
    padding-left: 40px;
}

.projects-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}
.project-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 30px;
}

.project-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
}

.project-year {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.project-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}
/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.impact-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.impact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.impact-icon i {
    font-size: 1.8rem;
    color: white;
}

.impact-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.impact-card ul {
    list-style: none;
}
.impact-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-medium);
}

.impact-card li:last-child {
    border-bottom: none;
}

/* Media Coverage Section */
.media-coverage {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 3rem;
}

.media-coverage h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.media-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.media-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.media-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.media-source {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.media-title {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

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

/* Publications Section */
.publication-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--bg-light);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}
.publication-content {
    display: none;
}

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

#publicationDisplay {
    min-height: 200px;
}

.topic-publications h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gradient-primary);
}

.publication-list {
    list-style: none;
}

.publication-item {
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.publication-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.publication-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.publication-item em {
    color: var(--text-light);
    font-size: 0.95rem;
}
/* Teaching Section */
.teaching-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.teaching-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.teaching-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.teaching-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.teaching-card ul {
    list-style: none;
    padding-left: 0;
}

.teaching-card li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
}

.teaching-card li:last-child {
    border-bottom: none;
}
/* Contact Section */
#contact {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 4rem;
    color: white;
    text-align: center;
}

#contact h2 {
    color: white;
    margin-bottom: 2rem;
}

#contact h2::after {
    background: white;
    margin: 1rem auto 0;
    left: 50%;
    transform: translateX(-50%);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.contact-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-4px);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}
/* Animation Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-hero-left {
        position: relative;
        top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .profile-photo-container {
        max-width: 300px;
    }
    
    .quick-facts {
        width: 100%;
        max-width: 500px;
    }
    
    .teaching-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .animated-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .header-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .research-grid,
    .impact-grid,
    .media-items {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    #contact {
        padding: 2rem 1rem;
    }
    
    .publication-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    nav,
    .social-links,
    .explore-btn,
    .tab-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .research-card,
    .impact-card {
        page-break-inside: avoid;
    }
}
/* Additional Polish and Refinements */
.lead-statement::first-letter {
    font-size: 2.5rem;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

/* Smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-dark);
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading animation for cards */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations to different sections */
.about-hero-left {
    animation: slideInLeft 0.8s ease;
}

.about-hero-right {
    animation: slideInRight 0.8s ease;
}

/* Enhance box shadows for depth */
.research-card:hover,
.impact-card:hover,
.about-card:hover {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

/* Better link styles */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* End of styles.css */