* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

/* Bienvenida */



.inicio {
    position: relative;
    width: 100%;
    background-image: linear-gradient(60deg, #64b3f4 0%, #c2e59c 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inicio-text {
    padding-top: 20px;
}

.inicio-text h1 {
    font-size: var(--h1-font);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    font-size: 4.5rem;
}

.inicio-text h6 {
    font-size: 15px;
    font-weight: 500;
    color: var(--second-color);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.btn {
    margin-top: 20px;
    display: inline-block;
    padding: 14px 42px;
    background: var(--text-color);
    color: var(--bg-color);
    font-size: 15px;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all .6s;
    border-radius: 5%;
}

.btn:hover {
    transform: scale(0.9) translateY(-6px);
    border: 2px solid #000;
    background: transparent;
    color: #000;
}

.video-container {
    position: relative;
    width: 800px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-fondo {
    position: absolute;
    width: 85%;
    height: 85%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 80%;
    height: 80%;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 50);
}

/* mision y vision */

.valores {
    text-align: center;
    background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
    padding: 60px 10% 70px;
}

.valores h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
}

.mision,
.vision {
    margin: 20px;
    display: flex;
}

.mision h3,
.vision h3 {
    color: #000;
    font-size: 1.5rem;
}

.valores p {
    text-align: justify;
}

.valores>div {
    gap: 50px;
    align-items: center;
}

.valores img {
    width: 25%;
    border-radius: 3%;
    transition: all .6s;
}

.valores img:hover {
    transform: translateY(-5px) scale(1);
    border: solid 1px black;
}

.bajar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #64b3f4;
    position: absolute;
    align-content: center;
}

.bajar i {
    width: 100px;
    height: 50px;
}

.bajar:hover {
    background-color: #000;
    transition: 1s;
}

.bajar:hover i {
    color: #fafafa;
    transition: 1s;
}

/* Ubicacon-mapa */
.info {
    background-color: #f0f4f8;
    text-align: center;
    padding: 60px 10%;
}

.mapa {
    width: 60%;
}

.info h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
}

.info-mapa {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 100px;
}

.info-mapa iframe {
    width: 100%;
}

.info-text {
    width: 30%;
}

.info-text h2 {
    font-size: 1.8rem;
    color: #000;
    font-weight: 700;
}

.info-text p {
    font-size: 16px;
    text-align: justify;
    color: #000;
    margin: 30px 50px;
}

.mas-info {
    padding: 15px 35px;
    background-color: #64b3f4;
    color: #fff;
    font-weight: 800;
    border-radius: 50px;
}

.mas-info:hover {
    background-color: #000;
    color: #fff;
    transition: 1s;
}

/* Contacto */
.contenedor-contacto {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    flex-direction: column;
    padding: 40px 10%;
    background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
}

.contenedor-contacto h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
}

.contacto {
    width: 100%;
    max-width: 820px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact-form {
    background-color: #64b3f4;
    position: relative;
}

.contact-form:before {
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #64b3f4;
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
}

.datos {
    padding: 2.3rem 2.2rem;
    position: relative;
}

.titulo-con {
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.7rem;
}

.input-contenedor-contacto {
    position: relative;
    margin: 1rem 0;
}

.input {
    width: 100%;
    outline: none;
    border: 2px solid #fff;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: 0.3s;
}

textarea.input {
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    border-radius: 22px;
    resize: none;
}

.boton-contacto {
    padding: 0.6rem 1.3rem;
    background-color: #fff;
    border: 2px solid #fafafa;
    font-size: 0.95rem;
    color: #64b3f4;
    line-height: 1;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0;
}

.boton-contacto:hover {
    background-color: transparent;
    color: #fff;
}

.contact-info {
    padding: 2.3rem 2.2rem;
    position: relative;
}

.contact-info .titulo-con {
    color: #000;
}

.text {
    color: #333;
    margin: 1.5rem 0 2rem 0;
}

.information {
    display: flex;
    color: #555;
    margin: 0.7rem 0;
    align-items: center;
    font-size: 0.95rem;
    gap: 15px;
}

.messages-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    width: 300px;
}

.alert {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.5s ease-in-out;
    transition: opacity 0.15s ease-in-out;
    background-color: #fff;
    border: 1px solid transparent;
}

.alert.show {
    opacity: 1;
}

.alert.hide {
    opacity: 0;
}

