.banner-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
  }

  .custom-banner {
    background: rgb(26,73,118);
    background: -moz-linear-gradient(0deg, rgba(26,73,118,1) 0%, rgba(45,128,190,1) 50%);
    background: -webkit-linear-gradient(0deg, rgba(26,73,118,1) 0%, rgba(45,128,190,1) 50%);
    background: linear-gradient(0deg, rgba(26,73,118,1) 0%, rgba(45,128,190,1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1a4976",endColorstr="#2d80be",GradientType=1);
    color: white;
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1.5rem 5rem; /* espacio para la imagen flotante */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: solid;
    border-width: medium;
    border-color: white;
  }

  .floating-image {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(20%, -50%);
    width: 180px;
    height: auto;
  }

  .carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 100px 0;
  }
  
  .carousel-container {
    overflow: hidden;
    width: 100%;
    max-width: 1055px;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .card {
    flex: 0 0 auto;
    width: 90%;
    max-width: 330px;
    margin: 10px;
    background: #F1F2F7;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .cards {
    max-width: 100%;
    margin: 0 0;
    display: grid;
    gap: 2rem;
  }

  .card-herramientas {
    width: 300px;
    height: auto;
    margin: 10px;
    background: #f1f2f8;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .card img {
    padding: 35px;
    width: 100%;
    object-fit: cover;
  }

  .card-herramientas img {
    width: 85%;
    padding: 35px;
    object-fit: cover;
  }
  
  .card p {
    padding: 35px 50px 10px 50px;
    font-size: 20px;
    color: #333;
  }

  .card h5{
    height: 25px;
  }

  .card-herramientas p {
    padding: 35px 20px 10px 20px;
    height: 150px;
    font-size: 16px;
    color: #333;
  }
  
  .nav {
    display: flex;
    align-content: center;
    background: #038930;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 30px;
    border-radius: 50%;
    transition: background 0.3s;
    height: 50px;
  }
  
  .nav:hover {
    background: rgba(0, 0, 0, 0.7);
  }

  .btn-descubre-mas{
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    color: #fff !important;
    border-radius: 60px 5px 0px 5px;
    transition: .3s;
    padding: 21px 48px;
    line-height: 1.2;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f4901e+0,ee5a24+61,b24116+100 */
    background: #e80200;
    /* Old browsers */
    background: -moz-linear-gradient(top, #e80200 0%, #c00900 61%, #a00e01 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #e80200 0%, #c00900 61%, #a00e01 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #e80200 0%, #c00900 61%, #a00e01 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4901e', endColorstr='#b24116', GradientType=0);
    /* IE6-9 */

    max-width: 350px;
    width: 100%;
    display: block;
    text-align: center;
    margin: 20px auto;
  }

  .common-btn-red {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #fff !important;
    border-radius: 60px 0 0 5px;
    transition: .3s;
    padding: 21px 48px;
    line-height: 1.2;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f4901e+0,ee5a24+61,b24116+100 */
    background: #e80200;
    /* Old browsers */
    background: -moz-linear-gradient(top, #e80200 0%, #c00900 61%, #a00e01 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #e80200 0%, #c00900 61%, #a00e01 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #e80200 0%, #c00900 61%, #a00e01 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4901e', endColorstr='#b24116', GradientType=0);
    /* IE6-9 */

    max-width: 350px;
    width: 100%;
    display: block;
    text-align: center;
    margin: 0 auto;
}

  .line-divider{
    margin: 100px 0;
    display: block;
    width: 100%;
    height: 1px;
    background-color: #313833;
  }

  .zoom:hover {
    transform: scale(1.5);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  
  @media (max-width: 576px) {
    .banner-wrapper{
      margin: 0 auto;
    }
    .custom-banner {
      padding-left: 1.5rem;
      height: auto;
      text-align: center;
    }
    .custom-banner p {
      margin-top: 15%;
      padding-left: 1.5rem;
      text-align: center;
      margin-left: 0 !important
    }

    .floating-image {
      position: static;
      transform: translate(0, 50%);
      margin: 0 auto 1rem;
      display: block;
    }
  }

  /* Responsive */

  @media (min-width: 1800px) {
    .carousel-container{
      max-width: 1400px;
    }
  }

@media (max-width: 1024px) {
  .carousel-container{
    max-width: 695px;
  }
}

@media (max-width: 768px) {
  .card {
    max-width: 250px;
  }
  .card p{
    padding: 40px 0 0 0;
  }

  .carousel-container{
    max-width: 540px;
  }
}

@media (max-width: 480px) {
  .card {
    max-width: 200px;
  }

  .nav {
    padding: 8px;
    font-size: 20px;
  }
  }
  
  @media (min-width: 900px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
  }

  @media (min-width: 1200px) {
    .cards { grid-template-columns: repeat(4, 1fr); }
  }

  @media (max-width: 480px) {
    .carousel-container{
      max-width: 220px;
    }
  }


  