.how_it_works_section {
  width: 100%;
  padding: 40px 0 90px;
  color: #171717;
  overflow: hidden;
}

.how_it_works_section .title {
  max-width: 1000px;
}

/* .how_it_works_section {
  margin: 0 0 8px;

  color: #ff6845;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
} */

.how_it_works_section .common_heading_title {
  margin: 0;

  color: #171717;

  font-size: 30px;
  font-weight: 800;

  line-height: 1.08;

  letter-spacing: -0.7px;
}

.how_it_works_section .common_heading_title span {
  color: #ff5435;
}

.how_it_works_section .how_steps_row {
  position: relative;
  --bs-gutter-x: 10px;
  --bs-gutter-y: 30px;
  margin-top: 30px;
}

.how_it_works_section .how_step {
  position: relative;
  height: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.how_it_works_section .step_icon {
  position: relative;

  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: radial-gradient(
    circle at center,
    #161c24 0%,
    #11161d 65%,
    #0d1117 100%
  );

  border: 4px solid #201e1d;

  color: #ff6726;

  font-size: 18px;

  box-shadow:
    0 0 0 1px rgba(255, 103, 38, 0.45),
    0 0 15px rgba(255, 103, 38, 0.25),
    0 0 35px rgba(255, 103, 38, 0.08),
    inset 0 0 12px rgba(255, 103, 38, 0.08);

  z-index: 5;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* Outer glowing ring */

.how_it_works_section .step_icon::before {
  content: "";

  position: absolute;

  inset: -7px;

  border-radius: 50%;

  border: 1px solid rgba(255, 103, 38, 0.22);

  animation: stepPulse 2.8s ease-in-out infinite;
}

/* Soft glow */

.how_it_works_section .step_icon::after {
  content: "";

  position: absolute;

  inset: -14px;

  border-radius: 50%;

  background: rgba(255, 103, 38, 0.05);

  filter: blur(9px);

  z-index: -1;

  animation: stepGlow 2.8s ease-in-out infinite;
}

@keyframes stepPulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.35;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes stepGlow {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

/* =========================================
   CONNECTING LINE
========================================= */

.how_it_works_section .step_connector {
  position: absolute;
  top: 35px;
  left: calc(50% + 32px);
  width: 100%;
  height: 1px;
  background: rgba(255, 103, 38, 0.28);
  z-index: 1;
  overflow: hidden;
}

/* Moving light across line */

.how_it_works_section .step_connector span {
  position: absolute;

  top: 0;
  left: -35%;

  width: 35%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    #ff6123,
    #ff9b62,
    transparent
  );

  box-shadow:
    0 0 8px rgba(255, 100, 35, 0.8),
    0 0 15px rgba(255, 100, 35, 0.35);

  animation: connectorFlow 3s linear infinite;
}

@keyframes connectorFlow {
  0% {
    left: -35%;
  }

  100% {
    left: 100%;
  }
}

.how_it_works_section .step_number {
  margin-top: 11px;

  background: linear-gradient(135deg, #ffd86b 0%, #c79b12 50%, #ff6845 100%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.5px;

  transition: background 0.4s ease;
}

.how_it_works_section .how_step:hover .step_number {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.how_it_works_section .how_step h3 {
  margin: 8px 0 5px;
  /* color: #fff; */
  color: var(--text_primary_color) !important;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  font-family: "Bricolage Grotesque";
}

.how_it_works_section .how_step p {
  max-width: 220px;
  margin: 0 auto;
  /* color: hsl(24 8% 68%); */
  color: var( --text_secondary_color) !important;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

.how_it_works_section .step_time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  min-height: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  color: #fdcd3a;
  background: #978652;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (min-width: 767.98px) and (max-width: 991px) {
  .how_it_works_section {
    padding: 65px 0 75px;
  }

  .how_it_works_section .step_icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
  }

  .how_it_works_section .common_heading_title {
    font-size: 28px;
  }

  .how_it_works_section .how_step {
    height: auto;
  }

  .how_it_works_section .step_connector {
    display: none;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .how_it_works_section {
    padding: 0px 0 65px;
  }

  .how_it_works_section .common_heading {
    margin-bottom: 35px;
  }

  .how_it_works_section .common_heading_title {
    font-size: 25px;
  }

  .how_it_works_section .how_step {
    height: 100%;
    /* padding: 10px 15px 25px; */
  }

  .how_it_works_section .step_icon {
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
  }

  .how_it_works_section .step_number {
    font-size: 26px;
  }

  .how_it_works_section .how_step h3 {
    font-size: 15px;
  }

  .how_it_works_section .how_step p {
    max-width: 200px;
    font-size: 13px;
  }

  .how_it_works_section .step_connector {
    display: none;
  }
}
