body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Ajuste para el contenido principal */
#content {
    padding-top: 95px; /* Ajusta el valor según la altura de tu header fijo */
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 98%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header .logo img {
    height: 65px;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-right: 20px;
}

header nav ul li a {
    color: #203A4B;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #00AD8C;
}

header .cta .btn {
    background-color: #00AD8C;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header .cta .btn:hover {
    background-color: #008f72;
}

/* Estilos para el nuevo header móvil */

.mobile-header {
    display: none; /* Inicialmente oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    background-color: #ffffff;
    padding: 10px 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-header .logo img {
    height: 40px; /* Ajusta el tamaño del logo según sea necesario */
}

.mobile-header .menu-toggle {
    cursor: pointer;
    margin-top: 2px;
    float: right; /* Alineación a la derecha */
}

.mobile-header .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #203A4B;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.mobile-header .menu-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-header .menu-toggle span:nth-child(1) {
    transform-origin: left center;
}

.mobile-header .menu-toggle span:nth-child(3) {
    transform-origin: left center;
}

/* Media query para mostrar el nuevo header móvil */
@media (max-width: 768px) {
    header {
        display: none; /* Ocultar header por defecto */
    }
    
    .mobile-header {
        display: flex; /* Mostrar nuevo header móvil */
        justify-content: space-between; /* Ajuste de espaciado */
        align-items: center; /* Alineación vertical */
    }
}


/* Estilos del menú desplegable */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%; /* Ancho del menú desplegable */
    max-width: 300px; /* Ancho máximo */
    height: 100%;
    background-color: #ffffff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 900;
    padding: 20px;
    box-sizing: border-box;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: #203A4B;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #00AD8C;
}
.mobile-menu .donate-button {
    margin-top: 200%;
}

.mobile-menu .donate-button .btn {
    display: block;
    background-color: #00AD8C;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.mobile-menu .donate-button .btn:hover {
    background-color: #008f72;
}

.mobile-menu .mobile-logo {
    margin-top: 10px;
}

.mobile-menu .mobile-logo img {
    max-width: 100px; /* Ajusta el tamaño según sea necesario */
    height: auto;
    display: block;
    margin: 0 auto;
} 


/* Banner */
#banner {
    position: relative;
    width: 100%;
    height: 25vh;
    background: url('imagenes/joemia 50 copy.jpg') no-repeat center center/cover;
}

#banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 80%;
    max-width: 600px;
}

#banner .banner-text h1 {
    font-size: 2em;
    margin: 0;
}

#banner .banner-text p {
    font-size: 1em;
    margin: 10px 0;
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
    #banner .banner-text h1 {
        font-size: 1.5em;
    }

    #banner .banner-text p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    #banner .banner-text h1 {
        font-size: 1.2em;
    }

    #banner .banner-text p {
        font-size: 0.8em;
    }
}



/* Estilos del Mini-footer para la ubicación */
.mini-footer {
    background-color: #008F72;
    color: #fff;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

.mini-footer p {
    margin-bottom: 5px;
}

.mini-footer iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* Estilos del Footer principal */
footer {
    background-color: #ffffff;
    color: #004B54;
    padding: 10px 20px;
    text-align: center;
    font-size: 12px;
}

footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1700px;
    margin: 0 auto;
}

footer .footer-column {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

footer .footer-column h3 {
    font-size: 1.2em;
    margin-bottom: 20px;
}

footer .footer-column p, footer .footer-column a {
    font-size: 1em;
    line-height: 1.6;
    margin: 10px 0;
    color: #004B54;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-column a:hover {
    color: #F79B22;
}

footer .footer-column .social-icons a {
    margin: 0 10px;
    display: inline-block;
}

footer .footer-column .social-icons img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

footer .footer-column .social-icons img:hover {
    transform: scale(1.2);
}

footer .footer-column .logo-container img {
    max-width: 80px;
    height: auto;
    display: block;
    margin: 10px auto;
}

footer .footer-bottom {
    border-top: 1px solid #007e6d;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.8em;
}

footer .footer-bottom p {
    margin: 0;
}

/* Media queries para pantallas pequeñas */
@media (max-width: 768px) {
    footer .footer-container {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-column {
        margin: 20px 0;
    }
}

.logo-image {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* Estilos específicos para el footer */
footer .footer-column.contacto:hover {
    background-color: #f0f0f0;
    border-radius: 5px;
}

footer .footer-column.contacto:hover p,
footer .footer-column.contacto:hover a {
    font-weight: bold;
}

footer .footer-column.contacto p {
    cursor: pointer;
}

/* Estilos para los iconos sociales en el footer */
footer .footer-column .social-icons img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

footer .footer-column .social-icons img:hover {
    transform: scale(1.2);
}

/* Footer Apoyanos*/
.apoyanos {
    position: relative;
    text-align: center;
    color: #012226;
    padding: 20px 20px;
}

.apoyanos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/imagenes/caridad.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(7px); /* Ajusta el valor de blur según el efecto deseado */
    z-index: -1;
}

.apoyanos-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative; /* Añade posición relativa para que los elementos internos no se vean afectados por el z-index */
    z-index: 1; /* Asegura que el contenido esté por encima del fondo difuminado */
}

.apoyanos h2 {
    font-size: 1em;
    margin-bottom: 10px;
}

.apoyanos .ayuda-grande {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.apoyanos p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.apoyanos .botones {
    display: flex;
    justify-content: center;
}

.apoyanos .botones .btn {
    display: inline-block;
    background-color: #00AD8C;
    color: #fff;
    padding: 12px 25px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.apoyanos .botones .btn:hover {
    background-color: #008f72;
}

/* Estilos para la sección de voluntarios */
.volunteers {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.volunteers-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.volunteer {
    width: calc(25% - 20px);
    margin: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.volunteer:hover {
    transform: translateY(-5px);
}

.volunteer img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
    border-radius: 5px 5px 0 0; /* Redondear solo la parte superior de la imagen */
}

.volunteer-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.volunteer-info h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #203A4B;
}

.volunteer-info p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px; /* Espacio entre párrafos */
}

@media (max-width: 1200px) {
    .volunteer {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .volunteer {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .volunteer {
        width: calc(100% - 20px);
    }
}
