/********** Template CSS **********/

:root {

    --primary: #070978;

    --secondary: #6b83ea;

    --light: #EEF9FF;

    --dark: #091E3E;

}



body {

    font-family: 'Poppins', sans-serif;

}



h1, h2, h3 {

    font-family: 'Raleway', sans-serif;

}



p {

    font-family: 'Roboto', sans-serif;

}



ul {

    font-family: 'Roboto', sans-serif;

}



li {

    font-family: 'Roboto', sans-serif;

}







h1,

h2,

.font-weight-bold {

    font-weight: 700 !important;

}



h3,

h4,

.font-weight-semi-bold {

    font-weight: 600 !important;

}



h5,

h6,

.font-weight-medium {

    font-weight: 500 !important;

}

.logo-navbar {
    max-width: 100%; /* Para que nunca sea más grande que su contenedor */
    height: auto; /* Mantiene la proporción */
    width: 300px; /* Ajusta según necesites */
}

@media (max-width: 768px) {
    .logo-navbar {
        width: 230px; /* Ajusta el tamaño en móviles */
    }
}



.btn {

    font-family: 'Jost', sans-serif;

    font-weight: 600;

    transition: .5s;

	border-radius: 8px;

}



.btn-primary,

.btn-secondary {

    color: #FFFFFF;

}

.btn-primary:hover {

    background: var(--secondary);

    border-color: var(--secondary);

    border-radius: 8px; /* Ajusta el valor según el grado de redondez deseado */

}



.btn-secondary:hover {

    background: var(--primary);

    border-color: var(--primary);

    border-radius: 8px;

	color: #FFFFFF;

}



.btn-square {

    width: 36px;

    height: 36px;

    border-radius: 8px;

}



.btn-sm-square {

    width: 28px;

    height: 28px;

    border-radius: 8px;

}



.btn-lg-square {

    width: 46px;

    height: 46px;

    border-radius: 8px;

}



.btn-square,

.btn-sm-square,

.btn-lg-square {

    padding-left: 0;

    padding-right: 0;

    text-align: center;

    border-radius: 8px;

}



#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;

}



.back-to-top {

    position: fixed;

    display: none;

    right: 45px;

    bottom: 45px;

    z-index: 99;

}



.top-shape::before {

    position: absolute;

    content: "";

    width: 35px;

    height: 100%;

    top: 0;

    left: -17px;

    background: var(--primary);

    transform: skew(40deg);

}



.navbar-light .navbar-nav .nav-link {

    font-family: 'Jost', sans-serif;

    padding: 30px 15px;

    font-size: 16px;

    color: var(--dark);

    outline: none;

    transition: .5s;

}



.sticky-top.navbar-light .navbar-nav .nav-link {

    padding: 20px 15px;

}



.navbar-light .navbar-nav .nav-link:hover,

.navbar-light .navbar-nav .nav-link.active {

    color: var(--primary);

}



.video-container {

  position: relative;

  width: 100%;

  height: 100vh; /* Altura completa de la ventana */

  overflow: hidden;

}



.bg-video {

  position: absolute;

  top: 50%;

  left: 50%;

  min-width: 100%;

  min-height: 100%;

  width: auto;

  height: auto;

  transform: translate(-50%, -50%);

  z-index: -1;

}



.video-overlay {

  position: relative;

  z-index: 1;

  display: flex;

  justify-content: left;
  
  padding-left: 5%;

  align-items: center;

  width: 100%;

  height: 100%;

  /* Opcional: overlay semitransparente para mejorar la legibilidad */

  background: rgba(9, 30, 62, 0.5);

}





@media (max-width: 991.98px) {

    .navbar-light .navbar-nav .nav-link,

    .sticky-top.navbar-light .navbar-nav .nav-link {

        padding: 10px 0;

    }

}



.carousel-caption {

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(9, 30, 62, .85);

    z-index: 1;

}



@media (max-width: 576px) {

    .carousel-caption h5 {

        font-size: 14px;

        font-weight: 500 !important;

    }



    .carousel-caption h1 {

        font-size: 30px;

        font-weight: 600 !important;

    }

}



.carousel-control-prev,

.carousel-control-next {

    width: 10%;

}



.carousel-control-prev-icon,

.carousel-control-next-icon {

    width: 3rem;

    height: 3rem;

}



