/* Google Font */

body {

  font-family: 'Poppins', sans-serif;

  line-height: 1.6;

  color: #333;

}



h1, h2, h3, h4, h5, h6 {

  font-weight: 700;

}



/* Navbar */

.navbar-brand {

  font-size: 1.25rem;

}



.navbar-nav .nav-link {

  font-weight: 500;

  transition: color 0.3s ease;

}



.navbar-nav .nav-link:hover {

  color: #0d6efd;

}



/* Hero Carousel */

.carousel-caption {

  background: rgba(0, 0, 0, 0.5);

  padding: 2rem;

  border-radius: 1rem;

}



.carousel-item img {

  height: 60vh;

  object-fit: cover;

}



/* Cards */

.card {

  transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.card:hover {

  transform: translateY(-5px);

  box-shadow: 0 10px 20px rgba(0,0,0,0.1);

}



/* Footer */

footer a {

  text-decoration: none;

}



footer a:hover {

  text-decoration: underline;

}



/* Back to top */

#backToTop {

  display: none;

  z-index: 1050;

}

/* Marco uniforme para imágenes */

.img-frame {

  position: relative;

  width: 100%;

  padding-bottom: 75%; /* Relación 4:3 (puedes ajustar a 100% si quieres cuadrado) */

  overflow: hidden;

  border-radius: 0.5rem;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  background-color: #f8f9fa;

}



.img-frame img {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;

}



.img-frame:hover img {

  transform: scale(1.05);

}

/* Centrado de texto en una columna */

.text-center p {

  text-align: justify;

  text-align-last: center;

  font-size: 1.05rem;

  line-height: 1.7;

}

/* Imágenes discretas */

.img-discrete {

  overflow: hidden;

  border-radius: 0.375rem;

  border: 1px solid #dee2e6;

  transition: box-shadow 0.3s ease, transform 0.3s ease;

  background-color: #fff;

}



.img-discrete img {

  width: 100%;

  height: 100%;

  max-height: 120px;

  object-fit: cover;

  transition: transform 0.4s ease;

}



.img-discrete:hover {

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  transform: translateY(-2px);

}



.img-discrete:hover img {

  transform: scale(1.05);

}



/* Marco de nube suave */

.cloud-frame {

  display: inline-block;

  border-radius: 60% 40% 50% 60% / 50% 60% 40% 50%;

  overflow: hidden;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  background-color: #fff;

  padding: 6px;

  width: 100%;

}

/* Marco discreto para imágenes */

.frame-discreet {

  display: block;

  border: 1px solid #e0e0e0;

  border-radius: 8px;

  overflow: hidden;

  background-color: #fff;

  padding: 4px;

}

/* Borde de nube llamativo para hero */

.cloud-hero-wrapper {

  border-radius: 45% 55% 65% 35% / 55% 45% 65% 35%;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.25), 0 0 0 6px rgba(255, 255, 255, 0.3);

  background: #fff;

  padding: 8px;

  transition: box-shadow 0.4s ease;

}



.cloud-hero-wrapper:hover {

  box-shadow: 0 12px 40px rgba(0, 123, 255, 0.35), 0 0 0 8px rgba(255, 255, 255, 0.4);

}
/* Estilos personalizados para el sitio Nuestra Señora de Guadalupe */

/* Mejorar contraste de texto para accesibilidad */
.carousel-caption {
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  padding: 1rem;
}

/* Mejorar el botón de volver arriba */
#backToTop {
  transition: all 0.3s ease;
  z-index: 1030;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backToTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Estilos para enlaces de footer */
footer a.text-white-50:hover {
  color: white !important;
  text-decoration: underline;
}

