/* ------------------------------------------------------------------
   VIDEO PARTE SUPERIOR
------------------------------------------------------------------ */
body {
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    margin: 0;
}

#page-title {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 60px 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: auto; /* Restablece el z-index */

}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    filter: brightness(0.2); /* Ajusta el valor de brillo entre 0 y 1 */
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

.overlay-rya-img {
    position: absolute;
    top: 34%; /* Ajusta para que esté encima de la imagen blog.png */
    left: 50%;
    transform: translateX(-50%);
    width: 20%; /* Ajusta el tamaño de la imagen de acuerdo al diseño */
    height: auto;
}

.overlay-accion-img {
    position: absolute;
    top: 54%; /* Ajusta para que esté debajo de la imagen rya.png */
    left: 50%;
    transform: translateX(-50%);
    width: 20%; /* Ajusta el tamaño de la imagen de acuerdo al diseño */
    height: auto;
}

/* Nueva imagen al final */
.overlay-formato-img {
    position: absolute;
    bottom: 0; /* Ubica la imagen en la parte inferior */
    left: 50%;
    transform: translateX(-50%);
    width: 103%; /* Se ajusta al 100% del ancho */
    height: 30%;
}

.section {
    padding: 60px 15px;
    background-color: #f9f9f9;
}

.feature-panel {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 30px;
}

.feature-panel .feature--icon {
    margin-bottom: 20px;
}

.feature-panel h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-panel p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.bg-section {
    height: 450px;
}

@media (max-width: 768px) {
    #page-title {
        padding: 40px 0;
    }

    #page-title .title--heading {
        margin-top: -10px;
    }

    .bg-section {
        height: 220px;
    }

    .feature-panel {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    #page-title {
        padding: 30px 0;
    }

    #page-title .title--heading {
        margin-top: 0;
    }

    .bg-section {
        height: 300px;
    }

    .feature-panel {
        margin-bottom: 15px;
    }
}




/* ------------------------------------------------------------------
   SECCIÓN PERSONALIZADA (Debajo del video)
------------------------------------------------------------------ */
.custom-section {
    position: relative !important;
    margin-top: -60px !important; /* Hace que esta sección sobrepase la sección del video */
    display: flex !important;
    justify-content: space-between !important;
    gap: 0 !important;
}


.row {
    display: flex;
    width: 110%;
}

.col-left {
    padding: 1rem;
    overflow: hidden;
    width: 64%;
    /* Asignamos el 64% de ancho */
}

.col-right {
    padding: 1rem;
    overflow: hidden;
    width: 37%;
    /* Asignamos el 33% de ancho */
    margin-left: auto;
    /* Asegura que la columna de la derecha esté pegada al lado derecho */
}

.col-left img,
.col-right img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Responsivo en pantallas pequeñas */
@media (max-width: 768px) {
    .custom-section {
        flex-direction: column;
        margin-top: 0;
        /* Elimina el margen superior ajustado */
        padding: 1rem 5%;
    }

    .col-left,
    .col-right {
        width: 100%;
        /* Hacer que ambas columnas ocupen el 100% */
        margin-bottom: 1rem;
    }
}



/* ------------------------------------------------------------------
   CONTENEDOR PRINCIPAL DEL BLOG
------------------------------------------------------------------ */
.blog-container {
    top: -30%;
    /* Hace que esta sección sobrepase la sección del video */
    width: 90%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    gap: 2rem;
    align-items: center;
    /* Centra los elementos hijos horizontalmente */
    margin-top: 50px;
    /* Añade un margen superior de 50px */
    margin-bottom: 50px;
    /* Añade un margen inferior de 50px */
    
}

/* Evitar el subrayado en los enlaces */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    /* Asegúrate de que el subrayado no aparezca al pasar el cursor */
}

/* ------------------------------------------------------------------
        FILA DE CATEGORÍAS (Principal + Anuncios, o Secundarias)
        ------------------------------------------------------------------ */
