body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header, .mobile-header {
    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;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    width: 98%;
}

header .logo img, .mobile-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;
}

.mobile-header .menu-toggle {
    cursor: pointer;
    float: right;
}

.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;
    }
    
    .mobile-header {
        display: flex;
    }
}

/* Estilos del menú desplegable */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 300px;
    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;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Estilos del banner */
#banner {
    position: relative;
    width: 100%;
    height: 55vh;
    background: url('/imagenes/joemi 11.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

#banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

#banner .banner-text h1 {
    font-size: 3em;
    margin: 0;
}

#banner .banner-text p {
    font-size: 1.2em;
    margin: 10px 0;
}

#banner .banner-text .btn {
    background-color: #00AD8C;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

#banner .banner-text .btn:hover {
    background-color: #008f72;
}

/* Estilos de la sección Bienvenida */
#bienvenida {
    padding: 40px 20px;
    text-align: center;
}

#bienvenida .encabezado {
    text-align: center;
    margin-bottom: 20px;
}

#bienvenida .encabezado img {
    max-width: 15%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#bienvenida .video-intro {
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
}

#bienvenida .video-intro video {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos de la sección Destacados */
#destacados {
    padding: 40px 20px;
    text-align: center;
}

#destacados .proyecto-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#destacados .proyecto {
    display: inline-block;
    width: calc(100% / 3 - 40px);
    max-width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: left;
}

#destacados .proyecto .imagen {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 10px;
}

#destacados .proyecto .imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#destacados .proyecto h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #203A4B;
}

#destacados .proyecto p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #444;
}

#destacados .proyecto .btn {
    background-color: #00AD8C;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    display: block;
    margin: 10px auto 0;
}

#destacados .proyecto .btn:hover {
    background-color: #008f72;
}

#destacados .proyecto:hover {
    transform: translateY(-5px);
}

/* Media queries para dispositivos móviles */
@media (max-width: 768px) {
    #destacados .proyecto {
        width: calc(100% - 40px);
        margin: 10px auto;
    }
}
