/********** Template CSS **********/
:root {
    --primary: #589AC4;
    --light: #f8f8f8;
    --dark: #589AC5;
    --red: #EC1510;
}

body { /* O el selector del elemento al que quieres aplicar el fondo */
    position: relative; /* Necesario para posicionar el pseudo-elemento */
    /* Otros estilos que ya tengas para el body */
    margin: 0;
  padding: 0;
  }
  
  body::before { /* O usa ::after si lo prefieres */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/img/back_ground_1920xꝏ.webp') center center no-repeat;
    background-size: fit;
    opacity: 0.35; /* Ajusta este valor para la transparencia del fondo */
    z-index: -1; /* Asegura que el fondo esté detrás del contenido */
  }

  /* Media query para pantallas táctiles: desactiva el efecto hover */
  @media (hover: none) and (pointer: coarse) {
    .boton:hover {
      background-color: initial;
      color: inherit;
      pointer-events: none;
    }
  }

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.btn-color {
    background-color: var(--dark) !important;
}
.btn-text-color {
    color: var(--dark) !important;
}

.no_deco_text{
    text-decoration: none;
}

.invert-horizontal {
    transform: scaleX(-1);
}

.logo-sec {
        filter: drop-shadow(5px 5px 10px rgba(249, 248, 248, 0.3)); /* X, Y, desenfoque, color */
        width: 200px;
}

.logo-minvu {
    filter: drop-shadow(5px 5px 10px rgba(249, 248, 248, 0.3)); /* X, Y, desenfoque, color */
    width: 200px;
    margin-top: 40px;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 0px; /* Cambiado de 'right' a 'left' para ubicar a la izquierda */
    bottom: 200px; /* Distancia desde el borde inferior de la pantalla */
    z-index: 99;
    transition: opacity 0.3s ease; /* Para un efecto suave al aparecer/desaparecer */
    background-color: var(--red) !important;
    border: none !important;
    border-radius: 0px 5px 5px 0px !important;
}

.back-to-top.show {
    display: block; /* Mostrar el botón cuando sea necesario */
    opacity: 1;
}

.white-shadow {
    text-shadow: 
    2px 2px 4px white, /* Primera sombra */
    -2px -2px 6px white; /* Segunda sombra */
}

.no-text-decor {
    text-decoration: none;
}

.text-justify-custom {
    text-align: justify;
}

.-margin {
    margin-right: -10px;
}

.nosotros-vineta {
    list-style-type: none;
}
.border-30 {
    border-color: #589AC4; /* Color del borde */
    border-width: 5px !important; /* Ancho del borde */
    border-style: solid; /* Estilo del borde */
    border-radius: 20px;
}

.color-blue {
    color: #589AC4 !important;
}

.gap-btw {
    display: flex;
    row-gap: 10px;
}

.hero-text-shadow {
    text-shadow: 10px 5px 5px rgba(0, 0, 0, 0.5);
}

/*** Link Hoover ***/

.link-hover {
    position: relative;
    display: inline-block;
    color: #3c3c3c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .link-hover::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 50px;
    left: 0;
    background-color: #ed1411; /* color del efecto */
    transition: width 0.3s ease;
  }
  
  .link-hover:hover {
    color: #08d1ce;
  }
  
  .link-hover:hover::after {
    width: 100%;
  }

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

/*** Scroll Symbol ***/
.scroll-container {
    position: fixed; /* CAMBIO CLAVE */
    bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté por encima del contenido */
    opacity: 0.4; /* Lo que pediste */
    pointer-events: none; /* No bloquea clics en otras secciones */
  }

  .scroll-pill {
    width: 35px;
    height: 64px;
    border-radius: 24px;
    border: 4px solid #ED1411;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 8px;
  }

  .scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ED1411;
    animation: bounce 1.5s infinite ease-in-out;
  }

  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(24px);
    }
  }


/*** Tamaño de Logos ***/
.logo {
    width: 75px;
}

.logo-contact {
    height: 35px;
}

.logo-modernizacion {
    height: 60px;
}

.logo-footer {
    height: 25px;
}


/*** Navbar ***/
.diamond-logo{
    width: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 0px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        /* margin-right: 0; */
        /* padding: 0 0; */
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Hero ***/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}



.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 2.5rem;
    margin-top: 1rem;
}

.shadow-custom {
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
}

/* CSS para Aumenta del efecto del filtro(0)= sin efecto (1) = original (<1)= multiplicador*/
.saturated-video {
    filter: saturate(3) !important;
    filter: grayscale(0) !important;
    filter: brightness(0.5) !important;
    filter: contrast(1.5) !important;
    filter: hue-rotate(300deg) !important; /*HUE grados (DEG)*/
}