.row-categorias {
    display: flex;

    width: 100%;
    flex-wrap: wrap;
    gap: 2.5rem;
    height: 80vh;
    /* Altura fija */
    box-sizing: border-box;
    
}

/* ------------------------------------------------------------------
        ESTILOS DE PINCIPAL
------------------------------------------------------------------ */
/* ------------------------------------------------------------------
        PUBLICACIÓN PRINCIPAL (Clases renombradas)
        ------------------------------------------------------------------ */
.principal-card {
    flex: 0 0 64%;
    /* 65% de ancho */
    height: 100%;
    /* Ocupa toda la altura */
    background-color: #ffffff;
    border-radius: 5rem;
    border: 2px solid #000000;
    /* Contorno negro */
    box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.1),
        /* Sombra arriba */
        10px 0px 20px rgba(0, 0, 0, 0.1),
        /* Sombra derecha */
        -10px 0px 20px rgba(0, 0, 0, 0.1);
    /* Sombra izquierda */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Añadido para la transición */
}

/* Efecto hover: tarjetas se levantan */
.principal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px -15px 25px rgba(0, 0, 0, 0.2),
        /* Sombra arriba más pronunciada */
        15px 0px 25px rgba(0, 0, 0, 0.2),
        /* Sombra derecha más pronunciada */
        -15px 0px 25px rgba(0, 0, 0, 0.2);
    /* Sombra izquierda más pronunciada */
}

/* ------------------------------------------------------------------
        TEXTOS (TÍTULO, SUBTÍTULO, DESCRIPCIÓN) PARA LA PUBLICACIÓN PRINCIPAL
        ------------------------------------------------------------------ */
.principal-title {
    font-size: 25px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 18px;
    /* Reducir el espacio después del título */
    color: #000000;
    /* Color negro para el texto del título */
    background-color: #B6FCD5;
    /* Color verde similar al de la imagen */
    padding: 18px;
    /* Agregar relleno para la sección del título */
    text-transform: uppercase;
    font-weight: bold;


}


.principal-subtitle {
    font-size: 17px;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 10px;
    /* Reducir el espacio después del título */
    font-weight: bold;
    text-transform: uppercase;

}

.principal-description {
    font-size: 15px;
    color: #666;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 4;  /* Limita el texto a 4 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}




.text-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ------------------------------------------------------------------
        MEDIA DE PUBLICACIÓN PRINCIPAL
        ------------------------------------------------------------------ */
.principal-media-container {
    display: flex;
    flex-direction: row;
    /* Los slides están en fila */
    overflow: hidden;
    height: 100%;
    /* Fija la altura del contenedor de la media */
    width: 100%;
}

.contenido-2 {
    flex: 0 0 100%;
    /* Cada slide ocupa el 100% del ancho del contenedor */
    display: none;
    /* Los slides se ocultan por defecto */
    transition: transform 1s ease-in-out;
    /* Transición suave para el desplazamiento */
}

.principal-media-file {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.25rem;
}

/* Estilo para la fecha de publicación */
.fecha-publicacion-p {
    margin-left: 5%;
    /* Ajusta el margen para mover la fecha hacia la derecha */
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    text-align: left;
}



/* ------------------------------------------------------------------
        ESTILOS DE ANUNCIOS
------------------------------------------------------------------ */
/* ------------------------------------------------------------------
        COLUMNA DE ANUNCIOS
        ------------------------------------------------------------------ */
.ann-column {
    flex: 0 0 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

/* ------------------------------------------------------------------
        TARJETA DE ANUNCIO
------------------------------------------------------------------ */
.ann-card {
    flex: 0 0 33.3%;
    height: 33.3%;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Sombra normal */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 95%;
}

/* Efecto hover: tarjetas se levantan */
.ann-card:hover {
    transform: translateY(-10px);

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7); /* Aumentamos la sombra en todos los lados */
}


/* ------------------------------------------------------------------
        TÍTULO DEL ANUNCIO
        ------------------------------------------------------------------ */
.ann-title {
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
    color: #000;
    /* Texto negro */
    background-color: #B6FCD5;
    /* Color de fondo similar al de la imagen */
    padding: 9px;
    /* Relleno dentro del título */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;

}

/* ------------------------------------------------------------------
        FECHA DE PUBLICACIÓN
        ------------------------------------------------------------------ */
.fecha-publicacion-a {
    margin-left: 5%;
    /* Ajusta el margen para mover la fecha hacia la derecha */
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    text-align: left;
}

/* ------------------------------------------------------------------
        CUERPO DEL ANUNCIO
        ------------------------------------------------------------------ */
.ann-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow: hidden;
    box-sizing: border-box;
}

