:root {
            --facilita-blue-main: #2f3a67;
            --facilita-green-light: #83ba46;
            --facilita-green-dark: #254f58;
            --facilita-text-title: #2a3968;
            --facilita-text-body: #364573;
            --facilita-bg-light: #f4f6f8;
            --white: #ffffff;
        }
        
         body {
            font-family: 'Open Sans', sans-serif;
            color: var(--facilita-text-body);
            overflow-x: hidden;
            background-color: #fff;
            padding-top: 100px;
            zoom: 125%; 
        }
        
        p { text-align: justify; }

        h1, h2, h3, h4, h5, .btn { font-family: 'Montserrat', sans-serif; }

        h2 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--facilita-blue-main);
        }

        .divider {
            height: 4px;
            width: 60px;
            background-color: var(--facilita-green-light);
            border-radius: 2px;
        }
        .divider-center { margin: 10px auto 20px auto; }
        .divider-left { margin: 10px 0 20px 0; }

         /* --- NAVBAR --- */
        .navbar {
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 4px 20px rgba(47, 58, 103, 0.1);
            padding: 10px 0;
            height: 100px;
            transition: all 0.3s ease;
        }
        
        .navbar-brand img {
            max-height: 70px;
            width: auto;
        }
        
        .nav-link {
            color: var(--facilita-text-title);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            padding: 0 12px !important;
            transition: color 0.3s;
        }
        
         /* Corrección Menú Activo */
        .navbar-nav .nav-link.active,
        .navbar-nav .nav-link:hover {
            color: var(--facilita-green-light) !important;
        }

        
        .btn-nav-aula {
            border: 2px solid var(--facilita-green-light);
            color: var(--facilita-green-light) !important;
            background: transparent;
            padding: 8px 25px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.85rem;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .btn-nav-aula:hover {
            background-color: var(--facilita-green-light);
            color: white !important;
        }


        /* --- PAGE HEADER --- */
        .page-header {
            background: linear-gradient(135deg, rgba(47, 58, 103, 0.95), rgba(37, 79, 88, 0.9)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-position: center;
            padding: 80px 0;
            color: white;
            text-align: center;
        }
        .page-title { font-size: 3rem; font-weight: 800; margin-bottom: 10px; }
        .page-subtitle { font-size: 1.2rem; opacity: 0.9; max-width: 700px; margin: 0 auto; text-align: center; }

        /* --- SECCIÓN QUIENES SOMOS --- */
        .about-section { padding: 60px 0; background-color: white; }
        .about-img-container { position: relative; padding: 20px; max-width: 900px; margin: 0 auto; }
        .about-img { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transition: transform 0.3s; width: 100%; }
        .about-img:hover { transform: translateY(-10px); 
        border-bottom: solid var(--facilita-blue-main);
        border-top: solid var(--facilita-green-light)
        }

        /* --- LEMA --- */
        .lema-title { font-size: 3rem; font-weight: normal; color: #2b3968; line-height: 1.1; }

        /* --- MISION Y VISION CARDS --- */
        .mv-card {
            background: white;
            padding: 40px 30px;
            border-radius: 15px;
            transition: all 0.3s ease;
            border-bottom: 4px solid var(--facilita-blue-main);
            height: 100%;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }

        .mv-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(47, 58, 103, 0.15);
            background-color: white;
            border-top: 4px solid var(--facilita-green-light);
        }

        .mv-icon-wrapper {
            width: 80px;
            height: 80px;
            background: rgba(47, 58, 103, 0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            transition: all 0.3s;
            position: relative;
        }

        .mv-icon-wrapper::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            animation: pulse-green 2s infinite;
        }

        .mv-card:hover .mv-icon-wrapper {
            background: var(--facilita-blue-main);
            color: white;
        }

        .mv-icon {
            font-size: 2rem;
            color: var(--facilita-blue-main);
            transition: all 0.4s;
        }
        /* Efectos Certificaciones Hover */
        .cert-hover-effect {
            transition: all 0.3s ease;
            padding: 5px;
            background: white;
            border-radius: 8px;
            border: 1px solid transparent;
        }
        .cert-hover-effect:hover {
             transform: scale(1.1);
             box-shadow: 0 5px 15px rgba(0,0,0,0.1);
             border-color: #2f3a67;
        }
        .mv-card:hover .mv-icon {
            color: white;
            animation: rotate-icon 0.6s ease-in-out;
        }


        /* --- NUESTRO SELLO --- */
        .values-section {
            padding: 80px 0;
            background-color: #fcfcfc;
            border-top: 5px solid var(--facilita-green-light);
        }

        .value-card {
            background: white;
            padding: 40px 30px;
            border-radius: 15px;
            transition: all 0.3s ease;
            border: 4px solid var(--facilita-blue-main);
            height: 100%;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }

        .value-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(47, 58, 103, 0.15);
            border-bottom: 4px solid var(--facilita-green-light);
        }

        .value-icon-wrapper {
            width: 80px;
            height: 80px;
            background: rgba(47, 58, 103, 0.05);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            transition: all 0.3s;
            position: relative;
        }

        .value-icon-wrapper::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            animation: pulse-green 2s infinite;
        }

        .value-card:hover .value-icon-wrapper {
            background: var(--facilita-blue-main);
            color: white;
        }

        .value-icon {
            font-size: 2rem;
            color: var(--facilita-blue-main);
            transition: all 0.4s;
        }

        .value-card:hover .value-icon {
            color: white;
            animation: rotate-icon 0.6s ease-in-out;
        }

        .value-title {
            font-weight: 800;
            color: var(--facilita-text-title);
            margin-bottom: 15px;
            text-transform: uppercase;
            font-size: 1.1rem;
            letter-spacing: 1px;
            text-align: center; 
        }

        /* --- ANIMACIONES --- */
        @keyframes pulse-green {
            0% { box-shadow: 0 0 0 0 rgba(131, 186, 70, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(131, 186, 70, 0); }
            100% { box-shadow: 0 0 0 0 rgba(131, 186, 70, 0); }
        }

        @keyframes rotate-icon {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        /* --- SECCIÓN PARTNERS (Estilos actualizados) --- */
        .partners-section {
            padding: 60px 0;
            background-color: #fff;
        }

        .partners-header h4 {
            color: var(--facilita-blue-main); /* CAMBIO: Azul correcto */
            font-weight: 700;
            text-transform: uppercase;
            font-size: 1.2rem;
            letter-spacing: 2px;
            margin-bottom: 15px; /* Ajuste margen */
        }

        /* Contenedor tipo tarjeta para replicar el efecto del carrusel */
        .partner-card {
            width: 220px; 
            height: 130px; 
            padding: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transición más elegante */
            border-radius: 10px;
            border: 2px solid transparent; 
            background-color: #fff;
            position: relative;
        }

        /* Efecto Hover elegante y animado */
        .partner-card:hover {
            transform: translateY(-8px) scale(1.02); /* Flotación elegante */
            border-color: var(--facilita-blue-main);
            box-shadow: 0 15px 30px rgba(47, 58, 103, 0.15);
            cursor: pointer;
        }

        .partner-logo {
            max-height: 90px;
            max-width: 100%;
            object-fit: contain;
            transition: filter 0.3s ease;
        }
        
        .partner-card:hover .partner-logo {
            filter: brightness(1.05); /* Brillo sutil al hover */
        }

        /* --- CARRUSEL CLIENTES --- */
        .clients-section {
            padding: 60px 0;
            background: #fff;
            border-top: 5px solid var(--facilita-blue-main);
            border-bottom: 5px solid var(--facilita-green-light);
            overflow: hidden;
        }
        
        .clients-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .clients-header h4 {
            color: var(--facilita-blue-main);
            font-weight: 700;
            text-transform: uppercase;
            font-size: 1rem;
            letter-spacing: 2px;
        }
        
        .slider-track {
            display: flex;
            width: calc(200px * 30);
            animation: scroll 75s linear infinite;
        }
        
        .client-logo {
            width: 200px;
            padding: 15px;
            margin: 0 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
            transition: all 0.3s ease;
            border-radius: 10px;
            border: 2px solid transparent;
            background-color: #fff;
        }
        
        .client-logo:hover {
            transform: scale(1.05);
            border-color: var(--facilita-blue-main);
            box-shadow: 0 8px 20px rgba(47, 58, 103, 0.15);
            filter: brightness(1.1);
        }
        
        .client-logo img {
            max-width: 100%;
            max-height: 80px;
            object-fit: contain;
        }
        
        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-200px * 15)); }
        }

        /* --- ANIMACIONES --- */
        @keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(131, 186, 70, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(131, 186, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(131, 186, 70, 0); } }
        @keyframes rotate-icon { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        /* --- STATS --- */
        .stats-banner { background-color: var(--facilita-blue-main); color: white; padding: 60px 0; text-align: center; border-top: 5px solid var(--facilita-green-light); border-bottom: 5px solid var(--facilita-green-light); }
        .stat-number { font-size: 3rem; font-weight: 800; color: var(--facilita-green-light); }
        .stat-label { font-size: 1rem; text-transform: uppercase; opacity: 0.9; }
         /* --- FOOTER --- */
        footer {
            background-color: #2b3968 !important;
            color: rgba(255, 255, 255, 0.8);
            padding: 70px 0 30px;
        }
        
        footer h5 {
            color: white;
            margin-bottom: 25px;
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        footer a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: 0.2s;
            font-size: 0.9rem;
        }
        
        footer a:hover {
            color: var(--facilita-green-light);
            text-decoration: underline;
        }
        
        .footer-logo-bg {
            background: transparent;
            padding: 0;
            display: inline-block;
            margin-bottom: 20px;
            max-width: 250px;
        }
        
        .footer-logo-bg img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .footer-icon {
            color: var(--facilita-green-light);
            margin-right: 10px;
        }
        .whatsapp-btn { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; z-index: 999; text-decoration: none; }
         /* --- CORRECCIONES PARA MENÚ MÓVIL (RESPONSIVE) --- */
@media (max-width: 991px) {
    
    /* 1. Permitir que la barra crezca cuando se abre el menú */
    .navbar {
        height: auto !important; 
        padding: 10px 0;
    }

    /* 2. Estilo del contenedor desplegable (fondo blanco y sombra) */
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        margin-top: 10px;
        text-align: center; /* Centrar todo el texto */
    }

    /* 3. Separación entre los enlaces para que sea fácil tocar con el dedo */
    .navbar-nav .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0; /* Línea suave separadora */
        font-size: 1.1rem; /* Letra un poco más grande */
    }
    
    /* Quitar borde al último enlace para que se vea limpio */
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* 4. Arreglar los botones "Cotizar" y "Aula Virtual" en móvil */
    .btn-nav-aula {
        display: block;      /* Que ocupen todo el ancho */
        width: 100%;
        margin: 10px 0;      /* Separación vertical */
        text-align: center;
        background-color: var(--facilita-green-light); /* Fondo verde para destacar */
        color: white !important; /* Texto blanco */
    }

    /* 5. Ajustar el logo si se ve muy grande o muy chico */
    .navbar-brand img {
        max-height: 50px; /* Un poco más pequeño en móvil */
    }
    
    /* 6. Ajustar el icono de las 3 barras (Hamburguesa) */
    .navbar-toggler {
        border-color: transparent; /* Quitar borde gris feo */
    }
    .navbar-toggler:focus {
        box-shadow: none; /* Quitar resplandor azul al hacer click */
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(47, 58, 103, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        /* Esto pone el icono de color azul oscuro (--facilita-blue-main) para que se vea bien */
    }
}
/* --- AJUSTE DE ZOOM PARA MÓVIL --- */
@media (max-width: 991px) {
    body {
        /* Restablece el zoom al tamaño normal en celulares */
        zoom: 100% !important; 
        
        /* Ajusta el padding superior para que el menú no tape el contenido */
        padding-top: 80px; 
    }

    /* Opcional: Si aún se ve muy grande, reduce el tamaño de los títulos */
    h1.hero-title {
        font-size: 2rem; /* Reduce el título principal */
    }
    
    h2 {
        font-size: 1.5rem; /* Reduce subtítulos */
    }
}