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

:root {
    --navy: #1e3a8a;
    --teal: #0d9488;
    --charcoal: #374151;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --medium-gray: #9ca3af;
    --dark-gray: #1f2937;
    --accent: #fbbf24;
    --success: #10b981;
    --primary-color: #1e3a8a;
    --secondary-color: #0d9488;
    --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);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--navy));
    border-radius: 2px;
}

.subsection-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    color: var(--navy);
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--navy));
    z-index: 10000;
    transition: width 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover {
    color: var(--teal);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(30, 58, 138, 0.1);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
    margin: 0 auto;
}

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

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

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

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

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(30, 58, 138, 0.1) 35px, rgba(30, 58, 138, 0.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(13, 148, 136, 0.1) 35px, rgba(13, 148, 136, 0.1) 70px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-profile {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.hero-image {
    flex-shrink: 0;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-text {
    flex: 1;
}

.hero-name {
    font-size: 3.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title-prefix {
    display: block;
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-affiliation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-affiliation i {
    font-size: 2rem;
    color: var(--teal);
}

.institution {
    font-weight: 600;
    color: var(--dark-gray);
}

.university {
    color: var(--medium-gray);
}

.hero-specialization {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.spec-tag {
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--teal);
    border-radius: 25px;
    font-size: 0.875rem;
    color: var(--teal);
    font-weight: 500;
    transition: var(--transition);
}

.spec-tag:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-orcid {
    background: #a6ce39;
    color: var(--white);
}

.btn-orcid:hover {
    background: #8fb031;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-linkedin {
    background: #0077b5;
    color: var(--white);
}

.btn-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-scholar {
    background: #4285f4;
    color: var(--white);
}

.btn-scholar:hover {
    background: #1a73e8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}


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

section:nth-child(even) {
    background: var(--light-gray);
}

/* Metrics Section */

.featured-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.metric-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.metric-card.featured {
    /* Removed grid-column: span 2 for 3-column layout */
}

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

.metric-icon {
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.metric-content {
    position: relative;
}

.metric-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.metric-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.metric-description {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.metric-description a:hover {
    color: var(--teal);
}


/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--teal), var(--navy));
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--teal);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    flex: 1;
    text-align: right;
    padding-right: 3rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--navy);
}

.timeline-item:nth-child(odd) .timeline-date {
    text-align: left;
    padding-left: 3rem;
    padding-right: 0;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: 0 3rem;
    transition: var(--transition);
}

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

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.timeline-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--medium-gray);
}

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

.appointment-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--teal);
}

.appointment-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.appointment-period {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.appointment-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.appointment-dept {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.appointment-institution {
    color: var(--medium-gray);
}

/* Publications Section */
.publication-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-card i {
    font-size: 2rem;
    color: var(--teal);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.publication-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--teal);
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.publication-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--teal);
    transform: translateX(5px);
}

.publication-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    min-width: 40px;
}

.publication-content {
    flex: 1;
}

