 :root {
            --primary-color: #002147;
            --secondary-color: #37b6fd;
            --accent-color: #f4ac1a;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --gradient-primary: linear-gradient(135deg, #002147 0%, #004a8f 100%);
            --gradient-secondary: linear-gradient(135deg, #37b6fd 0%, #2a8cc4 100%);
            --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
            --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
            --border-radius: 12px;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
        }
        
        .info{
            font-size: 1.7rem;
        }
        
        /* Botón flotante 360 personalizado */
        #btn-360 {
            position: fixed;
            left: 22px;
            bottom: 28px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 18px rgba(0,0,0,0.4);
            z-index: 50;
            cursor: pointer;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        #btn-360 img {
            max-width: 80%;
            max-height: 80%;
        }

        #btn-360:hover {
            transform: scale(1.1);
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        }

        #btn-360:active {
            transform: scale(0.95);
        }
        
        .navbar-brand img.logo {
            height: 180px !important;
            width: auto;
            transition: all 0.3s ease;
        }
        
        /* Mejoras para el header */
        .top-bar-area {
            background: var(--gradient-primary) !important;
            padding: 8px 0;
        }
        
        .top-bar-area .info ul li {
            font-size: 1rem;
            margin-right: 20px;
        }
        
        .top-bar-area .social a {
            font-size: 1.2rem;
            margin-right: 15px;
            transition: transform 0.3s ease;
        }
        
        .top-bar-area .social a:hover {
            transform: translateY(-3px);
        }
        
        /* Navegación mejorada */
        .navbar-default {
            background: white;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            padding: 10px 0;
            transition: all 0.3s ease;
        }
        
        .navbar-nav > li > a {
            font-size: 1.1rem;
            font-weight: 500;
            color: var(--primary-color) !important;
            padding: 15px 20px !important;
            transition: all 0.3s ease;
        }
        
        .navbar-nav > li > a:hover {
            color: var(--secondary-color) !important;
            transform: translateY(-2px);
        }
        
        .dropdown-menu {
            border: none;
            box-shadow: var(--shadow-medium);
            border-radius: var(--border-radius);
            padding: 10px 0;
        }
        
        .dropdown-menu > li > a {
            padding: 10px 20px;
            font-size: 1rem;
            transition: all 0.2s ease;
        }
        
        .dropdown-menu > li > a:hover {
            background: var(--light-color);
            padding-left: 25px;
        }
        
        /* CSS para hacer el menú más grande */
        @media (min-width: 1024px) {
            nav.bootsnav.brand-center .navbar-collapse .col-half.right {
                text-align: left;
                padding-left: 135px;
            }
            
            nav.bootsnav.brand-center .navbar-collapse .col-half.left {
                text-align: right;
                padding-right: 125px;
            }
            
            nav.navbar.bootsnav ul.nav > li > a {
                font-size: 13px !important; /* Aumentado de 14px a 16px */
                padding: 19px 10px !important; /* Aumentado el padding para más espacio */
            }
            
            .navbar-nav {
                display: flex;
                align-items: center;
            }
        }
        
        /* Banner mejorado */
        .banner-area .carousel-inner .item {
            position: relative;
        }
        
        .banner-area .carousel-inner .item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 33, 71, 0.4);
            z-index: 1;
        }
        
        .banner-area .content {
            position: relative;
            z-index: 2;
            background: rgb(255 255 255 / 40%);
            padding: 3em;
        }
        
        .banner-area .content h2 {
            font-size: 3em !important;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
        }
        
        .banner-area .content p {
            font-size: 1.3rem;
            margin-bottom: 30px;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
        }
        
        .banner-area .btn-theme {
            background: var(--gradient-secondary);
            border: none;
            border-radius: 50px;
            padding: 12px 35px;
            font-size: 1.1rem;
            font-weight: 600;
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
        }
        
        .banner-area .btn-theme:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-medium);
        }
        
        /* Oferta educativa mejorada */
        .features-area h1 {
            font-size: 2.8rem;
            margin-bottom: 50px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .features-area h1::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 2px;
        }
        
        .features .item {
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-light);
            transition: all 0.4s ease;
            margin-bottom: 30px;
        }
        
        .features .item:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-medium);
        }
        
        .features .item a {
            display: block;
            padding: 25px 20px;
            text-decoration: none;
            color: white;
            border-radius: var(--border-radius);
        }
        
        .features .item .info h4 {
            font-size: 1.6rem;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        .features .item .info h5 {
            font-size: 1rem;
            opacity: 0.9;
        }
        
        .features img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-top-left-radius: var(--border-radius);
            border-top-right-radius: var(--border-radius);
        }
        
        /* Sección "Sobre Nosotros" mejorada */
        .about-area h2 {
            font-size: 2.5rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .about-area h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 2px;
        }
        
        .about-area h2 span {
            color: var(--secondary-color);
        }
        
        .about-area blockquote {
            border-left: 4px solid var(--secondary-color);
            padding-left: 20px;
            font-style: italic;
            margin: 25px 0;
            font-size: 1.1rem;
            color: var(--dark-color);
        }
        
        .about-area p {
            font-size: 1.7rem;
            line-height: 1.7;
            margin-bottom: 20px;
        }
        
        .about-area .thumb {
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-medium);
            position: relative;
        }
        
        .about-area .thumb img {
            width: 100%;
            height: auto;
            transition: transform 0.5s ease;
        }
        
        .about-area .thumb:hover img {
            transform: scale(1.05);
        }
        
        .video-play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background: var(--gradient-secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }
        
        .video-play-button:hover {
            transform: translate(-50%, -50%) scale(1.1);
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        }
        
        /* Noticias mejoradas */
        .site-heading h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .site-heading h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 2px;
        }
        
        .site-heading p {
            font-size: 1.7rem;
            color: #666;
        }
        
        .popular-courses-area .item {
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-light);
            transition: all 0.4s ease;
            margin-bottom: 30px;
        }
        
        .popular-courses-area .item:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-medium);
        }
        
        .popular-courses-area .thumb {
            position: relative;
            overflow: hidden;
        }
        
        .popular-courses-area .thumb img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .popular-courses-area .item:hover .thumb img {
            transform: scale(1.1);
        }
        
        .popular-courses-area .info {
            padding: 25px;
        }
        
        .popular-courses-area .info h4 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .popular-courses-area .info h4 a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .popular-courses-area .info h4 a:hover {
            color: var(--secondary-color);
        }
        
        .popular-courses-area .info p {
            font-size: 1.7rem;
            line-height: 1.6;
            margin-bottom: 20px;
            color: #666;
        }
        
        .popular-courses-area .btn-theme {
            background: var(--gradient-primary);
            border: none;
            border-radius: 50px;
            padding: 10px 25px;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .popular-courses-area .btn-theme:hover {
            background: var(--gradient-secondary);
            transform: translateY(-3px);
        }
        
        /* Sección de eventos mejorada - Thumb e info al 100% */
        .event-area .item {
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-light);
            transition: all 0.4s ease;
            margin-bottom: 30px;
            display: flex;
            flex-direction: column; /* Cambiado de row a column */
        }
        
        .event-area .item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-medium);
        }
        
        .event-area .thumb {
            width: 100%; /* Cambiado de 40% a 100% */
            overflow: hidden;
            height: 220px; /* Altura fija para uniformidad */
        }
        
        .event-area .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .event-area .item:hover .thumb img {
            transform: scale(1.1);
        }
        
        .event-area .info {
            width: 100%; /* Cambiado de 60% a 100% */
            padding: 25px;
        }
        
        .event-area .info-box .date {
            background: var(--gradient-primary);
            color: white;
            padding: 10px 15px;
            border-radius: var(--border-radius);
            display: inline-block;
            margin-bottom: 15px;
            font-weight: 600;
            font-size: 1.1rem;
        }
        
        .event-area .info-box .content h4 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .event-area .info-box .content h4 a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .event-area .info-box .content h4 a:hover {
            color: var(--secondary-color);
        }
        
        .event-area .info-box .content ul {
            margin-bottom: 15px;
        }
        
        .event-area .info-box .content ul li {
            margin-bottom: 8px;
            font-size: 1.7rem;
        }
        
        .event-area .info-box .content p {
            font-size: 1.7rem;
            line-height: 1.6;
            color: #666;
        }
        
        /* Sección de contacto mejorada */
        .contact-info-area .contact-info .item {
            padding: 30px 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
            margin-bottom: 30px;
            background: white;
        }
        
        .contact-info-area .contact-info .item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-medium);
        }
        
        .contact-info-area .contact-info .item .icon {
            width: 70px;
            height: 70px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 1.8rem;
        }
        
        .contact-info-area .contact-info .item h4 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        .contact-info-area .contact-info .item span {
            font-size: 1.7rem;
            color: #666;
        }
        
        .contact-info-area .maps-form h4 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }
        
        .contact-info-area .maps-form h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
        }
        
        .contact-info-area .google-maps {
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-light);
        }
        
        .contact-info-area .form {
            padding: 30px;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-light);
        }
        
        .contact-info-area .form .form-group input,
        .contact-info-area .form .form-group textarea {
            border-radius: var(--border-radius);
            padding: 12px 15px;
            border: 1px solid #ddd;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .contact-info-area .form .form-group input:focus,
        .contact-info-area .form .form-group textarea:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(55, 182, 253, 0.2);
        }
        
        .contact-info-area .form button {
            background: var(--gradient-primary);
            border: none;
            border-radius: 50px;
            padding: 12px 35px;
            font-size: 1.1rem;
            font-weight: 600;
            color: white;
            transition: all 0.3s ease;
        }
        
        .contact-info-area .form button:hover {
            background: var(--gradient-secondary);
            transform: translateY(-3px);
        }
        
        /* Footer mejorado */
        footer {
            background: var(--gradient-primary) !important;
        }
        
        footer .f-item h4 {
            font-size: 1.4rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        
        footer .f-item h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
        }
        
        footer .f-item.about p {
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 25px;
        }
        
        footer .f-item.link ul li a {
            font-size: 1rem;
            padding: 8px 0;
            display: block;
            transition: all 0.3s ease;
        }
        
        footer .f-item.link ul li a:hover {
            color: var(--accent-color) !important;
            padding-left: 10px;
        }
        
        footer .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding: 20px 0;
            margin-top: 40px;
        }
        
        /* Botón para subir al top */
        #scrollToTop {
            position: fixed;
            bottom: 90px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--gradient-secondary);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            box-shadow: var(--shadow-medium);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        #scrollToTop.show {
            opacity: 1;
            visibility: visible;
        }
        
        #scrollToTop:hover {
            background: var(--gradient-primary);
            transform: translateY(-5px);
        }
        
        /* Menú sticky */
        .sticky {
            position: fixed !important;
            top: 0;
            width: 100%;
            z-index: 1000;
            animation: slideDown 0.5s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        @keyframes slideDown {
            from {
                transform: translateY(-100%);
            }
            to {
                transform: translateY(0);
            }
        }
        
        /* Ajuste para cuando el menú se vuelve sticky */
        body.sticky-menu {
            padding-top: 100px; /* Ajusta según la altura de tu menú */
        }
        
        /* Animaciones adicionales */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-fadeInUp {
            animation: fadeInUp 0.8s ease forwards;
        }
        
        /* Responsive */
        @media (max-width: 991px) {
            .navbar-brand img.logo {
                height: 140px !important;
            }
            
            .banner-area .content h2 {
                font-size: 2.5rem;
            }
            
            .banner-area .content p {
                font-size: 1.1rem;
            }
            
            .features-area h1 {
                font-size: 2.2rem;
            }
            
            .event-area .item {
                flex-direction: column;
            }
            
            .event-area .thumb,
            .event-area .info {
                width: 100%;
            }
        }
        
        @media (max-width: 767px) {
            .navbar-brand img.logo {
                height: 120px !important;
            }
            
            .banner-area .content h2 {
                font-size: 2rem;
            }
            
            .features-area h1 {
                font-size: 1.8rem;
            }
            
            .about-area h2 {
                font-size: 2rem;
            }
            
            .site-heading h2 {
                font-size: 2rem;
            }
            
            #scrollToTop {
                bottom: 70px;
                right: 20px;
                width: 45px;
                height: 45px;
            }
        }

        /* ================================
        AJUSTES HEADER Y NAVEGACIÓN
        ================================ */

        /* Tamaño del logo principal */
        .navbar-brand img.logo {
            height: 180px !important;
            width: auto;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        /* Ocultar logo cuando se hace scroll */
        .navbar.scrolled .navbar-brand img.logo {
            opacity: 0;
            pointer-events: none;
            transform: translateY(-20px);
        }

        /* Forzar que Bootsnav no lo reactive en sticky */
        nav.navbar.bootsnav.navbar-sticky.scrolled .navbar-brand img.logo {
            opacity: 0 !important;
            transform: translateY(-20px) !important;
        }

        /* Mejora de espaciado y legibilidad en menú */
        .navbar-nav > li > a {
            padding: 18px 26px !important;
            font-size: 18px !important;
            font-weight: 600 !important;
        }

        /* Submenús más claros y legibles */
        .dropdown-menu > li > a {
            font-size: 17px;
            padding: 10px 18px;
        }

        /* Mejor hover sin movimiento brusco */
        .navbar-nav > li > a:hover {
            transform: none !important;
            color: var(--secondary-color) !important;
        }

        /* Ajuste al container general del nav */
        .navbar {
            padding-top: 10px;
            padding-bottom: 10px;
        }
        .navbar-brand img.logo { height: 180px !important; }
        .slide-overlay {
            
            padding: 35px 40px;
            border-radius: 12px;
            display: inline-block;
            max-width: 80%;
        }

        .banner-area .content h2,
        .banner-area .content p {
            color: #fff !important; /* mejora legibilidad */
        }
        .features .equal-height {
            opacity: 0;
            transform: scale(0.85);
            transition: all 0.6s ease;
        }

        .features .equal-height.animate-in {
            opacity: 1;
            transform: scale(1);
        }

        .preescolar{
            background: #f4ac1a;
        }
        .preescolar a{
            color: white !important;
        }
        .primaria{
            background: #ff3130;
        }
        .primaria a{
            color: white !important;
        }
        .secundaria{
            background: #37b6fd;
        }
        .secundaria a{
            color: white !important;
        }
        .preparatoria{
            background: #128749;
        }
        .preparatoria a{
            color: white !important;
        }

        .audio-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #007bff;
        color: white;
        border: none;
        font-size: 24px;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        z-index: 99999999;
    }

            #btn-360 {
                
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        }

        #btn-360 img {
        width: 70px; /* ajusta si es necesario */
        animation: pulseBounce 1.8s infinite;
        transform-origin: center;
        }

        /* Animación de llamado de atención */
        @keyframes pulseBounce {
        0% {
            transform: scale(1);
        }
        20% {
            transform: scale(1.15);
        }
        40% {
            transform: scale(0.95);
        }
        60% {
            transform: scale(1.1);
        }
        80% {
            transform: scale(0.98);
        }
        100% {
            transform: scale(1);
        }
        }

        /* Pausa la animación al pasar el mouse */
        #btn-360:hover img {
        animation-play-state: paused;
        }

        .logo-hidden {
        opacity: 0;
        visibility: hidden;
        }

        nav.navbar.bootsnav li.dropdown ul.dropdown-menu {
                width: auto !important;
            }

            .banner-area .carousel .content p{
                text-align: justify !important;
                padding-right: 1% !important;
            }