body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #8997b025;
  font-size: large;
}

.navbar {
  background-color: #8997b0;
}

#psicion-Nav {
  position: fixed; /*mantiene fijo*/
  top: 0; /*Mantenga pegado*/
  left: 0;
  width: 100%; /*se matenga en el ancho*/
  padding: 15px;
  z-index: 1000;
}

.navbar-brand,
.nav-link {
  color: #010466 !important;
}

.navbar-brand:hover,
.nav-link:hover {
  color: #ffcc00 !important;
}

.nav-btn {
  background-color: transparent !important;
}

.nav-item.active .nav-link {
  text-decoration: underline;
  color: #ffcc00 !important;
  border-radius: 5px;
  padding: 8px 15px;
}

.nav-item.active .nav-link:hover {
  background-color: #ffcc00;
  color: #0056b3 !important;
}

.jumbotron {
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(../images/3306588.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  padding: 5rem 1rem;
  height: 100vh;
}
.jumbotron h1 {
  margin-top: 30vh;
  color: #010466;
}

.jumbotron p {
  color: #010466;
}

.jumbotron .display-4 {
  font-weight: 700;
}

/*COMENTARIOS*/
.comentarios {
  width: 50%;
  text-align: center;
  margin:0 auto;
}
textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
}

button {
  padding: 10px 20px;
  border: none;
  background: #4caf50;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.listacomentarios {
  margin-top: 20px;
  padding: 10px;
  border-top: 2px solid #eee;
}

.comentario {
  background: #f9f9f9;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 5px;
}
/*FIN DE COMENTARIOS*/

.serviciosInicio {
  display: flex;
  height: 100%;
}
.title {
  width: 30vw;
  background: #010466;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
}
.texto {
  width: 60vw;
  background: #0104663d;
  padding-top: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#name{
  width: 100%;
  margin: 10px 0;
}


.comment-card {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    background-color: #fff;
}

.comment-card:last-child {
    border-bottom: none;
}

.comment-card p {
    margin: 0;
}

.comment-name {
    font-weight: bold;
    color: #007BFF;
}

.comment-text {
    margin-top: 5px;
}

.ns {
  margin-top: 2rem;
  width: 100%;
  padding: 5px;
  border-radius: 10px;
}

/* Modificación clave para asegurar que todas las columnas en una fila tengan la misma altura */
.container .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.card {
  border: none;
  display: flex;
  flex-direction: column;
  
}

.col-md-4{
  border: 3px solid #eef0f4;
  background-color: #c5ccd8 !important;
}

.service-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 10px;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.07);
  box-shadow: 1px 8px 16px rgb(0, 0, 0);
  background-color: #8997b039;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-title {
  color: #0056b3;
  font-weight: bold;
}

.card-body {
  background-color: #8997b057;
  text-align: center;
  border-radius: 10px;
  height: auto;
  display: flex;
  flex-direction: column;
  flex: 1; /* Permite que el cuerpo de la tarjeta se expanda para llenar el espacio */
}

.card-products {
  height: auto;
  border-radius: 10px;
}

.card-products:hover {
  transform: translateY(-10px) scale(1.07);
  box-shadow: 1px 8px 16px rgb(0, 0, 0);
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: #8997b039;
}

.client-card {
  position: relative;
  height: 100%;
}

.client-card img.client-logo {
  max-height: 200px;
  object-fit: contain;
  padding: 1rem;
}

.client-card img.card-img-top {
  max-height: 200px;
  object-fit: scale-down;
}

.client-card .card-body {
  padding: 1rem 1rem 1.5rem;
  background-color: white !important;
}

.client-card .card-title {
  margin-top: 1rem;
}

.client-card .card-text small {
  display: block;
  margin-top: 1rem;
}

.btn-primary {
  background-color: #0056b3;
  border: none;
}

.btn-primary:hover {
  background-color: #ffcc00;
  color: #0056b3;
}

#contact {
  background-color: #8997b088;
  border-radius: 10px;
}

.carrusel-Items img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  cursor: pointer;
  margin-right: 3rem;
}
.carrusel-Items img:hover {
  transform: translateY(-10px) scale(1.07);
  box-shadow: 1px 8px 16px rgb(0, 0, 0);
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: #8997b039;
}

