/* styles.css */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #161A24; /* Fondo oscuro */
    color: #fff; /* Texto blanco */
}

header {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
}

.logo img {
    margin-left: 10px;
    
}

h1 {
    color: #fd924b; /* Naranja */
    font-size: 2.5em;
    margin-bottom: 10px;
}

.lead {
    font-size: 1.5em;
    font-style: italic;
    margin-bottom: 20px;
    color: #FFFFE0; /* Color crema para destacar */
}

.cta-button {
    background-color: #fd924b;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin: 20px 10px 0px 10px;
    transition: background-color 0.3s ease;
}

.benefits {
    padding: 30px;
    text-align: center;
}

.benefits ul {
    list-style: none;
    padding: 0;
}

.benefits li {
    margin-bottom: 10px;
}

.testimonials {
    background-color: #222;
    padding: 40px;
    text-align: center;
}

.testimonial {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #555;
    border-radius: 5px;
}

.testimonial cite {
    font-style: italic;
    font-size: 0.9em;
    display: block;
    margin-top: 10px;
}

.cta {
    background-color: #000;
    padding: 40px;
    text-align: center;
}

#registro input[type="email"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

footer {
    background-color: #222;
    padding: 10px;
    text-align: center;
    color: #fefdfd;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #d6cece; /* Or your desired background color */
    padding: 0px;
    z-index: 1000; /* Ensure it's on top of other elements */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */


    display: flex; /* Enable flexbox */
    justify-content: space-between; /* Distribute space between logo and social-contact */
    align-items: center; /* Vertically center items */

}



.social-links, .contact-links {
    display: flex;
    align-items: center;
}


.social-links p, .contact-links p {
    margin-right: 10px;
}

.social-links a, .contact-links a {
    margin-right: 10px;
    text-decoration: none;
    color: #333; /* Or your desired color */
}

/* Icon styles (you'll need Font Awesome for these icons) */
.fab, .fas {
    font-size: 1.2em;
}

#general-documentos {
    text-align: center; /* Centrar los textos */
}

#general-documentos h2,
#general-documentos p {
    width: 100%; /* Asegurar que los textos ocupen todo el ancho */
}

.general-documentos-contenedor-imagenes {
    display: flex; /* Usar Flexbox para los contenedores de imágenes */
    justify-content: center; /* Centrar horizontalmente */
    flex-wrap: wrap; /* Permitir que los elementos se envuelvan */
}

.general-documentos-contenedor-imagenes .img-cap-container {
    width: 300px; /* Ajusta el ancho según sea necesario */
    margin: 0 15px; /* Margen de 15px a la izquierda y a la derecha */
    margin-bottom: 20px; /* Margen inferior para separar elementos en pantallas pequeñas */
}

/* Add media queries for responsiveness if needed */
@media (max-width: 768px) {
    .social-contact {
        flex-direction: column; /* Stack social and contact links vertically on smaller screens */
    }
}


.img-cap-container {
    display: flex; /* Usa flexbox para la disposición horizontal */
    flex-wrap: wrap; /* Permite que los elementos se envuelvan */
    gap: 10px; /* Espacio entre los elementos */
    justify-content: center;
}
.img-cap {
    position: relative; /* Necesario para posicionar los íconos sobre la imagen */
    width: 90px; /* Ancho fijo para todos los ítems */
    height: 160px; /* Alto fijo para todos los ítems */
    overflow: hidden; /* Hide content overflowing the container */
}
.icon-cap {
    display: flex;
    gap: 5px; /* Space between icons */
}
.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the entire container */
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Stack icons and description vertically */
    justify-content: space-between; /* Distribute space between them */
    align-items: center; /* Center horizontally */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    color: white; /* Text color */
    padding: 5px;
}
.img-description {
    font-size: 0.8em;
    text-align: center;
    margin-bottom: 10px;
}