/**
 * Hero block styles.
 *
 * @package Delivyr
 */

section.steps-section {
    background: #ffffff;
    padding-bottom: 25px;
}

.steps-section .steps-container {
  max-width: 1760px;
  margin: 94px auto 0 auto;
   
  gap: 46px;
  justify-content: center;
   grid-template-columns: repeat(4, 1fr);
    display: grid;
}

.steps-section .step-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 27px 39px 32px 39px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 392px;
  position: relative;
  overflow: hidden;
}

.steps-section .step-card:hover {
}

.steps-section .step-card h3 {
  font-weight: 700;
  color: #007BFF;
  margin-bottom: 7px;
  font-size: 28px;
}

.steps-section .step-card p {
  font-size: 16px;
  line-height: 1.35;
  color: #333333;
  margin-bottom: 0;
}

.steps-section .step-media {
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 257px;
  background: linear-gradient(172.66deg, #FFFFFF 5.7%, #CDF2FF 94.3%);
  
  margin: 0 -11px;
  margin-top: auto;
}

.steps-section .step-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    left: 50%;
	 transition: 0.3s;
}
.steps-section .step-card:hover .step-media img{
 bottom: 4px;
}

.steps-section .step-card:after {
    content: '';
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(
180deg, #007BFF, #FFF);
    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.3s;
}
.steps-section .step-card:hover:after {
   opacity: 1;
}
.steps-section .is-btn {
    margin-top: 90px;
}
@media (max-width: 1650px) {
  .steps-section .steps-container{
    gap: 30px;
  }
.steps-section .steps-container{
margin-top: 60px;
}

}

@media (max-width: 1500px) {
    .steps-section .step-card{
        padding: 25px 30px 25px 30px;
  }
  .steps-section .step-card h3{
        line-height: 1.3;
  }
  .steps-section .step-media{
        min-height: 180px;
  }
  .steps-section .steps-container{
margin-top: 50px;
}
}
@media (max-width: 1200px) {
  .steps-section .steps-container{
        grid-template-columns: repeat(2, 1fr);
  }
  .steps-section .steps-container {
        gap: 30px;
        max-width: 800px;
    }
        .steps-section .step-media {
        min-height: 280px;
    }
    
}
@media (max-width: 880px) {
   .steps-section .steps-container {
        gap: 25px;
        margin-top: 40px;
    }
        .steps-section .step-media {
        min-height: 240px;
    }
    .steps-section .step-card{
          border-radius: 20px;
    }
    
}
@media (max-width: 640px) {
 .steps-section .steps-container{
        grid-template-columns: repeat(1, 1fr);
  }
  .steps-section .steps-container {
    display: flex;
    flex-wrap: wrap;
}
.steps-section .step-media {
        margin-top: 30px;
    }
}

@media (max-width: 440px) {
.steps-section .step-media {
        margin-top: 10px;
    }
}