:root {
    /* Primary Colors - Purple Palette */
    --primary-50: #F5F3FF;
    --primary-100: #EDE9FE;
    --primary-200: #DDD6FE;
    --primary-300: #C4B5FD;
    --primary-400: #A78BFA;
    --primary-500: #8B5CF6;
    --primary-600: #7C3AED;
    --primary-700: #6D28D9;
    --primary-800: #5B21B6;
    --primary-900: #4C1D95;

    /* Accent Colors */
    --accent-yellow: #FBBF24;
    --accent-gold: #F59E0B;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Special Colors */
    --white: #FFFFFF;
    --black: #000000;
    --footer-bg: #1a1a2e;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    --gradient-hero: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--gray-50);
    font-family: var(--font-family);
    position: relative;
    overflow-x: hidden;
    color: var(--gray-900);
    font-size: var(--text-base);
    line-height: 1.5;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

main {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Modern Navbar */
.navbar {
    background: white !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 1rem 0;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.navbar-brand {
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    color: var(--primary-700) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-800) !important;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav.mx-auto {
    flex-grow: 0;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: var(--font-medium);
    color: var(--gray-700) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-700) !important;
}

.nav-link.active {
    color: var(--primary-700) !important;
    font-weight: var(--font-semibold);
}

/* 3D Cards with glassmorphism */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-3d);
    border-color: rgba(102, 126, 234, 0.3);
}

/* New News Cards */
.news-card-new {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.news-card-new:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.news-lab-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
}

