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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0f3460;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid #ddd;
}

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

.nav-logo {
    position: absolute;
    left: 2rem;
}

.nav-logo h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #22d3ee;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    right: 2rem;
}

.lang-toggle {
    background: none;
    border: none;
    color: #22d3ee;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle:hover {
    background: rgba(34, 211, 238, 0.1);
    transform: scale(1.1);
}

.lang-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.search-container {
    display: flex;
    align-items: center;
    background: none;
    border-radius: 25px;
    padding: 0;
    width: auto;
    transition: all 0.3s ease;
    overflow: visible;
    position: relative;
}

.search-container.expanded {
    width: auto;
}

.search-container.expanded::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: -1;
}

.search-input {
    background: none;
    border: none;
    color: #ffffff;
    padding: 0.3rem;
    outline: none;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    height: 20px;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.search-container.expanded .search-input {
    width: 140px;
    opacity: 1;
    padding: 0.3rem 1rem 0.3rem 0.8rem;
}

.search-toggle {
    background: transparent !important;
    border: none;
    color: #22d3ee;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    position: relative;
    z-index: 10;
    outline: none;
}

.search-toggle:focus {
    outline: none;
    box-shadow: none;
}

.search-toggle:hover {
    color: #ffffff;
    transform: scale(1.2);
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent !important;
}

.search-container button:hover {
    background: #0891b2;
}

.language-flags {
    display: flex;
    gap: 12px;
    align-items: center;
}

.flag-item {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.flag-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.flag-icon {
    width: 20px;
    height: 13px;
    border-radius: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.flag-text {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Banner - MELHORADO */
.hero-banner {
    height: 350px;
    background: linear-gradient(135deg, #0f3460 0%, #16537e 50%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 30px 0 0 0;
    padding: 2rem;
    width: 100%;
    box-shadow: 0 10px 30px rgba(15, 52, 96, 0.3);
    z-index: 1;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(220, 220, 220, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 85% 15%, rgba(200, 200, 200, 0.5) 1.5px, transparent 1.5px),
        radial-gradient(circle at 45% 35%, rgba(180, 180, 180, 0.6) 2px, transparent 2px),
        radial-gradient(circle at 75% 65%, rgba(210, 210, 210, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 25% 75%, rgba(190, 190, 190, 0.5) 1.5px, transparent 1.5px),
        radial-gradient(circle at 65% 85%, rgba(200, 200, 200, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 35% 55%, rgba(180, 180, 180, 0.5) 1.5px, transparent 1.5px),
        radial-gradient(circle at 55% 25%, rgba(210, 210, 210, 0.4) 1px, transparent 1px);
    background-size: 100% 100%;
    opacity: 0.6;
    z-index: 1;
    animation: networkPulse 8s ease-in-out infinite;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='ontology' x='0' y='0' width='200' height='200' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='50' cy='50' r='2' fill='%23d0d0d0' opacity='0.6'/%3E%3Ccircle cx='150' cy='80' r='1.5' fill='%23c8c8c8' opacity='0.5'/%3E%3Ccircle cx='100' cy='150' r='2.5' fill='%23b8b8b8' opacity='0.7'/%3E%3Cline x1='50' y1='50' x2='150' y2='80' stroke='%23d0d0d0' stroke-width='0.5' opacity='0.3' stroke-dasharray='2,3'/%3E%3Cline x1='50' y1='50' x2='100' y2='150' stroke='%23c8c8c8' stroke-width='0.5' opacity='0.25' stroke-dasharray='2,3'/%3E%3Cline x1='150' y1='80' x2='100' y2='150' stroke='%23b8b8b8' stroke-width='0.5' opacity='0.3' stroke-dasharray='2,3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23ontology)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.4;
    z-index: 0;
    animation: ontologyFlow 25s ease-in-out infinite;
}

@keyframes networkPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes ontologyFlow {
    0%, 100% { background-position: 0 0; opacity: 0.4; }
    50% { background-position: 100px 100px; opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 0;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #ffffff;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0.95;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

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

.stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.stat .number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #22d3ee;
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.6), 0 0 15px rgba(34, 211, 238, 0.4);
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.9;
    font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 5;
}

.breadcrumb span {
    color: #666666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #0f3460;
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Seção Sobre */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-text h2 {
    font-size: 2.5rem;
    color: #0f3460;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.achievements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border-left: 4px solid #22d3ee;
}

.achievement i {
    color: #0f3460;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.research-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 52, 96, 0.3);
    transition: transform 0.3s ease;
}

.research-image:hover {
    transform: scale(1.05);
}

/* Action Buttons - MELHORADO */
.action-buttons {
    padding: 5rem 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #0f3460;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

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

.btn {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: #333333;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    display: block;
}

.btn.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(15, 52, 96, 0.25);
}

.btn-icon {
    position: relative;
    margin-bottom: 1.5rem;
}

.btn-icon i {
    font-size: 3rem;
    color: #6b7280;
    transition: all 0.3s ease;
}

.btn:hover .btn-icon i {
    transform: scale(1.1) rotate(5deg);
}

.btn.primary:hover .btn-icon i { color: #dc2626; }
.btn.secondary:hover .btn-icon i { color: #7c3aed; }
.btn.accent:hover .btn-icon i { color: #059669; }
.btn.highlight:hover .btn-icon i { color: #d97706; }
.btn.info:hover .btn-icon i { color: #0284c7; }
.btn.success:hover .btn-icon i { color: #16a34a; }

.btn h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #0f3460;
    font-weight: 600;
}

.btn p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #22d3ee;
    color: #0f3460;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Cards neutros com efeito de acender no hover */
.btn {
    border-color: #e5e7eb;
}

.btn .btn-badge {
    background: #6b7280;
    color: white;
}

.btn.primary:hover { 
    border-color: #dc2626; 
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.25);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.02));
}
.btn.primary:hover .btn-badge { background: #dc2626; }

.btn.secondary:hover { 
    border-color: #7c3aed; 
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.25);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(124, 58, 237, 0.02));
}
.btn.secondary:hover .btn-badge { background: #7c3aed; }

.btn.accent:hover { 
    border-color: #059669; 
    box-shadow: 0 25px 50px rgba(5, 150, 105, 0.25);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(5, 150, 105, 0.02));
}
.btn.accent:hover .btn-badge { background: #059669; }

.btn.highlight:hover { 
    border-color: #d97706; 
    box-shadow: 0 25px 50px rgba(217, 119, 6, 0.25);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05), rgba(217, 119, 6, 0.02));
}
.btn.highlight:hover .btn-badge { background: #d97706; }

.btn.info:hover { 
    border-color: #0284c7; 
    box-shadow: 0 25px 50px rgba(2, 132, 199, 0.25);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.05), rgba(2, 132, 199, 0.02));
}
.btn.info:hover .btn-badge { background: #0284c7; }

.btn.success:hover { 
    border-color: #16a34a; 
    box-shadow: 0 25px 50px rgba(22, 163, 74, 0.25);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), rgba(22, 163, 74, 0.02));
}
.btn.success:hover .btn-badge { background: #16a34a; }

/* Timeline */
.timeline-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #22d3ee;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    text-align: right;
    padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
    text-align: left;
    padding-left: calc(50% + 2rem);
}

.timeline-date {
    position: absolute;
    top: 0;
    background: #22d3ee;
    color: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: calc(50% - 3rem);
}

.timeline-item:nth-child(even) .timeline-date {
    left: calc(50% - 3rem);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #22d3ee;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Seção de Contato */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: #0f3460;
    min-width: 30px;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #0f3460;
    font-size: 1.1rem;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0f3460;
}

.submit-btn {
    background: #0f3460;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #16537e;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #22d3ee;
    font-size: 1.2rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #22d3ee;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 50%;
    color: #22d3ee;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #22d3ee;
    color: #0f172a;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #64748b;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #0f3460;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #22d3ee;
    transform: translateY(-3px);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f3460 0%, #16537e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loader {
    text-align: center;
    color: white;
}

.dna-helix {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    position: relative;
}

.strand {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #22d3ee;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.strand:nth-child(2) {
    border-top: 3px solid #ffffff;
    animation-delay: 0.5s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #22d3ee;
    z-index: 1001;
    transition: width 0.1s;
}

/* Tooltips */
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0f3460;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    margin-bottom: 5px;
}

.tooltip.visible {
    opacity: 1;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #0f3460;
}

/* Modo escuro removido */

/* Publicações */
.publications-section {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.publication-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
}

.publication-card:hover {
    transform: translateY(-5px);
}

.pub-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #0f3460;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.publication-card h3 {
    color: #0f3460;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.pub-journal {
    color: #22d3ee;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pub-authors {
    color: #64748b;
    font-style: italic;
    margin-bottom: 1rem;
}

.pub-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #64748b;
    font-size: 0.9rem;
}

.metric i {
    color: #0f3460;
}

/* Galeria */
.gallery-section {
    padding: 5rem 0;
    background: white;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 52, 96, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Gráficos */
.charts-section {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.chart-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.chart-card h3 {
    color: #0f3460;
    margin-bottom: 1.5rem;
}

.chart-card canvas {
    max-width: 100%;
}

.metrics-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.metric-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: #0f3460;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #64748b;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .search-container {
        display: none;
    }
    
    .hero-banner {
        height: 280px;
        width: 100%;
        margin: 20px 0 0 0;
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .research-image {
        width: 250px;
        height: 250px;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        padding-left: 4rem !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-date {
        left: 0 !important;
        right: auto !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    .nav-logo {
        position: static;
    }
    
    .search-container {
        position: static;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .nav-controls {
        position: static;
        gap: 0.5rem;
    }
    
    .lang-toggle {
        width: 35px;
        height: 35px;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-summary {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .publications-grid {
        grid-template-columns: 1fr;
    }
}