         /* Custom animations */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .floating-icon {
            animation: float 3s ease-in-out infinite;
        }
        
        /* Smooth transitions */
        .transition-smooth {
            transition: all 0.3s ease;
        }
        
        /* Torn paper effect */
        .torn-edge {
            position: relative;
            width: 100%;
            height: 50px;
            background: transparent;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2880 80" preserveAspectRatio="none"><path fill="%23ffffff" fill-opacity="1" d="M0,40 L130.9,48 L261.8,56 L392.7,64 L523.6,32 L654.5,40 L785.5,72 L916.4,48 L1047.3,24 L1178.2,24 L1309.1,56 L1440,48 L1570.9,60 L1701.8,52 L1832.7,68 L1963.6,28 L2094.5,44 L2225.5,64 L2356.4,52 L2487.3,20 L2618.2,32 L2749.1,60 L2880,48 L2880,80 L0,80 Z"></path></svg>');
            background-size: 100% 100%;
        }
        
        /* Menú móvil */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #f9f9f9;
}

.mobile-menu.open {
  max-height: 500px;
}

@media (max-width: 768px) {
  .mobile-menu a {
    font-size: 1rem; /* Mejor legibilidad */
  }

  .mobile-dropdown-content {
    background: #ffffff;
    padding: 0.5rem 0;
  }
}

/* Hero Banner */
.hero-banner {
  height: 60vh;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-banner h1 {
    font-size: 2rem;
  }

  .hero-banner p {
    font-size: 1.25rem;
  }

  .hero-banner .bg-black {
    opacity: 0.6;
  }
}

@media (max-width: 480px) {
  .hero-banner h1 {
    font-size: 1.5rem;
  }

  .hero-banner p {
    font-size: 1rem;
  }
}

 #sliderText {
            text-align: center;
            margin-bottom: 1rem;
        }
