/* Reset and Base Styles */
:root {
    /* Color variables */
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-sidebar: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    --text-primary: #333;
    --text-secondary: #475569;
    --text-sidebar: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.2);
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --card-bg: #ffffff;
    --card-border: #f1f5f9;
    --tab-inactive: #64748b;
    --tab-active: #2563eb;
    }

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    padding-top: 0; /* Remove top padding since navbar is hidden */
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

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

/* Navigation */
.navbar {
    display: none; /* Hide the navbar */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #1d4ed8;
}

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

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Layout - Two Column Design */
.main-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 2rem 20px;
    min-height: calc(100vh - 70px);
    overflow-x: hidden;
}

/* Left Sidebar - Profile Section */
            .profile-sidebar {
                background: var(--bg-sidebar);
                color: var(--text-sidebar);
                border-radius: 20px;
                padding: 2.5rem;
                box-shadow: 0 4px 16px var(--shadow-light), 0 2px 8px var(--shadow-medium);
                height: fit-content;
                position: sticky;
                top: 90px;
                border: 1px solid rgba(255, 255, 255, 0.1);
                backdrop-filter: blur(10px);
                transition: background 0.3s ease, box-shadow 0.3s ease;
            }

            .profile-picture {
                width: 240px;
                height: 240px;
                border-radius: 50%;
                margin: 0 auto 1.5rem;
                overflow: hidden;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            }

            .profile-picture img {
                width: 240px;
                height: 240px;
                border-radius: 50%;
                object-fit: cover;
                object-position: top !important;
            }

            @media (min-width: 769px) {
                .profile-sidebar {
                    display: block;
                }

                .profile-header {
                    display: block;
                }

                .profile-picture {
                    width: 240px;
                    height: 240px;
                    margin: 0 auto 1.5rem;
                }

                .profile-picture img {
                    width: 240px;
                    height: 240px;
                }

                .profile-info {
                    text-align: center;
                }

                .profile-name {
                    text-align: center;
                    font-size: 1.5rem;
                }

                .profile-title {
                    text-align: center;
                    font-size: 0.9rem;
                }

                .profile-links-container {
                    justify-content: center;
                }

                .featured-label {
                    text-align: center;
                }
            }

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-name {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

            .profile-section {
                margin-bottom: 1.5rem;
                padding-bottom: 1.5rem;
                border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
            }

            .profile-links-container {
                display: flex;
                justify-content: center;
                gap: 0.5rem;
            }

.profile-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.profile-section h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.25rem;
}

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



            /* Featured Conferences */
            .featured-label {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

            .conference-logos {
                display: flex;
                flex-direction: row;
                gap: 0.75rem;
                align-items: center;
                justify-content: center;
            }

            .conference-logo-img {
                height: 60px;
                width: auto;
                max-width: 200px;
                object-fit: cover;
                object-position: center;
                opacity: 0.9;
                transition: all 0.3s ease;
                background: rgba(255, 255, 255, 0.15);
                padding: 0;
                border-radius: 8px;
                border: 1px solid rgba(255, 255, 255, 0.2);
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .conference-logo-img:hover {
                opacity: 1;
                transform: scale(1.05);
                background: rgba(255, 255, 255, 0.15);
            }

.profile-link i {
    text-align: center;
}

/* Contact button styling to match original design */
.contact-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Right Content Area */
            .content-area {
                order: 2;
                padding: 1.5rem;
                max-width: 100%;
                width: 100%;
                box-sizing: border-box;
                overflow-x: hidden;
            }

/* Navigation Tabs */
.content-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.content-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tab-inactive);
    cursor: pointer;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    flex: 0 0 auto;
    white-space: nowrap;
}

.content-tab.active {
    color: var(--tab-active);
    border-bottom-color: var(--tab-active);
}

.content-tab:hover {
    color: var(--tab-active);
}

/* Headers use Poppins */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Content Sections */
.content-section {
    display: none;
}

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

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

/* Hero Section - For Home Page */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border: 2px solid #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 0;
}

.welcome-section, .support-section, .note-section {
    background: #f8fafc;
}

.welcome-content, .support-content, .note-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.welcome-content h2, .support-content h2, .note-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.welcome-content p, .support-content p, .note-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
}

