@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-style: normal;
}
:root{
    --padding-normal: 0 5%;
    --main-color: #363877;
    --secundary-color: #B83336;
    --secundary-color-accent: #801719;
    --text-color: #424242;
}

a{
    text-decoration: none;
    color:#fff;
}
ul, ol{
    list-style: none;
}
button{
    border: none;
}
figure{
    height: 100%;
}
figure a{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
figure img{
    height: 90%;
    object-fit: contain;
}
.display{
    display: flex;
    gap: 10px;
}
.alert{

    color:white;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-align: center;
    padding: 6px 3px;
    font-size: 16px;
    cursor: pointer;
}
.alert-danger{
    background-color: rgba(255, 99, 71, 0.6);
}
.alert-warning{
    background-color: rgba(157, 192, 31, 0.6);
}
.alert-primary{
    background-color: rgba(5, 15, 73, 0.6);
}
.alert-liger{
    background-color: rgba(97, 108, 145, 0.6);
}
header{
    width: 100%;
}
.btn-primary{
    padding: 15px 50px;
    background-color: var(--secundary-color);
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color .4s ease;
}
.btn-secondary{
    padding: 15px 50px;
    background-color: #1f2937;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color .4s ease;
}
.btn-third{
    padding: 15px 20px;
    background-color: #658312;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color .4s ease;
}
.btn-primary:hover{
    background-color: var(--secundary-color-accent);
}
.btn-secondary:hover{
    background-color: #181e27;
}
.btn-third:hover{
    background-color: #789c13;
}
.social-panel{
    width: 100%;
    height: 38px;
    background-color: #1E1E1E;
    padding: var(--padding-normal);
    color:#fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-networks{
    font-size: 16px;
}
.social-info{
    font-size: 12px;
    gap: 20px;
}
nav{
    width: 100%;
    height: 100px;
    padding: var(--padding-normal);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-options{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.nav-options ul{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.nav-options ul li{
    display: flex;
    height: 30%;
    align-items: center;
    padding: 0 15px;
}
.nav-options ul li:not(:last-child){
    border-right: 1px solid var(--text-color);
}
.menu-text{
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    position: relative;
    letter-spacing: 1px;
    gap: 5px;
}
.menu-text::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--main-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.menu-text:hover{
    color: var(--main-color);
}
.menu-text:hover::after{
    transform: scaleX(1);
    transform-origin: bottom left;
}
.menu-text .icon{
    font-size: 10px;
}

.nav-options a.btn{
    padding: 10px 40px;
    background-color: #B83336;
    color:#fff;
    font-weight: bold;
    font-size: 14px;
}

.main-swiper{
      width: 100%;
      height: 700px;
      background-color: transparent;
}
/* slider */
.information{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.information figure{
    width: 400px;
    height: 100%;
}
.information figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* filter: drop-shadow(0px 0px 6px rgba(255, 255, 0, 0.767)); */
    transition: .3s scale ease;
    overflow: visible;
}
.information figure img:hover{
    scale: 1.1;
}
.information .data{
    width: 600px;
    height: auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    color:#fff;
}
.information .data h2{
    font-size: 42px;
    text-shadow: 
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000; 
    margin-bottom: 10px;
}
.information .data img{
    width: 80px;
    height: 80px;
    align-self: flex-end;
    opacity: .6;
}
.information .data a.btn{
    width: 300px;
    height: 40px;
    background-color: var(--secundary-color);
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: 25px;
}
/* body */
.body{
    background-color: #F6F7F6;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.web-title{
    font-size: 48px;
    font-weight: bold;
    color: var(--main-color);
}
.web-p{
    font-size: 24px;
    width: 60%;
    text-align: center;
}
.container-degree{
    display: flex;
    width: 90%;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 80px;
}
.degree{
    width: 270px;
    height: 390px;
    background-color: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border: 2px solid var(--secundary-color);
    box-shadow: 0 5px 5px #0000007c;
}
.degree figure{
    width: 250px;
    height: 177px;
    border-radius: 8px;
}
.degree figure img{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    object-position: left;
}
.degree h3{
    font-size: 24px;
    font-weight: bold;
}
.degree p{
    font-size: 18px;
    text-align: center;
    width: 80%;
}
.container-services{
    display: flex;
    width: 80%;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 25px 0;
    gap: 50px;
}
.container-services p{
    height: 40px;
    display: flex;
    align-items: center;
    color: #000;
    margin-bottom: 15px;
    gap: 10px;
}
.container-services p i{
    font-size: 40px;
}
.container-services p strong{
    font-size: 24px;
}
/* COMMENTS */
.comments{
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow: hidden;
}

.testimonies{
    width: 95%;
    height: 570px;
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: 100%;
}
.testimonies > figure{
    width: 100%;
    height: 100%;
    position: relative;
}
.testimonies > figure img{
    height: 100%;
    position: absolute;
    right: -5%;
    z-index: 800;
    scale: 1.4;
    overflow: hidden;
}
.container-testimonies{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    overflow: auto;
    position: relative;
}
.container-testimonies .effect{
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}
.container-testimonies::-webkit-scrollbar{
    width: 10px;

}
.container-testimonies::-webkit-scrollbar-track{
    background-color: transparent;
  
}
.container-testimonies::-webkit-scrollbar-thumb{
   background-color: transparent;
}
.card-testimonie{
    border-radius: 25px;
    width: 400px;
    height: 175px;
    display: grid;
    grid-template-columns: 30% 70%;
    grid-template-rows: 100%;
    align-items: center;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--secundary-color);
    padding: 0 20px;
    margin-bottom: 15px;
}

.container-testimonies .card-testimonie:nth-child(4n + 2),
.container-testimonies .card-testimonie:nth-child(4n + 3) {
    background-color: var(--main-color); /* Color de ejemplo */
}
.card-testimonie figure{
    width: 90px;
    height: 135px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-testimonie figure img{
    width: 100%;
    object-fit: contain;
    padding: 0 5px;
}
.card-testimonie p{
    display: flex;
    flex-direction: column;
    color:#fff;
}
.card-testimonie p strong{
    font-size: 20px;
}
.card-testimonie p span{
    font-size: 16px;
}

/* FORMULARIO */
/* CONTENEDOR PRINCIPAL */
.info-section {
    padding: 80px 20px;
    background-color: #F6F7F6;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CAJA GENERAL */
.info-container {
    max-width: 1100px;
    width: 100%;
    height: 650px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* FORMULARIO */
.info-form {
    padding: 50px 40px;
}

.info-title {
    font-size: 32px;
    color: var(--main-color);
    margin-bottom: 10px;
}

.info-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

/* CAMPOS */
.form-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: none;
}

/* BOTÓN */
.form-button {
    margin-top: 10px;
    padding: 14px;
    background-color: var(--secundary-color);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.form-button:hover {
    background-color: var(--secundary-color-accent);
    transform: translateY(-2px);
}

/* IMAGEN */
.info-image {
    position: relative;
}

.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY OPCIONAL */
.info-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(30, 64, 175, 0.15),
        rgba(30, 64, 175, 0.15)
    );
}
.shedule-swiper{
    height: 850px;
}
/* shedule */

.shedule{
    padding: var(--padding-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 100%;
}
.container-table{
    width: 600px;
    height: auto;
}
.container-table table{
    width: 100%;
    border-collapse: separate;
}
.container-table table thead tr{
    height: 30px;
}
.container-table table thead tr th{
    background-color: var(--secundary-color);
    color:#fff;
    padding: 0 20px;
    border-radius: 5px;
}
.container-table table tbody tr td{
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 14px;
}
.container-table table tbody tr{
    text-align: center;
    transition: .2s all ease;
    cursor: pointer;
    background-color: #F6F7F6;
}
.container-table table tbody tr:hover{
    text-align: center;
    background-color: var(--main-color) !important;
    color:#fff;
}
.main-shedule{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}
.main-shedule h2{
    display: inline-block;
    padding: 10px 50px;
    background-color: var(--secundary-color);
    color:#fff;
    font-size: 48px;
    border-radius: 0 40px 40px 0;
}
.main-shedule p{
    padding: 10px 50px 10px 10px;
    background-color: #363877;
    color:#Fff;
    border-radius: 20px;
}
.shedule figure{
    display: flex;
    align-items: end;
    justify-content: end;
}
.shedule figure img{
    object-position:bottom;
    object-fit: contain;
}
/* ANIMATE */
/* CONTENEDOR PRINCIPAL */
.slider-bg {
    position: relative;
    min-height: 80vh;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTENIDO */
.slider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #1f2937;
}

/* CAPA DE LLUVIA DE PUNTOS */
.slider-bg::before {
    content: "";
    position: absolute;
    inset: -200px 0 0 0;
    background-image: radial-gradient(
        circle,
        rgba(160, 21, 21, 0.5) 4px,
        transparent 4px
    );
    background-size: 60px 60px;
    animation: rainDots 25s linear infinite;
    opacity: 0.6;
}

/* CAPA SUAVE PARA PROFUNDIDAD */
.slider-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.9)
    );
    z-index: 1;
}
/* footer */
:root {
    --main-color: #363877;
    --secundary-color: #B83336;
}

/* FOOTER GENERAL */
.school-footer {
    background-color: var(--main-color);
    color: #ffffff;
    font-family: Arial, sans-serif;
}

/* CONTENEDOR */
.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* TÍTULOS */
.footer-title {
    font-size: 18px;
    margin-bottom: 16px;
    position: relative;
}

.footer-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background-color: var(--secundary-color);
    display: block;
    margin-top: 6px;
}

/* TEXTO */
.footer-text {
    font-size: 14px;
    line-height: 1.7;
    color: #e5e7eb;
}

/* LISTAS */
.footer-list {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.footer-list li {
    margin-bottom: 10px;
    color: #e5e7eb;
}

/* REDES SOCIALES */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: var(--secundary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: transform 0.3s, background 0.3s;
}

.footer-socials a:hover {
    transform: translateY(-4px);
    background-color: #ffffff;
    color: var(--secundary-color);
}

/* FOOTER INFERIOR */
.footer-bottom {
    background-color: #2b2d61;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #d1d5db;
}
/* sidebar */
/* Botón menú */
.btn-menu {
  background: var(--main-color);
  color: white;
  border: none;
  font-size: 22px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 8px;
  z-index: 1001;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px; /* oculto */
  width: 280px;
  height: 100vh;
  background: var(--main-color);
  color: #fff;
  transition: left 0.35s ease;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}

/* Activo */
.sidebar--active {
  left: 0;
}

/* Header */
.sidebar__header {
  padding: 25px;
  text-align: center;
  font-size: 20px;
  background: var(--color-secundario);
}

/* Menú */
.sidebar__menu {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  gap: 10px;
}

/* Ítems */
.sidebar__item {
  padding: 15px 25px;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: background 0.3s, padding-left 0.3s;
}

.sidebar__item:hover {
  background: var(--color-hover);
  padding-left: 35px;
}
/* Cabecera */
.sidebar__header {
  height: 120px;
  background: var(--color-secundario);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

/* Logo */
.sidebar__logo {
  max-width: 90%;
  max-height: 80px;
  object-fit: contain;
}
.responsive-options{
    display: none;
}
.shedule figure h2{
    display: none;
}
/* Contenedor principal */
.ac-form-busqueda {
    max-width: 420px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: Arial, sans-serif;
}

/* Campo */
.ac-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ac-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Input */
.ac-input {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border 0.3s, box-shadow 0.3s;
}

.ac-input:focus {
    outline: none;
    border-color: var(--secundary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* Botón */
.ac-btn-buscar {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--secundary-color);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.ac-btn-buscar:hover {
    background: var(--secundary-color-accent);
    transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* ANIMACIÓN DE CAÍDA */
@keyframes rainDots {
    from {
        background-position: 0 -200px;
    }
    to {
        background-position: 0 600px;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .info-container {
        grid-template-columns: 1fr;
    }

    .info-image {
        height: 250px;
    }
    .nav-options{
        display: none;
    }
    .responsive-options{
        display: block;
    }
    .social-info{
        display: none;
    }
    .social-networks{
        margin-left: auto;
    }
    .information .data{
    width: 90%;
    height: auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    color:#fff;
    }
    .information .data h2{
        font-size: 35px;
        text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px  1px 0 #000,
        1px  1px 0 #000; 
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    .body{
    background-color: #F6F7F6;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    }
    .web-title{
        font-size: 34px;
        font-weight: bold;
        color: var(--main-color);
        text-align: center;
    }
    .web-p{
        font-size: 18px;
        width: 60%;
        text-align: center;
    }
    .container-degree{
        display: flex;
        flex-direction: column;
        width: 90%;
        align-items: center;
        gap: 20px;
        margin-bottom: 60px;
    }
    .degree{
        width: 280px;
        height: 390px;
        background-color: #ffffff;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        border: 2px solid var(--secundary-color);
        box-shadow: 0 5px 5px #0000007c;
    }
    .degree figure{
        width: 250px;
        height: 177px;
        border-radius: 8px;
    }
    .degree figure img{
        width: 100%;
        height: 100%;
        border-radius: 8px;
        object-fit: cover;
        object-position: left;
    }
    .degree h3{
        font-size: 24px;
        font-weight: bold;
    }
    .degree p{
        font-size: 18px;
        text-align: center;
        width: 80%;
    }
    .container-services{
        display: flex;
        width: 80%;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
        padding: 25px 0;
        gap: 50px;
    }
    .container-services p{
        height: 40px;
        display: flex;
        align-items: center;
        color: #000;
        margin-bottom: 15px;
        gap: 10px;
    }
    .container-services p i{
        font-size: 40px;
    }
    .container-services p strong{
        font-size: 24px;
    }
    .comments{
        padding: 40px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        overflow: hidden;
    }

    .testimonies{
        width: 95%;
        height: 570px;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 100%;
    }
    .testimonies > figure{
        display: none;
        width: 100%;
        height: 100%;
        position: relative;
    }
    .info-container {
        height: 700px;
    }
    .main-shedule{
        display: none;
    }
    .shedule figure{
        flex-direction: column;
    }
    .shedule figure h2{
        align-self: center;
        display: inline-block;
        padding: 10px 50px;
        background-color: var(--secundary-color);
        color:#fff;
        font-size: 48px;
        border-radius: 40px;
    }
    .card-testimonie{
        border-radius: 25px;
        width: 400px;
        height: 175px;
        display: grid;
        grid-template-columns: 40% 60%;
        grid-template-rows: 100%;
        align-items: center;
        justify-content: space-evenly;
        align-items: center;
        background-color: var(--secundary-color);
        padding: 0 20px;
        margin-bottom: 15px;
    }
    .card-testimonie p{
    display: flex;
    flex-direction: column;
    color:#fff;
    }
    .card-testimonie p strong{
        font-size: 18px;
    }
    .card-testimonie p span{
        font-size: 14px;
    }
}
