.mgt-20 {
    margin-top: 20px;
}

.mgt-30 {
    margin-top: 30px;
}

.mr-20 {
    margin-right: 20px;
}

.pdlaterales {
    padding: 0 50px;
}

h1.hero-title {
    font-size: 70px;
    line-height: 80px;
    text-shadow: 3px 3px 10px #000;
}

.logo-marca {
    width: 100%;
}

.logo-marca img {
    width: 100%;
    height: auto;
}

section.sectionWelcome {
    padding: 40px 0;
}

.imagenWelcome {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.imagenWelcome img {
    width: 80%;
    height: auto;
}

h1.tituloWelcome {
    font-size: 27px;
    font-weight: 700;
    color: var(--principal);
    margin: 0 0 30px 0;
    padding: 0;
}

.textoWelcome {
    background: linear-gradient(to bottom, #FFF 1%, #fcfcfc 98%) repeat scroll 0 0 transparent;
    border-bottom: 1px solid #DFDFDF;
    border-left: 1px solid #ECECEC;
    border-right: 1px solid #ECECEC;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
    border-radius: .8rem;
    padding: 15px;
    border-top: 3px solid #024EA0;
    color: #000;
}

/********************** AREAS DE ACCION *********************/
section.sectionAreas {
    padding: 70px 0;
}

section.sectionAreas .section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
    color: #fff;
    font-size: 32px;
}

.section-title::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 47%;
    width: 50px;
    height: 4px;
    background: #d5a23b;
    border-radius: 10px;
}

/* Estilos para carrusel de áreas de acción */
.areas-carousel {
    margin-top: 30px;
}

.areas-carousel .itemActividad {
    padding: 0 10px;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.areas-carousel .itemActividad:hover {
    transform: translateY(-5px);
}

.areas-carousel .icon_box {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    border-radius: 50%;
    padding: 15px;
    transition: all 0.3s ease;
}

.areas-carousel .icon_box:hover {
    background-color: #222;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.areas-carousel .icon_box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.areas-carousel .content {
    text-align: center;
}

.areas-carousel .content h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .areas-carousel .itemActividad {
        padding: 0 5px;
        margin: 0 2px;
    }

    .areas-carousel .icon_box {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
        padding: 10px;
    }

    .areas-carousel .icon_box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .areas-carousel .content h4 {
        font-size: 14px;
    }
}


/************************ MARCAS *******************/
section.sectionMarcas {
    padding: 70px 0;
    background-color: #eee;
}

section.sectionMarcas .section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
    color: #000;
    font-size: 32px;
}

section.sectionMarcas .section-title::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 47%;
    width: 50px;
    height: 4px;
    background: #d5a23b;
    border-radius: 10px;
}

/* Estilos para carrusel de marcas */
.marcas-carousel {
    margin-top: 10px;
    position: relative;
}

.marcas-carousel .marcaHome {
    padding: 0 10px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.marcas-carousel .marcaHome:hover {
    transform: scale(1.05);
}

.marcas-carousel .marca-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marcas-carousel .marca-container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.marcas-carousel .marca-container img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.marcas-carousel .marca-container:hover img {
    filter: grayscale(0%);
}

/* Estilos para las flechas del carrusel de marcas */
.marcas-carousel .slick-arrow {
    width: 45px;
    height: 45px;
    background-color: #d5a23b;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

.marcas-carousel .slick-arrow:hover {
    background-color: #000;
    transform: scale(1.1);
}

.marcas-carousel .slick-arrow.slick-prev {
    left: -85px;
}

.marcas-carousel .slick-arrow.slick-next {
    right: -35px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .marcas-carousel .marcaHome {
        padding: 0 5px;
        margin: 0 5px;
    }

    .marcas-carousel .marca-container {
        padding: 15px;
        height: 100px;
    }

    .marcas-carousel .marca-container img {
        max-height: 60px;
    }

    .marcas-carousel .slick-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .marcas-carousel .slick-arrow.slick-prev {
        left: -15px;
    }

    .marcas-carousel .slick-arrow.slick-next {
        right: -15px;
    }
}


.textoNosotros {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--th-border-color);
}

.textoNosotros h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--title-color);
    position: relative;
    padding: 0 0 0 20px;
    margin: 20px 0 10px 0;
}

.textoNosotros h2::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 6px;
    height: 26px;
    background: var(--theme-color);
}

