/* Estilo general */
body {
  
  background-size: cover;
}

/* Hover para desplegar los menús */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Estilo de las tarjetas de servicios */
.service-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 1rem;
  text-align: center;
  margin-top: 3rem;
}




/* Navbar hover */
.navbar-nav .nav-link {
  color: #000;
  transition: color 0.3s ease;
}

.dropdown-menu .dropdown-item {
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color:#C1272D;
}

.dropdown-menu .dropdown-item:hover {
  color: #C1272D;
}

/* Carrusel */
#heroCarousel .carousel-inner {
  background: linear-gradient(to right, #d7effa, #7cc7f2, #4faee4);
  transition: background 0.8s ease;
}

#heroCarousel .carousel-item {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#heroCarousel .carousel-item img {
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: brightness(0.95);
}

#heroCarousel .carousel-item img:hover {
  transform: scale(1.02);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 10px;
}

.carousel-caption h1,
.carousel-caption p {
  color: #fff;
  text-shadow: 2px 2px 5px #000;
}

 /* Línea azul corporativa animada */
 .nav-underline {
  height: 3px;
  background-color: #267BAC; /* Azul corporativo */
  width: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  animation: slideIn 1.5s forwards;
}

@keyframes slideIn {
  from { width: 0; }
  to { width: 100%; }
}

/* Opcional: Hover en los enlaces */
.navbar-nav .nav-link {
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #C1272D; /* Rojo corporativo al pasar el mouse */
}

