.banner-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 6rem 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;
  }

  .beneficios{
    margin: 100px 0;
  }

  .titulo-cursos{
    background-color: #044a7a;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  .carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    gap: 10px;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0px 0 50px 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: #338dd0;
    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;
  }

  .img-gifts{
    background-image: url('../img/fondo-gifts.png');
    background-size: cover;
  }

  .img-gifts h1{
    padding: 30px 0;
  }
  /* CONTENEDOR GENERAL */
.carruselDestacado-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
  padding: 0 20px;
  box-sizing: border-box;
  margin-top: 50px;
  padding-bottom: 60px;
}

/* ÁREA VISIBLE DEL CARRUSEL */
.carruselDestacado-container {
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
}

/* TRACK DESLIZANTE */
.carruselDestacado-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  position: relative;
}

/* CARD ESTILIZADA */
.card-destacada {
  position: relative;
  flex: 0 0 auto;
  width: 90%;
  max-width: 480px;
  height: auto;
  margin: 100px 10px 10px; /* Espacio arriba para imagen sobresaliente */
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-top: 60px; /* Espacio interior para que no tape la imagen */
  box-sizing: border-box;
}

/* CONTENEDOR DE IMAGEN */
.card-img-container {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 150px;
  overflow: hidden;
}

/* IMAGEN EN LA CARD */
.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTO DE LA CARD */
.card-destacada p {
  height: 80px;
  margin: 40px 10px 10px;
  font-weight: bold;
  font-size: 20px;
  color: #333;
}

/* BOTONES DE NAVEGACIÓN */
.nav-destacado {
  display: flex;
  align-items: center;
  background: #fff;
  color: #044a7a;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 30px;
  border-radius: 50%;
  transition: background 0.3s;
  height: 50px;
}

.nav-destacado:hover {
  background: rgba(0, 0, 0, 0.7);
}

.pricing-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: linear-gradient(0deg, #163f6a, #3084c5);
    color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: none;
}

.card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}

.card-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.card-body {
    padding: 30px;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #044a7a;
    margin-bottom: 20px;
}

.price sub {
    font-size: 1.2rem;
    color: #6c757d;
    margin-left: 5px;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.features li {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
}

.features li i {
    color: #044a7a;
    margin-right: 10px;
    margin-top: 10px;
}

.btn-primary {
    background-color: #0d6efd;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}


.btn-grad {
    background: linear-gradient(0deg, #163f6a, #3084c5);
}
.btn-grad {
    margin: 10px;
    /* padding: 15px 45px; */
    padding: 10px 0px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    border-width: thin;
    display: block;
}
.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
    background-color: red;
}

.btn-fill:hover{
    background: linear-gradient(0deg, #163f6a, #3084c5) !important;
    color: #fff;
    transition: background-color 0.3s ease-in;
}
         

/* RESPONSIVE – TABLET */
@media (max-width: 768px) {
  .card-destacada {
    max-width: 276px;
  }

  .card-img-container {
    width: 150px;
    height: 120px;
    top: -45px;
  }

  .card-destacada p{
    height: 150px;
  }
}

/* RESPONSIVE – MÓVIL */
@media (max-width: 480px) {
  .card-destacada {
    max-width: 280px;
    margin: 25px 10px 10px;
  }

  .card-img-container {
    width: 100px;
    height: 80px;
    top: -20px;
  }

  .card-destacada p{
    margin: 20px 10px 10px;
  }

  .nav-destacado {
    padding: 8px;
    font-size: 20px;
  }
}


  @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;
  }

  img{
    max-width: 100% !important;
    align-content: center !important; 
  }
}

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

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

  .hero-logo-div{
    width: 80% !important;
  }
}

@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); }

    .img-laptop{
      max-width: max-content;
    }
  }

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


