/* =========================
   PALETA DE COLORES
========================= */
:root {
  --azul: #0F35B2;
  --rojo: #ED3237;
  --blanco: #FEFEFE;
  --gris-azulado: #8FA1C7;
  --negro: #000000;
}

/* =========================
   RESET GENERAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--blanco);
  color: #111;
}

/* =========================
   TIPOGRAFÍAS ESPECIALES
========================= */
.impact {
  font-family: Impact, Charcoal, sans-serif;
  text-transform: uppercase;
  font-weight: normal;
}

.italic {
  font-family: 'Brush Script MT', cursive;
}

/* =========================
   HEADER Y NAVBAR
========================= */
.header-container {
  display: flex;
  align-items: stretch;
}

.logo-box {
  background-color: var(--blanco);
  border-top-right-radius: 100px;
  padding: 5px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.logo-box img {
  height: 55px;
}

.logo-text {
  font-size: 1rem;
  font-weight: bold;
  color: var(--negro);
}

.slogan {
  font-size: 0.75rem;
  font-style: italic;
  color: #555;
  margin-top: 2px;
}

.navbar-wrapper {
  flex: 1;
  background-color: var(--azul);
  border-bottom-left-radius: 1200px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 80px;
  z-index: 1;
}

.nav-link {
  color: var(--blanco) !important;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 10px;
}

.btn-panel {
  background-color: var(--rojo);
  color: var(--blanco);
  font-weight: bold;
  padding: 5px 10px;
  margin-left: 10px;
}

/* =========================
   HERO BANNER
========================= */
.hero-banner {
  background: var(--azul);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 4rem 2rem;
}

.inicia-banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

/* =========================
   BOTONES
========================= */
.btn-blue {
  background-color: var(--azul);
  color: var(--blanco);
  padding: 12px 34px;
  font-weight: bold;
  border-radius: 30px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-blue:hover {
  background-color: #0d2a99;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* =========================
   SECCIÓN: ACERCA DE NOSOTROS
========================= */
.about-text {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.about-text .yellow {
  color: var(--negro);
  font-weight: bold;
}

.banner-inclinado {
  display: inline-block;
  background-color: var(--rojo);
  color: var(--blanco);
  font-size: 2rem;
  font-weight: bold;
  padding: 5px 100px;
  transform: skewX(-10deg);
  margin: 20px 10;
}

.banner-inclinado span {
  display: inline-block;
  transform: skewX(5deg);
}

/* =========================
   SECCIÓN: MÁS DE NOSOTROS
========================= */
.seccion-nosotros-bg {
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 40px;
  color: var(--blanco);
}

.contenedor-nosotros {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  background-color: rgba(250, 248, 248, 0.985);
  padding: 40px;
  border-radius: 12px;
}

.imagen-persona {
  flex: 1 1 350px;
  max-width: 500px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.imagen-persona img {
  width: 100%;
  height: auto;
  object-fit: cover;
}



.contenido-nosotros {
  flex: 1 1 400px;
  max-width: 600px;
  color: #000000;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contenido-nosotros h2 {
  font-size: 5.5rem;
  line-height: 0.9;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--blanco);
}

.contenido-nosotros p {
  font-size: 1.5rem;
  line-height: 1.2;
   max-width: 900px;

}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
  .header-container {
    flex-direction: column;
  }

  .navbar-wrapper {
    border-radius: 0;
    justify-content: center;
    padding: 10px;
  }

  .hero-banner {
    flex-direction: column;
    text-align: center;
  }

  .contenedor-nosotros {
  background-color: #FEFEFE; /* Fondo blanco */
  border-radius: 12px;        /* Bordes redondeados */
  padding: 40px 20px;         /* Espaciado interior */
  margin: 20px auto;          /* Separación exterior */
  max-width: 1200px;          /* Ancho máximo */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-direction: column;
  text-align: center;
}


  .contenido-nosotros {
    text-align: center;
  }
}
/* CONTENEDOR GENERAL */
.seccion-mision-vision {
  background-color: #FEFEFE;
  padding: 60px 30px;
  font-family: 'Roboto', sans-serif;
  color: #000;
}

.contenedor-mv {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* BLOQUES INDIVIDUALES */
.bloque-mision,
.bloque-vision {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 10px;
  text-align: center;
}

.bloque-mision p,
.bloque-vision p {
  font-size: 1.2rem;
  line-height: 1.4;
  color: #000000;
}

/* IMAGEN CENTRAL */
.bloque-imagen {
  flex: 2 1 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bloque-imagen img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}

/* ENCABEZADOS */
.encabezado {
  background-color: #ED3237;
  color: #FEFEFE;
  font-weight: bold;
  font-size: 2rem;
  padding: 1px 5px;
  border-radius: 80px;
  margin-bottom: 20px;
  font-family: 'Brush Script MT', cursive;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .contenedor-mv {
    flex-direction: column;
    text-align: center;
  }

  .bloque-imagen img {
    max-width: 280px;
    margin: 20px auto;
  }
}
.dropdown-menu {
  background-color: #FEFEFE;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  color: #0F35B2;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #ED3237;
  color: white;
}
/* Logo responsive */
.logo-esol {
  height: 50px;       /* Fija una altura máxima */
  max-width: 100%;    /* No permite que se estire */
  object-fit: contain;
}

/* Botón IR A PANEL */
.btn-panel {
  background-color: #ED3237;
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-panel:hover {
  background-color: #c32229;
}
/* Fondo blanco para la sección */
.seccion-youtube {
  background-color: #FEFEFE; /* Blanco de tu paleta */
  padding: 60px 20px;
  text-align: center;
}

/* Imagen estilo botón */
.youtube-banner-img {
  width: 100%;                 /* Escala automática */
  max-width: 500px;            /* Puedes reducir este valor si quieres más pequeño */
  border-radius: 15px;         /* Bordes redondeados */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover efecto moderno */
.youtube-banner-img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* Contenedor general del video */
.video-wrapper {
  max-width: 600px;         /* Controla el tamaño máximo */
  margin: 0 auto;
  position: relative;
}

/* Miniatura del video */
.youtube-thumbnail {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Hover suave */
.youtube-thumbnail:hover {
  transform: scale(1.02);
}

/* Botón play encima de la miniatura */
.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background-color: rgba(237, 50, 55, 0.85); /* Color rojo institucional */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-button span {
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.seccion-institutos-imagen {
  background-color: #f9f9f9;
  padding: 40px 20px;
}

.institutos-imagen {
  max-width: 900px; /* Ajusta tamaño máximo */
  width: 150%;      /* Para que sea responsiva */
  height: auto;
  border-radius: 15px; /* Opcional, bordes redondeados */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.institutos-imagen:hover {
  transform: scale(1.05);
}
/* Sección principal con fondo degradado y águila */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 800px;
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 1) 40%, 
    rgba(255, 255, 255, 0.9) 60%, 
    rgba(255, 255, 255, 0.8) 80%), 
    url('assets/img/conoce.png') no-repeat left center;
  background-size: 180% auto;
  padding-right: 180px;
  box-sizing: border-box;
}

/* Contenido alineado a la derecha */
.hero-content {
  max-width: 600px;
  text-align: center;
  color: #000;
  font-family: Arial, sans-serif;
}

/* Logo con tamaño adecuado */
.hero-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

/* Título principal */
.hero-content h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Texto secundario */
.hero-content p {
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.4;
}

/* Botón redes sociales */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #ED3237; /* rojo */
  color: #fff;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(237, 50, 55, 0.6);
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-social:hover {
  background-color: #c32229;
}

/* Icono compartir (puedes usar SVG o font icons) */
.icon-share {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: url('https://cdn-icons-png.flaticon.com/512/786/786205.png') no-repeat center center;
  background-size: contain;
}
/* =========================
   SECCIÓN CON IMAGEN DE FONDO
========================= */
.seccion-con-imagen-fondo {
  background-image: url('assets/img/conoce.png'); /* Ruta a tu imagen del águila */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  text-align: center;
}

.contenedor-btn-redes {
  z-index: 2;
}

/* Botón rojo con ícono azul */
.btn-social-redes {
  background-color: #ED3237;
  color: white;
  font-weight: bold;
  padding: 14px 26px 14px 20px;
  border-radius: 40px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(237, 50, 55, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.btn-social-redes:hover {
  background-color: #c32229;
  transform: scale(1.03);
}

/* Círculo azul con ícono blanco */
.icon-share {
  width: 36px;
  height: 36px;
  background-color: #0F35B2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-share::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: url('https://cdn-icons-png.flaticon.com/512/786/786205.png') no-repeat center;
  background-size: contain;
}

/* Responsive */
@media (max-width: 576px) {
  .btn-social-redes {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    text-align: center;
  }

  .icon-share {
    margin-bottom: 8px;
  }
}
/* BOTÓN redes sociales */
.btn-social-redes {
  background-color: #ED3237;
  color: white;
  font-weight: bold;
  padding: 14px 26px 14px 20px;
  border-radius: 40px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(237, 50, 55, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.btn-social-redes:hover {
  background-color: #c32229;
  transform: scale(1.03);
}

/* Ícono azul redondo */
.icon-share {
  width: 36px;
  height: 36px;
  background-color: #0F35B2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Flechita blanca (puedes cambiarla por otro ícono) */
.icon-share::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: url('https://cdn-icons-png.flaticon.com/512/786/786205.png') no-repeat center;
  background-size: contain;
}

/* Responsive */
@media (max-width: 576px) {
  .btn-social-redes {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    text-align: center;
  }

  .icon-share {
    margin-bottom: 8px;
  }
}
/* Ícono tipo vínculo 🔗 */
.icon-share::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: url('https://cdn-icons-png.flaticon.com/512/929/929610.png') no-repeat center;
  background-size: contain;
}

.icon-share {
  width: 36px;
  height: 36px;
  background-color: #0F35B2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}
/* Botón rojo con ícono azul circular */
.btn-red-social {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: #ED3237; /* Rojo institucional */
  color: white;
  border-radius: 50px;
  padding: 12px 28px 12px 12px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-red-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Círculo azul con ícono blanco */
.icon-circle {
  width: 40px;
  height: 40px;
  background-color: #0F35B2; /* Azul institucional */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 18px;
  color: white;
}

/* Texto del botón */
.btn-text {
  display: inline-block;
}
.seccion-modalidades {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
}

.modalidad-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.modalidad-label {
  background-color: var(--azul);
  color: var(--blanco);
  font-weight: bold;
  font-size: 1.8rem;
  padding: 10px 0;
  margin-top: 5px;
  border-radius: 5px;
}

/* Lista con íconos de check */


/* Responsive */
@media (max-width: 768px) {
  .modalidad-label {
    font-size: 1rem;
  }

  .lista-checks li {
    font-size: 1rem;
  }
}
.lista-checks {
  list-style: none;
  padding-left: 10;
  margin-top: 20px;
}

.lista-checks li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.check-icon {
  color: #f44336; /* Rojo fuerte */
  font-size: 1.5rem;
  margin-right: 12px;
  flex-shrink: 0;
}
.footer-info {
  background: #f3f4f6;
  font-family: 'Roboto', sans-serif;
}

.footer-banner {
  background: #f12626;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  display: inline-block;
  transform: rotate(-2deg);
  padding: 0.4rem 1rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
  color: #222;
  font-size: 1rem;
}

.text-purple {
  color: #3f2daa;
}

.roboto {
  font-family: 'Roboto', sans-serif;
}
.info-card {
  background-color: #fff;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.text-blue {
  color: #1e3f9d; /* azul fuerte como el de los títulos */
}

.text-purple {
  color: #6a50a7; /* morado para íconos de dirección y correo */
}

p {
  margin-bottom: 0.5rem;
  font-family: 'Roboto', sans-serif;
}
#btnSubir {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  border: none;
  outline: none;
  background-color: #0F35B2; /* Azul */
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}
#btnSubir:hover {
  background-color: #0d2d8d;
}

.btn-red-social {
  background-color: #007bff; /* o tu color corporativo */
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-red-social:hover {
  background-color: #0056b3;
  text-decoration: none;
}

.icon-circle {
  background-color: white;
  color: #007bff;
  border-radius: 50%;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-text {
  display: inline-block;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 576px) {
  .btn-red-social {
    flex-direction: column;
    padding: 1rem;
    font-size: 0.95rem;
  }

  .icon-circle {
    margin-bottom: 0.5rem;
  }
}
/* Estilos generales */
.seccion-contacto {
  background-color: #f9fafb;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.contacto-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

/* Mapa */
.contacto-mapa {
  flex: 1 1 350px;
  min-width: 300px;
}

/* Formulario */
.contacto-formulario {
  flex: 1 1 400px;
  min-width: 300px;
}

/* Título inclinado */
.titulo-contacto {
  background-color: #ED3237;
  color: white;
  display: inline-block;
  padding: 10px 20px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  transform: skew(-15deg);
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.titulo-contacto span {
  display: inline-block;
  transform: skew(15deg);
}

.titulo-contacto .italic {
  font-style: italic;
  font-size: 1.6rem;
}

/* Estilos del formulario */
.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

.formulario-contacto textarea {
  resize: vertical;
}

.formulario-contacto button {
  background-color: #0F35B2;
  color: white;
  border: none;
  padding: 12px 25px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  align-self: flex-end;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #0a2791;
}

/* Responsividad */
@media (max-width: 768px) {
  .contacto-flex {
    flex-direction: column;
  }

  .formulario-contacto button {
    align-self: center;
  }

  .titulo-contacto {
    font-size: 1.5rem;
    text-align: center;
  }

  .titulo-contacto .italic {
    font-size: 1.4rem;
  }
}