*{
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
/*----mouse------*/


.mouse-follow{
    position: relative;
}

#follow-image{
    position: absolute;
    width: 50px;
    pointer-events: none;
    display: none;
    z-index: 1;
}

/*--------------------------------------------------*/
.ingresar1{
    background-color: #acc434;
    border-radius: 5px;

}
.ingresar1:hover{
    background-color: #9baf35;
}


body, html{
    margin: 0;
    padding: 0;
    width: 100%;
height: auto;
}

header{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 99;
    box-shadow: 0 0 10px #000;
    background: rgba(0, 0, 0, 0.5);
}

#chk1{
    display: none;
}

i{
    color: #fff;
    cursor: pointer;
}

header .logo {
    flex: 1;
    color: #fff;
    margin-left: 50px;
    text-transform: uppercase;
    font-size: 15px;
    width: 50px;
}

header .search-box{
    flex: 1;
    position: relative;
}

.search-box input{
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    background: #f2f2f2;
    border-radius: 30px;
    color: #313280;
    font-size: 16px;
    text-align: center;
    padding-left: 5px;
    padding-right: 40px;
}

.search-box button{
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    transform: scale(0.9);
    background: #acc434;
}
header ul{
    flex: 2;
    display: flex;
    justify-content: space-evenly;
}
header ul li{
    list-style: none;
}
header ul li a{
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 15px;
}
header ul li a:hover{
    border-bottom: 2px solid cadetblue;
}
header .menu{
    font-size:  2.5em;
    display: none;
}


/* ---------------nosotros -------------------*/

.nosotros img{
    display: block;
    position: relative;
    width: 100%;
    height: 50vh;
}

.nosotros h1{
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 34px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3), -2px -2px 5px rgba(0, 0, 0, 0.3);
    
}

.ntexto .nt2{
    text-align: center;
    width: 80%;
    max-width: 800px;
    margin: auto;
    margin-top: 100px;
    transition: transform 0.4s ease;
    
}

.ntexto .nt2 span{

    transition: transform 0.2s, color 0.2s;
}

.ntexto .nt2:hover{
    transform: scale(1.2);
}

.ntexto .nt2 span:hover{
    transform: scale(1.6);
    color: #acc434;
 
}


/*---------------------video youtube -------------------*/

.videoyoutube{
    margin-top: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* -----------modelo academico --------------------------*/
.mav{
    background: linear-gradient(135deg, #313280, #222221);
}
 
.mav h1 {
    margin-top: 100px;
    font-size: 2.5em;
    color: #fff;


    text-align: center;
}



.tarjetas{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background: #313280
}

.card{
    position: relative;
    width: 300px;
    height: 350px;
    margin: 20px;
}

.card .face{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

.card .front{
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}

.card .front img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .front h3{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    color: #fff;
    background: linear-gradient(135deg, #313280, #222221);
    text-align: center;
}

.card .back{
    transform: perspective(600px) rotateY(180deg);
    background: rgb(3, 35, 54);
    padding: 15px;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 10px #000;
    text-align: center;
}

.card .back .link{
    border-top: solid 1px #f3f3f3;
    height: 50px;
    line-height: 50px;
}
.card .back .link a{
    color: #f3f3f3;
}

.card .back h3{
    font-size: 20px;
    margin-top: 20px;
    letter-spacing: 2px;
}

.card .back p{
    letter-spacing: 1px;
}

.card:hover .front{
    transform: perspective(600px) rotateY(180deg);
}

.card:hover .back{
    transform: perspective(600px) rotateY(360deg);
}

/*-------------------misionn y vision---------------------------*/

.misionvision{
    display: flex;
    justify-content: center;
}

.container4 {
    width: 90%;
    max-width: 1200px;
    padding: 20px;

}

.section {
    margin-bottom: 40px;
}

.title-line {
    position: relative;
    font-size: 2.5em;
    color: #222221;
    text-align: center;
    margin: 20px 0;
}

.title-line::before,
.title-line::after {
    content: "";
    position: absolute;
    
    height: 2px;
    background-color: #acc434;
    top: 50%;
    transform: translateY(-50%);
}

.title-line span{
    display: inline-block;
    padding: 0 10px;
    background-color: #f5f5f5;
}

.line-long::before{
    width: 40%;
    left: 0;
}

.line-long::after{
    width: 40%;
    right: 0;
}

.line-short::before{
    width: 20%;
    left: 0;
}
.line-short::after{
    width: 20%;
    right: 0;
}


.content {
    display: flex;
    flex-wrap: row;
    align-items: center;
}

.content p{
    text-align: justify;
}

.image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;

}


/* nuestras alianzas -----------------------------------------------------*/
.slider {
    width: 70vw;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slider .slide-track {
    display: flex;

    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(200px * 14);
}

.slider .slide {
    width: 200px;
}

.slider .slide img {
    width: 100px;
    height: 100px;
    margin-left: 100px;

}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(-200px * 7));
        transform: translateX(calc(-200px * 7));
    }
}





/* ----------------------- footer ----------------------*/

.footer {
    background: linear-gradient(135deg, #222221, #313280);
    color: white;
    text-align: center;
    padding: 40px 20px;

    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.footer:hover {
    transform: translateY(-10px);
    box-shadow: 0 -8px 12px rgba(0, 0, 0, 0.2);
}

.footer-title {
    font-size: 2em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-description {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-button {
    background-color: white;
    color: #ff5f6d;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-button i {
    font-size: 1.2em;
}

.social-button:hover {
    background-color: #ff5f6d;
    color: white;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp {
    background-color: #25d366;
    color: white;
}

.whatsapp:hover {
    background-color: #1da851;
}

.facebook {
    background-color: #3b5998;
    color: white;
}

.facebook:hover {
    background-color: #2d4373;
}

.instagram {
    background-color: #e1306c;
    color: white;
}

.instagram:hover {
    background-color: #c13584;
}

/*-------------------boton whats---------------------------*/

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 100;

    animation: bounce 2s infinite;
}

.whatsapp-button a {
    display: block;
    width: 100%;
    height: 100%;
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button img:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* responsive */


@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    
    .image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}


@media(max-width:1000px){
    .search-box button{
        position: absolute;
    }
    header ul{
        position: fixed;
        top: 100px;
        right: -100%;
        background: rgba(0, 0, 0, 0.5);
        height: calc(100vh - 100px);
        width: 50%;
        flex-direction: column;
        align-items: center;
        transition: right 0.5s linear;
    }
    header .menu{
        display: block;
        width: 100px;
        text-align: center;
    }
    #chk1:checked ~ ul{
        right: 0;
    }
}

@media(max-width:600px){
    header .logo{
        font-size: 10px;
        margin-left: 8px;
    }
    header ul{
        width: 100%;
    }

    .social-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .line-long::before{
        width: 25%;
        
    }
    
    .line-long::after{
        width: 25%;
        
    }

    .nosotros >h1{
     
        top: 25%;
        text-align: center;
        transform: translate(-50%, -50%);
        font-size: 30px;
        
    }
}