

/* =========================================
   STEPS WRAPPER
========================================= */

.steps-wrapper {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 2;
}

/* =========================================
   STEP CARD
========================================= */

.step-card {
  width: 285px;
  min-height: 450px;

  padding: 60px 25px 35px;

  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  background: #ffffff;

  border: 1px solid #edf0f2;

  border-radius: 32px;

  box-shadow:
    0 15px 40px rgba(6, 39, 63, 0.07),
    0 3px 12px rgba(6, 39, 63, 0.04);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.step-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 25px 55px rgba(6, 39, 63, 0.12),
    0 5px 20px rgba(6, 39, 63, 0.06);
}

/* =========================================
   STEP NUMBER
========================================= */

.step-number {
  width: 68px;
  height: 68px;

  position: absolute;

  top: -34px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(
    145deg,
    #f7dc8a 0%,
    #d6a83c 55%,
    #b98522 100%
  );

  color: #06273f;

      font-family: "Judson", serif;

  font-size: 30px;
  font-weight: 700;

  border: 5px solid #ffffff;

  box-shadow:
    0 8px 20px rgba(181, 139, 40, 0.25);

  z-index: 5;
}

/* =========================================
   IMAGE WRAPPER
========================================= */

.step-image-wrapper {
  width: 100%;
  height: 175px;

  margin-bottom: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #ffffff;

  border-radius: 20px;
}

/* =========================================
   STEP IMAGE
========================================= */

.step-image {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;

  transition: transform 0.4s ease;
}

.step-card:hover .step-image {
  transform: scale(1.04);
}

/* =========================================
   CONTENT
========================================= */

.step-content {
  width: 100%;

  text-align: center;
}

.gold-line {
  width: 52px;
  height: 2px;

  display: block;

  margin: 14px auto 18px;

  background: #d6a83c;
}

.step-content strong {
  color: #06273f;

  font-weight: 700;
}

/* =========================================
   ARROW
========================================= */

.step-arrow {
  width: 65px;
  min-width: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #b98a29;

  position: relative;

  z-index: 3;
}

.step-arrow svg {
  width: 42px;
  height: 25px;

  display: block;

  filter:
    drop-shadow(
      0 3px 5px rgba(185, 138, 41, 0.15)
    );
}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (max-width: 1650px) {

  .step-card {
    width: 265px;
  }

  .step-arrow {
    width: 50px;
    min-width: 50px;
  }

  .step-arrow svg {
    width: 38px;
  }
}

/* =========================================
   DESKTOP
========================================= */

@media (max-width: 1450px) {


  .step-card {
    width: 250px;

    min-height: 480px;

    padding-left: 22px;
    padding-right: 22px;
  }

  .step-image-wrapper {
    height: 190px;
  }



  .step-arrow {
    width: 42px;
    min-width: 42px;
  }

  .step-arrow svg {
    width: 32px;
  }
}

/* =========================================
   TABLET / SMALL DESKTOP
========================================= */

@media (max-width: 1200px) {

  .steps-wrapper {
    display: grid;

    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 75px 25px;
  }

  .step-card {
    width: 100%;
    max-width: 320px;

    justify-self: center;
  }

  .step-arrow {
    display: none;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {


  .steps-wrapper {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 75px 25px;
  }

  .step-card {
    max-width: 350px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {


  .steps-wrapper {
    display: flex;

    flex-direction: column;

    gap: 70px;
  }

  .step-card {
    width: 100%;
    max-width: 390px;

    min-height: auto;

    padding: 55px 22px 35px;

    border-radius: 26px;
  }

  .step-number {
    width: 62px;
    height: 62px;

    top: -31px;

    font-size: 27px;
  }

  .step-image-wrapper {
    height: 210px;

    margin-bottom: 25px;
  }

}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

  .step-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .step-image-wrapper {
    height: 180px;
  }


}

/* =========================================
   REDUCE MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  .step-card,
  .step-image {
    transition: none;
  }

  .step-card:hover {
    transform: none;
  }

  .step-card:hover .step-image {
    transform: none;
  }
}