 body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
      background-color: #fff;
    }

    /* ======== ENCABEZADO ======== */
    /* ==== ESTILOS GENERALES ==== */
header {
  background-color: #ffffff;
  color: rgb(12, 107, 61);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: relative;
}

header h1 {
  margin: 0;
  font-size: 1em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: rgb(0, 112, 30);
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

nav ul li a:hover {
  border-bottom: solid rgb(31, 78, 20);
}

/* ==== SUBMENÚ ==== */
/* ==== SUBMENÚ ==== */
.submenu-items {
  display: none;
  position: absolute;
  background-color: #ffffff;
  top: 100%;
  left: 0;
  min-width: 180px;
  flex-direction: column;
  z-index: 10;

  /* Animación */
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease;
}

.submenu.open .submenu-items {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* ==== MENÚ HAMBURGUESA (MÓVIL) ==== */
.menu-toggle {
  display: none;
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 10000;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: rgb(10, 82, 17);
  cursor: pointer;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  header{
    z-index: 9999;
  }
  nav.menu {
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #c3c3c3;
    width: 100%;
    display: none;
    flex-direction: column;
    z-index: 9999;
  }

  nav.menu.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    width: 100%;
  }

  .submenu-items {
    max-height: 0;
    overflow: hidden;
    position: static;
    background-color: #a3a3a3;
    opacity: 0;
    transform: translateY(-5px);
    transition: max_height 0.3s ease-out;
  }

  .submenu.open .submenu-items {
    display: flex;
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }
}

    /* Contenedor de Gastronomía */
    .banner {
      padding: 1px 50px 15px 50px;
      margin: 0;
      position: relative;
      box-shadow: 0 5px 10px rgba(0,0,0,0.2);

    }
    

    .banner h2 {
        background: linear-gradient(50deg,rgb(66, 186, 88)30%,rgb(27, 59, 34)  40%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        padding-left: 420px ;
        font-size: 50px;
        font-weight: bold;
        font-family: 'Dubai Medium';
        margin-bottom: 20px;
    }

    /* Recuadros Misión y Visión */
    .mision-vision {
      display: flex;
      justify-content: center;
      gap: 0;
      position: absolute;
      bottom: -195px;
      left: 65%;
      transform: translateX(-50%);
    }
    .fondo-banner {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -5; /* Manda la imagen al fondo */
      opacity: 1; /* Ajusta la transparencia para mejor legibilidad */
}


     .vision {
      width: 750px;
      padding: 20px;
      margin-left: 10px;
      color: white;
      border-radius: 20px;
      background-color: #107a10;
      box-sizing: border-box;
        opacity: 0;
  transform: translateY(80px) scale(0.85); 
  filter: blur(6px);
  transition: 
      opacity 1s ease-out, 
      transform 1s ease-out,
      filter 1s ease-out;
}

/* Cuando aparece */
.vision.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}


    .vision {
      background-color: #28af2f;
      border-left: none;
    }

   .vision h3 {
      margin-top: 0;
      font-family: 'Dubai Medium';
      font-size: 25px;
    }
    @media (max-width: 600px) {
    .fondo-banner{
      filter: brightness(0.6);
    }
  
    .banner {
    padding: 0px;
  }

  .banner h2 {
    font-size: 30px;
    padding-left: 10px;
    padding-top: -90px;
    text-align: center;
  }

  .mision-vision {
    position: static;      /* Evita que se salga de pantalla */
    transform: none;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
  }

  .mision, .vision {
    width: 100%;           /* Se ajusta al ancho del móvil */
    margin-left: 0;
  }
}

    /* Tarjetas de opciones */
    .secciones {
      display: flex;
      background-color: #377B31;
      justify-content: center;
      margin: 200px 0 60px 0;
      gap: 20px;
      text-decoration: none;
    }
    .fondo-seccion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 20px 5px;
  filter: brightness(0.9); 
  transition: transform 0.5s ease;
  text-decoration: none;
} 

    .seccion {
        width: 200px;
        border-radius: 20px 5px;
        background:linear-gradient(0deg,rgb(43, 16, 16) 0%,green 40%,rgb(133, 239, 5));
        height: 150px;
        text-align: center;
        padding: 50px 20px;
        margin: 40px 0px;
        transform: skew(-20deg);
        font-weight: bold;
        font-size: 16px;
        text-decoration: none;
    }

    .seccion span {
      text-decoration: none;
      display: block;
      margin-top: 40px;
      font-size: 25px;
      font-family: 'Dubai Medium';
      color: rgb(23, 23, 23);
      /* transform: skew(20deg); */
    }


    @keyframes pulsoZoom {
  0% {
    transform: skew(-20deg) scale(1);
  }
  50% {
    transform: skew(-20deg) scale(1.07);
  }
  100% {
    transform: skew(-20deg) scale(1);
  }
}