.ann-col-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    box-sizing: border-box;
}

.ann-media-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ann-media-file {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 0.25rem;
}

.ann-col-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: auto;
}

.ann-description {
    font-size: 13.5px;
    line-height: 1.4;
    color: #555;
    display: -webkit-box;
    text-align: justify;
    -webkit-line-clamp: 3;  /* Limita el texto a 3 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* ------------------------------------------------------------------
        Contenedor del carrusel dentro de cada tarjeta de anuncio
        ------------------------------------------------------------------ */
.ann-media-container {
    display: flex;
    flex-direction: row;
    /* Los slides están en fila */
    overflow: hidden;
    width: 100%;
    /* Asegura que ocupe todo el espacio */
    height: 100%;
}

/* Cada slide (contenido) */
.contenido {
    flex: 0 0 100%;
    /* Cada slide ocupa el 100% del ancho del contenedor */
    display: none;
    /* Los slides se ocultan por defecto */
    transition: transform 1s ease-in-out;
    /* Transición suave para el desplazamiento */
}

/* Estilo de las imágenes dentro de cada slide */
.ann-media-file {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Mantiene la imagen proporcional sin recortar */
    border-radius: 0.25rem;
}






/* ------------------------------------------------------------------
        RESPONSIVO EN MÓVILES
        ------------------------------------------------------------------ */
@media (max-width: 768px) {
    .ann-card {
        flex: 0 0 auto;
        height: auto;
        margin-bottom: 1rem;
    }

    .ann-body {
        flex-direction: column;
        overflow: visible;
    }

    .ann-col-left,
    .ann-col-right {
        flex: 1 1 100%;
        overflow: visible;
    }

    .ann-title {
        font-size:12px;
        white-space: normal;
    }

    .ann-description {
        font-size: 10px;
        line-height: 1.3rem;
    }
}

/* ------------------------------------------------------------------
   SEPARADOR DE IMAGEN ENTRE SECCIONES
------------------------------------------------------------------ */
.separator-image {
    width: 100% !important;
    /* Ocupa todo el ancho de la pantalla */
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    /* Agrega espacio encima y debajo */
}

.separator-image img {
    width: 120% !important;
    /* Asegura que la imagen ocupe todo el ancho disponible */
    object-fit: cover;
    /* Asegura que la imagen se ajuste sin deformarse */
}

/* IMAGEN DE "NOTICIAS ANTERIORES" DEBAJO DE LA LÍNEA */
.separator-text {
    width: 100%;
    display: flex;
    justify-content: left;
    margin-top: 0.5rem;
    /* Espacio por encima de la imagen de texto */
}

.separator-text img {
    width: 30%;
    /* Ajusta el tamaño según sea necesario */
    object-fit: contain;
}

/* ------------------------------------------------------------------
        ESTILOS PUBLICACIONES SECUNDARIAS
------------------------------------------------------------------ */
/* ------------------------------------------------------------------
   PUBLICACIONES SECUNDARIAS
------------------------------------------------------------------ */

/* Contenedor de publicaciones secundarias con mayor espacio */
.secundarias-container {
    flex: 0 0 100%;
    border-radius: 10px;
    padding: 1rem;
    gap: 1rem;
    /* Ajusté el espacio entre las tarjetas */
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin-top: 2.3rem;
}

/* ------------------------------------------------------------------
   PUBLICACIONES SECUNDARIAS (con columnas fijas y altura fija)
------------------------------------------------------------------ */
.secundaria-card {
    background-color: #ffffff;
    color: rgb(255, 255, 255);
    border-radius: 2rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); /* Sombra normal */
    display: flex;
    flex-direction: column;
    height: 400px;  /* Fija la altura para cada tarjeta */
    width: 32%;  /* Ajusta el ancho para que las tarjetas sean simétricas */
    position: relative;
    box-sizing: border-box;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem;
}

