/* === hacer visibles los bordes de los div === */
div {
    /*border: 2px solid #ff0000;*/ /* Borde rojo de 2px */
}

/* === Contenedor central === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === Tipografía base === */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background: linear-gradient(to bottom, #0a519c, #8bc9f1);
    color: #333;
    margin: 0;
}

/* === Imágenes === */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* === Encabezado y navegación === */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-img {
    max-height: 120px;
    width: auto;
}

/* === Texto y secciones === */
h1, h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* === Botones === */
.button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

/* === navbar Section Ajustado === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #1976d2;
    color: white;
}

.navbar__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    max-height: 80px;
    width: auto;
}

.navbar__slogan {
    font-size: 1.25rem;
    font-weight: 500;
    white-space: nowrap;
}

.navbar__links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .navbar__links a {
        text-decoration: none;
        color: white;
        font-weight: 500;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

        .navbar__links a:hover {
            color: #ffd700;
        }

/* === HERO Section Ajustado === */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    max-height: 500px;
    overflow: hidden;
    width: 70%;
    margin: 0 auto;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}





.img-ayudando-01 {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* === FEATURES Section Ajustado === */
.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 2rem 0;
}

    .features div {
        text-align: center;
        flex: 1 1 150px;
        max-width: 400px;
    }

    .features p {
        font-size: 1rem;
        font-weight: 400;
        margin-top: 0.5rem;
    }

.material-icons {
    font-size: 48px;
    color: #1976d2;
}

/* === Info Box === */
.info {
    /*background-color: #a2dafa;*/
    /*border-radius: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
    color: #fff;
    margin-top: -6rem;
    margin-bottom: 0.5rem;
    max-height: 200px; /* o el valor que prefieras */
    overflow: hidden; /* evita que el contenido se desborde */
    line-height: 0;
    padding: 0.5rem 1rem;
}

/* === Footer === */
footer {
    background-color: #f6d9ac;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* === key frames === */

@keyframes fadeScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-scale-in {
    animation: fadeScaleIn 1.5s ease-out forwards;
}

@keyframes impactZoom {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    60% {
        opacity: 1;
        transform: scale(1.2);
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.impact-entry {
    animation: impactZoom 3.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes flashPulse {
    0% {
        opacity: 0;
        transform: scale(0.5);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 60px rgba(255, 255, 255, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
}

.flash-impact {
    animation: flashPulse 3.5s ease-out forwards;
}
@keyframes elevateFade {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
        box-shadow: none;
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }
}

.elevate-entry {
    animation: elevateFade 1.2s ease-out forwards;
}


/* === seccion de media screen === */
@media screen and (min-width: 1024px) {
    .hero-image, .features2 {
        transform: scale(0.7);
        transform-origin: top center;
    }
}

/* === Responsive para laptops medianas === */
@media (max-width: 1440px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .material-icons {
        font-size: 36px;
    }

    .hero-image {
        max-width: 350px;
    }
}

/* === Responsive para tablets y móviles === */
@media (max-width: 1024px) {
    .container {
        padding: 0 0.5rem;
    }

    h1, h2 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.9rem;
    }

    .logo-img {
        max-height: 80px;
    }

    .hero-text {
        font-size: 1rem;
    }

    .material-icons {
        font-size: 28px;
    }

    .hero-image {
        max-width: 300px;
    }
}




