/* ============================================
   EVINT - Home Page Styles
   Estilos específicos para la página de inicio
   ============================================ */

/* Variables CSS Personalizadas */
:root {
    /* Paleta de Colores Educativa Amigable */
    --evint-primary: #3b82f6;          /* Azul educativo - confianza, aprendizaje */
    --evint-secondary: #10b981;        /* Verde crecimiento - desarrollo, progreso */
    --evint-accent: #8b5cf6;           /* Violeta suave - creatividad, imaginación */
    --evint-success: #059669;          /* Verde éxito - logros, avances */
    --evint-warning: #f59e0b;          /* Naranja cálido - atención, energía */
    --evint-info: #06b6d4;             /* Cyan - información, claridad */
    --evint-danger: #ef4444;
    --evint-purple: #8b5cf6;
    --evint-pink: #ec4899;
    --evint-neutral: #64748b;          /* Gris equilibrado - profesional */
    --evint-light: #f8fafc;            /* Fondo limpio */
    --evint-dark: #1e293b;             /* Texto legible */
    --evint-gray-50: #f9fafb;
    --evint-gray-100: #f3f4f6;
    --evint-gray-200: #e5e7eb;
    --evint-gray-300: #d1d5db;
    --evint-gray-400: #9ca3af;
    --evint-gray-500: #6b7280;
    --evint-gray-600: #4b5563;
    --evint-gray-700: #374151;
    --evint-gray-800: #1f2937;
    --evint-gray-900: #111827;
    
    /* Gradientes Educativos */
    --evint-gradient: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    --evint-gradient-primary: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    --evint-gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --evint-gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --evint-gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --evint-gradient-info: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --evint-gradient-educational: radial-gradient(ellipse at center, rgba(59,130,246,0.1) 0%, transparent 70%);
    
    /* Sombras Suaves */
    --evint-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --evint-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --evint-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --evint-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --evint-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --evint-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transiciones Suaves */
    --evint-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --evint-transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --evint-transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-primary: 'Nunito', sans-serif;
    --font-heading: 'Fredoka', cursive;
    --evint-text-primary: #1f2937;
    --evint-text-secondary: #6b7280;
    --evint-bg-light: #f8fafc;
}

/* RESET Y ESTILOS BÁSICOS */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--evint-dark);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.display-3 {
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.display-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--evint-gray-600);
}

/* ANIMACIONES PERSONALIZADAS - EDUCATIVAS */
@keyframes educational-flow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 30px) rotate(360deg); }
}

@keyframes learning-drift {
    0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    33% { opacity: 0.6; transform: scale(1.01) rotate(120deg); }
    66% { opacity: 0.5; transform: scale(0.99) rotate(240deg); }
}

@keyframes educational-learning {
    0%, 100% { 
        transform: translateY(0px) rotateY(0deg); 
        box-shadow: var(--evint-shadow-2xl), inset 0 1px 0 rgba(255,255,255,0.1);
    }
    25% { 
        transform: translateY(-6px) rotateY(3deg); 
        box-shadow: var(--evint-shadow-2xl), 0 0 25px rgba(59,130,246,0.3);
    }
    50% { 
        transform: translateY(-8px) rotateY(0deg); 
        box-shadow: var(--evint-shadow-2xl), 0 0 30px rgba(16,185,129,0.3);
    }
    75% { 
        transform: translateY(-6px) rotateY(-3deg); 
        box-shadow: var(--evint-shadow-2xl), 0 0 25px rgba(139,92,246,0.3);
    }
}

