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

:root {
    /* Color Scheme: Navy, Charcoal, Gold - Enhanced Typography Palette */
    --primary-color: #1e3a5f; /* Navy blue - trust, professionalism, intelligence */
    --secondary-color: #2d3748; /* Charcoal gray - sophistication, gravitas */
    --accent-color: #d4af37; /* Gold - prestige, excellence, achievement */
    --accent-light: #f6e05e; /* Light gold - subtle highlights */
    --teal-accent: #2d7d84; /* Teal - innovation, scientific precision */
    
    /* Enhanced text hierarchy */
    --text-primary: #1a202c; /* Near black - professional, clarity */
    --text-secondary: #4a5568; /* Medium gray - professional secondary text */
    --text-light: #718096; /* Light gray - subtle supporting text */
    --text-accent: #2c5282; /* Deeper blue for special emphasis */
    
    /* Refined backgrounds */
    --background-primary: #ffffff; /* Pure white - clean, authoritative */
    --background-secondary: #f8fafc; /* Slightly warmer light background */
    --background-tertiary: #edf2f7; /* Subtle section divider */
    --background-dark: #1e3a5f; /* Navy - matches primary */
    
    /* Enhanced borders and shadows */
    --border-color: #e2e8f0; /* Light blue-gray - refined borders */
    --border-accent: #cbd5e0; /* Slightly stronger borders when needed */
    --shadow-light: 0 1px 3px 0 rgba(30, 58, 95, 0.08);
    --shadow-medium: 0 4px 12px -1px rgba(30, 58, 95, 0.12);
    --shadow-heavy: 0 12px 24px -3px rgba(30, 58, 95, 0.15);
    
    /* Design system tokens */
    --border-radius: 8px;
    --border-radius-large: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Professional focus states */
    --focus-outline: 3px solid #d4af37;
    --focus-outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Typography - Refined Font Pairing for Professional Impact */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Primary headings - Optimized for single line display */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Secondary headings - Balanced scale */
h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 600;
}

/* Tertiary headings - Refined proportions */
h3 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 65ch;
}

/* Enhanced typography hierarchy */
.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.005em;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 55ch;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Section titles with better spacing */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    font-family: 'Inter', sans-serif;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



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

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.025em;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.95rem;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Particle Animation */
.particle-animation {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

/* Hero Portrait */
.hero-portrait {
    position: relative;
    max-width: 215px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-portrait img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}



.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    top: 40%;
    left: 60%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* About Section */
.about {
    background: var(--background-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.expertise {
    margin-top: 2rem;
}

.expertise h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expertise ul {
    list-style: none;
}

.expertise li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

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

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    text-align: center;
}

/* Ventures Section */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.venture-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.venture-card:hover {
    box-shadow: var(--shadow-medium);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.venture-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.venture-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Expertise Section */
.expertise-section {
    background: var(--background-primary);
}

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

.expertise-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.expertise-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.expertise-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.expertise-category ul {
    list-style: none;
    padding: 0;
}

.expertise-category li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.expertise-category li:last-child {
    border-bottom: none;
}

.expertise-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Publications Section */
.publications-section {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.publications-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.publications-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.publication-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: left;
}

.publication-card:hover {
    box-shadow: var(--shadow-medium);
}

.publication-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.publication-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.publication-journal {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.publication-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.publication-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    transition: var(--transition);
}

.publication-links a:hover {
    background: var(--accent-color);
    color: white;
}

.academic-profiles {
    margin-top: 3rem;
}

.academic-profiles h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.profile-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    transition: var(--transition);
}

.profile-links a:hover {
    background: var(--accent-color);
    color: white;
}

/* Opinions Section */
.opinions-section {
    background: var(--background-secondary);
}

.opinions-content {
    max-width: 800px;
    margin: 0 auto;
}

.opinions-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}

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

.opinion-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 1px solid var(--border-color);
}

.opinion-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.opinion-card p {
    color: var(--text-secondary);
    text-align: center;
}

/* Contact Section */
.contact {
    background: var(--background-secondary);
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

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

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

/* Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Updated social links with organic transitions - 2025 */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--background-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.75rem;
    border: 2px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.1), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
}

.social-links a:hover::before {
    left: 100%;
}

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

.footer-section li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: var(--text-light);
}

/* Biography Timeline Section */
.biography-section {
    padding: 5rem 0;
    background-color: var(--background-primary);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.timeline-subtitle {
    flex: 1;
    text-align: center;
}

.timeline-subtitle.left {
    text-align: left;
}

.timeline-subtitle.right {
    text-align: right;
}

.timeline-subtitle h3 {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-item.academic {
    padding-right: 52%;
}

.timeline-item.entrepreneurial {
    padding-left: 52%;
}

.timeline-content {
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    position: relative;
    width: 80%;
    transition: var(--transition);
}

.timeline-item.academic .timeline-content {
    margin-left: 0;
}

.timeline-item.entrepreneurial .timeline-content {
    margin-left: auto;
}

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

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--background-primary);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item.academic .timeline-content::before {
    right: -30px;
}

.timeline-item.entrepreneurial .timeline-content::before {
    left: -30px;
}

.age-marker {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--teal-accent) 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* About Brief Section */
.about-brief {
    padding: 3rem 0;
    background-color: var(--background-secondary);
}

.about-summary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-summary p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.key-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

/* Credentials & Recognition Section */
.credentials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, #ffffff 100%);
    border-top: 1px solid var(--border-color);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.credential-card {
    background: var(--background-primary);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--teal-accent) 100%);
}