@media (min-width: 991.98px) {

    .banner {

        position: relative;

        margin-top: -90px;

        z-index: 1;

    }

}



.section-title h5::before {

    position: absolute;

    content: "";

    width: 45px;

    height: 3px;

    right: -55px;

    bottom: 11px;

    background: var(--primary);

}



.section-title h5::after {

    position: absolute;

    content: "";

    width: 15px;

    height: 3px;

    right: -75px;

    bottom: 11px;

    background: var(--secondary);

}



.twentytwenty-wrapper {

    height: 100%;

}



.hero-header {

    background: linear-gradient(rgba(7, 9, 120, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;

    background-size: cover;

}



.bg-appointment {

    background: linear-gradient(rgba(7, 9, 120, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;

    background-size: cover;

}



.appointment-form {

    background: rgba(107, 131, 234, .7);

}



.service-item img,

.service-item .bg-light,

.service-item .bg-light h5,

.team-item .team-text {

    transition: .5s;

}



.service-item:hover img {

    transform: scale(1.15);

}



.team-item .team-text::after,

.service-item .bg-light::after {

    position: absolute;

    content: "";

    top: 50%;

    bottom: 0;

    left: 15px;

    right: 15px;

    border-radius:100px / 15px;

    box-shadow: 0 0 15px rgba(0, 0, 0, .7);

    opacity: 0;

    transition: .5s;

    z-index: -1;

}



.team-item:hover .team-text::after,

.service-item:hover .bg-light::after {

    opacity: 1;

}



.bg-offer {

    background:url(../img/carousel-2.jpg) center center no-repeat;

    background-size: cover;

}



.offer-text {

    background: rgba(7, 9, 120, .85);

}



.price-carousel .owl-nav {

    position: absolute;

    width: calc(100% + 45px);

    height: 45px;

    top: calc(50% - 22.5px);

    left: -22.5px;

    display: flex;

    justify-content: space-between;

    opacity: 0;

    transition: .5s;

}



.price-carousel:hover .owl-nav {

    opacity: 1;

}



.price-carousel .owl-nav .owl-prev,

.price-carousel .owl-nav .owl-next {

    position: relative;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #FFFFFF;

    background: var(--primary);

    border-radius: 2px;

    font-size: 22px;

    transition: .5s;

}



.price-carousel .owl-nav .owl-prev:hover,

.price-carousel .owl-nav .owl-next:hover {

    background: var(--secondary);

}



.bg-testimonial {

    background: url(../img/carousel-2.jpg) center center no-repeat;

    background-size: cover;

}



.testimonial-carousel {

    background: rgba(6, 163, 218, .85);

}



.testimonial-carousel .owl-nav {

    position: absolute;

    width: calc(100% + 46px);

    height: 46px;

    top: calc(50% - 23px);

    left: -23px;

    display: flex;

    justify-content: space-between;

    z-index: 1;

}



.testimonial-carousel .owl-nav .owl-prev,

.testimonial-carousel .owl-nav .owl-next {

    position: relative;

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #FFFFFF;

    background: var(--primary);

    border-radius: 2px;

    font-size: 22px;

    transition: .5s;

}



.testimonial-carousel .owl-nav .owl-prev:hover,

.testimonial-carousel .owl-nav .owl-next:hover {

    background: var(--secondary);

}



.testimonial-carousel .owl-item img {

    width: 120px;

    height: 120px;

}
/*--------------------------------------------------------------
    # Recent Posts Section
    --------------------------------------------------------------*/
    .recent-posts {
      padding: 40px 0;
    }

    .recent-posts .container {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: space-between;
    }

    .recent-posts article {
      background: var(--surface-color, #fff);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      padding: 30px;
      height: 100%;
      border-radius: 10px;
      overflow: hidden;
      width: calc(33.33% - 20px); /* Para 3 columnas */
      box-sizing: border-box;
    }

    .recent-posts .post-img {
      max-height: 240px;
      margin: -30px -30px 15px -30px;
      overflow: hidden;
    }

    .recent-posts .post-category {
      font-size: 16px;
      color: color-mix(in srgb, var(--default-color, #333), transparent 50%);
      margin-bottom: 10px;
    }

    .recent-posts .title {
      font-size: 20px;
      font-weight: 700;
      padding: 0;
      margin: 0 0 20px 0;
    }

    .recent-posts .title a {
      color: var(--heading-color, #000);
      transition: 0.3s;
    }

    .recent-posts .title a:hover {
      color: var(--accent-color, #007bff);
    }

    .recent-posts .post-author-img {
      width: 50px;
      border-radius: 50%;
      margin-right: 15px;
    }

    .recent-posts .post-author {
      font-weight: 600;
      margin-bottom: 5px;
    }

    .recent-posts .post-date {
      font-size: 14px;
      color: color-mix(in srgb, var(--default-color, #333), transparent 50%);
      margin-bottom: 0;
    }

    /* Responsivo para móviles */
    @media screen and (max-width: 768px) {
      .recent-posts .container {
        justify-content: center;
      }

      .recent-posts article {
        width: 100%;
      }
    }

.carousel-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 20px 0;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 30px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.carousel-track img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsivo: ajustar tamaño de logos y espacio en móviles */
@media (max-width: 768px) {
    .carousel-track {
        gap: 20px;
    }

    .carousel-track img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        gap: 15px;
    }

    .carousel-track img {
        height: 30px;
    }
}


  #whatsapp-icon {
            position: fixed;
            bottom: 08px;
            right: 15px; /* Mueve el ícono más hacia la izquierda */
            width: 60px;
            height: auto;
            z-index: 1000;
            transition: transform 0.3s;
        }

        #whatsapp-icon:hover {
            transform: scale(1.1); /* Aumenta el tamaño al pasar el mouse */
        }

        #whatsapp-icon .tooltip {
            opacity: 0;
            visibility: hidden;
            position: absolute;
            bottom: 10px; /* Ajusta la distancia desde el ícono */
            right: 60px; /* Mueve el tooltip a la izquierda del ícono */
            transform: translateX(0); /* Sin ajuste de transformación */
            background-color: #25D366;
            color: white;
            padding: 5px 5px;
            border-radius: 5px;
            white-space: nowrap;
            font-size: 14px;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 1000;
            max-width: 200px;
            text-align: center;
        }
		
		
/* Contenedor principal */
.gps-section-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  background: #ecf1fb;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  gap: 20px; /* Espacio entre las dos columnas */
}

/* Columna izquierda */
.gps-section-text {
  flex: 1;
  padding-right: 40px;
}

.gps-section-text h1 {
  font-size: 32px;
  color: #000b49;
}

.gps-section-text h1 span {
  color: #597dff;
}

.gps-section-text p {
  font-size: 16px;
  color: #555;
  margin: 20px 0;
}

.gps-search-input {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.gps-devices-wrapper {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  position: relative;
  height: 300px;
  overflow: hidden;
}

/* Scroll automático vertical */
.gps-device-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 50%;
  animation: gps-scroll-up 10s linear infinite;
}

.gps-device-grid.reverse {
  animation: gps-scroll-down 10s linear infinite;
}

.gps-device-box {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 10px auto;
}

.gps-device-box img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  margin-top: -20px;
}

/* Animaciones infinitas */
@keyframes gps-scroll-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes gps-scroll-down {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}


@media (max-width: 768px) {
  .gps-devices-wrapper {
    flex-direction: column;
    align-items: center;
    height: 300px; /* Solo una columna visible */
  }

  .gps-device-grid {
    width: 100%;
    height: 250px;
    align-items: center;
  }

  .gps-device-grid.reverse {
    display: none; /* Oculta la columna que baja */
  }

  .gps-device-box {
    width: 80px;
    height: 90px;
    margin: 8px 0;
  }

  .gps-device-box img {
    width: 110%;
    height: 110%;
  }
}

.social-icon {
    font-size: 1.8rem; 
    color: #6b83ea; /* Color por defecto */
    transition: color 0.3s ease;
  }

  .social-icon:hover {
    color: #fff; /* Color cuando pasa el mouse, cámbialo al que prefieras */
  }

  .footer-link {
    color: #6b83ea; /* Color por defecto */
    text-decoration: none; /* Quita el subrayado */
    transition: color 0.3s ease; /* Transición suave */
  }

  .footer-link:hover {
    color: #A8B7F2; /* Color blanco cuando el mouse pasa por encima */
  }
  
  