/* ===== RESET Y CONFIGURACIÓN BASE ===== */
/* Estilos base, variables CSS y configuración global */

/* Reset universal - elimina márgenes y padding por defecto */
* {
    margin: 0;          /* Elimina márgenes externos */
    padding: 0;         /* Elimina padding interno */
    box-sizing: border-box; /* Incluye padding y border en el ancho total */
}

:root {
    /* ===== PALETA DE COLORES ===== */
    --primary-color: #667eea;    /* Color principal (lila) */
    --primary-dark: #5a67d8;     /* Versión más oscura del primario */
    --secondary-color: #f59e0b;  /* Color secundario (dorado) */
    --accent-color: #764ba2;     /* Color de acento (lila oscuro) */
    --dark-color: #1f2937;       /* Color oscuro para textos */
    --light-color: #f8fafc;      /* Color claro para fondos */
    --text-color: #374151;       /* Color principal de texto */
    --text-light: #6b7280;       /* Color de texto secundario */
    
    /* ===== GRADIENTES ===== */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);    /* Gradiente principal */
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);  /* Gradiente secundario */
    --gradient-tech: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);       /* Gradiente tecnológico */
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);       /* Gradiente oscuro */
    
    /* ===== SISTEMA DE SOMBRAS ===== */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);        /* Sombra pequeña */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);      /* Sombra media */
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);    /* Sombra grande */
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);    /* Sombra extra grande */
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);     /* Sombra con brillo */
    
    /* ===== VELOCIDADES DE TRANSICIÓN ===== */
    --transition-fast: 0.2s ease;    /* Transición rápida */
    --transition-normal: 0.3s ease;  /* Transición normal */
    --transition-slow: 0.5s ease;    /* Transición lenta */
    
    /* ===== RADIOS DE BORDE ===== */
    --border-radius-sm: 0.375rem;    /* Bordes ligeramente redondeados */
    --border-radius-md: 0.5rem;      /* Bordes medianamente redondeados */
    --border-radius-lg: 0.75rem;     /* Bordes muy redondeados */
    --border-radius-xl: 1rem;        /* Bordes extra redondeados */
}

html {
    scroll-behavior: smooth; /* Hace que el scroll sea suave al navegar */
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;  /* Fuentes principales */
    font-weight: 400;                              /* Peso de fuente normal */
    line-height: 1.6;                              /* Espaciado entre líneas */
    color: var(--text-color);                      /* Color de texto principal */
    background: white;                             /* Fondo blanco */
    overflow-x: hidden;                            /* Oculta scroll horizontal */
    position: relative;                            /* Posicionamiento relativo */
}

/* Eliminado body::before para evitar gris en esquinas redondeadas */

/* ===== CONTENEDOR PRINCIPAL ===== */
/* Contenedor principal para todo el contenido */
.main-wrapper {
    max-width: 1800px;                              /* Ancho máximo del contenido */
    margin: 0 auto;                                 /* Centra el contenedor */
    background: transparent;                        /* Fondo transparente para ver el body */
    min-height: 100vh;                              /* Altura mínima de toda la pantalla */
}

.container {
    max-width: 1400px;    /* Ancho máximo para contenido interno */
    margin: 0 auto;       /* Centra el contenedor */
    padding: 0 1.5rem;    /* Padding horizontal para espaciado */
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: white;
}

.robot-loader {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    position: relative;
}

.robot-head {
    width: 60px;
    height: 40px;
    background: white;
    border-radius: 20px 20px 0 0;
    position: relative;
    margin: 0 auto;
    animation: robotHead 2s infinite;
}

.robot-body {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    animation: robotBody 2s infinite;
}

.eye {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    animation: robotEye 1s infinite;
}

.eye.left { left: 15px; }
.eye.right { right: 15px; }

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