.news-card-new .card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.news-card-new .card-text {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-meta {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Old news cards - keep for compatibility */
.news-card {
    position: relative;
}

.news-card img {
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.4s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

/* New Laboratory Cards */
.lab-card-new {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.lab-card-new:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.lab-icon-new {
    width: 60px;
    height: 60px;
    background: var(--primary-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.lab-card-new:hover .lab-icon-new {
    background: var(--primary-200);
    transform: scale(1.1);
}

.lab-card-new .card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.lab-card-new .card-text {
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lab-leader-new {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: var(--gray-50);
    border-radius: 6px;
}

.lab-leader-new i {
    color: var(--primary-600);
}

/* Old lab icon - keep for compatibility */
.lab-icon {
    font-size: 3rem;
    color: var(--primary-600);
    transition: all 0.3s ease;
}

/* New Statistics Cards */
.stats-section {
    padding: 3rem 0;
}

.stat-card-new {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.stat-card-new:hover {
    transform: translateY(-4px);
}

.stat-icon-new {
    width: 80px;
    height: 80px;
    background: var(--primary-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-600);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.stat-card-new:hover .stat-icon-new {
    background: var(--primary-200);
    transform: scale(1.1);
}

.stat-number-new {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label-new {
    font-size: var(--text-base);
    color: var(--gray-600);
    font-weight: var(--font-medium);
}

/* Old stat cards - keep for dashboard */
.stat-card {
    background: var(--primary-600);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.stat-card .card-body {
    padding: 1.5rem 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    margin-bottom: 0.25rem;
}

.stat-card p {
    position: relative;
    z-index: 1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* Page Header */
.page-header-section {
    text-align: center;
    padding: 2rem 0;
}

.page-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Search and Filter Bar */
.filter-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-box .form-control {
    padding-left: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--gray-300);
}

.search-box .form-control:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
    flex-wrap: wrap;
}

.tab-link {
    padding: 0.75rem 1.5rem;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: var(--font-medium);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.tab-link:hover {
    color: var(--primary-600);
}

.tab-link.active {
    color: var(--primary-600);
    border-bottom-color: var(--primary-600);
    font-weight: var(--font-semibold);
}

/* New Project Cards */
.project-card-new {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.project-card-new:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.project-header-new {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-badge-new {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: lowercase;
}

.status-ongoing {
    background: var(--success);
    color: white;
}

.status-finished {
    background: var(--gray-500);
    color: white;
}

.lab-tag-new {
    padding: 0.25rem 0.75rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
}

.project-title-new {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.project-description-new p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.project-dates-new {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.date-item-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.date-item-new i {
    color: var(--primary-600);
}

/* Responsive stat cards */
@media (max-width: 768px) {
    .stat-number-new {
        font-size: var(--text-4xl);
    }

    .stat-icon-new {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-label-new {
        font-size: var(--text-sm);
    }

    .page-title {
        font-size: var(--text-3xl);
    }

    .page-subtitle {
        font-size: var(--text-base);
    }
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    margin-bottom: 0.25rem;
}

.stat-card p {
    position: relative;
    z-index: 1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* Jumbotron with gradient */
.jumbotron {
    background: var(--gradient-1) !important;
    color: white;
    box-shadow: var(--shadow-lg);
    border: none;
    position: relative;
    overflow: hidden;
}

.jumbotron::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.jumbotron * {
    position: relative;
    z-index: 1;
}

.jumbotron h1 {
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.jumbotron .lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* Hero Section Styles */
.hero-section {
    background: var(--gradient-hero);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin: -1rem -15px 3rem -15px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hero-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    position: relative;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.hero-highlight {
    color: var(--accent-yellow);
    display: block;
}

.hero-subtitle {
    font-size: var(--text-base);
    max-width: 650px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-weight: var(--font-normal);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-700);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: var(--font-semibold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: var(--primary-800);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: var(--font-semibold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .hero-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Section Titles */
.section-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: var(--font-semibold);
    padding: 0.625rem 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary-600);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 2px solid var(--primary-600);
    color: var(--primary-600);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
}

/* Sidebar with glassmorphism */
.sidebar {
    min-height: calc(100vh - 56px);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 4px 0 20px rgba(102, 126, 234, 0.05);
}

.sidebar .nav-link {
    color: #333;
    padding: 1rem 1.5rem;
    margin: 0.25rem 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.sidebar .nav-link:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.sidebar .nav-link.active {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Table styling */
.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead {
    background: var(--gradient-1);
    color: white;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: scale(1.01);
}

.table-actions a {
    margin: 0 0.25rem;
}

/* Article card with accent */
.article-card {
    border-left: 4px solid transparent;
    border-image: var(--gradient-1) 1;
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-2);
    transition: height 0.3s ease;
}

.article-card:hover::before {
    height: 100%;
}

/* Badges with gradient */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.bg-primary {
    background: var(--gradient-1) !important;
}

.bg-success {
    background: var(--gradient-3) !important;
}

.metric-badge {
    font-size: 0.9rem;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* Footer with gradient */
footer {
    background: var(--gradient-1);
    box-shadow: 0 -4px 20px rgba(102, 126, 234, 0.3);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* Form inputs with 3D effect */
.form-control,
.form-select {
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

/* Alerts with gradient */
.alert {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Loading animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.card-title {
    font-weight: 600;
    letter-spacing: -0.2px;
}

.btn {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }

    .lab-icon {
        font-size: 3rem;
    }

    .card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}


/* Publications Header */
.publications-header {
    background: var(--gradient-hero);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.publications-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    text-align: center;
    margin-bottom: 0.5rem;
}

.publications-subtitle {
    font-size: var(--text-lg);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.pub-stat-card {
    text-align: center;
    color: white;
}

.pub-stat-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.pub-stat-number {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    margin-bottom: 0.25rem;
}

.pub-stat-label {
    font-size: var(--text-sm);
    opacity: 0.9;
}

/* Article Cards */
.article-card-new {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.article-card-new:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.article-header-new {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-badge-new {
    padding: 0.25rem 0.5rem;
    background: var(--success);
    color: white;
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
}

.article-title-new {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-authors-new {
    font-size: var(--text-sm);
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.article-meta-new {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.article-meta-new i {
    color: var(--primary-600);
}

.article-metrics-new {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.metric-badge-new {
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 6px;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

.metric-badge-new i {
    color: var(--primary-600);
}

/* ===================================
   Laboratory Cards
   =================================== */
.lab-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

.lab-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.lab-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.lab-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.lab-description {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.lab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.research-tag {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    white-space: nowrap;
}

.tag-blue {
    background: #DBEAFE;
    color: #1E40AF;
}

.tag-purple {
    background: #EDE9FE;
    color: #6D28D9;
}

.tag-green {
    background: #D1FAE5;
    color: #065F46;
}

.tag-yellow {
    background: #FEF3C7;
    color: #92400E;
}

.tag-pink {
    background: #FCE7F3;
    color: #9F1239;
}

.lab-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.lab-stat {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}

.stat-blue {
    color: #3B82F6;
}

.stat-purple {
    color: #8B5CF6;
}

.stat-pink {
    color: #EC4899;
}

.btn-lab-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--primary-600);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-lab-details:hover {
    background: var(--primary-50);
    border-color: var(--primary-600);
    color: var(--primary-700);
    text-decoration: none;
}

.btn-lab-details i {
    font-size: 0.875rem;
}

/* ===================================
   News Cards
   =================================== */
.news-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.news-lab-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 6px;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.news-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-description {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.news-author {
    font-weight: var(--font-medium);
    color: var(--gray-700);
}

.news-separator {
    color: var(--gray-400);
}

.news-date {
    color: var(--gray-500);
}

.btn-news-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary-600);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-news-details:hover {
    background: var(--primary-700);
    color: var(--white);
    text-decoration: none;
    transform: translateX(2px);
}

.btn-news-details i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.btn-news-details:hover i {
    transform: translateX(3px);
}

/* ===================================
   Responsive Design for Cards
   =================================== */
@media (max-width: 768px) {

    .lab-card,
    .news-card {
        padding: 1.5rem;
    }

    .lab-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .lab-title {
        font-size: var(--text-lg);
    }

    .news-title {
        font-size: var(--text-base);
    }

    .lab-stats {
        gap: 0.75rem;
    }
}

/* ===================================
   Page Hero Section
   =================================== */
.page-hero {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 0;
        margin-bottom: 2rem;
    }

    .page-hero-title {
        font-size: var(--text-3xl);
    }

    .page-hero-subtitle {
        font-size: var(--text-base);
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 2.5rem 0;
    }

    .page-hero-title {
        font-size: var(--text-2xl);
    }

    .page-hero-subtitle {
        font-size: var(--text-sm);
    }
}

/* ===================================
   News Detail Page
   =================================== */
.news-detail-article {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.news-detail-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.news-detail-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    color: var(--gray-900);
    margin: 1rem 0;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.news-detail-meta i {
    margin-right: 0.25rem;
}

.news-detail-content {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.news-detail-content p {
    margin-bottom: 1rem;
}

.news-detail-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
    .news-detail-article {
        padding: 1.5rem;
    }

    .news-detail-image {
        height: 250px;
    }

    .news-detail-title {
        font-size: var(--text-2xl);
    }
}

/* ===================================
   Team Members Display - Flat Design
   =================================== */
.team-members-list {
    display: grid;
    gap: 0;
}

.team-member-card {
    background: var(--white);
    border: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 0;
    transition: none;
}

.team-member-card:last-child {
    border-bottom: none;
}

.leader-card {
    background: var(--white);
    border: none;
    border-bottom: 2px solid var(--primary-600);
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.team-member-header {
    margin-bottom: 0.5rem;
}

.leader-badge {
    display: inline-block;
    padding: 0;
    background: transparent;
    color: var(--primary-600);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member-name {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.team-member-detail {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.team-member-detail:last-child {
    margin-bottom: 0;
}

.team-member-detail i {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.team-member-detail a {
    color: var(--primary-600);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.team-member-detail a:hover {
    text-decoration: none;
    border-bottom-color: var(--primary-600);
}

@media (max-width: 768px) {
    .team-member-card {
        padding: 1.25rem 0;
    }

    .team-member-name {
        font-size: var(--text-lg);
    }
}

/* ===================================
   Laboratory Detail Page - Clean Box Design
   =================================== */
.lab-detail-container {
    padding: 3rem 0;
}

.lab-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.lab-detail-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    font-weight: 400;
}

.lab-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.lab-link {
    display: inline-block;
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-bottom: 2px solid var(--primary-600);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.lab-link:hover {
    color: var(--primary-700);
    border-bottom-color: var(--primary-700);
}

.lab-sidebar-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.lab-sidebar-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lab-sidebar-section li {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .lab-detail-title {
        font-size: 2rem;
    }

    .lab-section {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .lab-sidebar-section {
        padding: 1.25rem;
    }
}

/* Project Card Hover Effect */
.project-card-hover {
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.project-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-300);
}

.project-card-hover .card-title {
    color: var(--gray-900);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

.project-card-hover .btn-outline-primary {
    transition: all 0.2s ease;
}

.project-card-hover:hover .btn-outline-primary {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

/* Project Detail Page Improvements */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--gray-400);
}

.breadcrumb-item a {
    color: var(--primary-600);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--gray-600);
}

/* Project Info Card Styling */
.card-title {
    font-weight: 600;
    color: var(--gray-900);
}

.card-body .text-muted.d-block {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body .badge {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.card-body strong.text-dark {
    font-size: 1rem;
    color: var(--gray-900);
}

/* Status Badge Styles */
.status-badge-new {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    line-height: 1;
}

.status-badge-new.status-ongoing {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
}

.status-badge-new.status-finished {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

/* Project Header Styles */
.project-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lab-tag-new {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 6px;
    line-height: 1;
}

/* ============================================
   MODERN THEME STYLES
   ============================================ */

/* Modern Page Wrapper */
.modern-page-wrapper {
    background: #F8F9FA;
    min-height: calc(100vh - 56px);
    margin: 0;
    padding: 0;
}

/* Modern Hero Section */
.modern-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.modern-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.modern-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.modern-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Modern Card */
.modern-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.modern-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.modern-card-body {
    padding: 1.5rem;
}

.modern-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.modern-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 0;
}

/* Modern Section Title */
.modern-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.modern-lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 0;
}

/* Modern Icon Badge */
.modern-icon-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

/* Modern Statistics */
.modern-stat-box {
    padding: 1.5rem;
}

.modern-stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.modern-stat-label {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Research Area */
.modern-research-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
}

.modern-research-area:hover {
    background: #F3F4F6;
    border-color: #667eea;
}

.modern-research-area i {
    font-size: 1.5rem;
    color: #667eea;
}

.modern-research-area span {
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
}

/* Contact Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details p {
    font-size: 1rem;
    color: #1F2937;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Modern Form */
.modern-form {
    width: 100%;
}

.modern-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.modern-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: white;
}

.modern-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modern-form-control::placeholder {
    color: #9CA3AF;
}

/* Modern Button */
.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-hero-title {
        font-size: 2rem;
    }

    .modern-hero-subtitle {
        font-size: 1rem;
    }

    .modern-card {
        padding: 1.25rem;
    }

    .modern-card-body {
        padding: 1.5rem;
    }

    .modern-stat-number {
        font-size: 2rem;
    }

    .modern-section-title {
        font-size: 1.5rem;
    }
}

/* Modern Info Box */
.modern-info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
}

.modern-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.modern-info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.modern-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
}

/* Breadcrumb Modern Style */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #764ba2;
}

.breadcrumb-item.active {
    color: #6B7280;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #D1D5DB;
}

/* Modern Divider */
.modern-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E5E7EB 20%, #E5E7EB 80%, transparent);
    margin: 3rem 0;
}

/* News Card Styling for Homepage */
.modern-card .news-lab-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modern-card .news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.modern-card .news-description {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.modern-card .news-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-bottom: 1rem;
}

.modern-card .news-separator {
    color: #D1D5DB;
}

.modern-card .btn-news-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.modern-card .btn-news-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Lab Card Styling for Homepage */
.modern-card .lab-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.modern-card .lab-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.modern-card .lab-description {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.modern-card .lab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.modern-card .research-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.modern-card .research-tag.tag-blue {
    background: #DBEAFE;
    color: #1E40AF;
}

.modern-card .research-tag.tag-purple {
    background: #EDE9FE;
    color: #6D28D9;
}

.modern-card .research-tag.tag-green {
    background: #D1FAE5;
    color: #065F46;
}

.modern-card .research-tag.tag-yellow {
    background: #FEF3C7;
    color: #92400E;
}

.modern-card .lab-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.modern-card .lab-stat {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.modern-card .lab-stat.stat-blue {
    background: #DBEAFE;
    color: #1E40AF;
}

.modern-card .lab-stat.stat-purple {
    background: #EDE9FE;
    color: #6D28D9;
}

.modern-card .lab-stat.stat-pink {
    background: #FCE7F3;
    color: #9F1239;
}

.modern-card .btn-lab-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.modern-card .btn-lab-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
}

/* ===
================================
   Detail Page Sidebar Styles
   =================================== */

/* Modern Stat Box for Sidebar */
.modern-stat-box {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.modern-stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.modern-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.modern-stat-label {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar News Items */
.modern-card .border-bottom:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.modern-card h6 a {
    transition: color 0.2s ease;
}

.modern-card h6 a:hover {
    color: #667eea !important;
}

/* Lab Statistics in Sidebar */
.modern-card .d-flex.flex-column.gap-3>div {
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.03);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modern-card .d-flex.flex-column.gap-3>div:hover {
    background: rgba(102, 126, 234, 0.08);
    transform: translateX(4px);
}

/* Modern Info Box for Timeline */
.modern-info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.modern-info-box:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.modern-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.modern-info-label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.modern-info-value {
    font-size: 1rem;
    color: #1F2937;
    font-weight: 600;
}

/* Modern Icon Badge */
.modern-icon-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.modern-icon-badge:hover {
    transform: scale(1.1);
}

/* Modern Button Styles */
.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Modern Section Title */
.modern-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E5E7EB;
}

/* Modern Card Body */
.modern-card-body {
    padding: 1.5rem;
}

.modern-card-text {
    font-size: 0.9375rem;
    color: #4B5563;
    line-height: 1.7;
}

/* Lab Link Styling */
.lab-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lab-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Project Card Hover Effect */
.project-card-hover {
    transition: all 0.3s ease;
}

.project-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

/* Responsive Adjustments for Detail Pages */
@media (max-width: 991px) {
    .modern-stat-number {
        font-size: 2rem;
    }

    .modern-info-box {
        padding: 1rem;
    }

    .modern-section-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        padding: 2rem 0 1.5rem !important;
    }

    .modern-hero-title {
        font-size: 1.75rem !important;
    }

    .modern-hero-subtitle {
        font-size: 0.875rem !important;
    }
}

/* =
==================================
   Laboratory Detail Page Styles
   =================================== */

.lab-detail-container {
    padding: 2rem 0;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E5E7EB;
}

.section-text {
    font-size: 0.9375rem;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Team Member Cards */
.team-member-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.leader-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid #667eea;
}

.team-member-header {
    margin-bottom: 0.75rem;
}

.leader-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.team-member-detail {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-member-detail:last-child {
    margin-bottom: 0;
}

.team-member-detail i {
    color: #667eea;
    font-size: 1rem;
}

.team-member-detail a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-member-detail a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.team-members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Lab Section Spacing */
.lab-section {
    margin-bottom: 2rem;
}

/* Modern Hero Content */
.modern-hero-content {
    text-align: center;
}

.modern-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.modern-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .lab-detail-container {
        padding: 1rem 0;
    }

    .section-heading {
        font-size: 1.25rem;
    }

    .team-members-list {
        grid-template-columns: 1fr;
    }

    .modern-hero-title {
        font-size: 1.75rem;
    }

    .modern-hero-subtitle {
        font-size: 1rem;
    }
}

/* ===================================
   Modern Card Component
   =================================== */

.modern-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.modern-card-body {
    padding: 0;
}

/* Modern Page Wrapper */
.modern-page-wrapper {
    background: #F8F9FA;
    min-height: calc(100vh - 56px);
}

.modern-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

/* =
==================================
   News Cards Enhancements
   =================================== */

.news-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-description {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-news-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.btn-news-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* Modern Divider */
.modern-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
    margin: 0;
}

/* Responsive News Grid */
@media (max-width: 768px) {
    .news-title {
        font-size: 1rem;
    }

    .news-description {
        font-size: 0.8125rem;
    }
}

/*
 ===================================
   Home Page Statistics Section
   =================================== */

.stat-item {
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-item .stat-icon {
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Article Cards on Home Page */
.article-title {
    transition: color 0.2s ease;
}

.modern-card:hover .article-title {
    color: #667eea !important;
}

.article-badge {
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Responsive Statistics */
@media (max-width: 768px) {
    .stat-item .stat-number {
        font-size: 2rem !important;
    }

    .stat-item .stat-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }

    .stat-item .stat-label {
        font-size: 0.75rem !important;
    }
}

/* =====
==============================
   Simple Statistics Section
   =================================== */

.simple-stat {
    padding: 0.5rem 0.25rem;
}

.simple-stat-icon {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.simple-stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.simple-stat-label {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Simple Stats */
@media (max-width: 768px) {
    .simple-stat {
        padding: 1.5rem 0.5rem;
    }

    .simple-stat-icon {
        font-size: 2rem;
    }

    .simple-stat-number {
        font-size: 2.25rem;
    }

    .simple-stat-label {
        font-size: 0.75rem;
    }
}

/* ===
================================
   News Links in Sidebar
   =================================== */

.modern-card a[href*="news_detail"] {
    transition: color 0.2s ease;
}

.modern-card h6 a:hover {
    color: #667eea !important;
}

.modern-card .border-bottom:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.modern-card a[href*="news_detail"].small:hover {
    color: #764ba2 !important;
    text-decoration: underline !important;
}
/* ==
=================================
   Project Team Display
   =================================== */

.team-leader-box {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.team-member-item {
    transition: all 0.2s ease;
}

.team-member-item:hover {
    background: white !important;
    border-color: #667eea !important;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.team-member-item a {
    transition: color 0.2s ease;
}

.team-member-item a:hover {
    color: #764ba2 !important;
}

.team-members-section {
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

/* ===================================
   Logo Styling
   =================================== */

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand span {
    font-weight: 700;
    font-size: 1.25rem;
}

/* Responsive logo */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 32px;
    }
    
    .navbar-brand span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        height: 28px;
        margin-right: 8px;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
}

/* ===================================
   Hero Logo Styling
   =================================== */

.hero-logo {
    animation: fadeInDown 1s ease-out;
}

.hero-logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.hero-logo {
    animation: fadeInDown 1s ease-out;
}

.hero-logo img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

.hero-icon {
    font-size: 5rem;
    color: white;
    opacity: 0.95;
    animation: fadeInDown 1s ease-out;
}

.hero-icon i {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.hero-icon:hover i {
    transform: scale(1.1);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive hero logo */
@media (max-width: 768px) {
    .hero-logo img {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 120px;
    }
}