/* Research Pillars */
.research-pillars h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pillar-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.pillar-card p {
    color: #475569;
    line-height: 1.6;
}

/* Highlights Section */
.highlights-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.highlights-list {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.highlight-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(5px);
}

/* Looking Ahead Section */
.looking-ahead-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.looking-ahead-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.looking-ahead-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.looking-ahead-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Research Detail Page */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.research-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--shadow-light), 0 2px 8px var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.research-card {
    position: relative;
    overflow: visible;
}

.research-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-medium), 0 4px 12px var(--shadow-light);
}

.research-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.research-icon-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.research-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.research-card h3 {
    font-size: 1.125rem;
    margin: 1.5rem 0 0.5rem;
    color: #000000;
    transition: color 0.3s ease;
}

.research-card h4 {
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.research-card li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.6;
}

.research-card li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Publications Page */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.publication-category h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.5rem;
}

.publication-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    padding-bottom: 0.75rem;
}

            .publication-item, .achievement-item {
                background: var(--card-bg);
                padding: 2rem;
                border-radius: 16px;
                margin-bottom: 1.5rem;
                box-shadow: 0 4px 16px var(--shadow-light), 0 2px 8px var(--shadow-medium);
                border: 1px solid var(--card-border);
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                position: relative;
                overflow: hidden;
            }

            .achievement-logo {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                margin-bottom: 1rem;
            }

            .achievement-logo-img {
                height: 80px;
                width: auto;
                max-width: 180px;
                object-fit: contain;
                opacity: 0.8;
                transition: opacity 0.3s ease;
            }

            .achievement-item:hover .achievement-logo-img {
                opacity: 1;
            }

            .publication-item, .achievement-item {
                position: relative;
                overflow: visible;
            }

            .publication-item:hover, .achievement-item:hover {
                transform: translateY(-4px);
                box-shadow: 0 8px 24px var(--shadow-medium), 0 4px 12px var(--shadow-light);
            }

            .publication-item:hover::before, .achievement-item:hover::before {
                transform: scaleX(1);
            }

.publication-item h3, .achievement-item h3,
.publication-item h4, .achievement-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.publication-type {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tab-inactive);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.publication-journal {
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.publication-meta {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.publication-authors {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.publication-authors i {
    margin-right: 0.5rem;
    color: #64748b;
    width: 14px;
}

.publication-date {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.publication-doi {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 0;
    line-height: 1.4;
}

.publication-doi i {
    margin-right: 0.5rem;
    color: #64748b;
    width: 14px;
}

.publication-collaboration {
    color: #059669;
    font-weight: 500;
    font-size: 0.9rem;
    background: #ecfdf5;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid #d1fae5;
}

.publication-item p, .achievement-item p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.publication-item p:last-child, .achievement-item p:last-child {
    margin-bottom: 0;
}

/* About Page */
#about {
    background: #ffffff !important;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-light), 0 2px 8px var(--shadow-medium);
    border: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#about {
    position: relative;
    overflow: visible;
}

#about:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-medium), 0 4px 12px var(--shadow-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #475569;
}

.highlight-list {
    display: grid;
    gap: 1rem;
}

.highlight-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2563eb;
}

.highlight-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.expertise-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-3px);
}

.expertise-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.vision-section {
    background: #f8fafc;
    text-align: center;
}

.vision-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.vision-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
    max-width: 800px;
    margin: 0 auto 1rem;
}

/* Research Vision */
.research-vision {
    background: #f8fafc;
    margin-top: 3rem;
}

.vision-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.vision-point {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.vision-point h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
}

.tech-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.tech-item p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Achievements List */
.achievements-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.achievements-list .achievement-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    transition: transform 0.3s ease;
}

.achievements-list .achievement-item:hover {
    transform: translateX(5px);
}

.achievements-list .achievement-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.achievements-list .achievement-item p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Achievements Section */
.achievements-section {
    margin-top: 3rem;
}

.achievements-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.achievements-grid {
    display: grid;
    gap: 1.5rem;
}