.icon-size {
    width: 70px;
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-re-ingenieria {
    background: url(../img/re-ingenieria_1920x400.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-repuestos {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/repuestos_1920x400.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-nosotros {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/home_nosotros_1920x400.png) center center no-repeat;
    background-size: cover;
}

.page-header-mantencion {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/hero_maintenance_elev_1980x400.png) center center no-repeat;
    background-size: cover;
}

.page-header-cabina {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/cabina_1920x400.png) center center no-repeat;
    background-size: cover;
}

.page-header-faqs {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/hero_faqs_elev_1980x400.png) center center no-repeat;
    background-size: cover;
}

.page-header-modern {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/Imagen_de_WhatsApp_2025-04-14.jpg) center center no-repeat;
    background-size: cover;
    filter: brightness(150%);
}

.page-header-norm {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/certification_1920x400.png) center center no-repeat;
    background-size: cover;
}

.page-header-trafic {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/hero_trafic_1920x400.png) center center no-repeat;
    background-size: cover;
}

.page-header-ciclotrafic {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/hero_ciclotrafic_1920x400.png) center center no-repeat;
    background-size: cover;
}

.page-header-contact {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/hero_contact_1920x400.png) center center no-repeat;
    background-size: cover;
}

.page-header-control-acceso {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/hero_control_acceso_1920x400.png) center center no-repeat;
    background-size: cover;
}

.page-header-summit {
    position: relative;
    overflow: hidden;
}

.page-header-summit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),  url(../img/submit_succesfully_1920x400.jpg) center center no-repeat;
    background-size: cover;
    transform: scaleX(-1); /* 🔁 Efecto espejo horizontal */
    z-index: 0;
    opacity: 1; /* para permitir ver el contenido encima */
}

.page-header-summit > .container,
.page-header-summit h1,
.page-header-summit nav {
    position: relative;
    z-index: 1;
}

/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.feature-img {
    position: relative; /* Necesario para que el video y la imagen se posicionen correctamente */
}

.feature-img img {
    position: relative; /* Asegura que la imagen esté en el mismo contexto */
    z-index: 1; /* Imagen detrás del video */
}

.feature-img video {
    position: absolute; /* Video encima de la imagen */
    top: 200px;
    right: 70px;
    width: 60%;
    height: 80%;
    z-index: 2; /* Mayor que la imagen */
    object-fit: cover; /* Asegura que el video cubra el contenedor */
    pointer-events: none; /* Opcional: para evitar que el video bloquee interacciones con elementos detrás */
}

.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}

/*** Service Start ***/
.row {
    /* gap: 0px; Añade espacio entre las tarjetas */
}

.card-item {
    transition: all 0.3s ease-in-out;
}

.card-item:hover {
    transform: translateY(-5px); /* Eleva la tarjeta en hover */
}

.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    border-radius: 10px;
}

.service-item .service-text {
    background: var(--light);
    transition: 0.5s;
    border-radius: 10px;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.service-item * {
    transition: 0.5s;
    border-radius: 10px;
}

.service-item:hover * {
    color: #FFFFFF;
    border-radius: 10px;
    border: none;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px;
}

.service-item:hover .btn {
    width: 140px;
    border-radius: 10px;
}

/*** Service End ***/

/*** Service Item sin Hoover ***/

.service-item2 .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    border-radius: 10px;
}

.service-item2.service-text {
    background: var(--light);
    transition: 0.5s;
    border-radius: 10px;
}

.service-item2 * {
    transition: 0.5s;
    border-radius: 10px;
}

.service-item2 .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px;
}

/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

/*** Counter ***/
.counter-font {
   font-size: 60px !important; 
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #589AC4;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #589AC4;
}

.footer .copyright {
    padding: 0px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/*** Estilo de un back to top ***/
.back-to-top2 {
    position: fixed;
    display: none;
    left: 20px;
    bottom: 200px;
    z-index: 99;
  
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
  
    background-color: #f4f4f4 !important;
    border: 2px solid lightgray !important;
  
    box-shadow:
      inset 0px 0px 2px 1px gray,
      inset 0px -3px 4px rgba(0, 0, 0, 0.3),
      inset 0px 3px 4px rgba(255, 255, 255, 0.6),
      0px -2px 3px rgba(0, 0, 0, 0.6),
      0px 1px 2px rgba(255, 255, 255, 0.7),
      0px 0px 1px 1px black,
      0px 0px 0px 5px gray,
      0px 0px 1px 6px black;
  
    font-size: 20px;
    color: #3c3c3c;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.2s ease-in-out;
  
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  
  .back-to-top2:hover {
    border-color: #08d1ce;
    box-shadow:
      inset 0px 0px 2px 1px #08d1ce,
      0px 0px 10px rgba(8, 209, 206, 0.5),
      0px 1px 3px rgba(0, 0, 0, 0.2);
    color: #000;
  }
  
  .back-to-top2:active {
    background-color: #0190a5 !important;
    color: #cfc;
    border-color: green;
    transform: translateY(2px);
  }
  
  .back-to-top2.show {
    display: flex !important;
    opacity: 1;
  }
  
