/* Usamos la fuente Poppins para un look más moderno */
        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.7;
        }

        /* Colores primarios y secundarios (personalízalos) */
        :root {
            --bs-primary: #ff0000; /* Rojo (Bootstrap Danger) */
            --bs-secondary: #f4b400; /* Amarillo/Dorado */
            --bs-light-gray: #f8f9fa;
        }

        /* Ajustes de la barra de navegación */
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            white-space: normal;
            word-break: break-word;
            /*max-width: calc(100% - 70px);*/
            text-align: center;
        }

        .navbar {
            transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
        }

        /* Clase que se añade con JS al hacer scroll */
        .navbar-scrolled {
            background-color: #ffffff;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .navbar-hidden {
            transform: translateY(-100%);
        }

        /* Estilo del carrusel (Hero) */
        .carousel-item {
            height: 100vh; /* Altura del carrusel */
            min-height: 400px;
        }

        .carousel-item img {
            object-fit: cover;
            height: 100%;
            width: 100%;
            filter: brightness(0.6); /* Oscurece la imagen para que el texto resalte */
        }

        .carousel-caption {
            bottom: 20%;
        }

        .carousel-caption h5 {
            font-size: 3rem;
            font-weight: 700;
        }

        /* Estilo para las secciones */
        .section-padding {
            padding: 80px 0;
        }

        /* Estilo para tarjetas (niveles, noticias) */
        .card {
            border: none;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }
        
        .card-img-top {
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
            height: 250px;
            object-fit: cover;
        }

        /* Iconos de la sección "Niveles" */
        .level-icon {
            font-size: 3rem;
            color: var(--bs-primary);
        }

        /* Botón de acceso rápido */
        .quick-access .card {
            background: linear-gradient(135deg, var(--bs-primary), #b02a37); /* Gradiente rojo */
            color: white;
            text-align: center;
        }

        .quick-access .card-body {
            padding: 2rem;
        }

        .quick-access-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        /* Pie de página (Footer) */
        .footer {
            background-color: #212529;
            color: #adb5bd;
        }

        .footer .footer-title {
            color: #ffffff;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .footer .social-icon {
            font-size: 1.5rem;
            margin-right: 15px;
            color: #ffffff;
            transition: color 0.3s ease;
        }

        .footer .social-icon:hover {
            color: var(--bs-secondary);
        }

        .footer .footer-link {
            text-decoration: none;
            color: #adb5bd;
            transition: color 0.3s ease;
        }

        .footer .footer-link:hover {
            color: #ffffff;
        }

        /* ESTILOS CORREGIDOS PARA BOTONES ROJOS */
        .btn-primary {
            background-color: var(--bs-primary) !important;
            border-color: var(--bs-primary) !important;
        }

        .btn-primary:hover, .btn-primary:focus {
            background-color: #ff0000 !important;
            border-color: #ff0000 !important;
        }

        .btn-outline-primary {
            color: var(--bs-primary) !important;
            border-color: var(--bs-primary) !important;
        }

        .btn-outline-primary:hover, .btn-outline-primary:focus {
            background-color: var(--bs-primary) !important;
            color: white !important;
        }

        .badge.bg-primary-subtle {
            background-color: rgba(220, 53, 69, 0.15) !important;
            color: var(--bs-primary) !important;
        }

        .btn-link.text-primary {
            color: var(--bs-primary) !important;
        }

        .btn-link.text-primary:hover {
            color: #b02a37 !important;
        }

        .text-primary {
            color: var(--bs-primary) !important;
        }