
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

        :root {
            --primary-color: #0056b3; /* Azul oscuro */
            --secondary-color: #007bff; /* Azul brillante */
            --text-color: #333;
            --light-gray: #f4f4f4;
            --border-color: #ddd;
            --card-bg: #fff;
            --shadow-light: rgba(0, 0, 0, 0.1);
            --shadow-medium: rgba(0, 0, 0, 0.2);
        }

        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            color: var(--text-color);
            line-height: 1.6;
            background-color: var(--light-gray);
        }

        /* Navbar */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: var(--primary-color);
            color: white;
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 5px var(--shadow-light);
        }

        .navbar .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
        }

        .navbar .nav-links {
            list-style: none;
            display: flex;
            margin: 0;
            padding: 0;
        }

        .navbar .nav-links li {
            margin-left: 2rem;
        }

        .navbar .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
            padding: 0.5rem 0;
        }

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

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

        .menu-toggle .bar {
            height: 3px;
            width: 25px;
            background-color: white;
            margin: 4px 0;
            border-radius: 2px;
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.6)); /* Eliminado el texto del fondo */
            color: white;
            text-align: center;
            padding: 8rem 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 500px;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero-section h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero-section p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .button {
            display: inline-block;
            background-color: var(--secondary-color);
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: background-color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 4px 6px var(--shadow-light);
        }

        .button:hover {
            background-color: #0069d9;
            transform: translateY(-2px);
            box-shadow: 0 6px 8px var(--shadow-medium);
        }

        /* General Section Styling */
        .section-padding {
            padding: 4rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        h2 {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--primary-color);
            position: relative;
        }

        h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background-color: var(--secondary-color);
            margin: 1rem auto 0;
            border-radius: 2px;
        }

        /* Filter Controls */
        .filter-controls {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .filter-controls input,
        .filter-controls select {
            padding: 0.8rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 1rem;
            flex: 1;
            min-width: 200px;
            max-width: 300px;
        }

        /* Article Cards */
        .articles-container,
        .coauthors-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            justify-content: center;
        }

        .article-card,
        .coauthor-card {
            background-color: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 4px 15px var(--shadow-light);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .article-card:hover,
        .coauthor-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px var(--shadow-medium);
        }

        .article-card .article-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-bottom: 1px solid var(--border-color);
        }

        .article-card .article-info,
        .coauthor-card .coauthor-info {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .article-card h3,
        .coauthor-card h3 {
            font-size: 1.4rem;
            margin-top: 0;
            margin-bottom: 0.8rem;
            color: var(--primary-color);
            line-height: 1.3;
        }

        .article-card .authors,
        .article-card .journal-year,
        .coauthor-card .affiliation {
            font-size: 0.95rem;
            color: #666;
            margin-bottom: 0.5rem;
        }

        .article-card .view-details-button,
        .coauthor-card .view-coauthor-button {
            background-color: var(--secondary-color);
            color: white;
            padding: 0.6rem 1.2rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            margin-top: auto; /* Empuja el botón hacia abajo */
            align-self: flex-start; /* Alinea el botón a la izquierda */
            transition: background-color 0.3s ease;
        }

        .article-card .view-details-button:hover,
        .coauthor-card .view-coauthor-button:hover {
            background-color: #0069d9;
        }

        /* Coauthor Cards */
        .coauthor-card .coauthor-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 1.5rem auto 1rem;
            border: 3px solid var(--secondary-color);
            display: block;
        }

        .coauthor-card .coauthor-info {
            text-align: center;
        }

        /* About Section */
        .about-me {
            background-color: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 4px 15px var(--shadow-light);
            padding: 2.5rem;
            margin-top: 3rem;
            text-align: center;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .about-me .profile-picture {
            /* Eliminado el estilo de borde-radius y border para que no sea un óvalo */
            width: 150px;
            height: 150px;
            object-fit: cover;
            margin-bottom: 1.5rem;
        }

        .about-me h3 {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .about-me p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
        }

        .about-me .social-links a {
            color: var(--primary-color);
            font-size: 1.5rem;
            margin: 0 0.8rem;
            transition: color 0.3s ease;
        }

        .about-me .social-links a:hover {
            color: var(--secondary-color);
        }

        /* Footer */
        footer {
            background-color: var(--primary-color);
            color: white;
            text-align: center;
            padding: 2rem;
            font-size: 0.9rem;
        }

        footer .social-links-footer a {
            color: white;
            text-decoration: none;
            margin: 0 0.5rem;
            transition: color 0.3s ease;
        }

        footer .social-links-footer a:hover {
            color: var(--secondary-color);
        }

        /* Modals */
        .modal {
            display: none; /* Hidden by default */
            position: fixed; /* Stay in place */
            z-index: 1001; /* Sit on top */
            left: 0;
            top: 0;
            width: 100%; /* Full width */
            height: 100%; /* Full height */
            overflow: auto; /* Enable scroll if needed */
            background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
            padding-top: 60px;
        }

        .modal-content {
            background-color: var(--card-bg);
            margin: 5% auto; /* 5% from the top and centered */
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px var(--shadow-medium);
            max-width: 900px;
            width: 90%;
            position: relative;
            animation: fadeIn 0.3s ease-out;
        }

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

        .close-button {
            color: #aaa;
            font-size: 30px;
            font-weight: bold;
            position: absolute;
            top: 15px;
            right: 25px;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .close-button:hover,
        .close-button:focus {
            color: var(--primary-color);
            text-decoration: none;
        }

        .modal-content h3 {
            color: var(--primary-color);
            font-size: 1.8rem;
            margin-top: 0;
            margin-bottom: 1rem;
        }

        .modal-content h4 {
            color: var(--secondary-color);
            font-size: 1.3rem;
            margin-top: 1.5rem;
            margin-bottom: 0.8rem;
            border-bottom: 2px solid var(--border-color);
            padding-bottom: 0.5rem;
        }

        .modal-content p {
            margin-bottom: 1rem;
            font-size: 1rem;
        }

        .modal-image {
            width: 100%;
            max-height: 300px;
            object-fit: contain;
            border-radius: 10px;
            margin-bottom: 1.5rem;
        }

        .modal-profile-picture {
            width: 150px;
            height: 150px;
            border-radius: 8px; /* Esquinas ligeramente redondeadas */
            object-fit: cover;
            margin: 0 auto 1.5rem;
            display: block;
            border: none; /* Eliminado el borde de color */
        }

        .modal-content ul {
            list-style-type: disc;
            padding-left: 20px;
            margin-bottom: 1rem;
        }

        .modal-content ul li {
            margin-bottom: 0.5rem;
        }

        .modal-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 1rem;
            margin-bottom: 1.5rem;
        }

        .modal-link-button {
            background-color: var(--primary-color);
            color: white;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .modal-link-button:hover {
            background-color: var(--secondary-color);
        }

        .modal-coauthors-list a,
        .modal-article-link {
            display: inline-block;
            margin-right: 10px;
            margin-bottom: 5px;
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .modal-coauthors-list a:hover,
        .modal-article-link:hover {
            color: var(--primary-color);
            text-decoration: underline;
        }


        /* Responsive Design */
        @media (max-width: 768px) {
            .navbar .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                background-color: var(--primary-color);
                position: absolute;
                top: 70px; /* Ajustar según la altura del header */
                left: 0;
                padding: 1rem 0;
                box-shadow: 0 2px 5px var(--shadow-light);
            }

            .navbar .nav-links.active {
                display: flex;
            }

            .navbar .nav-links li {
                margin: 0.5rem 0;
                text-align: center;
            }

            .menu-toggle {
                display: flex;
            }

            .hero-section {
                padding: 6rem 1rem;
            }

            .hero-section h1 {
                font-size: 2.2rem;
            }

            .hero-section p {
                font-size: 1rem;
            }

            h2 {
                font-size: 2rem;
                margin-bottom: 2rem;
            }

            .section-padding {
                padding: 3rem 1rem;
            }

            .filter-controls {
                flex-direction: column;
                align-items: center;
            }

            .filter-controls input,
                .filter-controls select {
                width: 100%;
                max-width: 400px; /* Limitar el ancho en pantallas pequeñas */
            }

            .article-card,
            .coauthor-card {
                max-width: 400px;
                margin: 0 auto;
            }

            .modal-content {
                width: 95%;
                margin: 20px auto;
                padding: 20px;
            }

            .modal-content h3 {
                font-size: 1.5rem;
            }

            .modal-content h4 {
                font-size: 1.1rem;
            }

            .modal-links {
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .navbar {
                padding: 0.8rem 1rem;
            }
            .navbar .logo {
                font-size: 1.5rem;
            }
            .hero-section h1 {
                font-size: 1.8rem;
            }
            .hero-section p {
                font-size: 0.9rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            .article-card .article-info,
            .coauthor-card .coauthor-info {
                padding: 1rem;
            }
            .article-card h3,
            .coauthor-card h3 {
                font-size: 1.2rem;
            }
        }
    