* {
  font-family: "Delius", serif;
  font-style: normal;
}

.video-carousel {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  margin: 0 auto;
  padding: 0;
  background: #000;
}

#instaVideo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* Muestra el video completo */
}

/* En desktop sí ocupa toda la pantalla */
@media (min-width: 769px) {
  .video-carousel {
    height: 100vh;
  }

  #instaVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
  }
}

/* En móvil se ve el video completo */
@media (max-width: 768px) {
  .video-carousel {
    height: auto;
    padding: 10px 0;
  }

  #instaVideo {
    object-fit: contain;
    max-height: 80vh; /* Limita la altura para que no sea demasiado grande */
  }
}

/* Navbar Styles */
.dropdown-submenu {
  position: relative;
}

/* IMPORTANTE: Ocultar submenú por defecto con mayor especificidad */
.dropdown-submenu > .dropdown-menu {
  display: none !important;
  position: absolute;
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 0;
}

/* Mostrar submenú solo al hacer hover sobre el item padre */
.dropdown-submenu:hover > .dropdown-menu {
  display: block !important;
}

/* Flecha indicadora a la derecha */
.dropdown-submenu > .dropdown-toggle::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -3px;
}

/* Ajuste para dispositivos móviles */
@media (max-width: 767px) {
  .dropdown-submenu .dropdown-menu {
    position: static;
    left: auto;
    margin-left: 1rem;
  }
}
/* Navbar Styles */
.navbar {
  transition:
    background-color 1s ease,
    box-shadow 0.9s ease;
  backdrop-filter: blur(2px);
}

.navbar.navbar-expanded {
  background-color: #88bc19;
}

.navbar.scrolled {
  background-color: #88bc19;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-collapse {
  justify-content: center;
}

.navbar-nav .nav-link {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   BOTÓN SVG - SPELLING BEE
   ========================================== */

.svg-button {
  width: 75px;
  height: 75px;

  padding: 0;
  margin-left: 25px;

  border: none;
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition: transform 0.2s ease;

  flex-shrink: 0;
}

/* Imagen SVG */

.svg-button img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;

  pointer-events: none;
}

/* Efecto al pasar el mouse */

.svg-button:hover {
  transform: scale(1.1);
}

/* Efecto al hacer clic */

.svg-button:active {
  transform: scale(0.95);
}

.modal-content {
  background-color: #88bc19;
  color: white;
}
@media (min-width: 768px) {
  .logo {
    margin-left: 100px;
  }
}

#imageModal .modal-dialog {
  max-width: 42%;
}

.custom-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

#imageModal .modal-content {
  background-color: #f7f7f7;
  border-radius: 15px;
}

#imageModal .modal-header {
  background-color: #ffffff;
  color: white;
}

#imageModal .modal-body {
  background-color: #fff;
  padding: 20px;
}

.custom-img-container {
  background-color: #e0e0e0;
  padding: 20px;
  border-radius: 20px;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
  #imageModal .modal-dialog {
    max-width: 100%;
  }

  .custom-img-container {
    padding: 15px;
    border-radius: 15px;
  }
}

.icon_whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transition: transform 0.2s ease;
}

.icon_whatsapp img {
  width: 80px;
  height: 80px;
}

.icon_whatsapp:hover img {
  transform: scale(1.2);
}

/* Anuncio Modal Styles */
.anuncio {
  position: fixed;
  z-index: 1000000;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.anuncio.show {
  display: flex;
  animation: fadeIn 0.4s ease-out forwards;
}
.anuncio2 {
  position: fixed;
  z-index: 1000000;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.anuncio2.show {
  display: flex;
  animation: fadeIn 0.4s ease-out forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.anuncio-content {
  background-color: #fff;
  padding: 0;
  border-radius: 16px;
  width: 80%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: zoomBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s
    backwards;
}

@keyframes zoomBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.95);
  }
  85% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.anuncio-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 0;
}

.close::before,
.close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.close::before {
  transform: rotate(45deg);
}

.close::after {
  transform: rotate(-45deg);
}

.close:hover {
  background: #ff4757;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 71, 87, 0.5);
}

.close:hover::before,
.close:hover::after {
  background: white;
}

