*{
    box-sizing: border-box;
   
}

html{
   scroll-behavior: smooth; 
}
body{
    margin: 0;
    font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1{ font-size: 3.5em;}
h2{ font-size: 2.0em;}
h3{ font-size: 1.5em;}

button{
    font-size: 1em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(0,0, 0 , 0.5);
    box-shadow: 2px 2px 10px rgba(0,0, 0 , 0.5);
    color:white;
    background-color: #D91E1E;
}

button:hover{
    background-color: rgb(170, 53, 53);
}

.container{
    max-width: 1400px;
    margin: auto;
}

header{
    background-color: rgb(6, 10, 74);
   
    
}

#carouselExampleControls{
    /* max-width: 70%; */
    max-height: 400px;
    overflow: hidden
}

#carouselExampleControls img {
    min-width: 500px
    ;
}

/* .otro{
    max-height: 100px;
} */

/* header .container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: auto;
} */

.logo{
    height: 15vh ;

}
/* 
header nav{
    display:flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;

}

header a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: white;
} */

header a:hover{
    color: red;
}

#hero{
    /* display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 70vh;
    color: red;
    background-image: linear-gradient(
      0deg,
      rgba(0,0,0,0.5),
      rgba(0,0,0,0.5)  
    )
    ,url("img/Portada.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center; */
    background-color: #969696;
}



#quienesSomos .container{
    text-align: center;
    padding: 80px 12px;
    text-align: center;

}

#quienesSomos h2{
    color: #D91E1E;
    font-size: 2.5em;
    font-weight: bold;
}

#quienesSomos p{
    text-align: justify;
}

.boton{
    font-size: 1em;
    font-weight: bold;
    padding: 5px 5px;
    border-radius: 10px;
    border: 1px solid rgba(0,0, 0 , 0.5);
    box-shadow: 2px 2px 5px rgba(0,0, 0 , 0.5);
    color:white;
    background-color: #D91E1E;
}

#servicios{
    background-color: rgb(6, 10, 74);
    color: white;
}

#servicios .container{
    padding: 100px 12px;
    text-align: center;

}

#servicios h2{
    margin-top: 0;
    padding-bottom: 60px;
    text-align: center;
    font-size: 3.2em;
}

#servicios p{
    text-align: center;
}

#servicios .subServicios{
    background-position: center center;
    background-size: cover;
    padding: 50px;
    margin: 12px;
    border-radius: 15px;

}
.subServicios:first-child{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)  
      )
      ,url("../img/cursos-de-ingles.jpg");
     

}

.subServicios:nth-child(2){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)  
      )
      ,url("../img/LOVE-INDIANA.jpg");
      

}

.subServicios:nth-child(3){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)  
      )
      ,url("../img/estudiantes.jpg");
     

}

#logos {
    align-items: center;
    display: flex;
    margin: auto;
    justify-content: center;
    

  }
  
  @-webkit-keyframes scroll {
    0% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    100% {
      -webkit-transform: translateX(calc(-260px * 6));
              transform: translateX(calc(-260px * 6));
    }
  }

  @keyframes scroll {
    0% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    100% {
      -webkit-transform: translateX(calc(-260px * 6));
              transform: translateX(calc(-260px * 6));
    }
  }
  .slider {
    background: transparent;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 120px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  
  .slider::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
            transform: rotateZ(180deg);
  }
  .slider::before {
    left: 0;
    top: 0;

  }
 
  .slider .slide-track {
    -webkit-animation: scroll 40s linear infinite;
            animation: scroll 40s linear infinite;
    display: flex;
    width: calc(260px * 12);

  }
  .slider .slide {
    height: 120px;
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    align-items: center;
  }



footer{
    width: 100%;
    background: linear-gradient(135deg, rgb(6, 10, 74) 0%, rgb(15, 25, 100) 100%);
    padding: 50px 0 25px;
}

footer .container{
    width: 95%;
    max-width: 1000px;
    margin: auto;
    padding: 0 15px;
}