.textoArticulo {
    color: #000;
}

.textoArticulo h2 {
    font-size: 27px;
    font-weight: 700;
    color: var(--principal);
    position: relative;
    padding: 0 0 0 0px;
    margin: 10px 0 20px 0;
}

.textoArticulo h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--principal);
    position: relative;
    padding: 0 0 0 0px;
    margin: 10px 0 20px 0;
}

h2.sec-title {
    font-size: 34px;
}

.th-pagination li.active a {
    background-color: var(--principal);
    color: #fff;
}

.service-card-3_content {
    text-align: center;
    padding: 10px 0 0 0;
}

h1.tituloServicio {
    font-size: 34px;
    line-height: 38px;
}

.descripcionServicio {
    color: #000;
    font-size: 18px;
    line-height: 27px;
}

.descripcionServicio h2 {
    font-size: 27px;
    list-style: 30px;
    font-weight: 700;
    color: var(--principal);
    margin: 10px 0 20px 0;
}

.sliderProducto .slick-arrow.slick-next {
    right: 20px;
    left: auto;
}

.sliderProducto .slick-arrow.slick-prev {
    left: 20px;
}

.mobile-logo {
    padding: 10px;
    text-align: center;
}

.mobile-logo img {
    width: 90%;
    height: auto;
}

/**************** WHATSAPP FLOTANTE *******************/
.floating-wpp {
    position: fixed;
    bottom: 90px;
    right: 27px;
    font-size: 14px;
    transition: bottom 0.2s;
    z-index: 1000;
}

.floating-wpp .floating-wpp-button {
    position: relative;
    border-radius: 50%;
    box-shadow: 1px 1px 4px rgba(60, 60, 60, 0.4);
    transition: box-shadow 0.2s;
    cursor: pointer;
    overflow: hidden;
    width: 60px !important;
    height: 60px !important;
    background-color: #00bb00 !important;
}

.floating-wpp .floating-wpp-button img,
.floating-wpp .floating-wpp-button svg {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 50px !important;
    height: 50px !important;
}

.floating-wpp:hover {
    bottom: 17px;
}

.floating-wpp:hover .floating-wpp-button {
    box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.4);
}

.floating-wpp .floating-wpp-popup {
    border: 2px solid white;
    border-radius: 5px;
    background-color: #E5DDD5;
    position: absolute;
    overflow: hidden;
    padding: 0;
    box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.25);
    width: 0px;
    height: 0px;
    bottom: 0;
    opacity: 0;
    transition: bottom 0.1s ease-out, opacity 0.2s ease-out;
    transform-origin: bottom;
}

.floating-wpp .floating-wpp-popup.active {
    padding: 0 12px 12px 12px;
    width: 280px;
    height: auto;
    bottom: 82px;
    opacity: 1;
    right: 0;
}

.floating-wpp .floating-wpp-popup .floating-wpp-message {
    background-color: white;
    padding: 8px;
    border-radius: 0px 5px 5px 5px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.2s;
}

.floating-wpp .floating-wpp-popup.active .floating-wpp-message {
    opacity: 1;
    transition-delay: 0.2s;
}

.floating-wpp .floating-wpp-popup .floating-wpp-head {
    text-align: right;
    color: white;
    margin: 0 -15px 10px -15px;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.floating-wpp .floating-wpp-input-message {
    background-color: white;
    margin: 10px -15px -15px -15px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.floating-wpp .floating-wpp-input-message textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    padding: 8px;
    margin: 10px 0;
    width: 100%;
    max-width: 100%;
    font-family: inherit;
    font-size: inherit;
    resize: none;
}

.floating-wpp .floating-wpp-btn-send {
    margin-left: 12px;
    font-size: 0;
    cursor: pointer;
    color: #00bb00;
}

.service-box_icon img {
    width: 30px;
    height: auto;
}

.whatsappCel {
    position: fixed;
    bottom: 25px;
    left: 20px;
    width: 50px;
    height: 50px;
    z-index: 100;
}

.whatsappCel img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

#service-sec {
    padding: 40px 0 150px 0;
}