/* Contact info icon alignment */
        .contact-info {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        /* Slider */
        .custom-slider-1 {
            position: relative;
            width: 100%;
            background-image: url("https://beta.fusio.site/images/fondo-redes.png");
            background-size: contain;
            background-position: center;    
            background-repeat: no-repeat;
            min-height: 400px;
            overflow: hidden;
        }

        .custom-slider-1 .slides {
            display: flex;
            transition: transform 0.5s ease;
        }

        .custom-slider-1 .slide {
            min-width: 100%;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .custom-slider-1 .slide img {
            width: 60%;
            height: auto;
            border: 10px solid white;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        @media (max-width: 1024px) {
            .custom-slider-1 {
                width: 100%;
                height: auto;
                aspect-ratio: 1/1;
            }

            .custom-slider-1 .slide img {
                width: 80%;
            }
        }
         .custom-slider {
            aspect-ratio: 4/3;
          /* Slider background-image: url("./images/fondo-redes1.png"); */ 
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
        }

        .custom-slider .slide img {
            max-width: 80%;
            width: auto;
        }

        @media (max-width: 768px) {
            .custom-slider .slide img {
                max-width: 90%;
            }

            .slider-nav button {
                width: 2rem;
                height: 2rem;
            }

            .slider-nav button i {
                font-size: 0.75rem;
            }
        }

   /* Navigation button styles */
        .navigation-button {
            background-color: #dc2626;
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .navigation-button:hover, .navigation-button.active {
            background-color: #b91c1c;
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        /* Dropdown menu styles */
        .dropdown {
            position: relative;
            display: inline-block;
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            z-index: 1;
            border-radius: 8px;
            padding: 8px 0;
            top: 100%;
            left: 0;
        }
        
        .dropdown:hover .dropdown-content {
            display: block;
        }
        
        .dropdown-content a {
            color: #4b5563;
            padding: 8px 16px;
            text-decoration: none;
            display: block;
            transition: all 0.2s ease;
        }
        
        .dropdown-content a:hover {
            background-color: #f3f4f6;
            color: #dc2626;
            padding-left: 20px;
        }
        
        /* Slider styles */
        .slider {
            position: relative;
            width: 100%;
            overflow: hidden;
        }
        
        .slides {
            display: flex;
            transition: transform 0.5s ease;
            border-color: #b91c1c;
        }
        
        .slide {
            min-width: 100%;
            box-sizing: border-box;
        }
        
        .slider-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            z-index: 10;
            padding: 0 10px;
        }
        
        .slider-nav button {
            background: rgba(255,255,255,0.7);
            border: none;
            width: 40px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            cursor: pointer;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }
        
        .slider-nav button:hover {
            background: rgba(255,255,255,0.9);
        }
        
        .slider-nav button i {
            font-size: 18px;
            color: #333;
        }
        
        /* Custom slider class */
        .custom-slider {
            position: relative;
            width: 100%;
           /* background-image: url("./images/fondo-redes1.png"); */
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            min-height: 400px;
            overflow: hidden;
        }
        
        .custom-slider .slides {
            position: relative;
            display: block;
            height: 100%;
        }
        
        .custom-slider .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.5s ease;
            display: grid;
            place-items: center;
            cursor: pointer;
        }
        
        .custom-slider .slide img {
            width: 60%;
            height: auto;
            border: 10px solid white;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transform-origin: center center;
        }
        
        .custom-slider .slide.front {
            opacity: 1;
            z-index: 2;
            transform: translateY(0) rotate(0deg);
        }
        
        .custom-slider .slide.back {
            opacity: 1;
            z-index: 1;
            transform: translateY(20px) rotate(25deg);
        }
        
        .custom-slider .slide.transitioning-front {
            animation: slideToFront 0.5s ease forwards;
            z-index: 3;
        }
        
        .custom-slider .slide.transitioning-back {
            animation: slideToBack 0.5s ease forwards;
        }
        
        @keyframes slideToFront {
            0% { transform: translateY(100%) rotate(25deg); opacity: 1; }
            100% { transform: translateY(0) rotate(0deg); opacity: 1; }
        }
        
        @keyframes slideToBack {
            0% { transform: translateY(0) rotate(0deg); opacity: 1; }
            100% { transform: translateY(20px) rotate(25deg); opacity: 1; }
        }
                /* Stats card animation */
        .animated-icons-container {
            background-color: white;
            border-radius: 50%;
            width: 120px;
            height: 120px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        /* Center animated-icons within animated-icons-container */
        .animated-icons-container animated-icons {
            display: contents;
            margin: 0 auto;
            text-align: center;
        }
        /* Social media icons */
        .redes-sociales-3 .icons-6 {
            filter: brightness(0) invert(1); /* White icons by default */
            transition: filter 0.3s ease;
        }
        
        .redes-sociales-3 .icons-6:hover {
            filter: brightness(0) invert(0); /* Black on hover */
        }
        .redes-sociales-4 .icons-6 {
            
               filter: brightness(0) invert(0); /* Black on hover */
            
        }
        
        .redes-sociales-4 .icons-6:hover {
        filter: invert(19%) sepia(50%) saturate(7460%) hue-rotate(356deg) brightness(95%) contrast(100%); /* White icons by default */
            transition: filter 0.3s ease;
        }
        
        /* Image modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            max-width: 90%;
            max-height: 90%;
            border: 10px solid white;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .close-modal {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            cursor: pointer;
        }
                
        /* Curriculum modal */
        #curriculumModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .curriculum-modal-content {
            background: white;
            border-radius: 8px;
            padding: 20px;
            max-width: 90%;
            max-height: 90%;
            overflow: auto;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
        
        .curriculum-modal-content .age-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .curriculum-modal-content .age-buttons button {
            background: #b91c1c;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .curriculum-modal-content .age-buttons button:hover {
            background: #991b1b;
        }
        
        .curriculum-modal-content .pdf-viewer {
            width: 100%;
            height: 600px;
            border: none;
            display: none;
        }
        
        .curriculum-modal-content .pdf-viewer.active {
            display: block;
        }
         .curriculum-modal-content .close-modal {
            position: fixed;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            cursor: pointer;
        }

        
        /* Full width section */
        .full-width {
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
        }
        
        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .dropdown-content {
                position: static;
                box-shadow: none;
            }
            
            .custom-slider {
                width: 100%;
                height: auto;
                aspect-ratio: 1/1;
            }
            
            .custom-slider .slide img {
                width: 80%;
            }
        }
        
        @media (max-width: 768px) {
            .slider-nav button {
                width: 32px;
                height: 32px;
                line-height: 32px;
            }
            
            .slider-nav button i {
                font-size: 14px;
            }
            .curriculum-modal-content {
                padding: 15px;
            }
            
            .curriculum-modal-content .pdf-viewer {
                height: 400px;
            }
        }
        
        @media (max-width: 480px) {
            .curriculum-modal-content .age-buttons button {
                padding: 8px 15px;
                font-size: 14px;
            }
            
            .curriculum-modal-content .pdf-viewer {
                height: 300px;
            }
        }
          /* Responsive adjustments */
        @media (max-width: 1024px) {
            .menu-items {
                display: none;
            }
            
            .hamburger-menu {
                display: block;
            }
            
            .menu-items.active {
                display: flex;
            }
            
            .dropdown-content {
                position: static;
                box-shadow: none;
            }
            
            .custom-slider {
                width: 100%;
                height: auto;
                aspect-ratio: 1/1;
            }
            
            .frame-9 {
                flex-direction: column;
                height: auto;
            }
            
            .contactos {
                flex-direction: column;
                height: auto;
                padding: 20px;
            }
            
            .form-contact {
                width: 100%;
            }
            
            .iconoes, .iconoes-2, .iconoes-3, .iconoes-7 {
                display: none;
            }
            
            .vector-wrapper {
                display: block;
            }
        }
    .torn-paper {
          position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50px;
            background: transparent;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2880 80" preserveAspectRatio="none"><path fill="%23ffffff" fill-opacity="1" d="M0,40 L130.9,48 L261.8,56 L392.7,64 L523.6,32 L654.5,40 L785.5,72 L916.4,48 L1047.3,24 L1178.2,24 L1309.1,56 L1440,48 L1570.9,60 L1701.8,52 L1832.7,68 L1963.6,28 L2094.5,44 L2225.5,64 L2356.4,52 L2487.3,20 L2618.2,32 L2749.1,60 L2880,48 L2880,80 L0,80 Z"></path></svg>');
            background-size: 100% 100%;
            z-index: 3;
        }
         /* PANER padding */
        .PANER-wrapper {
            padding: 0px 0;
            position: relative;
             overflow: hidden;
        }
        
         /* PANER animation */
     
          /* inicial-primaria-secundaria */
         .frame-4, .frame-5, .frame-6 {
                width: 100%;
                margin-bottom: 20px;
            }
             /* Zoom animation for frame-4 */
        .frame-4 {
            transition: transform 0.3s ease;
        }
        
        .frame-4:hover {
            transform: scale(1.05);
        }
    @media (max-width: 768px) {
         .frame-4, .frame-5, .frame-6 {
                width: 100%;
                margin-bottom: 20px;
            }
        }
         /* Calendar hover effect */
        .CALENDARIO-HOVER:hover {
            background-color: rgba(255,0,0,0.1) !important;
        }
        .frame-8 {
            position: relative;
            width: 100%;
            overflow: hidden;
        }

        .frame-8 video {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
            z-index: 1;
        }

        .frame-8::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.45);
            z-index: 2;
        }

        @media (max-width: 768px) {
            .frame-8 video {
                height: 50vh;
            }
        }

        @media (max-width: 480px) {
            .frame-8 video {
                height: 40vh;
            }
        }