/* Private Research Styling */
.private-badge {
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

.private-notice {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.private-notice p {
    color: #991b1b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
}

.impact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-content p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .pillars-grid, .research-grid, .publications-grid {
        grid-template-columns: 1fr;
    }

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

    .expertise-grid, .vision-points, .impact-grid, .tech-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    /* Two-column layout responsive */
    .main-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 15px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .profile-sidebar {
        position: static;
        order: 1;
        padding: 1.5rem;
    }

    .profile-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        justify-content: center;
        text-align: center;
    }

    .profile-picture {
        flex: 0 0 400px;
        width: 400px;
        height: 400px;
        margin: 0 auto;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .profile-picture img {
        width: 400px;
        height: 400px;
        border-radius: 50%;
        object-fit: cover;
        object-position: top;
        margin: 0;
    }

    .profile-info {
        flex: 1;
        text-align: center;
    }

    .profile-name {
        text-align: center;
        margin-bottom: 0.25rem;
        font-size: 1.5rem;
    }

    .profile-title {
        text-align: center;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .profile-section {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .profile-links-container {
        justify-content: center;
    }

    .profile-info {
        text-align: center;
    }

    .profile-name {
        text-align: center;
    }

    .profile-title {
        text-align: center;
    }

    .profile-picture {
        margin: 0 auto;
    }

    .featured-label {
        text-align: center;
        margin-bottom: 1rem;
    }

    .conference-logos {
        justify-content: center;
    }

    .content-area {
        order: 2;
        padding: 1.5rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Conference logos mobile adjustments */
    .conference-logos {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .conference-logo-img {
        height: 60px;
        max-width: 150px;
        width: auto;
        flex-shrink: 1;
        object-fit: contain;
        object-position: center;
    }

    .content-tabs {
        flex-wrap: nowrap;
        gap: 0.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
    }

    .content-tabs::-webkit-scrollbar {
        display: none;
    }

    .content-tab {
        flex: 1;
        min-width: 0;
        padding: 0.6rem 0.5rem;
        font-size: 0.75rem;
        text-align: center;
        white-space: nowrap;
    }

    /* Reorder content sections for mobile - About first */
    .content-area #about {
        order: 1;
    }

    .content-area #research-areas {
        order: 2;
    }

    .content-area #achievements {
        order: 3;
    }

    .content-area #publications {
        order: 4;
    }

    .content-area #skills {
        order: 3;
    }
}

/* Skills Section Styles */
.skills-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        overflow: visible;
    }

            .skill-category {
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
                -webkit-overflow-scrolling: touch;
                padding: 1.2rem;
                margin-bottom: 0.8rem;
            }

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: all 0.3s ease;
}

.skill-category {
    position: relative;
    overflow: visible;
}

.skill-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.skill-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    background: linear-gradient(to right, var(--accent-color), #60a5fa, var(--accent-color)) bottom/100% 2px no-repeat;
    transition: color 0.3s ease;
}

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

.skill-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid #e2e8f0;
}

.skill-tag:hover {
    background: #e2e8f0;
}



/* Contact Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

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

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.contact-form {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group label::after {
    content: ' *';
    color: #dc2626;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-submit {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Toast Notification Styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 4px solid;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.toast-show {
    transform: translateX(0);
    opacity: 1;
}

.toast.toast-success {
    border-left-color: #10b981;
}

.toast.toast-error {
    border-left-color: #ef4444;
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 0.75rem;
}

.toast-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
}

.toast.toast-success .toast-icon {
    color: #10b981;
}

.toast.toast-error .toast-icon {
    color: #ef4444;
}

.toast-message {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}



/* Mobile responsiveness for toasts */
@media (max-width: 480px) {
    .toast {
        left: 20px;
        right: 20px;
        min-width: auto;
        max-width: none;
    }
}