.video-responsive {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

@media (max-width: 500px) {
    #celdaDireccion {
        display: none;
    }

    #celdaLogo img {
        width: 200px;
        height: auto;
    }

    .header-layout5 .header-links li a {
        color: #fff;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        font-size: 11px;
    }

    #service-sec {
        padding: 30px 0 0 0;
    }

    #about-sec {
        padding: 30px 0 0 0 !important;
    }

    .textoNosotros {
        padding: 10px 20px;
    }

    .newsletter-area {
        clip-path: none;
    }

    .img-box4 .img2 {
        position: absolute;
        top: 0;
        left: 30px;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        border: 10px solid var(--white-color);
        z-index: 3;
    }

    .th-mobile-menu ul li a:hover {
        background-color: var(--principal);
        color: #fff;
        padding-left: 10px;
    }

    .th-mobile-menu ul li a:hover .th-mobile-menu ul li a::before {
        left: 20px;
        margin-right: 5px;
        content: '' !important;
    }

    .circle {
        display: none;
    }
}

/* Variables CSS para facilitar el cambio de color */
:root {
    --custom-blue: #78C0E4;
    /* Un azul claro agradable, similar al de la imagen */
    --text-color: #FFFFFF;
    /* ¡Ahora blanco puro para mayor legibilidad! */
    --overlay-color: rgba(0, 0, 0, 0.8);
    /* Opacidad aumentada para oscurecer más el fondo */
}

/* Estilos de la sección principal con Parallax */
.about-us-section {
    position: relative;
    /* Ajustes de padding para controlar el espacio vertical, en lugar de min-height */
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-image: url('../imagenes/bg2.webp');
    /* RUTA A TU IMAGEN DE FONDO */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* ESTO HACE EL EFECTO PARALLAX */
    display: flex;
    align-items: center;
    /* Centra el contenido verticalmente si el espacio lo permite */
    overflow: hidden;
    /* Oculta cualquier desbordamiento de contenido */
    margin-bottom: 10px;
}

/* Capa para oscurecer la imagen de fondo */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 0;
}

.breadcumb-wrapper .container {
    position: relative;
    z-index: 1;
}

.overlay-banner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(44, 145, 78, 0.50);
    z-index: 0;
}

/* Ajustes para el contenedor y su contenido */
.about-us-section .container {
    position: relative;
    /* Eleva el contenedor por encima del overlay */
    z-index: 1;
    /* Asegura que el contenido sea visible */
}

/* Estilo del título principal "NUESTROS FILOSOFÍA EMPRESARIAL" */
.main-title {
    font-family: 'Oswald', sans-serif;
    /* O 'Arial Black', sans-serif; */
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Tamaño de fuente responsivo */
    font-weight: 900;
    /* Extra bold */
    text-align: center;
    /* ¡Ahora centrado! */
    padding-left: 0;
    /* Elimina el padding izquierdo que lo desviaba */
    margin-bottom: 3rem;
    /* Espacio inferior */
    width: 100%;
    /* Asegura que ocupe todo el ancho para centrar correctamente */
}

/* Estilos para las tarjetas de Misión, Visión, Valores */
.card-content {
    position: relative;
    /* Para posicionar el diamante y la línea */
    padding-left: 30px;
    /* Espacio a la izquierda para la línea y el diamante */
    display: flex;
    /* Permite alinear elementos internos */
    flex-direction: column;
    align-items: flex-start;
    /* ¡Alinea el contenido (título, párrafo) a la izquierda! */
    text-align: left;
    /* Asegura que el texto del párrafo también esté alineado a la izquierda */
    color: var(--text-color);
    /* Color de texto blanco puro */
    padding-bottom: 20px;
    /* Pequeño padding al final de cada tarjeta */
}

/* Línea vertical principal que atraviesa el contenido de cada columna */
.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    /* Inicia desde arriba del div card-content */
    left: 15px;
    /* ¡Posicionada a la izquierda, en el centro del diamante! */
    width: 2px;
    /* Grosor de la línea */
    height: 100%;
    /* La línea recorre toda la altura del card-content */
    background-color: var(--custom-blue);
    z-index: 0;
    /* Detrás del diamante y el título */
}

/* Estilo del diamante en la parte superior */
.diamond {
    width: 15px;
    /* Tamaño del cuadrado antes de rotar */
    height: 15px;
    background-color: var(--custom-blue);
    transform: rotate(45deg);
    /* Para convertir el cuadrado en diamante */
    position: absolute;
    /* Posicionamiento absoluto respecto a card-content */
    top: 10px;
    /* Ajusta para que quede por encima del título */
    left: 7.5px;
    /* ¡La mitad del ancho del diamante para centrarlo en la línea! */
    z-index: 1;
    /* Por encima de la línea */
}