.publication-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.publication-authors {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

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

.publication-journal {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.meta-item {
    font-size: 0.875rem;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.meta-item i {
    color: var(--teal);
}

.meta-item i.fa-star {
    color: var(--accent);
    animation: sparkle 2s ease-in-out infinite;
}

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

/* Publication Categories */
.publication-categories {
    margin-bottom: 2rem;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.category-tab.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

/* Conference Tabs */
.conference-tab {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    transition: var(--transition);
}

.conference-tab:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.conference-tab.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

/* Pagination */
.pagination-container {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.pagination-info {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--teal);
    color: var(--teal);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    background: var(--white);
    color: var(--charcoal);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.page-number:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.page-number.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.page-ellipsis {
    color: var(--medium-gray);
    font-weight: bold;
}

/* Publication Loading Display */
.publication-loading {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    margin: 2rem 0;
}

.loading-content {
    max-width: 600px;
    margin: 0 auto;
}

.publication-loading i {
    font-size: 4rem;
    color: var(--teal);
    margin-bottom: 1.5rem;
}

.publication-loading h3 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.publication-loading p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.publication-sample {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.publication-sample h4 {
    color: var(--navy);
    margin-bottom: 1rem;
    text-align: center;
}

.sample-publication {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
}

.sample-publication strong {
    color: var(--navy);
    font-weight: 600;
}

/* Editorial Section */
.editorial-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

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

.editorial-stat i {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.editorial-stat .stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.editorial-stat .stat-label {
    color: var(--medium-gray);
}

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

.editorial-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border-top: 3px solid var(--teal);
}

.editorial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.editorial-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.editorial-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.editorial-journal {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.editorial-issue {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.editorial-period {
    color: var(--medium-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.editorial-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.editorial-link:hover {
    color: var(--navy);
}

/* Research Section */
.research-highlight {
    background: linear-gradient(135deg, var(--navy), var(--teal));
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.highlight-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.highlight-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.highlight-period {
    opacity: 0.8;
}

.research-areas {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.research-tag {
    position: relative;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--teal);
    border-radius: 30px;
    font-weight: 500;
    color: var(--teal);
    transition: var(--transition);
    cursor: default;
}

.research-tag::before {
    content: attr(data-count) ' papers';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--navy);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.research-tag:hover {
    background: var(--teal);
    color: var(--white);
    transform: scale(1.05);
}

.research-tag:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Mentoring Section */
.mentoring-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mentoring-stats .stat-item {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.mentoring-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.mentoring-stats .stat-item i {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.mentoring-stats .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.thesis-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.thesis-item {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--teal);
}

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

.thesis-year {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    min-width: 60px;
}

.thesis-content {
    flex: 1;
}

.thesis-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.thesis-author {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.thesis-institution {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.mentoring-activities {
    margin-top: 3rem;
}

.activity-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.activity-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.activity-list i {
    color: var(--success);
    margin-top: 0.25rem;
}

/* Teaching Section */
.teaching-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

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

.teaching-stat i {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.teaching-stat .stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.teaching-stat .stat-label {
    color: var(--medium-gray);
}

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

.lecture-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.lecture-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.lecture-card i {
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.lecture-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.lecture-card p {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

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

.involvement-text {
    line-height: 2;
}

.involvement-text i {
    color: var(--success);
    margin-right: 0.5rem;
}

/* Conference Section */
.conferences-section {
    background: var(--light-gray);
}

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

.conference-categories {
    margin-bottom: 2rem;
}

.conferences-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.conference-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.conference-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--teal);
    transform: translateX(5px);
}

.conference-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    min-width: 50px;
}

.conference-content {
    flex: 1;
}

.conference-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.conference-authors {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

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

.conference-details {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.conference-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Book Section */
.books-section {
    background: var(--white);
}

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

.books-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.book-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--accent);
}

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

.book-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    min-width: 50px;
}

.book-content {
    flex: 1;
}

.book-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.book-authors {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

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

.book-title-english {
    font-size: 1rem;
    font-style: italic;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.book-details {
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.book-details strong {
    color: var(--navy);
    font-weight: 600;
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

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

.contact-card i {
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.contact-card a {
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-card a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.contact-card p {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--teal);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .nav-container {
        padding: 0.75rem 20px;
    }
    
    .nav-brand {
        font-size: 1.25rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        animation: none;
    }
    
    .nav-menu.active li {
        animation: slideInUp 0.5s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.4s; }
    
    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-metrics-preview {
        grid-template-columns: 1fr;
    }
    
    .featured-metrics-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .metric-card.featured {
        grid-column: 1;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }
    
    .timeline-item::before {
        left: 30px;
    }
    
    .timeline-date {
        text-align: left;
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-date {
        text-align: left;
        padding: 0;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .publication-item {
        flex-direction: column;
    }
    
    .thesis-item {
        flex-direction: column;
    }
    
    .research-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-profile {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
            .profile-photo {
            width: 150px;
            height: 150px;
        }
        

    }

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Conference Tabs Mobile */
    .conference-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        flex: 1 1 auto;
        text-align: center;
    }

    /* Book Chapters Mobile */
    .book-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .book-number {
        min-width: auto;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .book-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .book-title-english {
        font-size: 0.9rem;
        font-style: italic;
        color: var(--medium-gray);
        margin-bottom: 0.25rem;
    }

    .book-authors {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .book-details {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .book-meta {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 12px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    

    
    .editorial-grid,
    .appointments-grid,
    .lecture-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .progress-indicator,
    .hero-actions,
    .publication-controls,
    .view-more-container {
        display: none;
    }
    
    body {
        font-size: 11pt;
        line-height: 1.5;
    }
    
    section {
        page-break-inside: avoid;
        padding: 30px 0;
    }
    
    .hero-section {
        padding: 30px 0;
        background: none;
    }
    
    .metric-card,
    .publication-item,
    .editorial-card,
    .appointment-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    a {
        text-decoration: none;
        color: inherit;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* Teaching Experience Styles */
.teaching-filters {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.filter-select,
.search-input {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 150px;
    transition: all 0.3s ease;
    background: white;
}

.filter-select:focus,
.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-input {
    min-width: 200px;
}

.teaching-table-container {
    margin: 30px 0;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

.teaching-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.teaching-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.teaching-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.teaching-table tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

.teaching-table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.teaching-table tr:nth-child(even):hover {
    background: rgba(52, 152, 219, 0.08);
}

.teaching-table .year-cell {
    font-weight: 600;
    color: var(--primary-color);
}

.teaching-table .term-cell {
    font-weight: 500;
}

.teaching-table .hours-cell {
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
}

.teaching-summary {
    margin-top: 40px;
    text-align: center;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.expertise-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.expertise-tag:hover {
    transform: translateY(-2px);
}

/* Teaching Pagination */
.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    width: 35px;
    height: 35px;
    border: 2px solid #e5e7eb;
    background: white;
    color: var(--dark-gray);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Mobile Responsive for Teaching */
@media (max-width: 768px) {
    .teaching-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select,
    .search-input {
        min-width: 100%;
    }

    .teaching-table-container {
        font-size: 0.8rem;
    }

    .teaching-table th,
    .teaching-table td {
        padding: 10px 12px;
    }

    .pagination-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .pagination-controls {
        justify-content: center;
    }

    .pagination-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .pagination-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Grants Section */
.grants-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.grants-list {
    display: grid;
    gap: 20px;
}

.grant-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.grant-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.grant-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.grant-details {
    flex: 1;
}

.grant-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.grant-description {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.4;
}

/* Council/Board Section */
.council-section {
    padding: 80px 0;
    background: white;
}

.council-content {
    max-width: 900px;
    margin: 0 auto;
}

.council-list {
    display: grid;
    gap: 25px;
}

.council-item {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.council-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.council-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.council-details {
    flex: 1;
}

.council-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    line-height: 1.3;
}

.council-period {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
    background: rgba(30, 58, 138, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.council-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.5;
}

/* Mobile Responsive for Grants and Council */
@media (max-width: 768px) {
    .grants-list {
        gap: 15px;
    }

    .grant-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }

    .grant-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .grant-amount {
        font-size: 1.1rem;
    }

    .council-list {
        gap: 20px;
    }

    .council-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .council-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .council-title {
        font-size: 1rem;
    }
}