@keyframes learning-sparkle {
    0% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    50% { transform: translateX(50%) translateY(50%) rotate(180deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(360deg); }
}

@keyframes child-playing {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-15px) rotate(5deg) scale(1.1); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-25px) rotate(-3deg) scale(1.05); 
        opacity: 1;
    }
    75% { 
        transform: translateY(-10px) rotate(2deg) scale(1.08); 
        opacity: 0.9;
    }
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.6); }
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate-continuous {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce-gentle {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* ELEMENTOS FLOTANTES */
.floating-element {
    animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-element:nth-child(3) {
    animation-delay: 1s;
}

/* HERO MEJORADO - EDUCATIVO */
.hero-section {
    background: #f3f3f3;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ============================================
   CORRECCIÓN INTERACTIVIDAD SECCIÓN HERO
   ============================================ */

/* Asegurar interactividad en toda la sección hero */
.hero-section {
    pointer-events: auto;
    user-select: text;
}

/* Forzar interactividad en contenido principal */
.hero-section .container,
.hero-section .row,
.hero-section .col-lg-7,
.hero-section .col-lg-5 {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    user-select: text;
}

/* Asegurar que todos los botones y enlaces sean clickeables */
.hero-section a,
.hero-section button,
.hero-section .btn {
    position: relative;
    z-index: 15;
    pointer-events: auto !important;
    cursor: pointer;
}

/* Asegurar que todo el texto sea seleccionable */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section p,
.hero-section span,
.hero-section small,
.hero-section div {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Elementos decorativos NO deben bloquear interacción */
.hero-section .floating-element:not(.btn):not(a) {
    pointer-events: none;
}

/* Pero si contienen botones o enlaces, sí deben ser interactivos */
.hero-section .floating-element.btn,
.hero-section .floating-element a,
.hero-section .floating-element button {
    pointer-events: auto !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><pattern id="school-pattern" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.06)"/><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.04)"/><circle cx="45" cy="20" r="0.8" fill="rgba(255,255,255,0.04)"/><circle cx="20" cy="45" r="0.9" fill="rgba(255,255,255,0.04)"/><path d="M30 20 L40 30 L30 40 L20 30 Z" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23school-pattern)"/></svg>');
    opacity: 0.3;
    animation: educational-flow 25s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59,130,246,0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(16,185,129,0.08) 0%, transparent 60%),
        radial-gradient(circle at 40% 80%, rgba(139,92,246,0.06) 0%, transparent 50%);
    animation: learning-drift 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    user-select: text;
}

/* ICONOS ESCOLARES MEJORADOS */
.school-icon {
    background: var(--evint-gradient-accent);
    border-radius: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--evint-shadow-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--evint-transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.school-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
    animation: learning-sparkle 4s ease-in-out infinite;
}

.school-icon:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--evint-shadow-xl);
}

/* BADGES */
.university-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    animation: pulse-glow 2s infinite;
}

.age-badge {
    background: var(--evint-accent);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin: 0 5px;
    animation: bounce-gentle 2s infinite;
}

/* CONTADORES */
.stats-counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--evint-accent);
    display: block;
}

/* SECCIÓN IA EDUCATIVA */
.ai-visual {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.ai-educational {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #8b5cf6 100%);
    border-radius: 35px;
    position: relative;
    margin: 50px auto;
    animation: educational-learning 3s ease-in-out infinite;
    box-shadow: 
        var(--evint-shadow-2xl),
        inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-educational::before {
    content: '🎓';
    font-size: 4rem;
    animation: knowledge-building 2s ease-in-out infinite;
}

.ai-educational::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 45px;
    animation: learning-pulse 2.5s linear infinite;
}

@keyframes learning-pulse {
    0% { 
        border-color: rgba(255,255,255,0.2); 
        transform: scale(1) rotate(0deg);
    }
    33% { 
        border-color: rgba(59,130,246,0.6); 
        transform: scale(1.01) rotate(120deg);
    }
    66% { 
        border-color: rgba(16,185,129,0.6); 
        transform: scale(1.005) rotate(240deg);
    }
    100% { 
        border-color: rgba(255,255,255,0.2); 
        transform: scale(1) rotate(360deg);
    }
}

@keyframes knowledge-building {
    0%, 100% { opacity: 0.8; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.05) rotate(5deg); }
}

/* IA LEARNING DOTS */
.ai-learning-dots {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10;
}

.learning-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    animation: educational-activity 2s ease-in-out infinite;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.learning-dot:nth-child(1) { animation-delay: 0s; background: rgba(59,130,246,0.9); }
.learning-dot:nth-child(2) { animation-delay: 0.3s; background: rgba(16,185,129,0.9); }
.learning-dot:nth-child(3) { animation-delay: 0.6s; background: rgba(139,92,246,0.9); }

@keyframes educational-activity {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.ai-brain {
    font-size: 4rem;
    color: var(--evint-accent);
    animation: pulse-glow 2s infinite;
}

.ai-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 2px dashed rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    animation: rotate-continuous 20s linear infinite;
}