.credential-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.credential-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.credential-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.credential-card li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

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

.credential-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.credential-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 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: var(--shadow-medium);
        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-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

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

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .timeline-header {
        display: none;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item.academic,
    .timeline-item.entrepreneurial {
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-item.academic .timeline-content,
    .timeline-item.entrepreneurial .timeline-content {
        margin-left: 0;
    }
    
    .timeline-item.academic .timeline-content::before,
    .timeline-item.entrepreneurial .timeline-content::before {
        left: -40px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .particle-animation {
        width: 200px;
        height: 200px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced accessibility and AI-friendly focus states */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
.venture-card:focus,
.publication-card:focus,
.opinion-card:focus,
.social-links a:focus,
.publication-links a:focus,
.profile-links a:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
    transform: translateY(-1px);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #1a1a1a;
        --border-color: #000000;
        --focus-outline: 3px solid #000000;
        --primary-color: #0052cc;
        --accent-color: #b8860b;
    }
    
    .btn-primary {
        background-color: #0052cc;
        border: 2px solid #000000;
    }
    
    .btn-secondary {
        background-color: #ffffff;
        color: #000000;
        border: 2px solid #000000;
    }
}

/* Enhanced focus states for better visibility */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

/* Ensure links have sufficient contrast */
a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--teal-accent);
    text-decoration-thickness: 2px;
}

a:visited {
    color: #4c1d95;
}

/* Button contrast improvements */
.btn {
    font-weight: 600;
    letter-spacing: 0.025em;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #152d4a;
    border-color: #152d4a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Improve form field contrast */
input[type="text"],
input[type="email"],
textarea {
    border: 2px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-primary);
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--primary-color);
    background-color: #f7fafc;
}

/* Error and success states with high contrast */
.error {
    color: #dc2626;
    font-weight: 600;
}

.success {
    color: #059669;
    font-weight: 600;
}

/* Ensure sufficient contrast for timeline markers */
.age-marker {
    background-color: var(--accent-color);
    color: #000000;
    font-weight: 700;
}

/* Publication cards contrast */
.publication-card {
    border: 2px solid var(--border-color);
}

.publication-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-heavy);
}

/* Navigation link contrast */
.nav-link {
    color: var(--text-primary);
    font-weight: 500;
}

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

/* Mobile menu accessibility */
@media (max-width: 768px) {
    .nav-menu {
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Hero portrait on mobile */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-portrait {
        max-width: 175px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
} 

/* Project Detail Pages */
.project-detail {
    padding: 6rem 0 3rem;
    min-height: 100vh;
}

.project-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-type {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-type.entrepreneurial {
    background-color: var(--accent-color);
    color: white;
}

.project-type.academic {
    background-color: var(--primary-color);
    color: white;
}

.project-age {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.project-detail h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.project-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-content {
    max-width: 800px;
    margin: 0 auto;
}

.project-content h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.project-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.project-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.project-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

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

.skill-item {
    background-color: var(--background-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.skill-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skill-item ul {
    margin-bottom: 0;
}

.skill-item ul li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.navigation-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .navigation-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navigation-links .btn {
        width: 100%;
        text-align: center;
    }
} 

/* Coming Soon Section */
.coming-soon {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--background-secondary) 0%, #ffffff 100%);
    border-radius: 12px;
    margin: 2rem 0;
    border: 2px dashed var(--border-color);
}

.coming-soon h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.coming-soon p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
} 

/* Community & Volunteering Section */
.community-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, #ffffff 100%);
}

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

.community-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.community-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.community-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.community-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Responsive adjustments for community section */
@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .community-item {
        padding: 1.5rem;
    }
    
    .community-item h4 {
        font-size: 1.2rem;
    }
} 

/* Reset and Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e3a5f;
    --accent-color: #f59e0b;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --background-primary: #ffffff;
    --background-secondary: #f7fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --focus-outline: 3px solid #2563eb;
    --focus-outline-offset: 2px;
}

/* Skip Navigation Links - Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    z-index: 100;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
}

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

/* Enhanced Focus States for Accessibility */
*:focus-visible {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
}

/* Remove default focus for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
} 

/* Performance Optimizations */

/* Optimize font loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
    src: local('Inter'), url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
}

@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
    src: local('Playfair Display'), url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
}

/* Reduce animation complexity for performance */
@media (prefers-reduced-motion: no-preference) {
    .particle-animation .particle {
        will-change: transform;
    }
    
    .hero-visual {
        will-change: transform;
    }
}

/* Optimize image rendering */
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Lazy loading preparation */
img[loading="lazy"] {
    background-color: var(--background-secondary);
}

/* GPU acceleration for smooth animations */
.btn,
.nav-link,
.timeline-item,
.publication-card,
.venture-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize hover states */
@media (hover: hover) {
    .btn:hover,
    .nav-link:hover,
    .timeline-item:hover,
    .publication-card:hover {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
}

/* Reduce paint areas */
.navbar {
    contain: layout style;
}

.hero {
    contain: layout;
}

.timeline-container {
    contain: layout;
}

/* CSS containment for better performance */
.project-detail,
.expertise-section,
.publications-section,
.community-section {
    contain: layout style;
} 