/* Efecto hover: tarjetas se levantan */
.secundaria-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
}

/* ------------------------------------------------------------------
   TEXTOS (TÍTULO, SUBTÍTULO, DESCRIPCIÓN) PARA PUBLICACIONES SECUNDARIAS
------------------------------------------------------------------ */
.secundaria-title {
    font-size: 18px;
    line-height: 1.2;
    color: #000000;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: bold;
}

.secundaria-subtitle {
    font-size: 15px;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;

}

.secundaria-description {
    font-size: 13px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;  /* Limita el texto a 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}

/* ------------------------------------------------------------------
   MEDIA DE PUBLICACIONES SECUNDARIAS
------------------------------------------------------------------ */
.secundaria-media-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 65%;
    /* Fija la altura del contenedor de la media */
    overflow: hidden;
    align-items: center;
}

.contenido-secundaria {
    flex: 0 0 100%;
    display: none;
    transition: transform 1s ease-in-out;
}

.secundaria-media-file {
    width: auto;
    height: 80%;
    max-height: 25vh;
    object-fit: contain;
    border-radius: 1.5rem;
    padding: 10px;
    width: 100%;
}

/* ------------------------------------------------------------------
   RESPONSIVO EN MÓVILES (Pantallas más pequeñas)
------------------------------------------------------------------ */
@media (max-width: 768px) {
    .secundaria-card {
        flex: 0 0 auto;
        height: 30vh;
        /* Mantiene la altura proporcional en pantallas más pequeñas */
        margin-bottom: 1rem;
        width: 100%;
    }

    .secundaria-title {
        font-size: 1.2rem;
        white-space: normal;
    }

    .secundaria-description {
        font-size: 1rem;
        line-height: 1.3rem;
    }

    /* Ajustes de la media */
    .secundaria-media-container {
        height: 50%;
    }

    .secundaria-media-file {
        max-height: 15vh;
    }
}

