*{
    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;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover{
    background-color: rgb(170, 53, 53);
    transform: translateY(-2px);
}

.container{
    max-width: 1400px;
    margin: auto;
}

header{
    background-color: rgb(6, 10, 74);
    
}

.logo{
    height: 15vh ;
}

header a:hover{
    color: red;
}

#hero-servicios{
    position: relative;
    background-image: linear-gradient(
        0deg,
        rgba(6, 10, 74, 0.8),
        rgba(6, 10, 74, 0.6)
    ),
    url("../img/cursos-de-ingles.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 10, 74, 0.5);
}

.hero-content{
    position: relative;
    z-index: 1;
    color: white;
    padding: 20px;
}

#hero-servicios h1{
    color: white;
    margin-bottom: 20px;
    font-size: 3em;
}

#hero-servicios p{
    color: white;
    font-size: 1.3em;
    max-width: 600px;
    margin: 0 auto;
}

#servicios{
    background-color: #f8f9fa;
    color: #333;
    padding: 80px 12px;
}

#servicios .container{
    padding: 0;
}

#servicios h1{
    display: none;
}

#servicios .servicios{
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

#servicios .subServicios{
    background: white;
    padding: 40px;
    margin: 0;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

#servicios .subServicios:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon{
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D91E1E, #b01515);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i{
    font-size: 35px;
    color: white;
}

#servicios h3{
    color: #D91E1E;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: bold;
}

#servicios p{
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #555;
}

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;
}


@media (min-width:720px){
    #hero-servicios{
        height: 60vh;
    }

    #hero-servicios h1{
        font-size: 4em;
    }

    #hero-servicios p{
        font-size: 1.5em;
    }

    #servicios .servicios{
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    #servicios .subServicios{
        flex: 1;
        padding: 50px;
        max-width: 500px;
    }

    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;
    }

}

.navbar-nav .nav-link{
    color: white !important;
    font-weight: 500;
}