/* TARJETAS MEJORADAS */
.evaluation-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid;
}

.evaluation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-color), var(--card-color-light));
}

.evaluation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.evaluation-card.bender {
    --card-color: var(--evint-primary);
    --card-color-light: var(--evint-purple);
}

.evaluation-card.academic {
    --card-color: var(--evint-success);
    --card-color-light: var(--evint-secondary);
}

.evaluation-card.interview {
    --card-color: var(--evint-warning);
    --card-color-light: var(--evint-pink);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    background: var(--card-color);
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.evaluation-card:hover .card-icon::before {
    opacity: 1;
    left: 100%;
}

/* IMPACTO */
.impact-stats {
    background: var(--evint-gradient-warm);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin: 3rem 0;
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* BADGES TECNOLÓGICOS */
.tech-badge {
    background: rgba(79, 70, 229, 0.1);
    color: var(--evint-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin: 5px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

/* FORMAS FLOTANTES */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    font-size: 2rem;
    color: var(--evint-accent);
    animation-delay: 0s;
}

.shape-2 {
    top: 20%;
    right: 15%;
    font-size: 1.5rem;
    color: var(--evint-secondary);
    animation-delay: 1s;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    font-size: 2.5rem;
    color: var(--evint-success);
    animation-delay: 2s;
}

.shape-4 {
    bottom: 30%;
    right: 10%;
    font-size: 1.8rem;
    color: var(--evint-purple);
    animation-delay: 3s;
}

/* ANIMACIONES DE SCROLL */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* HOVER EFFECTS PARA TARJETAS */
.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* COLORES PERSONALIZADOS PARA PURPLE */
.text-purple {
    color: var(--evint-purple) !important;
}

.bg-purple {
    background-color: var(--evint-purple) !important;
}

/* GRADIENTE MEJORADO PARA TARJETAS ESPECIALES */
.bg-gradient-primary {
    background: var(--evint-gradient) !important;
}

/* EFECTOS DE HOVER PARA BADGES TECH */
.tech-badge:hover {
    background: var(--evint-primary);
    color: white;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* SECCIÓN UNIVERSIDAD */
.university-section {
    background: var(--evint-gradient);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* FOOTER MEJORADO */
.footer {
    background: var(--evint-gray-900);
    border-top: 1px solid var(--evint-gray-800);
    padding: 4rem 0 2rem;
    color: white;
}

.footer a {
    text-decoration: none;
    transition: color var(--evint-transition-base);
}

.footer a:hover {
    color: white;
}

.footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--evint-transition-base);
}

.footer .btn-outline-light:hover {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.footer .btn-warning {
    background: var(--evint-warning);
    border-color: var(--evint-warning);
    transition: all var(--evint-transition-base);
    color: white;
}

.footer .btn-warning:hover {
    background: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--evint-shadow-lg);
}

/* CLASES UTILITARIAS */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-gray-900 {
    background: var(--evint-gray-900) !important;
}

.bg-gray-700 {
    background: var(--evint-gray-700) !important;
}

.age-range-badge {
    background: rgba(30, 64, 175, 0.1);
    color: var(--evint-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(30, 64, 175, 0.2);
    backdrop-filter: blur(10px);
    transition: all var(--evint-transition-base);
    display: inline-block;
}

.age-range-badge:hover {
    background: var(--evint-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--evint-shadow-md);
}

/* FOOTER ESPECÍFICO */
.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--evint-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-links a i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .social-links {
        margin-bottom: 0;
    }
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--evint-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-badges {
        justify-content: flex-end;
        margin-top: 0;
    }
}

.btn-access {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-access i {
    margin-right: 0.5rem;
}

/* MODO FESTIVO (EASTER EGG) */
.festive-mode {
    animation: festive-celebration 5s ease-in-out;
}

.festive-mode .hero-section {
    background: 
        linear-gradient(45deg, #ff6b6b 0%, #4ecdc4 25%, #45b7d1 50%, #96ceb4 75%, #ffeaa7 100%);
    background-size: 400% 400%;
    animation: festive-gradient 2s ease infinite;
}

.festive-mode .floating-element {
    animation: child-playing 1s ease-in-out infinite;
}

@keyframes festive-celebration {
    0%, 100% { filter: hue-rotate(0deg); }
    25% { filter: hue-rotate(90deg); }
    50% { filter: hue-rotate(180deg); }
    75% { filter: hue-rotate(270deg); }
}

@keyframes festive-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* DESTACADO TEMPORAL PARA SECCIONES */
.highlight-section {
    background: rgba(59, 130, 246, 0.1);
    transition: background 0.3s ease;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .stats-counter {
        font-size: 2rem;
    }
    
    .impact-number {
        font-size: 2.5rem;
    }
    
    .ai-visual {
        width: 80px;
        height: 80px;
    }
    
    .ai-brain {
        font-size: 3rem;
    }
}

/* ============================================
   METODOLOGÍA SECTION STYLES
   ============================================ */

/* Metodología Section */
#metodologia {
    position: relative;
    overflow: hidden;
}

#metodologia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%233b82f6" fill-opacity="0.03" fill-rule="nonzero"><circle cx="7" cy="7" r="2.5"/><circle cx="30" cy="7" r="2.5"/><circle cx="53" cy="7" r="2.5"/><circle cx="7" cy="30" r="2.5"/><circle cx="30" cy="30" r="2.5"/><circle cx="53" cy="30" r="2.5"/><circle cx="7" cy="53" r="2.5"/><circle cx="30" cy="53" r="2.5"/><circle cx="53" cy="53" r="2.5"/></g></g></svg>') repeat;
    opacity: 0.5;
    z-index: 1;
}

#metodologia .container {
    position: relative;
    z-index: 2;
}

/* Metodología Cards */
.metodologia-card {
    transition: all var(--evint-transition-smooth);
    position: relative;
    overflow: hidden;
}

.metodologia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.metodologia-card:hover::before {
    left: 100%;
}

.metodologia-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--evint-shadow-xl);
}