/* Estilo del título dentro de la caja azul (MISIÓN, VISIÓN, VALORES) */
.box-title {
    /*background-color: var(--custom-blue);*/
    color: var(--principal);
    /* Blanco puro para el título */
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    /* Evita que el título se rompa en varias líneas */
    margin-top: 1px;
    /* Empuja el título hacia abajo, dejando espacio para el diamante */
    margin-bottom: 1rem;
    /* Espacio entre el título y el párrafo */
    position: relative;
    /* Asegura que esté por encima de la línea */
    z-index: 1;
}

/* Estilo del texto del párrafo */
.card-content p,
.card-content .divp {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    /* Asegura alineación izquierda */
    padding: 0;
    /* Elimina cualquier padding extra que pueda desalinear */
    position: relative;
    /* Asegura que esté por encima de la línea */
    z-index: 1;
    color: #fff;
}

/* Media Queries para responsividad */
@media (max-width: 767.98px) {
    .main-title {
        font-size: 2rem;
        /* Ajuste para móviles */
    }

    /* En móviles, las tarjetas se apilan, y deben mantener la alineación izquierda */
    .col-12.col-md-4 {
        margin-bottom: 3rem;
        /* Espacio entre las tarjetas apiladas */
    }

    .col-12.col-md-4:last-child {
        margin-bottom: 0;
        /* La última tarjeta no necesita margen inferior */
    }
}

.service-card-4_content h3.box-title {
    background-color: #fff;
    text-align: center;
    padding: 0px 0;
}

.service-card-4_content h3.box-title a {
    background-color: #fff;
    font-size: 16px;
    text-decoration: none;
    color: #000;
    text-wrap: wrap;
}

.picServicio {
    width: 100%;
    margin: 10px 0 20px 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
    padding: 10px;
}

.picServicio img {
    width: 100%;
    height: auto;
}

h3.titulo-articulo {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
}

@keyframes pulse-effect {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* 2. El estilo del contenedor sigue igual, pero ahora la animación es más limpia. */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--whatsapp-green);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    z-index: 1000;
    animation: pulse-effect 2s infinite;
}

/* 3. El hover en el contenedor solo pausa la animación. Nada más. */
.whatsapp-icon:hover {
    animation-play-state: paused;
}

/* 4. Añadimos una transición suave al icono <i> para el efecto de escala. */
.whatsapp-icon i {
    transition: transform 0.2s ease-in-out;
}

/* 5. El hover en el contenedor escala ÚNICAMENTE el icono <i>. */
.whatsapp-icon:hover i {
    transform: scale(1.1);
    color: #fff;
    left: 60px !important;
}

.whatsapp-icon:hover {
    left: 20px !important;
}

.imagenServicio img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.box-title a {
    color: #000;
}

.nombreCaracteristicas h2 {
    color: #000;
    font-size: 22px;
    font-weight: 700;
    padding: 10px 0;
}

.descripcionCaracteristicas {
    font-size: 16px;
    line-height: 27px;
    color: #000 !important;
    margin: 10px 0 20px 0;
}

.imagenCaracteristicas img {
    width: 100%;
    height: auto;
}

.imagenCaracteristicas {
    margin: 10px 0 20px 0;
}

.btn-download {
    background-color: #000;
    color: #fff;
    padding: 7px 20px;
    border-radius: 5px;
}

.btn-download:hover {
    color: var(--amarillo);
}

.about-additional-section h2 {
    font-size: 27px;
    font-weight: 700;
    color: #000;
}

.media-img img {
    max-width: 100px;
}