.alert p {
    margin: 0;
    color: #333;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error, .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    opacity: 0.5;
    padding: 0 0.5rem;
    cursor: pointer;
    transition: opacity 0.15s ease-in-out;
}

.btn-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.input::placeholder {
    color: aliceblue;
}

@keyframes notificationPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
/* Responsive */
@media(max-width: 1610px) {
    section {
        padding: 70px 7% 80px;
    }
    .inicio {
        height: 100vh;
    }
    .inicio-text h1{
        font-size: 3.5rem;
    }
}
@media(min-width: 1610px) {
    section {
        padding: 70px 7% 80px;
    }
    .inicio {
        height: 60vh;
    }
    .inicio-text h1{
        font-size: 3.5rem;
    }
}

@media(max-width: 1500px) {
    .inicio {
        height: 100vh;
    }

    .inicio-text {
        width: 60%;
    }

    .video-container {
        margin-left: 70px;
    }
}

@media(max-width: 1380px) {
    .inicio-text h1 {
        font-size: 3.5rem;
    }
}

@media(max-width: 1144px) {
    section {
        padding: 60px 4% 70px;
    }

    .inicio-text h1 {
        font-size: 3.2rem;
    }

    .info-mapa {
        padding: 30px;
        flex-direction: column;
    }

    .mapa {
        width: 100%;
        text-align: center;
    }

    .info-text {
        width: 100%;
        text-align: center;
    }

    .info-text h2 {
        font-size: 30px;
        margin-top: -30px;
    }

    .info-text p {
        font-size: 16px;
    }
}

@media(max-width: 1000px) {
    .inicio {
        flex-direction: column;
        height: 130vh;
        gap: 50px;
        padding: 80px 0px;
    }

    .inicio-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .inicio-text h1 {
        text-align: center;
        font-size: 3.5rem;
    }

    .inicio-text p {
        text-align: center;
    }

    .inicio-text h6 {
        text-align: center;
    }
    .video-container {
        height: 100%;
        width: 70%;
        margin: 0;
    }
}

@media (max-width: 850px) {
    .inicio {
        padding: 50px 0px;
        min-height: 100%; 
        gap: 25px;
        justify-content: center;
    }

    .inicio-text h1 {
        font-size: 2.7rem;
        text-align: center;
    }

    .inicio-text p {
        text-align: center;
        font-size: 1rem;
        padding: 0 20px;
    }

    .video-container {
        margin: 10px 0;
        padding: 0 15px;
        height: 50%;
        width: 100%;
    }

    .mision,
    .vision {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .valores img {
        width: 80%;
        order: 2;
    }

    .mision div,
    .vision div {
        width: 100%;
        order: 1;
    }

    .valores h2 {
        font-size: 2.5rem;
    }

    .contacto {
        grid-template-columns: 1fr;
    }

    .valores {
        flex-direction: column;
    }

    .contact-info:before {
        bottom: initial;
        top: -75px;
        right: 65px;
        transform: scale(0.95);
    }

    .contact-form:before {
        top: -13px;
        left: initial;
        right: 70px;
    }

    .text {
        margin: 1rem 0 1.5rem 0;
    }

}

@media (max-width: 480px) {
    .inicio {
        padding: 20px 15px;;
        min-height: 90%; 
        gap: 25px;
        justify-content: center;
    }

    .inicio-text {
        width: 100%; 
        padding: 0 10px; 
    }

    .inicio-text h1 {
        font-size: 2.2rem; 
        width: 100%;
        margin-bottom: 15px;
    }

    .inicio-text p {
        font-size: 1rem;
        width: 100%;
        margin-bottom: 20px;
    }

    .inicio-text h6 {
        font-size: 0.9rem;
        width: 100%;
    }

    .video-container {
        margin: 0;
        padding: 0 15px;
        height: 40%;
        width: 100%;
    }

    .valores {
        padding: 40px 15px;
        height: 170vh;
    }

    .valores p {
        font-size: 1rem;
        width: 100%;
        padding: 0 10px;
    }

    .valores h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .valores img {
        width: 100%;
        padding: 0 10px;
    }

    .mision h3,
    .vision h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .texto-m {
        padding: 0 10px;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 15px;
    }

    .info-text {
        padding: 0 15px;
    }

    .info-text p {
        margin: 20px 0;
    }



    .contenedor-contacto {
        padding: 40px 15px;
    }

    .datos,
    .contact-info {
        padding: 20px;
        width: 100%;
    }
}