.encabezado{
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  padding: 5rem 1rem;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.encabezadoTxt{
  width: 80%;
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
  background-color: #0000009c;
}
.encabezado h1 {
  color: white;
}

.encabezado p {
  color: white;
  margin-top: 2rem;
}

.encabezado .display-4 {
  font-weight: 700;
}

.fondoPrincipal{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/fondos/fondoPrincipal2.jpg);
}
.fondoPuntoVenta{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/punto_venta.jpg);
}
.fondoTranporte{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/transportes.jpg);
    padding: 1rem 5vw;
}
.fondoErp{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/erp.jpg);
}
.fondoHortalizas{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/hortalizas.jpg);
}
.fondoMision{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/fondos/fondoMision.jpg);
  height: 100% !important;
}
.fondoPersonal{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/fondos/fondoPersonal.webp);
}
.fondoAplicaciones{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/fondos/fondoAplicaciones.jpeg);
}
.fondoConsultoria{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/fondos/fondoConsultorias.png);
}
.fondoIntegracion{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/fondos/fondoIntegracion.jpg);
}
.fondoSoporte{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/fondos/fondoSoporte.webp);
}

.nosotros-Mision-Vision{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

footer {
  background-color: #8997b067 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-contact a {
  color: #010466;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-redes a {
  color: #010466;
}

.footer-enlaces ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  padding: 0;
}
.footer-enlaces a {
  color: #010466;
  text-decoration: none;
}

footer img {
  width: 200px;
}
.footer-item{
    width: 20vw;
    color: #010466;
    height: auto;
}
.footer-item ul{
    display: flex;
    flex-direction: column;
    padding: 0;
}
.footer-item ul a{
    color: #010466;
    text-decoration: none;
}
.footer-item ul a:hover{
    color: #01046689;
}
.footer-item i {
  margin-right: 10px;
}

.red-float {
  position: fixed; /* Fijo en la pantalla */
  right: 20px; /* Distancia desde la derecha */
  transform: translateY(
    -50%
  ); /* Ajusta para que quede exactamente en el medio */
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.2s;
}
.red-float:hover {
  transform: translateY(-50%) scale(1.1); /* Pequeña animación al pasar el mouse */
  
  transition: all 0.2s linear;
  right: 30px;
  color: white;
  text-decoration: none;
}

.float-ig {
  top: 50%;
  background-color: #ff0068;
}

.float-wh {
  top: 40%;
  background-color: #25d366;
}

.float-fb {
  top: 60%;
  background-color: #0862f6;
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

 .red-float.animate {
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: white;
      box-shadow: 0 3px 6px rgba(0,0,0,0.3);
      text-decoration: none;
      transform: translateY(30px);
      opacity: 0;
      pointer-events: none;
      transition: all 0.5s ease;
      position: fixed;
      right: 20px;
      z-index: 1000;
    }

    .red-float.animate.show {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .float-wh { background-color: #25D366; top: 40%; }
    .float-ig { background-color: #E4405F; top: 50%; }
    .float-fb { background-color: #1877F2; top: 60%; }

    /* Botón principal (+) */
    .fab-main {
      background: rgba(139, 179, 221, 0.85);
      color: white;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      font-size: 32px;
      cursor: pointer;
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1001;
      display: none;
      transition: background 0.3s ease, transform 0.2s ease;
      padding: 0;
    }
    .fab-main:hover { transform: scale(1.1); background: rgba(0,123,255,1); }

  .mostrar{
    display: flex !important;
  }


@media (max-width: 375px) {
  .container-fluid {
    display: block !important;
  }
  .navbar-toggler {
    color: #010466;
  }
  .jumbotron {
    background: url("/images/3306588.jpg") no-repeat center center;
    background-size: cover;
    color: white;
    padding: 5rem 1rem;
    height: 700px;
  }

  .jumbotron h1 {
    margin-top: 100px;
    font-size: 3rem;
    color: #010466;
  }
  footer {
    display: block;
  }
  .comentarios {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .container-fluid {
    display: block !important;
    text-align: center;
  }
  .serviciosInicio {
    display: block;
  }
  .title {
    width: 100%;
  }
  .texto {
    width: 100%;
  }
  .navbar-toggler {
    color: #010466;
  }
  footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .comentarios {
    width: 100%;
  }
  .footer-item{
    width: 100vw;
  }
  .encabezado{
    height: 100vh;
    margin-top: 3rem;
    padding-top: 10vh;
  }
  .encabezadoTxt{
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .fondo1{
    height: 100vh;
  }
  .fondo3{
    height: 100vh;
  }
  .nosotros-Mision-Vision{
    flex-direction: column;
    padding: 0;
  }
  .red-float.animate {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .fab-main{
      display: block;
  }
  .mostrar{
    display: none !important;
  }
  .display-4{
    font-size: 2.5rem !important;
  }
}