/* Animación de salida */
.anuncio.closing {
  animation: fadeOut 0.3s ease-out forwards;
}
.anuncio2.closing {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

.anuncio.closing .anuncio-content {
  animation: zoomOut 0.3s ease-in forwards;
}

@keyframes zoomOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.7);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .anuncio-content {
    width: 85%;
    max-width: 400px;
    border-radius: 12px;
  }

  .anuncio-image {
    border-radius: 12px;
  }

  .close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
  }

  .close::before,
  .close::after {
    width: 18px;
    height: 2.5px;
  }
}

/* Anuncio Modal Styles */

#request-CERTIFICADOS-modal {
  position: fixed;
  z-index: 1000000;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.3);
}

.request-CERTIFICADOS-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 40%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.request-CERTIFICADOS-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

/**/

.particle {
  position: absolute;
  background: rgba(76, 175, 80, 0.2);
  border-radius: 50%;
  animation: rise 15s infinite ease-in;
}

@keyframes rise {
  0% {
    bottom: -100px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 100vh;
    opacity: 0;
  }
}

.stats-container {
  width: 100%;
  max-width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}

.stat-card {
  position: relative;
  width: 340px;
  height: 310px;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover .card-inner {
  transform: rotateY(10deg) rotateX(5deg) scale(1.05);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(76, 175, 80, 0.2);
  box-shadow: 0 10px 40px rgba(76, 175, 80, 0.15);
  overflow: hidden;
}

/* Efecto de brillo animado */
.card-face::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(76, 175, 80, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Gradiente de borde animado */
.card-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(45deg, #4caf50, #66bb6a, #81c784, #4caf50);
  background-size: 300% 300%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: gradientShift 4s ease infinite;
}

.stat-card:nth-child(2) .card-face::after {
  background: linear-gradient(45deg, #2196f3, #42a5f5, #64b5f6, #2196f3);
  background-size: 300% 300%;
}

.stat-card:nth-child(3) .card-face::after {
  background: linear-gradient(45deg, #4caf50, #2196f3, #66bb6a, #4caf50);
  background-size: 300% 300%;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.icon-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}
.icon-container img.icon {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-top: 10px;
}
.icon-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid;
  opacity: 0.3;
  animation: rotate 8s linear infinite;
}

.stat-card:nth-child(1) .icon-circle {
  border-color: #4caf50;
}

.stat-card:nth-child(2) .icon-circle {
  border-color: #2196f3;
}

.stat-card:nth-child(3) .icon-circle {
  border-color: #66bb6a;
}

.icon-circle:nth-child(1) {
  animation-duration: 8s;
}

.icon-circle:nth-child(2) {
  animation-duration: 12s;
  animation-direction: reverse;
  border-style: dashed;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  z-index: 2;
  filter: drop-shadow(0 0 20px currentColor);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.stat-card:nth-child(1) .icon {
  color: #4caf50;
}

.stat-card:nth-child(2) .icon {
  color: #2196f3;
}

.stat-card:nth-child(3) .icon {
  color: #66bb6a;
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  color: #2c3e50;
  margin: 15px 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(76, 175, 80, 0.2);
  animation: numberGlow 2s ease-in-out infinite;
}

@keyframes numberGlow {
  0%,
  100% {
    text-shadow: 0 2px 10px rgba(76, 175, 80, 0.2);
  }
  50% {
    text-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
  }
}

.stat-label {
  font-size: 18px;
  color: #546e7a;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.progress-ring {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 10px;
  animation: fillProgress 3s ease-out forwards;
}

@keyframes fillProgress {
  to {
    width: 100%;
  }
}

.stat-card:nth-child(1) .progress-fill {
  background: linear-gradient(90deg, #4caf50, #66bb6a);
}

.stat-card:nth-child(2) .progress-fill {
  background: linear-gradient(90deg, #2196f3, #42a5f5);
}

.stat-card:nth-child(3) .progress-fill {
  background: linear-gradient(90deg, #4caf50, #2196f3);
}

@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    gap: 40px;
  }

  .stat-card {
    width: 100%;
    max-width: 320px;
  }

  .stat-number {
    font-size: 48px;
  }
}

/**/

.servicios {
  background-color: #0494e6;
  padding-top: 20px;
  padding-bottom: 20px;
  color: white;
  justify-items: center;
}
.servicios h5 {
  text-align: center;
}

.servicios .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.servicios .card {
  border-radius: 25px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .col-md-3 {
    width: 100%;
    margin-bottom: 15px;
  }

  .card-body {
    padding: 10px;
  }

  h5 {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 0.9rem;
  }
}

/**/
.steam-container {
  max-width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #0494e6;
}

.steam-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.steam-item {
  min-width: 600px;
  max-width: 2000;
}

.steam-item img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .steam-container {
    padding: 20px 10px;
  }

  .steam-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .steam-item {
    width: 100%;
    max-width: 100%;
    min-width: unset;
  }
}

/**/
.responsive-video-container {
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #0494e6;
  margin-bottom: -18px;
}

.dreams-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-image: url("/image/1.jpg");
  background-size: cover;
  background-position: center;
}

.text-section {
  flex: 1;
  text-align: left;
  padding: 0 30px;
  min-width: 250px;
}

.text-section h1 {
  color: #007bff;
  font-size: 35px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  margin: 20px 0;
  text-align: left;
}

.videos-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.video-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-section iframe {
  width: 700px;
  height: 450px;
  border-radius: 15px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.8);
  display: block;
}

.video-section video {
  width: auto;
  height: 450px;
  border-radius: 15px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.8);
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .responsive-video-container {
    padding: 10px;
  }

  .dreams-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }

  .text-section {
    width: 100%;
    text-align: center;
    padding: 0;
    order: -1;
    margin-bottom: 20px;
  }

  .text-section h1 {
    font-size: 1.5rem;
    margin: 10px 0;
    text-align: center;
  }

  .videos-wrapper {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .video-section {
    width: 100%;
    max-width: 100%;
  }

  .video-section iframe {
    width: 100%;
    height: 200px;
  }

  .video-section video {
    width: auto;
    height: 350px;
    max-width: 100%;
  }
}

/* Calendario2 */
/* Sección de eventos */
.events-section {
  width: 100vw;
  height: fit-content;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #0494e6;
  padding: 50px 0;
}
.text-title-calendar {
  text-align: center;
  margin-bottom: 30px;
  color: #fff;
}

.events-section .row {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

/* Calendario */
.calendar-wrapper {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.calendar-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.current-month {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.month-nav {
  background: #f0f0f0;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.month-nav:hover {
  background: #e0e0e0;
  transform: scale(1.1);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day-header {
  text-align: center;
  font-weight: 600;
  color: #666;
  padding: 10px 0;
  font-size: 0.9rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  background: #f8f9fa;
  position: relative;
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day:not(.empty):hover {
  background: #e9ecef;
  transform: scale(1.05);
}

/* Días con eventos - fondo azul y marcador de estrella */
.calendar-day.has-event {
  background: #4a90e2;
  color: #fff;
  font-weight: 600;
}

/* Marcador de estrella en la esquina superior derecha */
.calendar-day.has-event::before {
  content: "★";
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 12px;
  color: #ffd700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

/* Animación de pulso para la estrella */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Estilo para el día actual */
.calendar-day.today {
  background: #ff6b6b;
  color: #fff;
  font-weight: 700;
  border: 2px solid #ff5252;
}

.calendar-day.today.has-event {
  background: linear-gradient(135deg, #ff6b6b 0%, #4a90e2 100%);
  border: 2px solid #ff5252;
}

/* Mantener los marcadores en el día actual con evento */
.calendar-day.today.has-event::before {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.calendar-day.today.has-event::after {
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.calendar-day.selected {
  background: #2c5aa0;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(42, 90, 160, 0.4);
}

.calendar-day.today.selected {
  background: #e63946;
  border: 2px solid #d62828;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.5);
}

/* Lista de eventos */
.events-list-wrapper {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-height: 600px;
  overflow-y: auto;
}

.events-list-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.no-events-message {
  text-align: center;
  color: #999;
  padding: 40px 20px;
  font-style: italic;
}

/* Tarjeta de evento */
.event-card {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.event-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.event-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}

.event-detail {
  color: #666;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.event-detail i {
  color: #4a90e2;
  width: 16px;
}

/* Badge de fecha */
.event-date-badge {
  width: 60px;
  height: 70px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.date-badge-header {
  height: 12px;
  background: linear-gradient(135deg, #4a90e2, #357abd);
  position: relative;
}

.date-badge-header::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.date-badge-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 5px;
  height: calc(100% - 12px);
}

.date-badge-day {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.date-badge-month {
  font-size: 0.7rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .calendar-wrapper {
    padding: 15px;
  }

  .current-month {
    font-size: 1.2rem;
  }

  .calendar-day-header {
    font-size: 0.8rem;
    padding: 8px 0;
  }

  .events-list-wrapper {
    margin-top: 20px;
    max-height: 500px;
  }

  .event-image {
    width: 80px;
    height: 80px;
  }

  .event-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .calendar-grid {
    gap: 5px;
  }

  .calendar-day {
    font-size: 0.85rem;
  }

  .calendar-day.has-event::before {
    font-size: 10px;
    top: 1px;
    right: 2px;
  }

  .calendar-day.has-event::after {
    width: 5px;
    height: 5px;
    bottom: 2px;
  }

  .event-card {
    flex-direction: column;
  }

  .event-image {
    width: 100%;
    height: 150px;
  }
}

/* Scrollbar personalizado */
.events-list-wrapper::-webkit-scrollbar {
  width: 8px;
}

.events-list-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.events-list-wrapper::-webkit-scrollbar-thumb {
  background: #4a90e2;
  border-radius: 10px;
}

.events-list-wrapper::-webkit-scrollbar-thumb:hover {
  background: #357abd;
}
/* Calendario2 */

/* Calendario */
.calendar-icon {
  width: 100px;
  height: 100px;
  background-color: #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calendar-header {
  background-color: #f44336;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.rings {
  display: flex;
  gap: 8px;
  position: absolute;
  top: 9px;
}

.ring {
  width: 14px;
  height: 14px;
  background-color: #757575;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calendar-body {
  flex-grow: 1;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.calendar-text {
  color: #212121; /* Gris oscuro */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Aliados */
.aliados {
  text-align: center;
  padding: 20px 0;
  width: 100%;
  max-width: 100%;
}

.aliados h1 {
  margin-bottom: 20px;
  color: #333;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 10px 0;
  margin: 0;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 250px;
  animation: scroll 30s linear infinite;
  justify-content: flex-start;
}

.carousel-item-allied {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.carousel-item-allied:hover {
  transform: scale(1.1);
}

.carousel-item-allied img {
  width: 180px;
  height: 120px;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 10;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f5f5f5 0%, transparent 100%);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f5f5f5 0%, transparent 100%);
}

.container.aliados {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
/*aliados*/

.gallery-container {
  background-color: #0494e6;
  padding: 30px;
  color: white;
}
/* Contenedor */
.gallery .col-md-3 {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Imagen */
.gallery img {
  --rot: -2deg; /* rotación por defecto */
  width: 90%;
  height: 320px;
  object-fit: cover;
  background: white;
  padding: 10px 10px 25px 10px;
  border-radius: 4px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  transform: rotate(var(--rot)) scale(1);
  transition: transform 0.3s ease;
}

/* Rotaciones diferentes */
.gallery .col-md-3:nth-child(1) img {
  --rot: -2deg;
}
.gallery .col-md-3:nth-child(2) img {
  --rot: 2deg;
}
.gallery .col-md-3:nth-child(3) img {
  --rot: -1deg;
}
.gallery .col-md-3:nth-child(4) img {
  --rot: 3deg;
}
.gallery .col-md-3:nth-child(5) img {
  --rot: 1deg;
}
.gallery .col-md-3:nth-child(6) img {
  --rot: -2.5deg;
}

/* Hover */
.gallery img:hover {
  transform: rotate(0deg) scale(1.08);
  z-index: 10;
}

/**/
.footer-custom {
  background-color: #88bc19;
  padding-top: 20px;
}

.footer-custom .copyright {
  margin-top: 15px;
}

.footer-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.footer-custom a.text-white {
  color: #ffffff;
  text-decoration: none;
}

.footer-custom iframe {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}

@media (max-width: 768px) {
  .footer-custom iframe {
    height: 200px;
  }
}

/* From Uiverse.io by Praashoo7 */
.main {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.up {
  display: flex;
  flex-direction: row;
  gap: 0.4em;
}

.down {
  display: flex;
  flex-direction: row;
  gap: 0.4em;
}

.card1 {
  width: 90px;
  height: 90px;
  outline: none;
  border: none;
  background: white;
  border-radius: 60px 5px 5px 5px;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.card2 {
  width: 90px;
  height: 90px;
  outline: none;
  border: none;
  background: white;
  border-radius: 5px 60px 5px 5px;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.card3 {
  width: 90px;
  height: 90px;
  outline: none;
  border: none;
  background: white;
  border-radius: 5px 5px 5px 60px;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.card4 {
  width: 90px;
  height: 90px;
  outline: none;
  border: none;
  background: white;
  border-radius: 5px 5px 60px 5px;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.card1:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #cc39a4;
}

.card2:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #f70000;
}

.card3:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #395498;
}

.card4:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #25d366;
}

/*POWER SKILLS*/
/* ========== MODELO PEDAGÓGICO SECTION ========== */
.pedagogical-model-container {
  width: 100%;
  padding: 60px 20px;
  background: #0494e6;
  box-sizing: border-box;
}

.pedagogical-model-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: rgb(250, 249, 249);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== TEXTO ===== */
.text-content {
  flex: 1;
  min-width: 0;
  color: black;
}

.text-content h1 {
  font-size: 60px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 15px;
}

.text-content p {
  font-size: 20px;
  line-height: 1.6;
  text-align: justify;
}

/* ===== IMÁGENES ===== */
.images-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.image-item {
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border: 4px solid white;
  transition: transform 0.3s ease;
}

/* EFECTO SOLO EN DESKTOP */
@media (min-width: 1025px) {
  .image-item:nth-child(odd) {
    transform: rotate(-3deg);
  }

  .image-item:nth-child(even) {
    transform: rotate(3deg);
  }

  .image-item:hover {
    transform: scale(1.15) rotate(0deg);
    z-index: 10;
  }
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== RESPONSIVE ========== */

/* TABLET */
@media (max-width: 1024px) {
  .pedagogical-model-content {
    flex-direction: column;
    gap: 30px;
  }

  .text-content h1 {
    font-size: 40px;
    text-align: center;
  }

  .images-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .pedagogical-model-container {
    padding: 40px 15px;
  }

  .text-content h1 {
    font-size: 28px;
  }

  .text-content p {
    font-size: 14px;
  }

  .images-grid {
    grid-template-columns: 1fr;
  }

  .image-item {
    height: 180px;
    transform: none !important;
  }
}

/*POWER SKILLS*/

/**/
.school_supplies {
  width: 100px;
  height: auto;
  gap: 10px;
  position: fixed;
  bottom: 110px;
  right: 10px;
  z-index: 1000;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.folder {
  width: 80px;
  height: 90px;
  margin: auto;
  animation: float 2s infinite linear;
  position: relative;
  cursor: pointer;
}

.folder .top {
  background-color: #ff8f56;
  width: 60px;
  height: 12px;
  border-top-right-radius: 10px;
  cursor: pointer;
}

.folder .bottom {
  background-color: #ffce63;
  width: 80px;
  height: 60px;
  box-shadow: 5px 5px 0 0 #283149;
  border-top-right-radius: 8px;
  cursor: pointer;
}

.folder .title {
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #283149;
  text-align: center;
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }

  50% {
    transform: translatey(-15px);
  }

  100% {
    transform: translatey(0px);
  }
}

#anuncio_utiles {
  width: 500px;
  height: AUTO;
  background: #07182e;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1001;
  border-radius: 15px;
  padding: 10px;
  color: white;
  text-align: center;
  overflow: hidden;
}

#anuncio_utiles .card-content {
  padding: 10px;
}

#anuncio_utiles h2 {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 19px;
}

#anuncio_utiles a {
  display: block;
  color: #f3f3f3;
  text-decoration: none;
  margin: 5px;
  font-size: 1.2em;
}

#closeAnnouncement {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  color: white;
  font-size: 15px;
  border: none;
  cursor: pointer;
  padding: 0;
  font-weight: bold;
}

@media (max-width: 768px) {
  #anuncio_utiles {
    width: 90%;
    height: auto;
    padding: 15px;
  }

  #anuncio_utiles h2 {
    font-size: 1.1em;
  }

  #anuncio_utiles a {
    font-size: 1em;
  }

  #closeAnnouncement {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  #anuncio_utiles {
    width: 90%;
    height: auto;
    padding: 10px;
  }

  #anuncio_utiles h2 {
    font-size: 1em;
  }

  #anuncio_utiles a {
    font-size: 0.9em;
  }

  #closeAnnouncement {
    font-size: 20px;
  }
}
