:root {
    --primary-color: #11194A;
    --secondary-color: #D41E31;
    --background-color: #0B1031;
    --text-color: #11194A;
    --accent-color: #ff6f61;
}

body,
html {
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

.bgPrincipal {
    background: var(--primary-color);
}

.bgSecundario {
    background: var(--secondary-color);
}

.colorPrincipal {
    color: var(--primary-color);
}

.colorSecundario {
    color: var(--secondary-color);
}

.poppins {
    font-family: "Poppins", sans-serif;
    font-style: normal;
}

.container {
    margin: auto;
}

.rounded-lg {
    border-radius: 15px;
}

/* Transiciones para inputs del formulario */
.bannerForm input,
.bannerForm textarea {
    transition: border-color 0.3s ease;
}

/* Custom Select Styles - Flecha Roja Triangular */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    /* Ocultar flecha nativa en todos los navegadores */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    cursor: pointer;
}

/* Firefox */
.custom-select::-ms-expand {
    display: none;
}

/* IE 10-11 */
.custom-select::-ms-expand {
    display: none;
}

.custom-select-arrow {
    transition: transform 0.3s ease;
}

/* Rotar la flecha cuando el select está activo/abierto */
.custom-select:focus~.custom-select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Custom Checkbox Styles - Términos y Condiciones */
.bannerForm input[type="checkbox"] {
    accent-color: #d41d31;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.bannerForm input[type="checkbox"]:checked {
    background-color: #d41d31;
    border-color: #d41d31;
}

.bannerForm label a {
    font-weight: 500;
}

/* .menu-underline {
    position: relative;
    
}

.menu-underline::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: #d41d31;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.menu-underline:hover::after {
    transform: scaleX(1);
} */

.grilla-de-proyectos .absolute.bottom-0.w-full {
    opacity: 0;
    bottom: -100px;
    transition: all .5s ease-in-out;
}

.grilla-de-proyectos .relative.group.h-64:hover .absolute.bottom-0.w-full {
    opacity: 1;
    bottom: 0px;
    transition: all .5s ease-in-out;
}


.activeMenu {
    background: var(--secondary-color);
    color: #fff;
    padding-left: 15px !important;
    padding-right: 15px !important;
    border-radius: 0 0 10px 10px;
    transition: all 0.5s;
}

.menuItems a {
    transition: all .3s !important;
    padding-top: 40px;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.menuItems a:hover {
    background: var(--secondary-color);
    color: #fff;
    padding-left: 15px !important;
    padding-right: 15px !important;
    border-radius: 0 0 10px 10px !important;
}


.activeMenu::after {
    transform: scaleX(1) !important;
}

.card-hover {
    transition: box-shadow 0.3s, transform 0.3s;
}

.card-hover:hover {
    box-shadow: 0 8px 32px 0 rgba(212, 29, 49, 0.15);
    transform: translateY(-6px) scale(1.03) !important;
}

section#Banner:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-image: url("../img/icon-banner.png");
    z-index: -1;
    width: 44%;
    height: 100%;
    background-repeat: no-repeat;
    opacity: .13;
    background-size: contain;
}

.text-banner {
    font-size: 55px;
    line-height: 1;
}

.bgLluvia {
    background: url('../img/fondo-grano.png') no-repeat center center fixed;
}

.hover\:bgSecundario:hover {
    background: var(--secondary-color);
    transition: all .1s;
}

.hover\:colorSecundario:hover {
    color: var(--secondary-color);
}

.transition,
.transition * {
    transition: all ease-in-out;
    transition-duration: .3s;
}

.group .h4 {
    transition-duration: .1s;
}

.colorInvertido,
.colorInvertido1 {
    height: 120px;
    width: 120px;
    object-fit: contain;
}

.colorInvertido1 {
    filter: brightness(0%);
    transition: all 300ms ease;
    -webkit-transition: -webkit-filter 300ms ease-in-out;
}

.group:hover .colorInvertido,
.colorInvertido:hover {
    filter: invert(100%) brightness(200%);
}

.group:hover .colorInvertido1,
.colorInvertido1:hover {
    filter: grayscale(100%);
}

.titulos {
    font-size: 48px;
    line-height: 1;
}

.header-bg {
    overflow: hidden;
}

/* nav a[href="#proyecto"] {
    color: #fff;
    overflow: visible;
    position: relative;
}
nav a[href="#proyecto"]:before {
    content: "";
    position: absolute;
    left: -20px;
    right: -20px;
    top: -40px;
    width: calc(100% + 40px);
    height: 300px;
    background: var(--secondary-color);
    z-index: -1;
} */

.logoTestimonios {
    width: 100%;
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    justify-content: center;
}

.logoTestimonios img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.owl-item .testimonial-item {
    z-index: 1;
}

.testimonial-item {
    min-height: 220px;
}

/* CARRUSEL INFINITO  */
@keyframes scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.carousel-wrap {
    animation: scroll 20s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.carousel-wrap:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Animación para botón flotante */
@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.btnFotanteBaner {
    animation: floatUpDown 1.5s ease-in-out infinite;
    display: inline-block;
}

.clients-carousel {
    will-change: transform;
    animation: scroll 30s linear infinite;
}

.clients-carousel:hover {
    animation-play-state: paused;
}


/* Clases para menú móvil */
#mobileMenu {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

#mobileMenu.menu-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}









.owl-item.active {
    z-index: -1;
}

.owl-item.active.center {
    z-index: 999;
}

.owl-item.active.center .testimonial-item {
    background-color: #090F31 !important;
    transform: scale(1.23) !important;
    color: white !important;
    position: relative !important;
    border: 1px solid #ffffff52;
}

.owl-item.active.center .testimonial-item p {
    color: white !important;
}

.owl-item.active.center .testimonial-item .h-0 {
    height: 40px;
    transition: all 1s;
}

.owl-item.active.center .item figure.flex img {
    height: 0;
    transition: all .3s;
}


.owl-item.active.center .testimonial-item .text-gray-700,
.owl-item.active.center .testimonial-item .text-gray-600 {
    color: #e5e7eb !important;
}

.owl-item.active.center .testimonial-item .text-gray-400 {
    color: #60a5fa !important;
}

.owl-item.active.center .testimonial-item .text-gray-800 {
    color: white !important;
}

.owl-item:not(.center) .testimonial-item {
    background-color: white !important;
    border: none !important;
    box-shadow: none !important;
    transform: scale(1) !important;
}

.owl-item:not(.center) .testimonial-item p {
    color: inherit !important;
}

/* Team Carousel Styles */
.width-115 {
    height: 115%;
}

.owl-team .owl-item {
    transition: all 0.3s ease;
}

.team-card {
    transition: all 0.3s ease;
}

/* Dots personalizados para el carousel de equipo */
.team-dots {
    text-align: center;
    margin-top: 30px;
    padding: 0;
}

.team-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-dot.active {
    background: #d41d31;
    width: 30px;
    border-radius: 6px;
}

.team-dot:hover {
    background: #d41d31;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .relative.top-\[-150px\] {
        top: -0px;
    }

    .relative.group.h-64.overflow-hidden.h-\[350px\].aos-init.aos-animate,
    .relative.group.h-64.overflow-hidden.h-\[500px\].aos-init.aos-animate {
        height: 300px !important;
    }

    .text-banner {
        font-size: 40px;
    }

    .titulos {
        font-size: 32px;
    }

    nav a[href="#proyecto"]:before {
        display: none;
    }

    header.bgPrincipal.header-bg.sticky.top-0.left-0.w-full.z-50.aos-init.aos-animate {
        overflow: visible;
    }
}