body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

h2{
    color:#1F4E79;
}
h2::after{

    content:"";

    display:block;

    width:70px;
    height:4px;

    background:#7A8B5A;

    margin:10px auto;
}

header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:15px 30px;
}

.logo{
    width:70px;
    height:auto;
}
/* Menú desplegable */ 
.login-dropdown { 
    display: none; 
    position: absolute; 
    background-color: white; 
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); 
    padding: 10px; 
    border-radius: 5px; 
    text-align: left; 
} 
.login-dropdown a { 
    display: block; 
    padding: 8px; 
    text-decoration: none; 
    color: black; } 

.login-dropdown a:hover { 
    background-color: #f0f0f0;
 }

 .login-button { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 6px 20px; 
    font-size: 16px; 
    font-weight: bold; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    background: linear-gradient(90deg, #00c6ff, #0072ff); 
    color: rgb(255, 255, 255); 
} 

#loginButton { 
    background: linear-gradient(90deg, #00c6ff, #0072ff); 
    color: rgb(7, 7, 7); 
    padding: 6px 20px; 
    font-size: 16px; 
    font-weight: bold; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: all 0.3s ease-in-out; 
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3); 
} 
#loginButton:hover { 
    transform: scale(1.1); 
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.4); 
} 
#loginButton:active {
     transform: scale(0.95); 
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
    padding: 10px 15px;
}

.menu-toggle {
    display: none;
}
@media screen and (max-width: 768px) {
    .nav-menu {
        display: none; 
        flex-direction: column;
        background-color: #3f51b5;
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        text-align: center;
        padding: 15px;
        border-radius: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 10px;
        display: block;
        text-align: center;
        color: white;
        text-decoration: none;
    }
    .nav-menu {
        position: absolute;
        top: 10px; 
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000; 
        width: 90%;
        background-color: #3f51b5;
        padding: 15px;
        border-radius: 10px;
    }

    .carousel {
        position: relative;
        z-index: 1; 
    }


    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .menu-toggle span {
        background-color: white;
        width: 30px;
        height: 3px;
        margin: 5px;
        display: block;
    }
}


/* HERO */

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero-video{
    width:100%;
    height:100%;

    object-fit:cover;
}

.hero-overlay{
    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background: rgba(31, 78, 121, 0.45);

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;

    padding:20px;
}

.hero-overlay h2{
    font-size:3rem;
    max-width:800px;
    color: #ffffff;
}

.hero-overlay p{
    max-width:700px;

    font-size:1.2rem;

    margin-top:20px;
}

.btn-principal{
    text-decoration:none;

    margin-top:30px;

    background:#C75B5B;
    color:white;
    padding:15px 30px;

    border-radius:10px;

    transition:0.3s;
}

.btn-principal:hover{
    background:#A94442;
}

Tarjetas de oferta educativa 
section{
    padding:80px 10%;
}

section h2{
    text-align:center;
    margin-bottom:40px;
}

.contenedor-tarjetas{
    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;
}

.tarjeta{
    width:300px;

    background:white;

    padding:25px;

    border-radius:15px;

    border-top:5px solid #1F4E79;
    box-shadow:0 5px 15px rgba(0,0,0,.1);

    transition:.3s;
}

.tarjeta:hover{
    transform:translateY(-5px);
}
.tarjeta{

    background: white;

    padding: 30px;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0,0,0,.08);

    transition: 0.3s;
}

.tarjeta:hover{

    transform: translateY(-10px);
    border-top:5px solid #7A8B5A;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);

}

.historia{

    padding: 70px;

    background: #f5f7fa;

    border-radius: 20px;

    margin: 50px auto;

    max-width: 1200px;

    text-align: center;

}

.historia h2{

    color: #10234a;

    margin-bottom: 20px;
}

.historia p{

    max-width: 900px;

    margin: auto;

    font-size: 18px;

    line-height: 1.8;
}

/* ===========================
   FORMULARIO
=========================== */

.informacion{
    background: #f8f9fc;
    padding: 80px 10%;
}

.informacion h2{
    text-align: center;
    color: #10234a;
    margin-bottom: 40px;
}

form{
    max-width: 900px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input,
select,
textarea{
    width: 100%;

    padding: 15px;

    border: 1px solid #d0d0d0;
    border-radius: 10px;

    font-size: 16px;

    outline: none;

    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus{
    border-color: #10234a;
    box-shadow: 0 0 8px rgba(16,35,74,.2);
}

textarea{
    grid-column: span 2;

    min-height: 120px;

    resize: vertical;
}

form button{
    grid-column: span 2;

    background: #10234a;
    color: white;

    border: none;

    padding: 15px;

    border-radius: 10px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

form button:hover{
    background: #1c3975;
}
@media(max-width:768px){

    form{
        grid-template-columns: 1fr;
    }

    textarea,
    form button{
        grid-column: span 1;
    }

}






















@media (max-width:768px){

    .hero-overlay h2{
        font-size:2rem;
    }

    .hero-overlay p{
        font-size:1rem;
    }

    .contenedor-tarjetas{
        flex-direction:column;
        align-items:center;
    }

    .footer-contenido{
        flex-direction:column;
        text-align:center;
    }

}


footer{
    background:#10234a;

    color:white;
}

.footer-contenido{
    display:flex;

    justify-content:space-around;

    flex-wrap:wrap;

    gap:30px;

    padding:50px 20px;
}

.copyright{
    text-align:center;

    padding:15px;

    background:rgba(0,0,0,.2);
}

.whatsapp{
    position:fixed;

    right:20px;
    bottom:20px;

    width:60px;
    height:60px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;
    align-items:center;

    text-decoration:none;

    font-size:30px;

    z-index:10000;
}


