:root {
    --primary-color: #003366; /* Azul institucional */
    --secondary-color: #333333; /* Gris oscuro */
    --background-color: #FFFFFF; /* Blanco */
    --text-color: #000000; /* Negro */
    --accent-color: #007BFF; /* Azul destacado */
    --accent-color-dark: #0056b3; /* Azul oscuro para hover */
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

nav ul li {
    margin-left: 20px;
    white-space: nowrap; /* Prevents text wrapping within li */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

main {
    padding-top: 70px; /* Espacio para el menú fijo */
}

section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 1.8em;
}

p {
    margin-bottom: 20px;
}

.cta-button, .button {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-button:hover, .button:hover {
    background-color: var(--accent-color-dark);
}

.timeline {
    margin: 20px 0;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.date {
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-left: 5px solid var(--accent-color);
    font-style: italic;
}

ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    nav ul li {
        margin: 10px 0;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .cta-button, .button {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
        text-align: center;
    }

    section {
        padding: 30px 15px;
    }
}