/* Aplica animación a cada tarjeta */
.seccion {
  width: 200px;
  border-radius: 20px 5px;
  background: linear-gradient(0deg, rgb(43, 16, 16) 0%, green 40%, rgb(133, 239, 5));
  height: 150px;
  text-align: center;
  padding: 50px 20px;
  margin: 40px 0px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  position: relative;

  animation: pulsoZoom 3s ease-in-out infinite;
}

/* Delays para animación escalonada */
.seccion:nth-child(1) {
  animation-delay: 0s;
}

.seccion:nth-child(2) {
  animation-delay: 0.5s;
}

.seccion:nth-child(3) {
  animation-delay: 1s;
}

    @media (max-width: 992px) {
  .secciones {
    gap: 15px;
    margin: 150px 0 40px 0;
  }

  .seccion {
    width: 180px;
    height: 140px;
    padding: 40px 15px;
  }

  .seccion span {
    font-size: 22px;
    margin-top: 35px;
  }
}

/* 🔷 CELULAR – 1 por fila */
@media (max-width: 600px) {
  .secciones {
    flex-direction: column;
    gap: 10px;
    margin: 100px 0 30px 0;
  }

  .seccion {
    justify-self: center;
    width: 75%;
    margin: 25px;
    height: 120px;
    transform: skew(-10deg); /* 🔥 Menos inclinación en móvil */
    padding: 30px 10px;
  }

  .seccion span {
    font-size: 20px;
    transform: skew(10deg);
    margin-top: 25px;
  }
}

/* Docentes */
.docentes {
  text-align: center;
  margin-bottom: 40px;
}

.titulo_docente {
  font-family: 'Dubai Medium';
  font-size: 50px;
  background: linear-gradient(50deg, rgb(99, 197, 38) 10%, rgb(10, 109, 10) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  transform: translateX(-400%);
  opacity: 0;
  transition: all 1.3s ease;
}

/* Cuando aparece en pantalla */
.titulo_docente.show {
  transform: translateX(0);
  opacity: 1;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background-color: #c9f7a0;
  width: 180px;
  text-align: center;
  border-radius: 20px;
  padding: 20px 10px;

  transform: translateY(80px);
  opacity: 0;
  transition: all 0.8s ease;
}

/* Cuando aparecen */
.card.show {
  transform: translateY(0);
  opacity: 1;
}

/* Delay escalonado */
.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }

.foto {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: white;
  margin: 0 auto 10px auto;
}

.nombre {
  font-weight: bold;
  font-size: 14px;
}

.cargo {
  font-size: 13px;
}
@media (max-width: 900px) {
  .card {
    width: 160px;
    padding: 18px 8px;
  }

  .docentes h3 {
    font-size: 40px;
  }
}

/* Celulares grandes */
@media (max-width: 600px) {
  .cards {
    justify-content: center;
    gap: 15px;
  }

  .card {
    width: 150px;
    padding: 15px 8px;
  }

  .foto {
    width: 90px;
    height: 90px;
  }

  .docentes h3 {
    font-size: 32px;
  }
}

/* Celulares pequeños */
@media (max-width: 420px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 80%;
    max-width: 220px;
  }

  .docentes h3 {
    font-size: 28px;
  }
}