footer .container .row{
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

footer .container .row > div{
    flex: 1;
    min-width: 280px;
}

footer .container h4{
    color: white;
    margin-bottom: 25px;
    font-size: 1.3em;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

footer .container h4::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #D91E1E;
    border-radius: 2px;
}

footer li{
    list-style-type: none;
}

footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover{
    color: #D91E1E;
}

footer .contact-info{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

footer .contact-item{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer .contact-item:hover{
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

footer .contact-item i{
    font-size: 22px;
    color: #D91E1E;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 30, 30, 0.1);
    border-radius: 50%;
}

footer .contact-item span{
    color: white;
    font-size: 0.95em;
}

footer .social-links{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

footer .social-links a{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 22px;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

footer .social-links a:hover{
    background: #D91E1E;
    border-color: #D91E1E;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(217, 30, 30, 0.3);
}

footer .derechos{
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .derechos small{
    display: block;
    margin-bottom: 5px;
}

#testimonios{
    background-color: #e9ecef;
    padding: 60px 12px;
    text-align: center;
}

#testimonios h2{
    color: #D91E1E;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 30px;
}

.video-testimonio{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

#testimonios .carousel-control-prev,
#testimonios .carousel-control-next{
    width: 35px;
    height: 35px;
    background-color: #D91E1E;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

#testimonios .carousel-control-prev-icon,
#testimonios .carousel-control-next-icon{
    background-image: none;
    width: 12px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 2px;
}

#testimonios .carousel-control-prev-icon{
    transform: rotate(135deg);
}

#testimonios .carousel-control-next-icon{
    transform: rotate(-45deg);
}

#testimonios .carousel-control-prev{
    left: -20px;
}

#testimonios .carousel-control-next{
    right: -20px;
}


@media (min-width:720px){
    /* header{
        position: fixed;
        
    }
    header .container{
        flex-direction: row;
        justify-content: space-between;
    }

    header nav{
        flex-direction: row;
        padding-bottom: 0;
        
       
    } */
    

    #carouselExampleControls{
        /* max-width: 70%; */
        max-height: 500px;
        overflow: hidden;
        
    }

    #carouselExampleControls img {
        min-width: 100%;
    }

    #quienesSomos .container{
        display: flex;
        padding: 130px 12px;
        justify-content: space-evenly;
    }

    #quienesSomos .institucional{
        width:50%;
        max-width: 600px;
        text-align: initial;
        padding-left: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        
    }

    #quienesSomos h2{
        margin-top: 0px;
    }

    #quienesSomos .img{
        background-image:url("../img/quienes-somos.jpg");
        background-size: cover;
        background-position: center center;
        height: 500px;
        width: 400px;
    }

    #servicios .servicios{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    #servicios .subServicios{
        width: calc(50% - 24px);
        padding: 15px;
    }

    #servicios p{
        margin-bottom: 30px;
    }

    #servicios h3{
        margin-top: 0px;
    }

    footer .container h4{
        text-align: left;
    }

    footer .container h4::after{
        left: 0;
        transform: none;
    }

    footer .social-links{
        justify-content: flex-start;
    }

    footer .container .row{
        gap: 40px;
    }

    .boton{
        font-size: 1em;
        font-weight: bold;
        padding: 5px 5px;
        border-radius: 10px;
        border: 1px solid rgba(0,0, 0 , 0.5);
        box-shadow: 2px 2px 5px rgba(0,0, 0 , 0.5);
        color:white;
        background-color: #D91E1E;
    }
    
    button:hover{
        background-color: rgb(170, 53, 53);
    }

    #testimonios{
        background-color: #e9ecef;
        padding: 80px 12px;
        text-align: center;
    }

    #testimonios h2{
        color: #D91E1E;
        font-size: 2.5em;
        font-weight: bold;
        margin-bottom: 40px;
    }

    .video-testimonio{
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
        margin-bottom: 20px;
    }

    #testimonios .carousel-control-prev,
    #testimonios .carousel-control-next{
        width: 45px;
        height: 45px;
        background-color: #D91E1E;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 1;
    }

    #testimonios .carousel-control-prev-icon,
    #testimonios .carousel-control-next-icon{
        background-image: none;
        width: 16px;
        height: 16px;
        border: solid white;
        border-width: 0 3px 3px 0;
        display: inline-block;
        padding: 3px;
    }

    #testimonios .carousel-control-prev-icon{
        transform: rotate(135deg);
    }

    #testimonios .carousel-control-next-icon{
        transform: rotate(-45deg);
    }

    #testimonios .carousel-control-prev{
        left: -25px;
    }

    #testimonios .carousel-control-next{
        right: -25px;
    }

}

.navbar-nav .nav-link{
    color: white !important;
    font-weight: 500;
}