@keyframes robotBody {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes robotEye {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== HEADER ===== */
/* Navegación principal y logo del sitio */
.site-header {
    position: fixed;                              /* Header fijo en la parte superior */
    top: 0;                                       /* Pegado al tope */
    left: 50%;                                    /* Centrado horizontalmente */
    transform: translateX(-50%);                  /* Ajuste fino del centrado */
    width: 100%;                                  /* Ancho completo */
    max-width: 1800px;                           /* Ancho máximo igual al main-wrapper */
    background: rgba(248, 250, 252, 0.95);      /* Fondo gris claro original */
    backdrop-filter: blur(10px);                 /* Efecto de desenfoque */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Borde inferior sutil */
    z-index: 1000;                               /* Por encima de otros elementos */
    transition: var(--transition-normal);        /* Transición suave */
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin: 0 10rem 0 0;
}

.logo-img {
    height: 35px;
    width: auto;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    line-height: 1;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1.1rem;
}

.contact-btn {
    background: var(--gradient-secondary);
    color: white !important;
    box-shadow: var(--shadow-md);
}

.contact-btn::before {
    display: none;
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 0.25rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.lang-btn.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.flag-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition-normal);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
/* Sección principal de la página de inicio con slider */
.hero-section {
    min-height: 60vh;                             /* Altura mínima del 50% de la pantalla */
    background: var(--gradient-dark);             /* Fondo con gradiente oscuro */
    position: relative;                           /* Posicionamiento relativo */
    overflow: hidden;                             /* Oculta contenido que se salga */
    display: flex;                                /* Layout flexible */
    align-items: center;                          /* Centra verticalmente */
    justify-content: center;                      /* Centra horizontalmente */
    padding: 0;                                   /* Sin padding para centrado perfecto */
    width: calc(100% - 4rem);                    /* Ancho con margen de 2rem a cada lado */
    border-radius: 3rem;                          /* Bordes muy redondeados */
    margin: 2rem;                                 /* Margen exterior */
    margin-top: 100px;                           /* Margen superior extra para el header */
}

.hero-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;

    animation: particleFloat 20s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-robot,
.floating-gear,
.floating-chip {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-robot {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-gear {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-chip {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-slow);
    padding: 0 2rem;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    max-width: 600px;
    color: white;
    z-index: 3;
}

.hero-title {
    font-family: 'Poppins', sans-serif;          /* Fuente específica para títulos */
    font-weight: 800;                             /* Peso de fuente extra bold */
    font-size: clamp(2.5rem, 5vw, 4rem);         /* Tamaño responsive: mínimo 2.5rem, máximo 4rem */
    line-height: 1.1;                             /* Espaciado compacto entre líneas */
    margin-bottom: 1.5rem;                        /* Espacio inferior */
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleSlideIn 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.highlight {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.btn {
    display: inline-flex;                         /* Botón como elemento flexible inline */
    align-items: center;                          /* Centra elementos verticalmente */
    gap: 0.5rem;                                  /* Espacio entre icono y texto */
    padding: 1rem 2rem;                           /* Padding interno */
    border: none;                                 /* Sin borde por defecto */
    border-radius: var(--border-radius-lg);      /* Bordes redondeados */
    font-weight: 600;                             /* Peso de fuente semi-bold */
    text-decoration: none;                        /* Sin subrayado */
    transition: var(--transition-normal);         /* Transición suave */
    cursor: pointer;                              /* Cursor de mano */
    position: relative;                           /* Para efectos hover */
    overflow: hidden;                             /* Oculta efectos que se salgan */
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-glow {
    position: relative;
}

.btn-glow::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: var(--transition-normal);
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-play {
    position: relative;
}

.btn-play i {
    transition: var(--transition-normal);
}

.btn-play:hover i {
    transform: scale(1.2);
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 1500px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

/* ===== SLIDER CONTROLS ===== */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active,
.dot:hover {
    background: #f59e0b;
    transform: scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

.scroll-arrow {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

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

/* ===== STATS SECTION ===== */
/* Sección de estadísticas y números destacados */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 5rem 0;
    position: relative;
    color: white;
    overflow: hidden;
    border-radius: 3rem;
    margin: 2rem;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.stats-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.stats-section .section-title {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* El + automático solo se aplica a la sección de stats principal */
.stats-section .stat-number::after {
    content: '+';
    font-size: 1.5rem;
    color: #f59e0b;
    opacity: 0.8;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    font-style: italic;
}

/* Stats Highlight */
.stats-highlight {
    text-align: center;
    position: relative;
    z-index: 2;
}

.highlight-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.highlight-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.highlight-content i {
    font-size: 2.5rem;
    color: #f59e0b;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.highlight-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* ===== MAIN CONTENT ===== */
/* Contenido principal de las páginas */
.site-main {
    background: transparent;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 6rem 0;
    background: white;
    border-radius: 3rem;
    margin: 2rem;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-radius: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    padding-right: 2rem;
}

.about-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0rem;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.feature-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(10px);
}

.feature-item i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated i {
    transition: var(--transition-normal);
}

.btn-animated:hover i {
    transform: translateX(5px);
}

/* Estilos específicos para botones en la sección about */
.about-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.about-section .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.about-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Estilos específicos para botones en la sección hero */
.hero-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-section .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.hero-section .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Estilos específicos para botones en la sección activities */
.activities-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.activities-section .btn-card {
    background: var(--gradient-primary);
    color: white;
    width: 100%;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.activities-section .btn-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img {
    width: 100%;
    height: auto;
    transition: var(--transition-normal);
}

.image-container:hover .about-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.overlay-content i {
    color: var(--secondary-color);
}

/* ===== DEVELOPMENT SECTION ===== */
.development-section {
    padding: 6rem 0;
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 3rem;
    margin: 2rem;
}

.development-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.development-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.image-grid {
    display: grid;
    gap: 1rem;
}

.image-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.image-item:hover {
    transform: scale(1.05);
}

.dev-img {
    width: 100%;
    height: auto;
}

.development-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.development-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.skill-item i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.info-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    margin-top: 2rem;
    max-width: fit-content;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.info-card i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.info-card span {
    font-weight: 500;
    color: var(--text-color);
}

/* ===== ACTIVITIES SECTION ===== */
.activities-section {
    padding: 6rem 0;
    background: white;
    border-radius: 3rem;
    margin: 2rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-card {
    background: var(--gradient-primary);
    color: white;
    width: 100%;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.btn-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    border-radius: 3rem;
    margin: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f59e0b;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: #f59e0b;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item i {
    color: #f59e0b;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: calc(50% - 900px + 2rem);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
/* Estilos para pantallas medianas */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-logo {
        margin: 0 0.5rem 0 0; /* Reducir aún más el margen */
    }
    
    .nav-menu {
        gap: 0rem; /* Eliminar completamente el espacio entre enlaces */
    }
    
    .nav-link {
        padding: 0.25rem 0.4rem; /* Reducir aún más el padding */
        font-size: 0.8rem; /* Reducir más el tamaño de fuente */
    }
    
    .logo-text {
        font-size: 1.8rem; /* Reducir más el tamaño del logo */
    }
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .main-wrapper {
        margin: 0;                                /* Sin márgenes en móviles */
        box-shadow: none;                         /* Sin sombras para mejor rendimiento */
        border-radius: 0;                         /* Sin bordes redondeados */
        background: rgba(255, 255, 255, 0.98);   /* Fondo más opaco */
    }

    .site-header {
        left: 0;
        transform: none;
        max-width: 100%;
    }

    .scroll-to-top {
        right: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        width: 90%;
        margin: 0.5rem 0;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .nav-menu .nav-link:hover {
        background: var(--primary-color);
        transform: translateX(-5px);
    }

    .nav-menu .nav-link i {
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }

    .nav-menu .nav-link span {
        font-weight: 500;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo {
        gap: 0.25rem;
        margin-right: 1rem;
    }

    .logo-img {
        height: 30px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Overlay para cerrar el menú */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Language Selector en móviles */
    .language-selector {
        margin-left: 0.5rem;
        gap: 0.25rem;
    }

    .lang-btn {
        width: 35px;
        height: 35px;
    }

    .flag-img {
        width: 20px;
        height: 20px;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-slider {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-img {
        max-width: 500px;
    }

    .slide-content {
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content,
    .development-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section {
        border-radius: 2rem;
        margin: 1rem;
        margin-top: 80px;
        width: calc(100% - 2rem);
    }

    .stats-section {
        border-radius: 2rem;
        margin: 1rem;
    }

    .about-section {
        border-radius: 2rem;
        margin: 1rem;
    }

    .about-section::before {
        border-radius: 2rem;
    }

    .development-section {
        border-radius: 2rem;
        margin: 1rem;
    }

    .activities-section {
        border-radius: 2rem;
        margin: 1rem;
    }

    .site-footer {
        border-radius: 2rem;
        margin: 1rem;
    }

    .stats-section .section-title {
        font-size: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .highlight-content {
        padding: 1.5rem 1rem;
    }

    .highlight-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-logo {
        gap: 0.2rem;
        margin-right: 0.5rem;
    }

    .logo-img {
        height: 25px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* ===== INDEX PAGE SPECIFIC STYLES ===== */
/* Los estilos del hero, stats, about, development, activities ya están definidos arriba */

/* ===== EQUIP PAGE SPECIFIC STYLES ===== */
.equip-hero {
    background: var(--gradient-dark);
    color: white;
    text-align: center;
    padding: 4rem 0;
    border-radius: 3rem;
    margin: 2rem;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 30vh;
}

.equip-hero .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    font-weight: 700;
}

.equip-hero .hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

.equip-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 3rem;
    margin: 2rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 15s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.value-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 ease;
}

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

.value-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 30px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8224e3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.value-card:hover .value-icon::before {
    transform: translateX(100%);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.value-card:hover .value-title {
    color: #6366f1;
    transform: scale(1.05);
}

.value-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.value-card:hover .value-description {
    color: #475569;
    transform: translateY(-5px);
}

/* Team Spirit Section */
.team-spirit-section {
    padding: 6rem 0;
    border-radius: 3rem;
    margin: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.team-spirit-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.team-spirit-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
    line-height: 1.3;
}

.team-spirit-image {
    max-width: 800px;
    margin: 0 auto;
}

.team-img {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Static Numbers */
.static-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1;
}

/* Why GFG Section */
.why-gfg-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e73be 0%, #3b82f6 100%);
    color: white;
    border-radius: 3rem;
    margin: 2rem;
}

.why-gfg-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.why-gfg-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.why-gfg-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.why-gfg-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.why-gfg-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
}

.why-gfg-stats .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.why-gfg-stats .stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.why-gfg-image {
    text-align: center;
}

.robots-img {
    max-width: 100%;
    height: auto;
    border-radius: 2rem;
}

/* CTA Section - Estilos compartidos para todas las páginas */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 50%, rgba(236, 72, 153, 0.15) 100%);
    border-radius: 3rem;
    margin: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 15s ease-in-out infinite;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.cta-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Design for Equip Page */
@media (max-width: 768px) {
    .equip-hero {
        border-radius: 2rem;
        margin: 1rem;
        margin-top: 80px;
        padding: 3rem 0;
    }
    
    .values-section {
        border-radius: 2rem;
        margin: 1rem;
        margin-top: 0.5rem;
        padding: 3rem 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .team-spirit-section {
        border-radius: 2rem;
        margin: 1rem;
        padding: 4rem 0;
    }
    
    .team-spirit-content {
        padding: 0 1rem;
    }
    
    .why-gfg-section {
        border-radius: 2rem;
        margin: 1rem;
        padding: 4rem 0;
    }
    
    .why-gfg-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .why-gfg-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-section {
        border-radius: 2rem;
        margin: 1rem;
        padding: 4rem 0;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* ===== PROGRAMAS PAGE SPECIFIC STYLES ===== */
/* Estilos específicos para la página de robótica educativa */

/* Programas Hero Section */
.programas-hero {
    background: var(--gradient-dark);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.programas-hero::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.programas-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.programas-hero .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.programas-hero .hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.programas-hero .hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.programas-hero .hero-features {
    display: flex;                                /* Layout flexible */
    flex-direction: column;                       /* Elementos apilados verticalmente */
    gap: 0;                                      /* Sin espacio entre elementos */
    margin-bottom: 2rem;                         /* Espacio inferior */
    position: relative;                          /* Posicionamiento relativo */
    z-index: 2;                                  /* Por encima del fondo */
}

.programas-hero .feature-item {
    margin-bottom: -0.5rem;                      /* Margen negativo para juntar elementos */
}

.programas-hero .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.programas-hero .feature-item i {
    font-size: 1.5rem;
    color: #f59e0b;
}

.programas-hero .hero-image {
    text-align: center;
}

.programas-hero .hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    animation: imageFloat 6s ease-in-out infinite;
}

/* Metode Section */
.metode-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    border-radius: 3rem;
    margin: 2rem;
}

/* Eliminado .metode-section::before para evitar gris en esquinas redondeadas */

.metode-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.metode-text .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.metode-text .section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.metode-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.metode-section .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}



.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.metode-image {
    text-align: center;
}

.metode-img {
    max-width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Objectius Section */
.objectius-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    border-radius: 3rem;
    margin: 2rem;
    position: relative;
    overflow: hidden;
}

.objectius-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

.objectius-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.objectius-section .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.objectius-section .section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.objectius-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.objectiu-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.objectiu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.objectiu-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.objectiu-card .card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.objectiu-card .card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.objectiu-card:hover .card-icon::before {
    transform: translateX(100%);
}

.objectiu-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.objectiu-card .card-icon i {
    font-size: 2rem;
    color: white;
}

.objectiu-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.objectiu-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
}

/* Creativitat Section */
.creativitat-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #819678 0%, #c7d3c5 100%);
    color: white;
    position: relative;
    border-radius: 3rem;
    margin: 2rem;
}

/* Eliminado .creativitat-section::before para evitar gris en esquinas redondeadas */

.creativitat-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
    position: relative;
    z-index: 2;
}

.creativitat-text .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-align: center;
}

.creativitat-text .section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
}

.creativitat-objectives {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.objective-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
    min-width: 1.5rem;
    text-align: left;
}

.objective-text {
    color: white;
    opacity: 0.95;
    flex: 1;
    font-size: 1.6rem;
}

.creativitat-image {
    text-align: center;
}

.creativitat-img {
    max-width: 100%;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Botón en la sección de creativitat - mismo estilo que la página principal */
.creativitat-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.creativitat-section .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.creativitat-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.creativitat-section .btn-animated {
    position: relative;
    overflow: hidden;
}

.creativitat-section .btn-animated i {
    transition: var(--transition-normal);
}

.creativitat-section .btn-animated:hover i {
    transform: translateX(5px);
}

/* Estilos de botones específicos para la página de programas */

/* Botones específicos para la página de programas - mismo estilo que la página principal */
.cta-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-section .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.cta-section .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.cta-section .btn-animated {
    position: relative;
    overflow: hidden;
}

.cta-section .btn-animated i {
    transition: var(--transition-normal);
}

.cta-section .btn-animated:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Programas Page */
@media (max-width: 768px) {
    .programas-hero .hero-content {
        gap: 1.5rem;
        text-align: center;
    }
    
    .programas-hero .hero-container {
        padding: 0 1rem;
    }
    

    
    .metode-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .objectius-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .programas-hero .hero-features {
        gap: 0;
    }
    
    .programas-hero .feature-item {
        font-size: 1rem;
        margin-bottom: -0.3rem; /* Menos separación en móviles */
    }
    
    .objectiu-card {
        padding: 2rem;
    }
    
    .objectiu-card .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .objectiu-card .card-icon i {
        font-size: 1.5rem;
    }
    
    /* Responsive para secciones con bordes redondeados */
    .metode-section,
    .objectius-section,
    .creativitat-section,
    .cta-section {
        border-radius: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .programas-hero {
        padding: 6rem 0 4rem;
    }
    
    .metode-section,
    .objectius-section,
    .creativitat-section,
    .cta-section {
        padding: 4rem 0;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .objectiu-card {
        padding: 1.5rem;
    }
}

/* ===== ESTILOS PARA LA PÁGINA DE ACTIVIDADES ===== */

/* Hero Section para Actividades - Mismo estilo que el hero principal */
.actividades-hero-section {
    min-height: 20vh;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: calc(100% - 4rem);
    border-radius: 3rem;
    margin: 2rem;
    margin-top: 100px;
}

.actividades-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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

/* Efectos de partículas para actividades */
.actividades-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Elementos flotantes para actividades */
.actividades-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.actividades-floating-robot,
.actividades-floating-gear,
.actividades-floating-chip {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.actividades-floating-robot {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.actividades-floating-gear {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.actividades-floating-chip {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

.actividades-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
}

.actividades-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
}

/* Sección de Objetivos con esquinas redondeadas y colores dinámicos */
.actividades-objectives-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    width: calc(100% - 4rem);
    border-radius: 3rem;
    margin: 2rem;
}

.actividades-objectives-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.actividades-objectives-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.actividades-objectives-content .section-title {
    color: white;
}

.actividades-objectives-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.actividades-objective-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

.actividades-objective-item:hover::before {
    left: 100%;
}

.actividades-objective-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.actividades-objective-icon {
    font-size: 2.5rem;
    min-width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.3);
    transition: all 0.3s ease;
}

.actividades-objective-item:hover .actividades-objective-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(245, 87, 108, 0.4);
}

.actividades-objective-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

/* Sección de Programas con esquinas redondeadas y colores dinámicos */
.actividades-programs-section {
    padding: 6rem 0;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    width: calc(100% - 4rem);
    border-radius: 3rem;
    margin: 2rem;
}

.actividades-programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.actividades-programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.actividades-program-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.actividades-program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.actividades-program-card:hover::after {
    opacity: 1;
}

.actividades-program-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.actividades-program-image {
    height: 250px;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
}

.actividades-program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.actividades-program-card:hover .actividades-program-image img {
    transform: scale(1.1);
}

.actividades-program-content {
    padding: 2.5rem;
}

.actividades-program-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.actividades-program-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Sección de Herramientas con esquinas redondeadas y colores dinámicos */
.actividades-tools-section {
    padding: 6rem 0;
    background: var(--gradient-tech);
    position: relative;
    overflow: hidden;
    width: calc(100% - 4rem);
    border-radius: 3rem;
    margin: 2rem;
}

.actividades-tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.actividades-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.actividades-tool-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.actividades-tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.actividades-tool-card:hover::after {
    opacity: 1;
}

.actividades-tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.actividades-tool-image {
    height: 220px;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.actividades-tool-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.actividades-tool-card:hover .actividades-tool-image img {
    transform: scale(1.08);
}

.actividades-tool-content {
    padding: 2rem;
}

.actividades-tool-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.actividades-tool-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section para Actividades con esquinas redondeadas y colores dinámicos */
.actividades-cta-section {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 6rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 3rem;
    margin: 2rem;
}

.actividades-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.actividades-cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.actividades-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.actividades-cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Efecto especial para el botón CTA */
.actividades-cta-section .btn {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.actividades-cta-section .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.actividades-cta-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.actividades-cta-section .btn:hover::before {
    left: 100%;
}

/* ===== ESTILOS PARA LA PÁGINA DE PROYECTOS ===== */

/* Hero Section para Proyectos - Mismo estilo que actividades */
.proyectos-hero-section {
    min-height: 20vh;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: calc(100% - 4rem);
    border-radius: 3rem;
    margin: 2rem;
    margin-top: 100px;
}

.proyectos-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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

/* Efectos de partículas para proyectos */
.proyectos-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Elementos flotantes para proyectos */
.proyectos-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.proyectos-floating-robot,
.proyectos-floating-gear,
.proyectos-floating-chip {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.proyectos-floating-robot {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.proyectos-floating-gear {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.proyectos-floating-chip {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

.proyectos-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
}

.proyectos-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
}

/* Sección de Proyectos con esquinas redondeadas y colores dinámicos */
.proyectos-projects-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    width: calc(100% - 4rem);
    border-radius: 3rem;
    margin: 2rem;
}

.proyectos-projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.proyectos-projects-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.proyectos-projects-content .section-title {
    color: white;
}

.proyectos-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.proyectos-project-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.proyectos-project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.proyectos-project-card:hover::after {
    opacity: 1;
}

.proyectos-project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.proyectos-project-image {
    height: 250px;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
}

.proyectos-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.proyectos-project-card:hover .proyectos-project-image img {
    transform: scale(1.1);
}

.proyectos-project-content {
    padding: 2.5rem;
}

.proyectos-project-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.proyectos-project-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section para Proyectos con esquinas redondeadas y colores dinámicos */
.proyectos-cta-section {
    background: var(--gradient-tech);
    padding: 6rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 3rem;
    margin: 2rem;
}

.proyectos-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.proyectos-cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.proyectos-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.proyectos-cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Efecto especial para el botón CTA */
.proyectos-cta-section .btn {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.proyectos-cta-section .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.proyectos-cta-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.proyectos-cta-section .btn:hover::before {
    left: 100%;
}

/* ===== ESTILOS PARA LA PÁGINA DE CONTACTO ===== */

.contacto-hero-section {
    background: var(--gradient-dark);
    min-height: 20vh;
    margin-top: 100px;
    border-radius: 20px;
    margin: 100px 2rem 2rem;
    padding: 3rem 0;
    width: calc(100% - 4rem);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.contacto-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contacto-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.contacto-floating-phone,
.contacto-floating-email,
.contacto-floating-location {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

.contacto-floating-phone {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.contacto-floating-email {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.contacto-floating-location {
    bottom: 30%;
    left: 25%;
    animation-delay: 3s;
}

.contacto-hero-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
    z-index: 2;
    position: relative;
}

.contacto-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    z-index: 2;
    position: relative;
}

.contacto-info-section {
    background: var(--gradient-primary);
    margin: 2rem;
    border-radius: 20px;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.contacto-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}



.contacto-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.contacto-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contacto-info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contacto-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contacto-info-card:hover::after {
    opacity: 1;
}

.contacto-info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.contacto-info-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contacto-info-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contacto-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contacto-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contacto-cta-section {
    background: var(--gradient-tech);
    margin: 2rem;
    border-radius: 20px;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.contacto-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contacto-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.contacto-cta-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contacto-cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contacto-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contacto-cta-buttons .btn {
    min-width: 150px;
}

/* ===== ESTILOS PARA LA PÁGINA DE PROGRAMACIÓN ===== */

/* Hero Section para Programación - Mismo estilo que actividades */
.programacion-hero-section {
    min-height: 20vh;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: calc(100% - 4rem);
    border-radius: 3rem;
    margin: 2rem;
    margin-top: 100px;
}

.programacion-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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

/* Efectos de partículas para programación */
.programacion-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Elementos flotantes para programación */
.programacion-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.programacion-floating-code,
.programacion-floating-bug,
.programacion-floating-robot {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.programacion-floating-code {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.programacion-floating-bug {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.programacion-floating-robot {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

.programacion-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
}

.programacion-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
}

/* Sección de Herramientas de Programación con esquinas redondeadas y colores dinámicos */
.programacion-tools-section {
    padding: 6rem 0;
    background: var(--gradient-tech);
    position: relative;
    overflow: hidden;
    width: calc(100% - 4rem);
    border-radius: 3rem;
    margin: 2rem;
}

.programacion-tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(79, 172, 254, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.programacion-tools-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.programacion-tools-content .section-title {
    color: white;
}

.programacion-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.programacion-tool-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.programacion-tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.programacion-tool-card:hover::after {
    opacity: 1;
}

.programacion-tool-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(79, 172, 254, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.programacion-tool-image {
    height: 250px;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
}

.programacion-tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.programacion-tool-card:hover .programacion-tool-image img {
    transform: scale(1.1);
}

.programacion-tool-content {
    padding: 2.5rem;
}

.programacion-tool-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.programacion-tool-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section para Programación con esquinas redondeadas y colores dinámicos */
.programacion-cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 3rem;
    margin: 2rem;
}

.programacion-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.programacion-cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.programacion-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.programacion-cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Efecto especial para el botón CTA */
.programacion-cta-section .btn {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.programacion-cta-section .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.programacion-cta-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.programacion-cta-section .btn:hover::before {
    left: 100%;
}

/* Responsive Design para Actividades */
@media (max-width: 1024px) {
    .actividades-programs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .actividades-tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .proyectos-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .programacion-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .actividades-hero-title {
        font-size: 2.5rem;
    }
    
    .actividades-objectives-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .actividades-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .actividades-objectives-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .actividades-programs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .actividades-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .proyectos-projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .programacion-tools-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .actividades-cta-title {
        font-size: 2rem;
    }
    
    .actividades-objective-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
    
    .actividades-objective-icon {
        min-width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .actividades-program-card,
    .actividades-tool-card {
        border-radius: 1.5rem;
    }
    
    .actividades-program-image,
    .actividades-tool-image {
        border-radius: 1rem 1rem 0 0;
    }
    
    .actividades-cta-section {
        border-radius: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .actividades-hero-section,
    .proyectos-hero-section,
    .programacion-hero-section,
    .contacto-hero-section {
        padding: 6rem 0 4rem;
        border-radius: 2rem;
        margin: 1rem;
        margin-top: 80px;
    }
    
    .actividades-objectives-section,
    .actividades-programs-section,
    .actividades-tools-section,
    .actividades-cta-section,
    .proyectos-projects-section,
    .proyectos-cta-section,
    .programacion-tools-section,
    .programacion-cta-section,
    .contacto-info-section,
    .contacto-cta-section {
        padding: 4rem 0;
    }
    
    .actividades-hero-title {
        font-size: 2rem;
    }
    
    .actividades-program-content,
    .actividades-tool-content {
        padding: 1.5rem;
    }
    
    .actividades-cta-title {
        font-size: 1.8rem;
    }
    
    .actividades-objective-item {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }
    
    .actividades-program-card,
    .actividades-tool-card {
        border-radius: 1.25rem;
    }
    
    .actividades-program-image,
    .actividades-tool-image {
        border-radius: 0.75rem 0.75rem 0 0;
    }
    
    .contacto-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .contacto-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contacto-cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ===== PÁGINA DE CENTROS ===== */

/* Hero Section de Centros */
.centros-hero-section {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    border-radius: 30px;
    margin: 100px auto 2rem auto;
    padding: 0;
    width: 90%;
    overflow: hidden;
}

.centros-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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.centros-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.centros-hero-subtitle {
    font-size: 1.5rem;
    color: white;
    text-align: center;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.centros-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Efectos de partículas para centros */
.centros-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Elementos flotantes para centros */
.centros-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.centros-floating-school,
.centros-floating-teacher,
.centros-floating-students {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

.centros-floating-school {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.centros-floating-teacher {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.centros-floating-students {
    bottom: 25%;
    left: 70%;
    animation-delay: 4s;
}

/* Sección de Centros Educativos */
.centros-schools-section {
    padding: 4rem 0;
    background: var(--gradient-tech);
    border-radius: 30px;
    margin: 2rem auto;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.centros-schools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 30px;
    z-index: 1;
}

.centros-schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.centros-school-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.centros-school-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.centros-school-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.centros-school-card:hover .centros-school-image img {
    transform: scale(1.1);
}

.centros-school-content {
    padding: 1.5rem;
}

.centros-school-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.centros-school-description {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.8;
}

/* CTA Section de Centros */
.centros-cta-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    border-radius: 30px;
    margin: 2rem auto;
    width: 90%;
    position: relative;
    overflow: hidden;
}

.centros-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 30px;
    z-index: 1;
}

.centros-cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.centros-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.centros-cta-text {
    font-size: 1.2rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive para centros */
@media (max-width: 768px) {
    .centros-hero-title {
        font-size: 3rem;
    }
    
    .centros-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .centros-schools-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .centros-cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .centros-hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .centros-hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .centros-hero-subtitle {
        font-size: 1rem;
    }
    
    .centros-schools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .centros-cta-title {
        font-size: 1.5rem;
    }
    
    .centros-cta-text {
        font-size: 1rem;
    }
}

