.banner {
  background-size: cover;
  height: 130vh;
  margin-top: 3%;
  padding-top: 60px;
  display: flex;
  align-items: flex-start;
}

.banner-contenido {
  text-align: left;
  margin-right: 53%;
  max-width: 900px;
  padding-top: 0px;
}

.banner-contenido h1 {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.banner-contenido p {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1.5rem;
}

.banner-contenido .btn-primary {
  background-color: #0a376e;
  border-color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
}

.banner-contenido .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

#promocion {
  background-color: #ffc107;
  padding: 20px;
  border-radius: 10px;
}

#promocion p {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

#equipos {
  background-color: #e0f0ff;
  padding: 60px 0;
}

.equipo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 450px;
  width: 100%;
  padding: 15px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipo-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.equipo-card .card-body {
  flex-grow: 1;
  max-height: 450px;
  display: flex;
  overflow-y: auto;

  flex-direction: column;
  justify-content: flex-start;
}

.equipo-card .card-title {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.equipo-card .card-text {
  font-size: 1rem;
  color: #555;
  flex-grow: 1;
}

.equipo-card img {
  display: block;
  width: 20%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1%;
}

.equipo-card .card-title {
  font-weight: bold;
  font-size: 1.25rem;
}

.equipo-card .card-text {
  font-size: 1rem;
  color: #555;
}

#equipos h2 {
  font-size: 2.5rem;
  color: #000000;
  font-weight: bold;
}

@media (min-width: 992px) {
  .equipo-card .img-prod-1 {
    width: 90%;
    max-height: 200px;
    object-fit: contain;
    display: block;
    margin: 10px auto;
  }

  .equipo-card .img-prod-2 {
    width: 80%;
    max-height: 200px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
  }

  .equipo-card .img-prod-3 {
    width: 150%;
    max-height: 200px;
    object-fit: contain;
    margin: 10px auto;
    margin-left: -25%;
    display: block;
  }

  .equipo-card .img-prod-4 {
    width: 90%;
    max-height: 200px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
  }

  .equipo-card .img-prod-5 {
    width: 75%;
    max-height: 200px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
    margin-top: -6%;
  }

  .equipo-card .img-prod-6 {
    width: 90%;
    max-height: 200px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
    margin-bottom: 25%;
    margin-top: -3%;
  }

  .equipo-card .img-prod-7 {
    width: 80%;
    max-height: 200px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
    margin-top: -6%;
  }

  .equipo-card .img-prod-8 {
    width: 50%;
    max-height: 200px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
    margin-bottom: 15%;
  }
}

@media (max-width: 768px) {
  .equipo-card img.img-prod-1,
  .equipo-card img.img-prod-2,
  .equipo-card img.img-prod-3,
  .equipo-card img.img-prod-4,
  .equipo-card img.img-prod-5,
  .equipo-card img.img-prod-6,
  .equipo-card img.img-prod-7,
  .equipo-card img.img-prod-8 {
    width: 100% !important;
    max-height: 150px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .banner {
    padding-top: 40px;
    height: 90vh;
    background-position: top center;
  }

  .banner-contenido {
    padding-top: 20px;
    padding-left: 2px;
    padding-right: 10px;
    max-width: 100%;
  }

  .banner-contenido h1 {
    font-size: 2rem;
  }

  .banner-contenido p {
    font-size: 1rem;
  }

  .banner-contenido .btn-primary {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .equipo-card img {
    height: 200px;
  }
}

#banner-transforma {
  width: 100%;
  padding: 0;
  margin-bottom: 30px;
}

#banner-transforma img {
  width: 100%;
  height: 70%;
  max-height: 900px;
  object-fit: cover;
  border-radius: 15px;
}

#contacto {
  background: linear-gradient(135deg, #0063db, #819fa9);
  color: white;
  padding: 60px 20px 20px 20px;
  text-align: center;
  border-radius: 15px;
  margin-top: 40px;
}

.container-contacto h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.container-contacto p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

form {
  max-width: 500px;
  margin: 0 auto 10px auto;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.btn-contacto {
  background-color: white;
  color: #0083b0;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 15px;
  cursor: pointer;
  border: 2px solid #0083b0;
  transition: all 0.3s ease;
}

.btn-contacto:hover {
  background-color: #0083b0;
  color: white;
}
.iconos-contacto {
  margin-top: 30px;
}

.iconos-contacto i {
  font-size: 2rem;
  margin: 0 10px;
}

.botones-equipos a {
  min-width: 30%;
  text-align: center;
  font-size: 0.85rem;
  padding: 6px 8px;
}

/* Pie de página */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
}

footer a {
  color: #00b4db;
  text-decoration: none;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  cursor: pointer;
}
.whatsapp-float img {
  width: 100%;
  height: auto;
}
