/* Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    overflow-x: hidden;
}

/* Header and Navbar */
header {
    background-color: #06125c;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-container {
    width: 300px;
    height: 100px;
    background-color: white;
    border-top-right-radius: 75px;
    border-bottom-right-radius: 75px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    margin-left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.logo-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: left center;
    margin-left: 100px;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 10px 20px;
    margin-right: 200px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 50px;
}

.nav-list > li {
    position: relative;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list a:hover {
    background-color: #fdd835;
    color: #06125c;
    border-radius: 5px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: #333;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 200px;
    z-index: 1000;
    text-align: center;
}

.dropdown-menu li {
    padding: 10px 0;
}

.dropdown-menu a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s, background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #fdd835;
    color: #06125c;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Responsive Menu */
.menu-icon {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin: 10px;
}

#menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .logo-container {
        width: 180px;
        height: 60px;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #06125c;
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        z-index: 1000;
    }

    .menu-icon {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        margin-top: 10px;
        width: 90%;
        max-width: 250px;
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 0;
        transform: translateY(-10px);
    }

    .dropdown-menu li {
        padding: 8px 20px;
    }

    .dropdown-menu a {
        color: #333;
        text-decoration: none;
        font-size: 0.9rem;
        display: block;
        transition: color 0.3s ease, background-color 0.3s ease;
    }

    .dropdown-menu a:hover {
        color: #06125c;
        background-color: #fdd835;
        border-radius: 4px;
    }

    #menu-toggle:checked ~ .navbar {
        display: flex;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .novedad {
        flex: 1 1 100% !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: url('/img/banner.jpg') no-repeat center center/cover;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 200px 20px;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.hero h1 {
    font-size: 3em;
    margin: 0;
    max-width: 500px;
}

.hero p {
    font-size: 1.5em;
    margin: 10px 0 20px;
    max-width: 300px;
}

.hero button {
    background-color: #fdd835;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero button:hover {
    background-color: #e6c022;
}

/* Section Wrapper */
.section-wrapper {
    border: 2px solid #ddd;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
}

.section-wrapper h2 {
    background-color: #06125c;
    color: #fff;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    margin: 0 auto 20px auto;
    font-size: 1.8rem;
    font-weight: bold;
    max-width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin: 40px 0;
    padding: 0 20px;
}

.service {
    background: linear-gradient(145deg, #f9f9f9, #e9e9e9);
    border: none;
    border-radius: 20px;
    box-shadow: 0
}

/* Estilos para la sección PEI */
.section-wrapper {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-wrapper h2 {
    background-color: #06125c;
    color: #fff;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.pei-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.pei-links .btn {
    background-color: #fdd835;
    color: #06125c;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.pei-links .btn:hover {
    background-color: #e6c022;
}

.content h3 {
    color: #06125c;
    margin-top: 20px;
}

.content ul, .content ol {
    margin-left: 20px;
    line-height: 1.6;
}

.content li {
    margin-bottom: 10px;
}

/* Estilos para la sección de documentos */
.documentos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.documento {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.documento:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.documento h3 {
    color: #06125c;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.documento p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 15px;
}

.btn-descarga {
    display: inline-flex;
    align-items: center;
    background-color: #fdd835;
    color: #06125c;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-descarga i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-descarga:hover {
    background-color: #e6c022;
}

/* Footer */
footer {
    background-color: #06125c; /* Fondo azul oscuro */
    color: white;
    padding: 40px 20px; /* Espaciado general */
    text-align: center; /* Centrar el texto */
}

.footer-content {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    flex-wrap: wrap; /* Ajustar en pantallas pequeñas */
    gap: 30px; /* Espacio entre secciones */
    margin-bottom: 20px; /* Espaciado inferior */
}

.footer-section {
    flex: 1;
    min-width: 250px; /* Ancho mínimo para mantener la estructura */
    text-align: center;
}

.footer-section h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 8px 0;
    font-size: 1em;
    display: flex;
    align-items: center; /* Centrar verticalmente los íconos y el texto */
    justify-content: center; /* Centrar horizontalmente */
}

.footer-section ul li img {
    margin-right: 8px; /* Espaciado entre el ícono y el texto */
}

.social-media {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Espaciado entre los íconos */
}

.social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1); /* Zoom al pasar el mouse */
}

/* Footer para derechos reservados */
.footer-copyright {
    color: white;
    font-size: 0.9em;
    padding: 10px;
    text-align: center;
}

