        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #1a252f 50%, #2c3e50 75%, #34495e 100%);
            background-size: 400% 400%;
            animation: gradientShift 20s ease infinite;
            min-height: 100vh;
            padding: 0;
            color: #f8f9fa;
            line-height: 1.6;
        }

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

        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .header {
            background: linear-gradient(135deg, #2c3e50 0%, #3498db 25%, #2980b9 50%, #34495e 75%, #2c3e50 100%);
            background-size: 300% 300%;
            animation: headerGradient 15s ease infinite;
            padding: 60px 40px;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
            border-bottom: 2px solid rgba(255, 255, 255, 0.2);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin-top: 20px;
        }

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

        .titulo-flex {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .logo {
            width: 200px;   
            height: auto;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 200%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            animation: shimmer 8s ease-in-out infinite;
        }

        @keyframes shimmer {
            0% { left: -100%; }
            50% { left: 100%; }
            100% { left: 100%; }
        }

        .header h1 {
            font-family: "Georgia", serif;
            font-size: 3.5rem;
            font-weight: 600;
            margin-bottom: 16px;
            position: relative;
            z-index: 1;
            color: #ffffff;
            letter-spacing: -0.02em;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
        }

        .header p {
            font-size: 1.3rem;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.9);
            position: relative;
            z-index: 1;
            max-width: 600px;
            margin: 0 auto;
            margin-top: 8px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .nav-buttons {
            display: flex;
            gap: 20px;
            margin-top: 30px;
        }

        .nav-btn {
            display: inline-block;
            background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
            color: #ffffff;
            text-decoration: none;
            padding: 16px 32px;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            border: 2px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            transition: transform 0.15s ease, box-shadow 0.15s ease;
            cursor: pointer;
            will-change: transform, box-shadow;
        }

        .nav-btn:hover {
            transform: translateY(-2px) scale(1.02); /* Reduzca la escala de 1.05 a 1.02 */
            box-shadow: 0 8px 20px rgba(46, 204, 113, 0.5); /* Simplifique la sombra */
        }

        .nav-btn.secondary {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
        }

        .nav-btn.secondary:hover {
            box-shadow: 0 10px 30px rgba(41, 128, 185, 0.6);
            background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
        }

        .content-section {
            display: none;
        }

        .content-section.active {
            display: block;
        }

        .search-container {
            padding: 40px 40px 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(52, 73, 94, 0.1);
        }

        .search-box {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            display: block;
            padding: 18px 24px;
            font-size: 1rem;
            font-weight: 400;
            background: rgba(44, 62, 80, 0.8);
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            outline: none;
            color: #ffffff;
            transition: all 0.3s ease;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .search-box::placeholder {
            color: rgba(255, 255, 255, 0.6);
            font-weight: 300;
        }

        .search-box:focus {
            border-color: #3498db;
            background: rgba(52, 152, 219, 0.2);
            transform: translateY(-1px);
            box-shadow: 0 8px 24px rgba(52, 152, 219, 0.3);
        }

        .filters {
            padding: 0 40px 30px;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
            background: rgba(46, 64, 83, 0.1);
        }

        .filter-btn {
            padding: 12px 24px;
            background: rgba(44, 62, 80, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.1s ease, background-color 0.15s ease, border-color 0.15s ease;
            font-size: 0.9rem;
            font-weight: 500;
            color: #ffffff;
            position: relative;
            overflow: hidden;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            will-change: transform, box-shadow;
        }

        .filter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.3) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .filter-btn:hover::before {
            opacity: 1;
        }

        .filter-btn:hover {
            background: rgba(52, 152, 219, 0.8);
            color: #ffffff;
            border-color: #3498db;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(52, 152, 219, 0.3);
        }

        .filter-btn.active {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            color: #ffffff;
            border-color: #2980b9;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(41, 128, 185, 0.4);
            font-weight: 600;
        }

        .projects-grid {
            padding: 40px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 24px;
            background: rgba(52, 73, 94, 0.05);
        }

        .project-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s ease;
            cursor: pointer;
            position: relative;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(46, 204, 113, 0.08) 50%, rgba(155, 89, 182, 0.08) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .project-card:hover::before {
            opacity: 1;
        }

        .project-card:hover {
            transform: translateY(-8px);
            border-color: #3498db;
            box-shadow: 0 16px 40px rgba(52, 152, 219, 0.2);
            scale: 1.02;
        }

        .project-card.placeholder {
            opacity: 0.5;
            border-style: dashed;
            border-color: rgba(255, 255, 255, 0.3);
        }

        .project-card.placeholder:hover {
            transform: none;
            cursor: default;
        }

        .project-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #34495e 0%, #2c3e50 25%, #3498db 50%, #2980b9 75%, #34495e 100%);
            background-size: 200% 200%;
            animation: imageGradient 12s ease infinite;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3.5rem;
            position: relative;
            overflow: hidden;
        }

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

        .project-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 50%);
        }

        .project-content {
            padding: 28px;
        }

        .student-info {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .student-avatar {
            width: 52px;
            height: 52px;
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-weight: 700;
            margin-right: 16px;
            font-size: 1.1rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
        }

        .student-details h3 {
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 4px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .student-details .grade {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            font-weight: 500;
        }

        .teacher-info {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.8rem;
            margin-top: 4px;
            font-weight: 400;
        }

        .project-title {
            font-size: 1.3rem;
            color: #ffffff;
            font-weight: 700;
            margin-bottom: 16px;
            line-height: 1.3;
            letter-spacing: -0.01em;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        .project-category {
            display: inline-block;
            background: rgba(52, 152, 219, 0.2);
            backdrop-filter: blur(10px);
            color: #ffffff;
            padding: 8px 16px;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 16px;
            border: 1px solid rgba(52, 152, 219, 0.3);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        .project-description {
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.6;
            font-size: 0.9rem;
            font-weight: 300;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 73, 94, 0.95) 100%);
            backdrop-filter: blur(30px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            padding: 40px;
            max-width: 700px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            animation: slideIn 0.3s ease;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        }

        @keyframes slideIn {
            from { transform: translate(-50%, -60%); opacity: 0; scale: 0.95; }
            to { transform: translate(-50%, -50%); opacity: 1; scale: 1; }
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 24px;
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 1.2rem;
            cursor: pointer;
            color: #ffffff;
            transition: all 0.3s ease;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-weight: 700;
            box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
        }

        .close-btn:hover {
            background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(192, 57, 43, 0.4);
        }

        .stats {
            padding: 50px 40px;
            background: rgba(44, 62, 80, 0.1);
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .stats h2 {
            margin-bottom: 32px;
            color: #ffffff;
            font-weight: 700;
            font-size: 2.2rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            max-width: 800px;
            margin: 0 auto;
        }

        .stat-item {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 28px 20px;
            border-radius: 12px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }

        .stat-item:hover {
            border-color: #3498db;
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(52, 152, 219, 0.2);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 8px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            font-weight: 400;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        /* Estilos para la sección del cronograma */
        .info-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            padding: 30px;
            background: rgba(52, 73, 94, 0.1);
        }

        .info-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
            backdrop-filter: blur(20px);
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-left: 4px solid;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .info-card.grupos { border-left-color: #3498db; }
        .info-card.horarios { border-left-color: #e74c3c; }
        .info-card.stands { border-left-color: #2ecc71; }
        .info-card.tiempos { border-left-color: #f39c12; }

        .info-card h3 {
            color: #ffffff;
            margin-bottom: 10px;
            font-size: 1.2em;
        }

        .info-card p {
            color: rgba(255, 255, 255, 0.85);
        }

        .schedule-container {
            padding: 30px;
        }

        .schedule-section {
            margin-bottom: 40px;
        }

        .schedule-title {
            background: linear-gradient(135deg, #34495e, #2c3e50);
            color: white;
            padding: 15px 25px;
            border-radius: 8px;
            font-size: 1.3em;
            font-weight: 600;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .schedule-table {
            overflow-x: auto;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background: rgba(255, 255, 255, 0.08);
            font-size: 0.75em;
        }

        th {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            padding: 10px 5px;
            text-align: center;
            font-weight: 600;
            position: sticky;
            top: 0;
            z-index: 10;
            font-size: 0.9em;
        }

        td {
            padding: 8px 5px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: background-color 0.3s ease;
            font-size: 0.85em;
            color: rgba(255, 255, 255, 0.9);
        }

        tr:nth-child(even) {
            background-color: rgba(255, 255, 255, 0.05);
        }

        tr:hover {
            background-color: rgba(52, 152, 219, 0.1);
        }

        .grado {
            font-weight: 600;
            color: #ffffff;
            background: rgba(44, 62, 80, 0.8) !important;
            position: sticky;
            left: 0;
            z-index: 5;
        }

        .stand-cell {
            font-size: 0.8em;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.85);
            padding: 5px 3px;
        }

        .nota-importante {
            background: linear-gradient(135deg, rgba(255, 243, 205, 0.2) 0%, rgba(255, 234, 167, 0.15) 100%);
            border: 1px solid rgba(255, 234, 167, 0.3);
            border-radius: 8px;
            padding: 20px;
            margin: 20px 0;
            backdrop-filter: blur(10px);
        }

        .nota-importante h4 {
            color: #f39c12;
            margin-bottom: 10px;
            font-size: 1.1em;
        }

        .nota-importante p {
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.5;
        }

        .legend {
            background: rgba(52, 73, 94, 0.1);
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .legend h4 {
            color: #ffffff;
            margin-bottom: 15px;
        }

        .legend p {
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.8;
        }

        /* Estilos para filas y celdas destacadas */
        tr.highlighted-row {
            background: linear-gradient(135deg, rgba(241, 196, 15, 0.35) 0%, rgba(243, 156, 18, 0.3) 100%) !important;
            animation: pulseHighlight 2s ease-in-out infinite;
        }

        @keyframes pulseHighlight {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.85; }
        }

        td.highlighted-cell {
            background: rgba(241, 196, 15, 0.45) !important;
            color: #ffffff !important;
            font-weight: 600 !important;
            border: 2px solid rgba(243, 156, 18, 0.7) !important;
            position: relative;
            animation: cellGlow 1.5s ease-in-out infinite;
            box-shadow: inset 0 0 10px rgba(241, 196, 15, 0.3);
        }

        @keyframes cellGlow {
            0%, 100% { box-shadow: 0 0 15px rgba(241, 196, 15, 0.6); }
            50% { box-shadow: 0 0 25px rgba(243, 156, 18, 0.9); }
        }

        @media (max-width: 768px) {
            .header {
                padding: 40px 24px;
            }
            
            .header h1 {
                font-size: 2.2rem;
            }
            
            .nav-buttons {
                flex-direction: column;
                width: 100%;
            }
            
            .nav-btn {
                width: 100%;
                text-align: center;
            }
            
            .search-container {
                padding: 30px 24px 20px;
            }
            
            .filters {
                padding: 0 24px 24px;
                gap: 8px;
            }
            
            .filter-btn {
                padding: 10px 16px;
                font-size: 0.8rem;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
                padding: 24px;
                gap: 20px;
            }
            
            .project-content {
                padding: 20px;
            }
            
            .stats {
                padding: 32px 24px;
            }
            
            .stats h2 {
                font-size: 1.8rem;
            }
            
            .modal-content {
                padding: 28px 20px;
            }
            
            table {
                font-size: 0.7em;
            }
            
            th, td {
                padding: 6px 3px;
            }

            
        }