html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: url('../images/fondo.jpeg') no-repeat center center/cover;
    background-attachment: fixed;
    background-color: #f5f5f5;
    color: #111;
    font-family: 'Roboto', sans-serif;
}

/* 🔹 Capa de superposición para suavizar el fondo */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

/* 📩 Contenedor de la cabecera */
.header-container {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 30px;
    background: linear-gradient(to right, #2D6BBC, #1E4A89);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 95%;
    max-width: 1300px;
    margin: auto;
}

/* 📩 Logos */
.logo-left, .logo-right {
    width: 180px;
    height: auto;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.5));
}

/* 📩 Menú */
.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0;
    margin: 0;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu li a:hover {
    background: #FFD700;
    color: black;
    transform: scale(1.08);
}

/* 📩 Título en el banner */
.banner-title {
    font-size: 2.5rem;
    text-align: center;
    color: #fff;
    margin-top: 20px;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 1);
    letter-spacing: 1px;
}

/* 📩 Pie de página */
footer {
    background: #1E4A89;
    color: white;
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
}

/* 🔹 Secciones */
section {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1); /* Menos opaco */
    backdrop-filter: blur(15px); /* Mayor desenfoque */
    border-radius: 15px;
    margin: 3rem auto;
    width: 85%;
    max-width: 1100px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15); /* Sombra más sutil */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
    color: #fff; /* Cambia el color del texto a blanco */
    font-weight: 500;
    line-height: 1.6;
}


/* Textos dentro de secciones */
section h2, section h3 {
    color: #FFD700 !important; /* Amarillo dorado */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Mejora la visibilidad */
}

section p {
    color: #333;
    font-size: 17px;
}

/* 🔹 Sección de tarjetas */
.section-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 🔹 Tarjetas con efecto glassmorphism */
.card {
    background: rgba(255, 255, 255, 0.08); /* Más transparente */
    backdrop-filter: blur(20px); /* Mayor desenfoque */
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Sombra más suave */
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 20px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Borde más sutil */
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(95%);
    border-radius: 10px;
}

.card h3 {
    margin: 1rem 0;
    color: #FFD700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.card p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

/* 📩 Tarjeta destacada */
.full-width-card {
    background: #FFD700;
    color: #1E4A89;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    margin: 2rem 0;
}

.full-width-card img {
    width: 100%;
    border-radius: 12px;
}

.full-width-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

/* 🔹 Quiénes Somos */
#quienes-somos {
    text-align: center;
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

#quienes-somos h2 {
    font-size: 2rem;
    color: #1E4A89;
    margin-bottom: 20px;
}

/* 🔹 Equipo */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* 🔹 Tarjetas de equipo */
.team-card {
    background: rgba(255, 255, 255, 0.08); /* Más transparente */
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}


.team-card h3 {
    font-size: 1.2rem;
    color: #FFD700;
    margin-bottom: 5px;
}

.team-card p {
    font-size: 1rem;
    text-align: justify;
}

.team-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

/* 📩 Contacto */
.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    margin: 2rem auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
