:root{
    --azul:#0B3D91;
    --verde:#00A86B;
    --blanco:#ffffff;
    --gris:#f5f7fa;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:white;
}

/* ====================
HEADER
==================== */

.header{
    background:white;
    padding:10px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo img{
    height:100px;
    width:auto;
}

.navbar{
    display:flex;
    gap:70px;
}
.menu-toggle{

    display:none;

    background:none;

    border:none;

    font-size:2rem;

    color:var(--azul);

    cursor:pointer;
}

.navbar a{
    text-decoration:none;
    color:var(--azul);
    font-weight:600;
    transition:.3s;
}

.navbar a:hover{
    color:var(--verde);
}

.btn-moodle{
    text-decoration:none;
    color:white;
    background:linear-gradient(
        135deg,
        var(--verde),
        var(--azul)
    );
    padding:12px 24px;
    border-radius:30px;
    font-weight:bold;
}

.btn-moodle:hover{
    color:white;
    transform:translateY(-2px);
}

/* ====================
CARRUSEL
==================== */

.carousel{
    position:relative;
}

.carousel-container{
    position:relative;
    width:100%;
    height:600px;
    background:#f5f7fa;
    overflow:hidden;
}

.slide{
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    object-fit:contain;

    opacity:0;
    transition:opacity 1s ease-in-out;

    pointer-events:none;
}

.slide.active{
    opacity:1;
}



/* FLECHAS */

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:55px;
    height:55px;

    border:none;
    border-radius:50%;

    background:rgba(11,61,145,.8);

    color:white;
    font-size:24px;
    cursor:pointer;

    z-index:300;

    transition:all .3s ease;
}

.prev:hover,
.next:hover{
    background:#00A86B;
    transform:translateY(-50%) scale(1.1);
}

.prev{
    left:20px;
}

.next{
    right:20px;
}

/* ====================
LINEA
==================== */

.linea-separadora{
    height:6px;
    background:linear-gradient(
        to right,
        var(--verde),
        var(--azul)
    );
}


/* ====================
SERVICIOS
==================== */

.servicios{
    padding:80px 0;
}

.titulo-seccion{
    color:var(--azul);
    font-weight:bold;
    margin-bottom:50px;
}

.servicio-card{
    border:none;
    border-radius:15px;
    transition:.3s;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.servicio-card:hover{
    transform:translateY(-8px);
}

.servicio-card h4{
    color:var(--azul);
}
/* ICONOS */

.icono-servicio{

    font-size:3.5rem;

    color:var(--verde);

    margin-bottom:20px;

    transition:.3s;
}

.servicio-card:hover .icono-servicio{

    transform:scale(1.15);

    color:var(--azul);
}

/* ====================
FOOTER
==================== */

.footer{
    background:var(--azul);
    color:white;
    padding:50px 0;
}

.footer-logo{
    height:80px;
}
/* ====================
LOGOS DEL FOOTER
==================== */

.footer-logos{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:nowrap;
    width:100%;
}

.footer-logo{
    display:block;
    width:90px;
    height:80px;
    object-fit:contain;
    flex-shrink:0;
}

.footer-logo-secundario{
    display:block !important;

    width:130px !important;
    height:55px !important;

    max-width:130px !important;
    max-height:55px !important;

    min-width:0 !important;

    object-fit:contain !important;
    flex-shrink:0;
}

.footer h5{
    font-weight:700;
    margin-bottom:15px;
}

.footer-correo{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;

    color:#fff;
    margin:0;
    font-size:1rem;

    overflow-wrap:anywhere;
}

.footer-correo i{
    color:var(--verde);
}

.footer-horario{
    margin-top:28px;
}

.footer-horario h5{
    margin-bottom:10px;
}

.footer-horario p{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;

    margin:0;
    color:white;
}

.footer-horario i{
    color:var(--verde);
}
.facebook-btn{

    display:inline-flex;
    align-items:center;
    gap:10px;

    background:#1877F2;
    color:white;

    text-decoration:none;

    padding:12px 22px;

    border-radius:30px;

    transition:.3s;
}

.facebook-btn:hover{
    background:#0f5fd8;
    color:white;
    transform:translateY(-2px);
}

.facebook-btn i{
    font-size:1.2rem;
}

/* ====================
RESPONSIVE
==================== */

@media (max-width:992px){

    .header{
        padding:10px 15px;
        display:flex;
        justify-content:space-between;
        align-items:center;
        flex-wrap:wrap;
        position:relative;
    }

    .logo{
        order:1;
        flex:1;
        text-align:left;
    }

    .logo img{
        height:60px;
    }

    .btn-moodle{
        order:2;
        flex:1;
        text-align:center;
        margin:0 10px;
        padding:10px 15px;
        font-size:14px;
    }

    .menu-toggle{
        order:3;
        display:block;
        flex:1;
        text-align:right;
        background:none;
        border:none;
        font-size:32px;
        color:var(--azul);
        cursor:pointer;
    }

    .navbar{
        order:4;
        display:none !important;
        width:100%;
        flex-direction:column;
        gap:15px;
        padding:20px;
        margin-top:15px;
        background:white;
        border-radius:15px;
        box-shadow:0 5px 15px rgba(0,0,0,.1);
    }

    .navbar.active{
        display:flex !important;
    }

    .carousel-container{
        height:220px;
    }

    .prev,
    .next{
        width:40px;
        height:40px;
        font-size:18px;
    }

   /* FOOTER RESPONSIVO */

.footer{
    padding:35px 0;
}

.footer-logos{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    flex-wrap:nowrap;
    gap:10px;
    width:100%;
}

.footer-logo{
    width:75px !important;
    height:60px !important;
    max-width:75px !important;
    max-height:60px !important;
    object-fit:contain !important;
}

.footer-logo-secundario{
    width:95px !important;
    height:40px !important;
    max-width:95px !important;
    max-height:40px !important;
    object-fit:contain !important;
}
}