/* Estilos para carrusel de servicios - flechas siempre visibles */
.servicios-carousel .slick-arrow {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.servicios-carousel .slick-arrow:before {
    opacity: 1 !important;
}

.servicios-carousel:hover .slick-arrow {
    opacity: 1 !important;
}

/* Estilos para posicionamiento correcto del título en carrusel de servicios */
.servicios-carousel .service-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.servicios-carousel .service-box_img {
    order: 1;
    margin-bottom: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.servicios-carousel .service-box_content {
    order: 2;
    text-align: center;
    padding: 0;
    margin: 0;
}

.servicios-carousel .service-box_content .box-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
}

.servicios-carousel .service-box_content .box-title a {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 5px 5px 0 5px;
    margin: 0;
}

/* Estilos para la sección de últimos artículos */
h3.titulo-articulo a {
    color: #000 !important;
    text-decoration: none;
}

h3.titulo-articulo a:hover {
    color: #000 !important;
}

/* Botón "Leer más" en artículos */
.blog-card-content .th-btn.border {
    background-color: var(--theme-color, #ffd700);
    color: #000 !important;
    border: 2px solid var(--theme-color, #ffd700);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 8px 20px;
}

.blog-card-content .th-btn.border:hover {
    background-color: var(--theme-color, #ffd700);
    color: #000 !important;
    border-color: var(--theme-color, #ffd700);
    text-decoration: none;
}

.th-widget-about p {
    color: #fff;
}

/* Estilos para menú móvil deslizante */
.menu-hamburger {
    background: none;
    border: none;
    font-size: 35px;
    color: #000;
    padding: 7px;
    cursor: pointer;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
    background-color: var(--principal);
}

.mobile-sidebar-header .mobile-logo img {
    height: 40px;
    width: auto;
}

.close-sidebar {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.mobile-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-navigation>ul>li {
    border-bottom: 1px solid #333;
}

.mobile-navigation li a {
    display: block;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.mobile-navigation li a:hover {
    background-color: var(--secundario);
    color: #fff;
}

.mobile-navigation .has-submenu {
    position: relative;
}

.mobile-navigation .has-submenu>a {
    padding-right: 50px;
}

.mobile-navigation .submenu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-navigation .submenu {
    display: none;
    background-color: #111;
}

.mobile-navigation .submenu.active {
    display: block;
}

.mobile-navigation .submenu li a {
    padding-left: 20px;
    font-size: 14px;
}

.mobile-navigation .submenu .submenu li a {
    padding-left: 60px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Espacio para el header fijo */


/* Estilos para carruseles móviles */
.carousel-arrows {
    display: flex;
    gap: 5px;
}

.carousel-arrow {
    background-color: var(--theme-color, #ffd700);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background-color: #000;
    color: #fff;
}

.carousel-arrow i {
    font-size: 12px;
}

/* Carruseles específicos para móvil */
.productos-carousel-cel .productoCel {
    margin: 0 5px;
}

.productos-carousel-cel .picProductoCel {
    width: 100%;
    margin-bottom: 10px;
}

.productos-carousel-cel .picProductoCel img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.productos-carousel-cel .nombreProductoCel {
    text-align: center;
}

.productos-carousel-cel .innerNombreProductoCel a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
    border-radius: 4px;
    display: block;
}

.servicios-carousel-cel .servicioCel {
    margin: 0 5px;
}

/* Home Page Article Cards */
.home-article-item {
    padding: 15px 0;
}

.home-article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.article-date-badge {
    min-width: 65px;
    z-index: 2;
}

.article-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-img-wrapper img {
    transition: transform 0.5s ease;
}

.home-article-card:hover .article-img-wrapper img {
    transform: scale(1.05);
}

/* Home Page Article Title Decor */
.title-decor {
    font-size: 2.5rem !important;
    line-height: 1.2;
    /* Larger size */
    color: var(--principal, #2C914E) !important;
    /* The green brand color */
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: table;
    margin: 0 auto;
    padding: 0 40px;
    /* Space for lines */
}

.title-decor::before,
.title-decor::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    /* Length of the line */
    height: 3px;
    /* Thickness of the line */
    background-color: var(--theme-color, #024EA0);
    /* Now using blue for the lines to contrast */
    transform: translateY(-50%);
}

.title-decor::before {
    left: -30px;
}

.title-decor::after {
    right: -30px;
}

/* Override previous pseudo class for section-title if clashing */
.sectionArticulos .title-decor::before,
.sectionArticulos .title-decor::after {
    top: 50%;
}

.tech-ingepol-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .title-decor {
        font-size: 1.8rem !important;
        padding: 0;
    }

    .title-decor::before,
    .title-decor::after {
        display: none;
    }

    .tech-ingepol-title {
        font-size: 32px;
        padding: 0 10px;
    }
}

@media (max-width: 600px) {
    .movilGap {
        margin-top: 103px !important;
    }

    .padding-movil {
        padding-top: 110px;
    }

    .badge {
        top: -25px;
    }

    .pdt-movil {
        padding-top: 50px;
        padding-bottom: 20px;
    }

    .hero-ingepol400 {
        height: 620px !important;
    }
}