/* ========== RESET Y CONFIGURACIÓN BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #2c3e50;
  background-color: #ffffff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER INSTITUCIONAL ========== */
.header-principal {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.barra-superior {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.barra-superior .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.info-contacto {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.enlaces-rapidos {
  display: flex;
  gap: 15px;
}

.enlace-pequeno {
  color: white;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: 13px;
  font-weight: 500;
}

.enlace-pequeno:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.header-main {
  background: white;
  padding: 15px 0;
  border-bottom: 3px solid #1e3c72;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-institucional {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-institucional img {
  height: 60px;
  width: auto;
}

.texto-institucional h1 {
  font-size: 1.8em;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 2px;
}

.subtitulo {
  font-size: 14px;
  color: #7f8c8d;
  font-style: italic;
}

.navegacion-principal ul {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-link {
  display: block;
  padding: 12px 20px;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-link:hover {
  color: #1e3c72;
  border-bottom-color: #1e3c72;
  background-color: #f8f9fa;
}

/* ========== CARRUSEL INSTITUCIONAL ========== */
.seccion-hero {
  padding: 0;
  margin-bottom: 0;
}

.carrusel-institucional {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #000;
}

.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.activo {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-content {
  position: absolute;
  bottom: 80px;
  left: 50px;
  right: 50px;
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.9) 0%, rgba(42, 82, 152, 0.9) 100%);
  color: white;
  padding: 30px 40px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.slide-content h2 {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: 1.1em;
  line-height: 1.5;
  opacity: 0.95;
}

/* Controles del carrusel */
.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 60, 114, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrusel-btn:hover {
  background: rgba(30, 60, 114, 1);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

/* Indicadores */
.carrusel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.activo {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carrusel-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  z-index: 5;
  background: rgba(30, 60, 114, 0.8);
  padding: 20px 30px;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

/* ========== SECCIONES PRINCIPALES ========== */
section {
  padding: 80px 0;
}

.seccion-header {
  text-align: center;
  margin-bottom: 60px;
}

.seccion-header h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 20px;
}

.decorador {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  margin: 0 auto;
  border-radius: 2px;
}

/* Sección Nosotros */
.seccion-nosotros {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contenido-institucional {
  max-width: 1000px;
  margin: 0 auto;
}

.mision-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.card-institucional {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-institucional:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-institucional h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 20px;
}

.valores-institucionales {
  text-align: center;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.valores-institucionales h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 30px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.valor {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 25px;
  font-weight: 500;
  text-align: center;
  transition: transform 0.3s ease;
}

.valor:hover {
  transform: scale(1.05);
}

/* Sección Oferta Educativa */
.seccion-oferta {
  background: white;
}

.programas-educativos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.programa-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.programa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.05) 0%, rgba(42, 82, 152, 0.05) 100%);
  transition: left 0.3s ease;
  z-index: 1;
}

.programa-card:hover::before {
  left: 0;
}

.programa-card:hover {
  border-color: #1e3c72;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.programa-card > * {
  position: relative;
  z-index: 2;
}

.programa-icon {
  font-size: 3em;
  margin-bottom: 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.programa-card h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 20px;
}

.programa-card p {
  color: #6c757d;
  margin-bottom: 25px;
  line-height: 1.6;
}

.programa-detalles {
  list-style: none;
  text-align: left;
}

.programa-detalles li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f4;
  color: #495057;
  font-weight: 500;
}

.programa-detalles li:last-child {
  border-bottom: none;
}

.programa-detalles li::before {
  content: '✓';
  color: #28a745;
  font-weight: bold;
  margin-right: 10px;
}

/* ========== SECCIÓN EVENTOS ========== */
.seccion-eventos {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.eventos-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.evento-item {
  display: flex;
  align-items: flex-start;
  background: white;
  margin-bottom: 25px;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 5px solid #1e3c72;
}

.evento-item:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.evento-fecha {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  text-align: center;
  padding: 15px;
  border-radius: 12px;
  margin-right: 25px;
  min-width: 80px;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.evento-fecha .mes {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.evento-fecha .dia {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.evento-info {
  flex: 1;
}

.evento-info h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 10px;
}

.evento-info p {
  color: #6c757d;
  margin-bottom: 8px;
  line-height: 1.5;
}

.evento-hora {
  display: inline-block;
  background: #e3f2fd;
  color: #1565c0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* ========== SECCIÓN CONTACTO ========== */
.seccion-contacto {
  background: white;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contacto-info h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #1e3c72;
  margin: 30px 0 15px 0;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 8px;
}

.contacto-info h3:first-child {
  margin-top: 0;
}

.contacto-info p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contacto-info strong {
  color: #2c3e50;
}

.horarios-atencion h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 25px;
  text-align: center;
}

.horario-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.horario-card:hover {
  border-color: #1e3c72;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.horario-card h4 {
  font-size: 1.1em;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 10px;
}

.horario-card p {
  color: #495057;
  line-height: 1.5;
}

/* ========== FOOTER INSTITUCIONAL ========== */
.footer-institucional {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 50px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}

.footer-logo p {
  line-height: 1.5;
  opacity: 0.9;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-links a:hover {
  background: white;
  color: #1e3c72;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* ========== SECCIÓN AVISOS Y COMUNICADOS ========== */
.seccion-avisos {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.seccion-avisos::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,193,7,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.avisos-header {
  text-align: center;
  margin-bottom: 50px;
}

.avisos-header h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: #856404;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.decorador-avisos {
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
  margin: 0 auto 15px;
  border-radius: 2px;
}

.avisos-subtitulo {
  color: #6c5ce7;
  font-size: 1.1em;
  font-weight: 500;
  opacity: 0.9;
}

.avisos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.aviso-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  border-top: 5px solid;
}

.aviso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Tipos de avisos */
.aviso-card.urgente {
  border-top-color: #dc3545;
  background: linear-gradient(145deg, #fff5f5 0%, #ffffff 100%);
}

.aviso-card.importante {
  border-top-color: #fd7e14;
  background: linear-gradient(145deg, #fff8f0 0%, #ffffff 100%);
}

.aviso-card.general {
  border-top-color: #6c757d;
  background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
}

.aviso-card.evento {
  border-top-color: #28a745;
  background: linear-gradient(145deg, #f8fff8 0%, #ffffff 100%);
}

.aviso-tipo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 0.9em;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #f1f3f4;
}

.urgente .aviso-tipo {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
}

.importante .aviso-tipo {
  background: linear-gradient(135deg, #fd7e14 0%, #e55100 100%);
  color: white;
}

.general .aviso-tipo {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
}

.evento .aviso-tipo {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  color: white;
}

.tipo-icon {
  font-size: 1.2em;
}

.aviso-contenido {
  padding: 20px;
}

.aviso-contenido h3 {
  font-size: 1.2em;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
}

.aviso-contenido p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.aviso-fecha {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px solid #f1f3f4;
}

.aviso-fecha span {
  font-size: 0.8em;
  color: #95a5a6;
  font-weight: 500;
}

.avisos-footer {
  text-align: center;
  margin-top: 40px;
}

.btn-ver-mas {
  background: linear-gradient(135deg, #6c5ce7 0%, #5f3dc4 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.btn-ver-mas:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
  background: linear-gradient(135deg, #5f3dc4 0%, #6c5ce7 100%);
}

.btn-arrow {
  transition: transform 0.3s ease;
  font-size: 1.2em;
}

.btn-ver-mas:hover .btn-arrow {
  transform: translateY(2px);
}

/* Animación para avisos nuevos */
@keyframes avisoNuevo {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.aviso-card.nuevo {
  animation: avisoNuevo 0.6s ease-out;
}

/* Responsive para avisos */
@media (max-width: 768px) {
  .seccion-avisos {
    padding: 40px 0;
  }
  
  .avisos-header h2 {
    font-size: 2em;
  }
  
  .avisos-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .aviso-card {
    margin: 0 10px;
  }
  
  .aviso-contenido {
    padding: 15px;
  }
  
  .aviso-contenido h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .avisos-header h2 {
    font-size: 1.7em;
  }
  
  .aviso-tipo {
    padding: 12px 15px;
    font-size: 0.85em;
  }
  
  .aviso-contenido {
    padding: 15px;
  }
  
  .btn-ver-mas {
    padding: 12px 25px;
    font-size: 0.9em;
  }
}

/* ========== SOBRE NUESTRA ESCUELA ========== */
.sobre-nuestra-escuela {
  margin-top: 50px;
  padding: 40px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sobre-nuestra-escuela h3 {
  font-size: 1.6em;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 35px;
  text-align: center;
  border-bottom: 3px solid #e9ecef;
  padding-bottom: 15px;
}

.info-institucional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.info-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: #1e3c72;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.info-card h4 {
  font-size: 1.3em;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #1e3c72;
  padding-bottom: 10px;
}

/* Personal Stats */
.personal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.stat-item {
  text-align: center;
  background: white;
  padding: 20px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: 2.2em;
  font-weight: 700;
  color: #1e3c72;
  line-height: 1;
}

.stat-label {
  font-size: 0.9em;
  color: #6c757d;
  font-weight: 500;
  margin-top: 5px;
}

/* Directivos Section */
.directivos-section {
  margin-bottom: 25px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #1e3c72;
}

.directivos-section h5 {
  font-size: 1.1em;
  font-weight: 600;
  color: #1e3c72;
  margin-bottom: 15px;
}

.directivos-list {
  list-style: none;
  padding: 0;
}

.directivos-list li {
  padding: 8px 0;
  color: #495057;
  font-weight: 500;
  border-bottom: 1px solid #f1f3f4;
}

.directivos-list li:last-child {
  border-bottom: none;
}

/* CCT Info */
.cct-info {
  text-align: center;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
}

.cct-label {
  margin-right: 10px;
  opacity: 0.9;
}

.cct-number {
  font-size: 1.1em;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
}

/* Instalaciones */
.instalaciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.instalacion-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.instalacion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.instalacion-icon {
  font-size: 2em;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 50%;
}

.instalacion-info {
  flex: 1;
}

.instalacion-info strong {
  display: block;
  font-size: 1.3em;
  color: #1e3c72;
  font-weight: 700;
}

.instalacion-info span {
  color: #6c757d;
  font-size: 0.9em;
  font-weight: 500;
}

/* Actividades Deportivas */
.actividades-deportivas {
  background: white;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #28a745;
}

.actividades-deportivas h5 {
  font-size: 1.1em;
  font-weight: 600;
  color: #28a745;
  margin-bottom: 12px;
}

.actividades-deportivas p {
  color: #495057;
  line-height: 1.6;
  margin: 0;
}

/* Responsive para la nueva sección */
@media (max-width: 992px) {
  .info-institucional-grid {
    grid-template-columns: 1fr;
  }
  
  .personal-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .instalaciones-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .sobre-nuestra-escuela {
    padding: 25px 20px;
  }
  
  .info-card {
    padding: 20px;
  }
  
  .personal-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    padding: 15px;
  }
  
  .stat-number {
    font-size: 1.8em;
  }
  
  .instalacion-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .instalacion-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5em;
  }
}
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-social {
    grid-column: span 2;
    text-align: center;
  }
  
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mision-vision {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-main .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .logo-institucional {
    text-align: center;
  }
  
  .navegacion-principal ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .barra-superior .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .carrusel-institucional {
    height: 350px;
  }
  
  .slide-content {
    bottom: 40px;
    left: 20px;
    right: 20px;
    padding: 20px 25px;
  }
  
  .slide-content h2 {
    font-size: 1.6em;
  }
  
  .slide-content p {
    font-size: 1em;
  }
  
  .carrusel-btn {
    width: 40px;
    height: 40px;
  }
  
  .prev-btn {
    left: 15px;
  }
  
  .next-btn {
    right: 15px;
  }
  
  .carrusel-dots {
    bottom: 15px;
  }
  
  .programas-educativos {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
  }
  
  section {
    padding: 50px 0;
  }
  
  .seccion-header h2 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .carrusel-institucional {
    height: 280px;
  }
  
  .slide-content {
    bottom: 20px;
    left: 15px;
    right: 15px;
    padding: 15px 20px;
  }
  
  .slide-content h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
  }
  
  .slide-content p {
    font-size: 0.9em;
  }
  
  .carrusel-btn {
    width: 35px;
    height: 35px;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
  }
  
  .nav-link {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .mision-vision {
    grid-template-columns: 1fr;
  }
  
  .card-institucional {
    padding: 25px;
  }
  
  .evento-item {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .evento-fecha {
    margin-right: 0;
    margin-bottom: 20px;
    align-self: center;
  }
}

/* ========== ANIMACIONES Y EFECTOS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-institucional,
.programa-card,
.evento-item {
  animation: fadeInUp 0.6s ease-out;
}

/* Efecto de scroll suave para toda la página */
html {
  scroll-behavior: smooth;
}

/* Mejoras de accesibilidad */
.carrusel-btn:focus,
.dot:focus,
.nav-link:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}