/* Additional viewport fixes for iPhone 15 Pro Max and larger phones */
@media (max-width: 430px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .main-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 10px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .profile-sidebar {
        padding: 1rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .content-area {
        padding: 1rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .conference-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        overflow-x: hidden;
    }

    .conference-logo-img {
        height: 50px;
        max-width: 120px;
        width: auto;
        flex-shrink: 1;
    }

    .content-tabs {
        flex-wrap: nowrap;
        gap: 0.2rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
    }

    .content-tabs::-webkit-scrollbar {
        display: none;
    }

    .content-tab {
        flex: 1;
        min-width: 70px;
        padding: 0.5rem 0.3rem;
        font-size: 0.65rem;
        text-align: center;
        white-space: nowrap;
    }

    .profile-picture {
        width: 320px;
        height: 320px;
        margin: 0 auto 1rem auto;
    }

    .profile-picture img {
        width: 320px;
        height: 320px;
        border-radius: 50%;
        object-fit: cover;
        object-position: top;
    }

    .profile-name {
        font-size: 1.3rem;
        word-wrap: break-word;
    }

    .profile-title {
        font-size: 0.9rem;
        word-wrap: break-word;
    }

    .research-card, .publication-item, .achievement-item {
        padding: 1rem;
        margin: 0 0 1rem 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: 100%;
        overscroll-behavior-y: auto;
        touch-action: pan-y;
    }

    .skill-category {
        padding: 0.8rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overscroll-behavior: auto;
    }

    .skill-tags {
        gap: 0.25rem;
        flex-wrap: wrap;
    }

    .skill-tag {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        word-break: keep-all;
        white-space: nowrap;
    }

    /* Ensure all text content respects boundaries */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: none;
    }

    p, div, span {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: none;
    }

    /* Modal adjustments for small screens */
    .modal-content {
        width: 95%;
        margin: 0 auto;
        max-width: none;
    }

    .contact-form {
        padding: 0 1rem 1rem 1rem;
    }

    /* Admin responsive adjustments */
    .admin-container {
        padding: 1rem;
        max-width: 100%;
    }

    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .messages-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .messages-table table {
        min-width: 600px;
    }
}



/* Admin Login Styles */
.admin-login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background: var(--bg-primary);
}

.admin-login-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-login-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.admin-login-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.flash-messages {
    margin-bottom: 1.5rem;
}

.flash-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.flash-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.admin-login-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-login-form .form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.admin-login-form .form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.admin-login-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-login {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-login:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Admin Messages Styles */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.btn-logout {
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.messages-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.messages-table {
    overflow-x: auto;
}

.messages-table table {
    width: 100%;
    border-collapse: collapse;
}

.messages-table th,
.messages-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.messages-table th {
    background: var(--bg-primary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.messages-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.messages-table tr:hover {
    background: var(--bg-primary);
}

.message-date {
    font-family: monospace;
    font-size: 0.8rem;
}

.message-email a {
    color: var(--accent-color);
    text-decoration: none;
}

.message-email a:hover {
    text-decoration: underline;
}

.message-content {
    max-width: 300px;
}

.message-preview {
    color: var(--text-secondary);
}

.message-full {
    color: var(--text-primary);
    white-space: pre-wrap;
    background: var(--bg-primary);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.message-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-view,
.btn-delete {
    padding: 0.25rem 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view {
    background: var(--accent-color);
    color: white;
}

.btn-view:hover {
    background: var(--accent-hover);
}

.btn-delete {
    background: #dc2626;
    color: white;
}

.btn-delete:hover {
    background: #b91c1c;
}

.no-messages {
    padding: 3rem;
    text-align: center;
    color: var(--text-secondary);
}



@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

    .profile-sidebar {
        padding: 1rem;
        gap: 1rem;
    }

    .profile-picture {
        flex: 0 0 360px;
        width: 360px;
        height: 360px;
        margin: 0 auto;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .profile-picture img {
        width: 360px;
        height: 360px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center;
    }

    .profile-info {
        text-align: center;
    }

    .profile-name {
        font-size: 1.5rem;
        text-align: center;
    }

    .profile-title {
        font-size: 1rem;
        text-align: center;
    }

    .profile-links-container {
        justify-content: center;
    }

    .content-area {
        padding: 1rem;
    }

    .conference-logo-img {
        height: 60px;
        max-width: 160px;
        padding: 0;
        object-fit: cover;
        object-position: center;
    }

    .content-tab {
        padding: 0.5rem 0.4rem;
        font-size: 0.7rem;
        min-width: 0;
        flex: 0 0 auto;
    }

    .pillar-card, .research-card {
        padding: 1.5rem;
    }

    .publication-item, .achievement-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

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

    .skill-category {
        padding: 1rem;
    }

    .skill-tags {
        gap: 0.3rem;
    }

    .skill-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}