/* ------------------------------------------------------------------
   RESPONSIVO EN PANTALLAS MÁS PEQUEÑAS (Pantallas 480px o menores)
------------------------------------------------------------------ */
@media (max-width: 480px) {
    .secundaria-card {
        height: 40vh;
    }

    .secundaria-title {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .secundaria-description {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }

    .secundaria-media-file {
        max-height: 25vh;
    }
}

/* ------------------------------------------------------------------
   ESTILOS FECHA 
------------------------------------------------------------------ */
.fecha-publicacion {
    bottom: 10px;
    left: 10px;
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    text-align: right;
}





/* ------------------------------------------------------------------
   RESPONSIVO GENERAL PARA MÓVILES
------------------------------------------------------------------ */
@media (max-width: 768px) {
    .row-categorias {
        height: auto;
        /* Quita el 70vh en móviles */
    }

    .principal-container,
    .ann-column {
        flex: 0 0 100%;
        height: auto;
        overflow: visible;
    }

    .title,
    .subtitle,
    .description {
        font-size: 1rem;
        line-height: 1.4rem;
        white-space: normal;
    }
}

/* ------------------------------------------------------------------
   RESPONSIVO EN MÓVILES
------------------------------------------------------------------ */
@media (max-width: 768px) {
    .principal-card {
        flex: 0 0 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    .principal-title {
        font-size: 1.2rem;
        white-space: normal;
    }

    .principal-description {
        font-size: 1rem;
        line-height: 1.3rem;
    }
}

/*final*/





































/* ------------------------------------------------------------------
   HEADER (MENÚ DE NAVEGACIÓN)
------------------------------------------------------------------ */

/*HEADER/* 
/*------------------------------------*\
    #HEADER
\*------------------------------------*/
.header {
    height: 100px;
}

.header-transparent {
    background: transparent;
}

.header-transparent+.mtop-100,
.header-transparent+.page-title {
    position: relative;
    margin-top: -100px;
}

/* Mantener el fondo degradado mientras se oculta */
.navbar-hidden #navbar-collapse-1,
.navbar-hidden .logo {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Asegura que el navbar siempre tenga su fondo degradado */
.header .navbar {
    background: linear-gradient(to bottom,
            rgba(15, 107, 68, 1),
            rgba(15, 107, 68, 0.7),
            rgba(15, 107, 68, 0.3),
            rgba(15, 107, 68, 0));
    transition: background 0.3s ease;
}

/*------------------------------------*\
    #Menu
\*------------------------------------*/
.header .navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.header .navbar {
    margin-bottom: 0;
    border-radius: 0;
    min-height: 50px;
    border: none;
    background: linear-gradient(to bottom,
            rgba(15, 107, 68, 1),
            rgba(15, 107, 68, 0.7),
            rgba(15, 107, 68, 0.3),
            rgba(15, 107, 68, 0));
    transition: background 0.3s ease;
}

.header .navbar.affix {
    top: 0;
}

.header-bordered .navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header .navbar .logo {
    max-width: 100%;
    height: auto;
    line-height: 100px;
}

.navbar-nav:not(.nav-pos-right) {
    margin-right: 200px;
}

.nav-bordered-right {
    margin-right: 30px;
}

.nav-bordered-right+.module:first-of-type:before {
    position: relative;
    margin-left: 12px;
}

.nav-bordered-right+.module:first-of-type:before {
    position: absolute;
    top: 50%;
    margin-top: -13px;
    left: -46px;
    content: "";
    width: 2px;
    height: 26px;
    background-color: #c9c9c9;
}

.affix .nav-bordered-right+.module:first-of-type:before {
    background-color: #c9c9c9;
}

.navbar-nav>li {
    margin-right: 32px;
}

.navbar-nav>li>a {
    font-size: 13px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;
    line-height: 100px;
    padding: 0;
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
    background-color: transparent;
    border: none;
}

.navbar-nav>li.active>ul {
    margin-top: 0;
}

.navbar-nav>li>a:focus,
.navbar-nav>li>a:hover {
    background-color: transparent;
    color: #ffffff;
}

/* Menu Level #1 */
.navbar-nav>li>a:before {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 3px;
    background: transparent;
    content: '';
    transition: all 0.4s;
}

.navbar-nav>li>a:hover::before,
.navbar-nav>li.active>a:before {
    background-color: #ffffff;
    width: 100%;
}

.transparent-header .navbar {
    background-color: transparent;
    height: 101px;
}

/* Header Light */
.header-light {
    background-color: #ffffff;
}

.header-light .navbar .logo-dark {
    display: inline-block;
}

.header-light .navbar .logo-light {
    display: none;
}

.header-light .navbar .navbar-nav>li>a:hover::before,
.header-light .navbar .navbar-nav>li.active>a:before {
    background-color: #222222;
}

/* Header Fixed */
.header-fixed .affix {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
    display: block;
}

.header-fixed:not(.header-light) .navbar .logo-dark {
    display: none;
}

.header-fixed .navbar.affix {
    background: linear-gradient(to bottom,
            rgba(15, 107, 68, 1),
            rgba(15, 107, 68, 0.7),
            rgba(15, 107, 68, 0.3),
            rgba(15, 107, 68, 0)) !important;
    box-shadow: none !important;
}

/* Estilo para el navbar antes de hacer scroll */
.header .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none !important;
}

/* Estilo cuando el navbar está fijo y no tiene el estado de "affix" */
.header-fixed .navbar {
    border-bottom: 3px solid rgba(16, 107, 64, 0);
}

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) and (max-width: 479px) {
    .header .navbar {
        top: 0;
    }

    .navbar-toggle .icon-bar {
        background-color: #ffffff;
    }

    .header-fixed .navbar.affix .navbar-nav>li>a {
        color: #ffffff;
    }
}

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) and (max-width: 767px) {
    .header .container {
        padding-right: 0;
        padding-left: 0;
    }

    .navbar-nav {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-toggle {
        border-color: #106B40;
        border-radius: 0;
        margin-top: 35px;
    }

    .container>.navbar-header {
        margin-left: 0;
        padding-right: 10px;
        padding-left: 10px;
    }

    .container>.navbar-collapse {
        width: 100%;
        background-color: #363636;
        margin-right: 0;
        margin-left: 0;
    }

    .navbar-nav>li {
        height: auto !important;
        margin-right: 0;
    }

    .navbar-nav>li.pull-left {
        float: none !important;
    }

    .navbar-nav li a {
        line-height: 36px;
        color: #ffffff;
        padding-right: 0;
        padding-left: 10px;
        padding-top: 0;
    }

    .navbar-nav>li>a:before {
        display: none;
    }

    .navbar-nav:not(.nav-pos-right) {
        margin-right: 0;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header .container {
        padding-right: 0;
        padding-left: 0;
    }

    .navbar-header {
        float: none !important;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .header .navbar .logo {
        float: left;
    }

    .navbar-toggle {
        border-color: #106B40;
        border-radius: 0;
        margin-top: 35px;
        display: block;
    }

    .navbar-toggle .icon-bar {
        background-color: white;
    }

    .navbar-fixed-top .navbar-collapse {
        overflow: scroll !important;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .collapse.in {
        display: block !important;
    }

    .navbar-nav {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .navbar-nav>li {
        float: none;
    }

    .container>.navbar-collapse {
        width: 100%;
        background-color: #363636;
        margin-right: 0;
    }

    .navbar-nav>li {
        height: auto !important;
        margin-right: 0;
    }

    .navbar-nav>li.pull-left {
        float: none !important;
    }

    .navbar-nav>li>a {
        line-height: 36px !important;
        color: #ffffff !important;
        padding-right: 0;
        padding-left: 0;
        padding-top: 0;
    }

    .navbar-toggle .icon-bar {
        background-color: #ffffff;
    }

    .navbar-nav>li:after {
        display: none;
    }

    .navbar-nav>li.active {
        border-bottom: none;
    }

    li a:hover,
    li.open>a:focus {
        color: #ffffff;
    }

    .nav>li>a:focus,
    .nav>li>a:hover {
        background-color: transparent;
    }

    .navbar-nav>li>a:before {
        display: none;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 991px) {
    .navbar.navbar--dark .navbar-nav>li>a {
        color: #ffffff;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .navbar-nav>li {
        margin-right: 16px;
    }
}

/* MENU DESPLEGABLE */
.dropdown-menu {
    background-color: #1c1c1cab;
    color: #f5f5f5;
    width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 0;
    margin: 0;
    border: none;
    font-family: 'Arial', sans-serif;
}

.dropdown-menu li {
    border-bottom: 1px solid #333;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    color: #f5f5f5;
    text-decoration: none;
    display: block;
    padding: 12px 20px;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
    background-color: #635f5fbe;
    color: #fff;
}

:root {
    --verde: #106B40;
    /* Define el tono de verde */
    --sombra: rgba(0, 0, 0, 0.2);
    /* Define el tono de la sombra */
}