.aliado-logo {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aliado-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.custom-navbar {
  background-color: rgba(255, 255, 255, 0.95); /* Blanco con transparencia */
  backdrop-filter: blur(8px); /* Difuminado elegante */
  transition: background-color 0.4s ease;
  position: sticky;
  top: 0;
  z-index: 999;
}

 /* Hover que despliega */
 .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

footer {
  background-color: #222;
  color: #fff;
  padding: 1rem;
  text-align: center;
  margin-top: 3rem;
}



.form-control,
.form-select {
  border-radius: 10px;
}

.btn-primary {
  border-radius: 10px;
}

.navbar-nav .nav-link:hover {
  color:#C1272D;
}

.dropdown-menu .dropdown-item:hover {
  color: #C1272D;
}

.custom-navbar {
background-color: rgba(255, 255, 255, 0.95); /* Blanco con transparencia */
backdrop-filter: blur(8px); /* Difuminado elegante */
transition: background-color 0.4s ease;
position: sticky;
top: 0;
z-index: 999;
}

/* Hover que despliega */
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

    /* Botón de WhatsApp */
    .btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp i {
    margin-right: 8px;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: scale(1.05);
}

/* Iconos de redes sociales */
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    border-radius: 50%;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons .facebook {
    background-color: #3b5998;
}

.social-icons .instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Tarjetas de servicios */
    .service-card {
      background-color: #f8f9fa;
      border-radius: 8px;
      padding: 1.5rem;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      margin-bottom: 2rem;
    }

    /* Footer */
    footer {
      background-color: #222;
      color: #fff;
      padding: 1rem;
      text-align: center;
      margin-top: 3rem;
    }



    
    /* Hover del navbar */
    .navbar-nav .nav-link {
      color: #000;
      transition: color 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
      color:#C1272D;
    }

    .dropdown-menu .dropdown-item:hover {
      color: #C1272D;
    }

    /* Carrusel - Fondo degradado azul */
    #heroCarousel .carousel-inner {
      background: linear-gradient(to right, #0c4cac, #2b459c, #142356);
      transition: background 0.8s ease;
    }

    #heroCarousel .carousel-item {
      height: 90vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #heroCarousel .carousel-item img {
      max-height: 90%;
      max-width: 90%;
      object-fit: contain;
      transition: transform 0.5s ease;
      filter: brightness(0.95);
    }

    #heroCarousel .carousel-item img:hover {
      transform: scale(1.02);
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      background-color: rgba(0, 0, 0, 0.4);
      border-radius: 50%;
    }

    .carousel-caption {
      background: rgba(0, 0, 0, 0.5);
      padding: 1.5rem;
      border-radius: 10px;
    }

    .carousel-caption h1,
    .carousel-caption p {
      color: #fff;
      text-shadow: 2px 2px 5px #000;
    }

    /* Hover que despliega */
    .dropdown:hover .dropdown-menu {
      display: block;
      margin-top: 0;
    }

    .hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-effect:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
    ul {
      padding-left: 1rem;
    }
    ul li {
      margin-bottom: 5px;
    }

    /* Estilo verde WhatsApp */
    .whatsapp-link {
      color: #25D366;
      text-decoration: none;
    }
    .whatsapp-link:hover {
      color: #1ebe5d;
      text-decoration: underline;
    }


    .stats-section {
      background: linear-gradient(to right, #3c92c4, #267BAC);
      color: #fff;
    }

    .stats-section i {
      margin-bottom: 15px;
      color: #fff;
    }

    .stats-section h2 {
      font-size: 3rem;
      font-weight: bold;
    }

    .stats-section p {
      text-transform: capitalize;
      font-weight: bold;
      font-size: 1.1rem;
    }

    .servicio-box {
  transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
  border: none;
    }

    /* Colores base */
    .servicio-box.rojo { background-color: #C1272D; color: #fff; }
    .servicio-box.azul { background-color: #0c4cac; color: #fff; }

    /* Efecto Hover */
    .servicio-box:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    }

     .stat-card {
      transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
      cursor: pointer;
    }


    /* Hover con zoom y sombra */
    .stat-card:hover {
      transform: scale(1.08);
      box-shadow: 0 12px 24px rgba(0,0,0,0.4);
    }

    /* Cambio de tono en hover */
    .stat-card.rojo:hover { background-color: #a02125; }
    .stat-card.azul:hover { background-color: #0c4cac; }

    .stats-section {
      background: linear-gradient(135deg, #ecedee, #f4f9fc);
    }
     /* NAVBAR con transparencia y efecto elegante */
  .custom-navbar {
    background-color: rgba(255, 255, 255, 0.95); /* Blanco con transparencia */
    backdrop-filter: blur(8px); /* Difuminado elegante */
    transition: background-color 0.4s ease;
    position: sticky;
    top: 0;
    z-index: 999;
  }



  @keyframes slideIn {
    from { width: 0; }
    to { width: 100%; }
  }

  /* Opcional: Hover en los enlaces */
  .navbar-nav .nav-link {
    transition: color 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    color: #C1272D; /* Rojo corporativo al pasar el mouse */
  }

  .aliado-logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .aliado-logo:hover {
      transform: scale(1.1);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
  .service-card {
    background-color: #ffffff; /* Fondo blanco por defecto */
    color: #000000;            /* Texto negro por defecto */
    transition: all 0.4s ease;
  }

  .service-card h4,
  .service-card ul li {
    color: #000000;
  }

  /* Efecto hover */
  .service-card:hover {
    background-color: #0c4cac; /* Fondo cambia */
    color: #ffffff;            /* Texto se vuelve blanco */
  }

  .service-card:hover h4,
  .service-card:hover ul li {
    color: #ffffff;
  }

  .whatsapp-link {
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .whatsapp-link:hover {
    background-color: #0c4cac;
    color: #202020 !important;
  }

  .stats-section {
    background-color: #0c4cac;
  }

  .stat-card {
    background-color: #ffffff;
    color: #000000;
    transition: all 0.4s ease;
    cursor: pointer;
  }

  .stat-card i,
  .stat-card h2,
  .stat-card p {
    color: #0c4cac;
    transition: color 0.4s ease;
  }

  /* Hover actualizado */
  .stat-card:hover {
    background-color: #1e6ed8; /* Azul vibrante al hacer hover */
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .stat-card:hover i,
  .stat-card:hover h2,
  .stat-card:hover p {
    color: #ffffff;
  }

  footer a {
    transition: color 0.3s ease, text-decoration 0.3s ease;
  }

  footer a:hover {
    color: #1e6ed8 !important; /* Rojo corporativo al pasar el mouse */
    text-decoration: underline !important;
  }
  
      /* Tarjetas de servicios */
      .service-card {
        background-color: #f8f9fa;
        border-radius: 8px;
        padding: 1.5rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 2rem;
      }
  
      /* Footer */
      footer {
        background-color: #222;
        color: #fff;
        padding: 1rem;
        text-align: center;
        margin-top: 3rem;
      }
  
      .whatsapp-float {
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        
        color: white;
        border-radius: 50%;
        text-align: center;
        font-size: 30px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
      }
      
      .whatsapp-float:hover {
        transform: scale(1.1);
        background-color: #111111;
      }
  
       /* Hover del navbar */
      .navbar-nav .nav-link {
        color: #000;
        transition: color 0.3s ease;
      }
  
      .navbar-nav .nav-link:hover {
        color:#C1272D;
      }
  
      .dropdown-menu .dropdown-item:hover {
        color: #C1272D;
      }
  
      /* Carrusel - Fondo degradado azul */
      #heroCarousel .carousel-inner {
        background: linear-gradient(to right, #0c4cac, #2b459c, #142356);
        transition: background 0.8s ease;
      }
  
      #heroCarousel .carousel-item {
        height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
      }
  
      #heroCarousel .carousel-item img {
        max-height: 90%;
        max-width: 90%;
        object-fit: contain;
        transition: transform 0.5s ease;
        filter: brightness(0.95);
      }
  
      #heroCarousel .carousel-item img:hover {
        transform: scale(1.02);
      }
  
      .carousel-control-prev-icon,
      .carousel-control-next-icon {
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 50%;
      }
  
      .carousel-caption {
        background: rgba(0, 0, 0, 0.5);
        padding: 1.5rem;
        border-radius: 10px;
      }
  
      .carousel-caption h1,
      .carousel-caption p {
        color: #fff;
        text-shadow: 2px 2px 5px #000;
      }
  
      /* Hover que despliega */
      .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
      }
  
      .hover-effect {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      .hover-effect:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      }
      ul {
        padding-left: 1rem;
      }
      ul li {
        margin-bottom: 5px;
      }
  
      /* Estilo verde WhatsApp */
      .whatsapp-link {
        color: #25D366;
        text-decoration: none;
      }
      .whatsapp-link:hover {
        color: #1ebe5d;
        text-decoration: underline;
      }
             
      .stats-section i {
        margin-bottom: 15px;
        color: #fff;
      }
  
      .stats-section h2 {
        font-size: 3rem;
        font-weight: bold;
      }
  
      .stats-section p {
        text-transform: capitalize;
        font-weight: bold;
        font-size: 1.1rem;
      }
  
      .servicio-box {
    transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
    border: none;
      }
  
      /* Colores base */
      .servicio-box.rojo { background-color: #C1272D; color: #fff; }
      .servicio-box.azul { background-color: #0c4cac; color: #fff; }
  
      /* Efecto Hover */
      .servicio-box:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.4);
      }
  
       .stat-card {
        transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
        cursor: pointer;
      }
  
  
      /* Hover con zoom y sombra */
      .stat-card:hover {
        transform: scale(1.08);
        box-shadow: 0 12px 24px rgba(0,0,0,0.4);
      }
  
      /* Cambio de tono en hover */
      .stat-card.rojo:hover { background-color: #a02125; }
      .stat-card.azul:hover { background-color: #0c4cac; }
  
      .stats-section {
        background: linear-gradient(135deg, #ecedee, #f4f9fc);
      }
       /* NAVBAR con transparencia y efecto elegante */
    .custom-navbar {
      background-color: rgba(255, 255, 255, 0.95); /* Blanco con transparencia */
      backdrop-filter: blur(8px); /* Difuminado elegante */
      transition: background-color 0.4s ease;
      position: sticky;
      top: 0;
      z-index: 999;
    }
 
  
    @keyframes slideIn {
      from { width: 0; }
      to { width: 100%; }
    }
  
  
    .navbar-nav .nav-link:hover {
      color: #C1272D; /* Rojo corporativo al pasar el mouse */
    }
  
    .aliado-logo {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
  
    .aliado-logo:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }
  
  
    .service-card h4,
    .service-card ul li {
      color: #000000;
    }
  
    /* Efecto hover */
    .service-card:hover {
      background-color: #0c4cac; /* Fondo cambia */
      color: #ffffff;            /* Texto se vuelve blanco */
    }
  
    .service-card:hover h4,
    .service-card:hover ul li {
      color: #ffffff;
    }
  
    .whatsapp-link {
      transition: background-color 0.3s ease, color 0.3s ease;
    }
  
    .whatsapp-link:hover {
      background-color: #0c4cac;
      color: #202020 !important;
    }
  
    .stat-card {
      background-color: #ffffff;
      color: #000000;
      transition: all 0.4s ease;
      cursor: pointer;
    }
  
    .stat-card i,
    .stat-card h2,
    .stat-card p {
      color: #0c4cac;
      transition: color 0.4s ease;
    }
  
    /* Hover actualizado */
    .stat-card:hover {
      background-color: #1e6ed8; /* Azul vibrante al hacer hover */
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }
  
    .stat-card:hover i,
    .stat-card:hover h2,
    .stat-card:hover p {
      color: #ffffff;
    }
  
    footer a {
      transition: color 0.3s ease, text-decoration 0.3s ease;
    }
  
    footer a:hover {
      color: #1e6ed8 !important; /* Rojo corporativo al pasar el mouse */
      text-decoration: underline !important;
    }

      /* Animación de los iconos */
     .icono-movimiento {
    animation: flotar 3s ease-in-out infinite;
    }

    @keyframes flotar {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

  /* Contenedor del video con fondo */
  .video-container {
    background-color: #f8f9fa; /* Fondo gris claro */
    padding: 8px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
  }

  /* Efecto hover en el video */
  .video-animado {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 8px;
  }

  .video-animado:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
  }

  .list-group-item {
    border: none;
    border-left: 4px solid transparent;
    background-color: #f8f9fa;
    color: #142356;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .list-group-item.active {
    background-color: #C1272D;
    color: #fff;
    border-left: 4px solid #142356;
  }
  
  .list-group-item:hover {
    background-color: #e9ecef;
    color: #C1272D;
  }
  
  .tab-content li {
    padding: 6px 0;
    font-size: 16px;
  }
  
  .tab-content li a {
    text-decoration: none;
    color: #142356;
    transition: color 0.3s;
  }
  
  .tab-content li a:hover {
    color: #C1272D;
  }
  
  .tab-content li i {
    color: #C1272D;
  }

  .list-group-item.active-follow {
    background-color: #0d6efd;
    color: white;
  }

  .rotate {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }

  .submenu-items a {
    padding-left: 2rem;
    background-color: transparent !important;
    color: inherit !important;
  }

  /* 👇 Anulamos color de fondo/clic en subitems */
  .submenu-items a:active,
  .submenu-items a:focus,
  .submenu-items a.active {
    background-color: transparent !important;
    color: inherit !important;
  }

  /* También evitamos cambio visual al pasar el mouse */
  .submenu-items a:hover {
    background-color: transparent !important;
    color: inherit !important;
    cursor: default;
  }
  
  .img-thumbnail {
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    height: auto;
}
  
  .img-thumbnail:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .img-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
  }
    