@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: url('../images/background.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
}

.glass-card {
    background: rgba(0, 35, 68, 0.856);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(94, 94, 94, 0.37);
}


.main nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.logo-header {
    flex-wrap: wrap;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 142px;
    top: 0;
    z-index: 1000;
    background: rgba(0, 49, 95, 0.698);
    backdrop-filter: blur(20px);
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-h {
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: 10;
    transition: transform 0.3s ease;
    padding-top: 10px;
    width: 340px;
    height: 150px;
}

.logo-h:hover {
    transform: scale(1.02);
}

.Menu-links a, 
.whatsapp-link {
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.whatsapp-link {
    background: #25D366;
    color: #fff !important;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.rem;
}

.whatsapp-icon {
    transition: transform 0.3s ease;
}

.whatsapp-link:hover .whatsapp-icon {
    transform: scale(1.1);
}

.whatsapp-link:hover {
    background: #128C7E;
}

.Menu-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}
.Menu-links, .Menu-links-2 {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.Menu-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    justify-content: center;
    align-items: center;
    font-size: medium;
}

.Menu-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
}

.Menu-links-2 {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-size: larger;
}

.Menu-links-2 li a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #fff;
}

.Menu-links-2 li a img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    filter: invert();
}

.Menu-links li, .Menu-links-2 li {
    font-weight: bold;
    text-transform: uppercase;
    display: grid;
    justify-content: center;
}

.Menu-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.Menu-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.frosted-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.frosted-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-quienes {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    font-size: 1.4rem;
    
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 125.%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Contenido principal */
.container {
    padding: 4rem 5%;
}

.mission-section, .vision-section, .service-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.text-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.text-glass p {
    font-size: 1.4rem;
    line-height: 1.6;
    opacity: 0.9;
}
.image-content {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    min-height: 300px;
}

.mission-section .image-content {
    background-image: url('../images/mision.jpg');
}

.vision-section .image-content {
    background-image: url('../images/Vision.jpg');
}

.service-section .image-content {
    background-image: url('../images/servicio.jpg');
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.value-item {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* Footer */
footer {
    padding: 1.5rem 5%;
    text-align: center;
    margin-top: 5rem;
    text-align: center;
    background: rgba(0, 35, 68, 0.856);
    backdrop-filter: blur(20px);
    border-top: 1px solid #ffffff;
}

.copyright {
    margin-top: 1rem;
    opacity: 0.8;
}

/* Ajustes generales */
@media screen and (max-width: 1400px) {
}
.logo-h {
    width: 250px; /* Ajuste progresivo */
    height: auto;
}

@media screen and (max-width: 1280px) {
    .logo-header {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
    }

    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .logo-h {
        width: 200px; /* Ajuste progresivo */
        height: auto;
    }

    .Menu-links, .Menu-links-2 {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .Menu-links a, .Menu-links-2 li {
        font-size: 15px; /* Ajuste de fuente para mejor lectura */
        padding: 8px;
    }
}

/* Ajustes específicos para zoom 130%-140% */
@media screen and (max-width: 1100px) {
    .logo-h {
        width: 120px;
    }

    .Menu-links, .Menu-links-2 {
        gap: 10px;
    }
}

/* Para pantallas aún más pequeñas */
@media screen and (max-width: 1024px) {
    .logo-header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        height: auto;
    }

    .logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .logo-h {
        width: 250px; /* Ajusta el tamaño del logo */
        height: auto;
        position: static; /* Evita que se salga del contenedor */
    }

    .Menu-links, .Menu-links-2 {
        flex-direction: column; /* Cambia el menú a vertical */
        text-align: center;
        gap: 10px;
    }
}

@media screen and (max-width: 768px) {
    .mission-section, .vision-section {
        grid-template-columns: 1fr;
    }

    .frosted-nav {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .logo-h {
        width: 160px; /* Último ajuste en móviles */
    }
}

