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

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #efeeec;
}

header {
    text-align: center;
    background-color: #f4f4f4;
    padding: 50px 20px;
}

.header-content {
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    color: #333;
}

header p {
    font-size: 1.2rem;
    margin: 15px 0;
}

header img {
    max-width: 100%;
    height: auto;
}

.btn-primary {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

section {
    padding: 50px 20px;
    text-align: center;
}

.section-one, .section-two {
    background-color: #f9f9f9;
    margin: 20px 0;
}

section h2 {
    font-size: 2rem;
    color: #444;
}

section p {
    font-size: 1.1rem;
    margin: 15px 0 30px 0;
}

section img {
    max-width: 100%;
    height: auto;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

header {
    background-color: #f9f9f9;
    padding: 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: bold;
    text-transform: uppercase;
}

.nav-links a.highlight {
    color: #e63946;
}

.nav-links a:hover {
    color: #007BFF;
}

.image-container {
    position: relative;
    width: 100%;
    height: auto;
}

.background-image {
    width: 100%;
    height: auto;
}

.banner-scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow-x: auto; /* Habilita el scroll horizontal */
    white-space: nowrap; /* Evita que la imagen se ajuste al contenedor */
}

.banner-image {
    display: inline-block;
    height: auto;
    width: auto; /* La imagen se mostrará con su ancho completo y habilitará el scroll si es mayor al contenedor */
}
#carouselExample {
    background-image: url('../images/fondo2.jpg'); /* Imagen de fondo */
    background-size: cover;  /* Para que la imagen de fondo cubra el área */
    background-position: center; /* Centra la imagen de fondo */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}

.carousel-item{
    margin-top: 10%;
    padding-left: 20px;
    padding-right: 20px;
    height: auto;
    width: 100%;
}

/* Estilos del acordeón */
.accordion {
    width: 100%;
    /*border: 1px solid #ccc;*/
    border-radius: 5px;
}

.accordion-item {
    background-color: #f7f7f7;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    margin-top: 15px;
    color: #133366;
}

.accordion-item:last-child {
    border-bottom: none;
    margin-top: 15px;
    color: #133366;
}

.accordion-header {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #e0e0e0;
}

.accordion-header img {
    margin-right: 10px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
}

.accordion-content p {
    margin: 15px 0;
    font-size: 16px;
}

/* Estilos adicionales para iconos */
.imgicon {
    width: 45px;
    padding: 0px;
    margin-left: -14px;
}

.accordion-header .icon {
    width: 20px;
    height: 20px;
    background-image: url('../images/icono1.jpg');
    background-size: cover; /* Para ajustar la imagen dentro del contenedor */
    display: inline-block;
    border-radius: 3px;
}



/* Estilo para escritorio */
@media (min-width: 992px) {
    #carouselExample {
        height: 680px;
    }
    .info2 {
        height: 1200px;
    }
    .infobanner2{
        top:670px;
        margin-left: 6%;
    }
    .participa{
        background: #794c96;
        color: white;
        padding: 55px;
    }
    .botones p {
        display: flex;
        justify-content: space-between;
    }
    .botones .boton {
        margin-bottom: 10px; /* Espacio entre imágenes en móvil */
        width: 90%;
    }
    .header1 {
        position: absolute;
        top: 560px;
        left: 10%;
        width: 80%;
    }
    .rowHeader{
        height: 1060px;
    }

}
/* Estilo para mobil */
@media (max-width: 768px) {
    .info2 {
        height: 290px;
    }
    .infobanner2{
        top: 170px;
        margin-left: 25px;
    }
    .participa{
        background: #794c96;
        color: white;
        padding: 15px;
        margin-left: 6px;
    }
    .botones p {
        flex-direction: column;
    }

    .botones .boton {
        margin-bottom: 10px; /* Espacio entre imágenes en móvil */
        width: 100%;
    }
    .btnpoliticas{
        width: 100%;
    }

    .header1 {
        position: absolute;
        top: 130px;
        left: 10%;
        width: 80%;
    }
    .rowHeader{
        height: 280px;
    }
    .footerLogos{
        width: 210%;
        text-align: center;
        margin-left: -7%;
    }
}