/* Estilos para marcos de imágenes */
.frame-discreet {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.frame-discreet:hover {
  transform: translateY(-5px);
}

.cloud-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.cloud-frame:hover {
  transform: scale(1.02);
}

/* Mejoras de accesibilidad para enlaces */
a:focus {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

/* Mejoras de tipografía */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

/* Mejoras para cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Estilos para navbar en scroll */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Mejoras responsive para carrusel */
@media (max-width: 768px) {
  .carousel-caption h2 {
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
}
/* Estilos para la sección Nuestros Niveles */
:root {
  --color-inicial: #e8f5e9;
  --color-primaria: #e3f2fd;
  --color-secundaria: #fff3e0;
  --shadow-soft: 0 8px 25px rgba(0,0,0,0.08);
}

.niveles-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.nivel-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.nivel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.nivel-inicial {
  background-color: var(--color-inicial);
}

.nivel-primaria {
  background-color: var(--color-primaria);
}

.nivel-secundaria {
  background-color: var(--color-secundaria);
}

.nivel-header {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nivel-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
}

.icon-inicial {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
}

.icon-primaria {
  background: linear-gradient(135deg, #2196f3, #42a5f5);
}

.icon-secundaria {
  background: linear-gradient(135deg, #ff9800, #ffb74d);
}

.nivel-body {
  padding: 1.5rem;
  text-align: center;
}

.nivel-body p {
  color: #555;
  line-height: 1.6;
}

.nivel-footer {
  padding: 0 1.5rem 2rem;
  text-align: center;
}

.btn-nivel {
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-inicial {
  background-color: #4caf50;
  color: white;
}

.btn-inicial:hover {
  background-color: transparent;
  border-color: #4caf50;
  color: #4caf50;
}

.btn-primaria {
  background-color: #2196f3;
  color: white;
}

.btn-primaria:hover {
  background-color: transparent;
  border-color: #2196f3;
  color: #2196f3;
}

.btn-secundaria {
  background-color: #ff9800;
  color: white;
}

.btn-secundaria:hover {
  background-color: transparent;
  border-color: #ff9800;
  color: #ff9800;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #4caf50, #2196f3, #ff9800);
  border-radius: 2px;
}

.nivel-image {
  height: 180px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.nivel-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.nivel-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.8rem;
}

.nivel-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

@media (max-width: 768px) {
  .nivel-card {
    margin-bottom: 2rem;
  }
}
/* Estilos para la sección Propuesta Educativa */
:root {
  --color-admision: #fff8e1;
  --color-reglamento: #f3e5f5;
  --color-vacantes: #e8f5e9;
  --color-utiles: #e3f2fd;
  --color-btn-admision: #ff9800;
  --color-btn-reglamento: #9c27b0;
  --color-btn-vacantes: #4caf50;
  --color-btn-utiles: #2196f3;
}

.propuesta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.propuesta-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.propuesta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-btn-admision), var(--color-btn-reglamento), var(--color-btn-vacantes), var(--color-btn-utiles));
}

.propuesta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-admision {
  background-color: var(--color-admision);
}

.card-reglamento {
  background-color: var(--color-reglamento);
}

.card-vacantes {
  background-color: var(--color-vacantes);
}

.card-utiles {
  background-color: var(--color-utiles);
}

.propuesta-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.card-admision .propuesta-icon {
  background: linear-gradient(135deg, #ff9800, #ffb74d);
}

.card-reglamento .propuesta-icon {
  background: linear-gradient(135deg, #9c27b0, #ba68c8);
}

.card-vacantes .propuesta-icon {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
}

.card-utiles .propuesta-icon {
  background: linear-gradient(135deg, #2196f3, #42a5f5);
}

.propuesta-content h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.propuesta-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-propuesta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-admision {
  background-color: var(--color-btn-admision);
  color: white;
}

.btn-admision:hover {
  background-color: transparent;
  border-color: var(--color-btn-admision);
  color: var(--color-btn-admision);
}

.btn-reglamento {
  background-color: var(--color-btn-reglamento);
  color: white;
}

.btn-reglamento:hover {
  background-color: transparent;
  border-color: var(--color-btn-reglamento);
  color: var(--color-btn-reglamento);
}

.btn-vacantes {
  background-color: var(--color-btn-vacantes);
  color: white;
}

.btn-vacantes:hover {
  background-color: transparent;
  border-color: var(--color-btn-vacantes);
  color: var(--color-btn-vacantes);
}

.btn-utiles {
  background-color: var(--color-btn-utiles);
  color: white;
}

.btn-utiles:hover {
  background-color: transparent;
  border-color: var(--color-btn-utiles);
  color: var(--color-btn-utiles);
}

.section-title-propuesta {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  color: white;
}

.section-title-propuesta:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #ff9800, #9c27b0, #4caf50, #2196f3);
  border-radius: 2px;
}

/* Animaciones */
.propuesta-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.propuesta-card.animated {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .propuesta-card {
    margin-bottom: 2rem;
  }
  
  .propuesta-section {
    padding: 3rem 0;
  }
}
/* Estilos para la sección Conoce más sobre nosotros */
.conoce-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.conoce-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.conoce-content {
  position: relative;
  z-index: 2;
  color: white;
}

.conoce-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.conoce-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.2;
}

.conoce-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.conoce-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.feature-item i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-item span {
  font-weight: 600;
  font-size: 1rem;
}

.btn-conoce {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn-conoce:hover {
  background: transparent;
  border-color: #ff6b6b;
  color: #ff6b6b;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

/* Galería de imágenes */
.conoce-gallery {
  position: relative;
  z-index: 2;
}

.gallery-main {
  margin-bottom: 1.5rem;
}

.gallery-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.image-frame:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.image-frame img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.gallery-secondary .image-frame img {
  height: 200px;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.image-frame:hover .image-overlay {
  opacity: 1;
}

.image-overlay i {
  color: white;
  font-size: 2rem;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.image-frame:hover .image-overlay i {
  transform: scale(1);
}

/* Animaciones */
.conoce-content {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.conoce-content.animated {
  opacity: 1;
  transform: translateX(0);
}

.conoce-gallery {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.conoce-gallery.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
  .conoce-title {
    font-size: 2rem;
  }
  
  .conoce-section {
    padding: 3rem 0;
  }
  
  .conoce-features {
    gap: 0.8rem;
  }
  
  .feature-item {
    padding: 0.8rem;
  }
}

@media (max-width: 768px) {
  .conoce-content {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .conoce-features {
    align-items: center;
  }
  
  .feature-item {
    width: 100%;
    max-width: 300px;
  }
  
  .gallery-secondary {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .image-frame img {
    height: 250px;
  }
  
  .gallery-secondary .image-frame img {
    height: 200px;
  }
}
/* Estilos para la sección Nuestros Profesores */
.profesores-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
  position: relative;
  overflow: hidden;
}

.profesores-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,1000 0,1000"/></svg>');
  background-size: cover;
}

.profesores-content {
  position: relative;
  z-index: 2;
  color: white;
}

.profesores-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profesores-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.2;
}

.profesores-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Estadísticas */
.profesores-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  flex: 1;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 600;
}

/* Características de profesores */
.profesores-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.profesor-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.profesor-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.profesor-feature i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.profesor-feature h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: white;
}

.profesor-feature p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Botón */
.btn-profesores {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-profesores:hover {
  background: transparent;
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Galería de profesores */
.profesores-gallery {
  position: relative;
  z-index: 2;
}

.main-profesor-image {
  margin-bottom: 2rem;
}

.image-frame-profesor {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.image-frame-profesor:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.image-frame-profesor img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.image-overlay-profesor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(255, 142, 142, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.image-frame-profesor:hover .image-overlay-profesor {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.image-frame-profesor:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.overlay-content h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.overlay-content p {
  opacity: 0.9;
  margin: 0;
}

/* Mini cards */
.profesores-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mini-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1rem;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mini-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.mini-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mini-card span {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

/* Animaciones */
.profesores-content {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.profesores-content.animated {
  opacity: 1;
  transform: translateX(0);
}

.profesores-gallery {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.profesores-gallery.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
  .profesores-title {
    font-size: 2rem;
  }
  
  .profesores-section {
    padding: 3rem 0;
  }
  
  .profesores-stats {
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem 0.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .profesores-content {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .profesores-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .profesor-feature {
    text-align: left;
  }
  
  .profesores-mini-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .image-frame-profesor img {
    height: 300px;
  }
}
/* Estilos mejorados para la sección Nuestros Niveles */
:root {
  --color-inicial-bg: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  --color-primaria-bg: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
  --color-secundaria-bg: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --color-inicial-accent: #ff6b6b;
  --color-primaria-accent: #4ecdc4;
  --color-secundaria-accent: #ffd93d;
  --shadow-colorful: 0 20px 40px rgba(0,0,0,0.15);
}

.niveles-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  overflow: hidden;
}

.niveles-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.05)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.03)" cx="800" cy="300" r="150"/><circle fill="rgba(255,255,255,0.07)" cx="400" cy="700" r="120"/></svg>');
  background-size: cover;
}

.niveles-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.section-title-niveles {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  color: white;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-title-niveles:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4, #ffd93d);
  border-radius: 3px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nivel-card {
  border: none;
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.5s ease;
  box-shadow: var(--shadow-colorful);
  height: 100%;
  position: relative;
  background: white;
}

.nivel-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.nivel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  z-index: 2;
}

.nivel-inicial::before {
  background: var(--color-inicial-bg);
}

.nivel-primaria::before {
  background: var(--color-primaria-bg);
}

.nivel-secundaria::before {
  background: var(--color-secundaria-bg);
}

.nivel-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.nivel-badge-inicial,
.nivel-badge-primaria,
.nivel-badge-secundaria {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nivel-badge-inicial {
  background: var(--color-inicial-accent);
}

.nivel-badge-primaria {
  background: var(--color-primaria-accent);
}

.nivel-badge-secundaria {
  background: var(--color-secundaria-accent);
}

.nivel-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

.nivel-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nivel-card:hover .nivel-icon::before {
  opacity: 1;
}

.icon-inicial {
  background: var(--color-inicial-bg);
}

.icon-primaria {
  background: var(--color-primaria-bg);
}

.icon-secundaria {
  background: var(--color-secundaria-bg);
}

.nivel-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #333, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nivel-subtitle {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
  font-style: italic;
}

.nivel-image-container {
  position: relative;
  overflow: hidden;
}

.nivel-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.nivel-card:hover .nivel-image {
  transform: scale(1.1);
}

.nivel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.nivel-card:hover .nivel-overlay {
  opacity: 1;
}

.nivel-overlay i {
  font-size: 3rem;
  color: #333;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.nivel-card:hover .nivel-overlay i {
  transform: scale(1);
}

.nivel-body {
  padding: 2rem;
  text-align: center;
}

.nivel-body p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.nivel-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.nivel-features li {
  padding: 0.8rem 0;
  position: relative;
  padding-left: 3rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nivel-features li:hover {
  transform: translateX(10px);
}

.nivel-features li i {
  position: absolute;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.nivel-inicial .nivel-features li i {
  background: var(--color-inicial-bg);
}

.nivel-primaria .nivel-features li i {
  background: var(--color-primaria-bg);
}

.nivel-secundaria .nivel-features li i {
  background: var(--color-secundaria-bg);
}

.nivel-footer {
  padding: 0 2rem 2.5rem;
}

.nivel-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.btn-nivel {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex: 1;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-inicial {
  background: var(--color-inicial-bg);
  color: white;
}

.btn-inicial:hover {
  background: transparent;
  border-color: #ff9a9e;
  color: #ff9a9e;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 154, 158, 0.4);
}

.btn-primaria {
  background: var(--color-primaria-bg);
  color: white;
}

.btn-primaria:hover {
  background: transparent;
  border-color: #a1c4fd;
  color: #a1c4fd;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(161, 196, 253, 0.4);
}

.btn-secundaria {
  background: var(--color-secundaria-bg);
  color: white;
}

.btn-secundaria:hover {
  background: transparent;
  border-color: #ffecd2;
  color: #fcb69f;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 236, 210, 0.4);
}

.btn-nivel-info {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  background: white;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-nivel-info:hover {
  background: #667eea;
  border-color: #667eea;
  color: white;
  transform: scale(1.1);
}

/* CTA Section */
.cta-niveles {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cta-niveles h4 {
  font-size: 1.8rem;
  font-weight: 700;
}

.btn-cta-niveles {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn-cta-niveles:hover {
  background: transparent;
  border-color: #ff6b6b;
  color: #ff6b6b;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

/* Animaciones mejoradas */
.nivel-card {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.8s ease;
}

.nivel-card.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .nivel-card {
    margin-bottom: 2rem;
  }
  
  .nivel-actions {
    flex-direction: column;
  }
  
  .btn-nivel {
    width: 100%;
  }
  
  .section-title-niveles {
    font-size: 2rem;
  }
}
/* Estilos para la sección Accesos Rápidos */
:root {
  --color-reclamos-bg: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
  --color-calendario-bg: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
  --color-facebook-bg: linear-gradient(135deg, #3b5998 0%, #4a6fbb 100%);
}

.accesos-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.accesos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.03)" points="0,800 300,1000 0,1000"/><polygon fill="rgba(255,255,255,0.05)" points="700,0 1000,200 1000,0"/></svg>');
  background-size: cover;
}

.accesos-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd93d, #ffcd38);
  color: #333;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(255, 217, 61, 0.3);
}

.section-title-accesos {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  color: white;
  font-size: 2.8rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-title-accesos:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4, #3b5998);
  border-radius: 3px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Tarjetas de acceso */
.acceso-card {
  background: white;
  border-radius: 25px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.5s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.acceso-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.card-reclamos::before {
  background: var(--color-reclamos-bg);
}

.card-calendario::before {
  background: var(--color-calendario-bg);
}

.card-facebook::before {
  background: var(--color-facebook-bg);
}

.acceso-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.acceso-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
}

.acceso-icon i {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

.card-reclamos .acceso-icon i {
  background: var(--color-reclamos-bg);
}

.card-calendario .acceso-icon i {
  background: var(--color-calendario-bg);
}

.card-facebook .acceso-icon i {
  background: var(--color-facebook-bg);
}

.acceso-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #333;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.acceso-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #333, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.acceso-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.acceso-features {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.feature-tag {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.acceso-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-acceso {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  width: 100%;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-reclamos {
  background: var(--color-reclamos-bg);
  color: white;
}

.btn-reclamos:hover {
  background: transparent;
  border-color: #ff6b6b;
  color: #ff6b6b;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.btn-calendario {
  background: var(--color-calendario-bg);
  color: white;
}

.btn-calendario:hover {
  background: transparent;
  border-color: #4ecdc4;
  color: #4ecdc4;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(78, 205, 196, 0.4);
}

.btn-facebook {
  background: var(--color-facebook-bg);
  color: white;
}

.btn-facebook:hover {
  background: transparent;
  border-color: #3b5998;
  color: #3b5998;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(59, 89, 152, 0.4);
}

.acceso-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  font-size: 0.9rem;
}

.acceso-info i {
  color: #667eea;
}

/* Accesos adicionales */
.accesos-adicionales {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.accesos-adicionales h4 {
  font-size: 1.5rem;
  font-weight: 700;
}

.enlaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.enlace-adicional {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.enlace-adicional:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.enlace-adicional i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffd93d, #ffcd38);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.enlace-adicional span {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.enlace-adicional small {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Animaciones */
.acceso-card {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.8s ease;
}

.acceso-card.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.enlace-adicional {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.enlace-adicional.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .acceso-card {
    margin-bottom: 2rem;
  }
  
  .section-title-accesos {
    font-size: 2rem;
  }
  
  .enlaces-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .enlace-adicional {
    padding: 1.5rem 0.5rem;
  }
}

@media (max-width: 576px) {
  .enlaces-grid {
    grid-template-columns: 1fr;
  }
}
.navbar {
  background: linear-gradient(135deg, #2b3cd8d5 0%, #3d5683 100%);
}