

.how-it-works {
  background: linear-gradient(356deg, #1d222e 25%, #333945 80%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  
} 
.how-it-works {padding: 50px 0;}

.how-it-works .row>div:nth-child(2)>div
{
    width: 100%;
    float:left;
}

.howitbox img
{
    width:100%;
    max-width: 41px;
    margin-bottom: 15px;
}

.how-it-works img{
  
width: 100%;
  
max-width: 55px;
  
margin-bottom: 15px;
}
.how-it-works .card-body {
    text-align: center;
    padding-top: 30px; /* Increased from 0px to create more space */
    padding-bottom: 20px; /* Added bottom padding for balance */
}
.how-it-works h5{
    color: #4188fe;
    font-weight: 400;
}
.how-it-works .content {
    color: #8b8b94;

}

  
.step-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;     /* Changed from center to flex-start */
    justify-content: flex-start; /* Keep left alignment */
    padding-left: 20px;          /* Increased left padding */
    padding-top: 20px;           /* Added top padding to move number down */
    font-size: 18px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    transition: all 0.3s ease;
}
  
.how-it-works .card:hover .step-number {
    background-color: #3a7afe;
}


.how-it-works .card {
  background: linear-gradient(178deg, #1d222e 25%, #333945 80%);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(1) translateY(0);
}

.how-it-works .card {
    background-image: linear-gradient(104deg, rgba(29, 34, 46, 0.8) -12.39%, rgba(51, 57, 69, 0.85) 40.31%, rgba(18, 102, 241, 0.4) 86.44%, rgba(44, 187, 255, 0.5) 134.26%);
    border-radius: 15px;
    padding: 25px;
    width: 95%;
    margin: 0 auto;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



.how-it-works .card-body {
    text-align: center;
    padding: 20px 15px;
    height: 100%;
}

.how-it-works .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.how-it-works .icon-wrapper {
    background: rgba(58, 122, 254, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.how-it-works .feature-icon-fa {
    font-size: 2.5rem;
    color: #3a7afe;
    transition: all 0.3s ease;
}

.how-it-works .card:hover {
    transform: scale(1.02) translateY(-3px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Quitamos la sombra azul */
    /* box-shadow: 0 10px 20px rgba(58, 122, 254, 0.15);  */
}

.how-it-works .card:hover .icon-wrapper {
    background: rgba(58, 122, 254, 0.2);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .how-it-works .card {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .how-it-works .card {
        padding: 20px;
    }
    
    .how-it-works .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .how-it-works .feature-icon-fa {
        font-size: 2rem;
    }
}

/* Ajuste adicional para el contenedor de la tarjeta */
.how-it-works .col-md-3 {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.how-it-works .extraimg {
  position: relative;
  width: 100px;
  height: 115px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-it-works .extraimg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 113, 254, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transform: perspective(100px) rotateX(5deg);
}

.how-it-works .card-body img {
  position: relative;
  z-index: 1;
  width: 55px;
  height: 55px;
  padding: 12px;
  background-color: rgba(9, 113, 254, 0.2);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* How It Works cards */
.how-it-works .card-title {
  color: #fff;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.how-it-works .card:hover .card-title {
  /* Color azul al hover */
  color: #3a7afe;
}

.how-it-works .feature-icon-fa {
    font-size: 3.5rem; /* Tamaño más grande */
    color: #ffca33d9; /* Color igual que highlight */
    transition: all 0.3s ease;
    margin-bottom: 1.5rem; /* Añadimos espacio entre el ícono y el título */
  }
  
  .how-it-works .card:hover .feature-icon-fa {
    transform: scale(1.1);
  }

  