/* Enhanced Methodology Process Icons */
.metodologia-phase-enhanced {
    position: relative;
    overflow: hidden;
    transition: all var(--evint-transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.metodologia-phase-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metodologia-phase-enhanced:hover::after {
    opacity: 1;
}

.metodologia-phase-enhanced:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Metodología Phase Icons */
.metodologia-phase-icon {
    position: relative;
    overflow: hidden;
    transition: all var(--evint-transition-smooth);
}

.metodologia-phase-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.metodologia-phase-icon:hover::before {
    width: 100%;
    height: 100%;
}

.metodologia-phase-icon:hover {
    transform: scale(1.1);
}

/* Tech Stack Icons */
.tech-stack-icon {
    transition: all var(--evint-transition-smooth);
}

.tech-stack-icon:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Methodology Professional Flow */
.metodologia-professional-flow {
    position: relative;
}

.metodologia-professional-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 85%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, var(--evint-primary), transparent);
    z-index: 1;
    opacity: 0.3;
}

@media (max-width: 991px) {
    .metodologia-professional-flow::before {
        display: none;
    }
}

/* Enhanced Floating Animation for Methodology */
@keyframes metodologia-professional-float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-3px) scale(1.02);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
    75% {
        transform: translateY(-3px) scale(1.02);
    }
}

.metodologia-floating-enhanced {
    animation: metodologia-professional-float 4s ease-in-out infinite;
}

/* Pulse Effect for Icons */
@keyframes metodologia-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.metodologia-pulse {
    animation: metodologia-pulse 2s infinite;
}

/* Responsive Metodología */
@media (max-width: 768px) {
    #metodologia .display-4 {
        font-size: 2rem;
    }
    
    .metodologia-phase-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .metodologia-phase-icon i {
        font-size: 1.5rem !important;
    }
}

/* Gradient Cards Enhancement */
.metodologia-gradient-card {
    background: linear-gradient(135deg, var(--evint-primary) 0%, var(--evint-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.metodologia-gradient-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="white" fill-opacity="0.05" fill-rule="evenodd"><circle cx="10" cy="10" r="3"/><circle cx="30" cy="10" r="3"/><circle cx="10" cy="30" r="3"/><circle cx="30" cy="30" r="3"/></g></svg>') repeat;
    opacity: 0.3;
}

.metodologia-gradient-card .card-body {
    position: relative;
    z-index: 2;
}
