/* How to Claim Section */
.how-to-claim {
  padding: 80px 20px;
  background-color: #F8F9FD;
  overflow: hidden;
}

.how-to-claim .section-inner {
  max-width: 1010px;
  margin: 0 auto;
}

.how-to-claim .section-headline {
  max-width: 479px;
}

.how-to-claim .section-sub {
  max-width: 662px;
  margin-bottom: 53px;
}

/* Timeline Layout */
.htc-timeline {
  position: relative;
}

/* The continuous line across all steps */
.htc-line {
  position: absolute;
  top: 17px;
  /* Center with circle which is 36px height */
  left: 20px;
  right: 20px;
  height: 2px;
  background-color: #CFC5F0;
  z-index: 1;
}

/* Container for the steps */
.htc-steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.htc-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Number circles */
.htc-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(165deg, #3901AE 9.44%, #3A4ED5 70.3%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 50px;
  font-weight: 600;
  margin-bottom: 30px;
  z-index: 2;
  position: relative;
  margin-left: 10px;
  box-shadow: none
  /* To cut out the line intersecting */
}

/* Arrows placed on the line between circles */
.htc-arrow {
  position: absolute;
  top: 13px;
  /* 18px center - 5px border */
  left: 60%;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #4A2AE5;
  z-index: 2;
}

/* Slight variation in arrow position depending on screen sizes, but percentage left works decently well. */

.htc-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  border: 1px solid #EAEAEA;
  height: 100%;
    transition: all 0.4s ease;
}

.htc-card:hover {
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1), 0 5px 15px -5px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
  transform: translateY(-5px);
}

.htc-step-label {
  color: #3901AE;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 13px;
}

.htc-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #001D3F;
  margin-bottom: 9px;
  line-height: 18px;
  width: 162px;
  height: 36px;
}

.htc-card p {
  width: 165px;
  font-size: 14px;
  color: #1E1E1E;
  line-height: 20px;
  font-weight: 400;
  flex-grow: 1;
}

.highlight-green {
  color: #00C853;
}

/* Responsive */
@media (max-width: 992px) {
  .htc-steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .htc-line {
    display: none;
    /* Easier to hide cross line on stacked grid */
  }

  .htc-arrow {
    display: none;
  }

  .htc-step-circle {
    box-shadow: none;
  }

  .htc-step-circle {
    position: absolute;
    top: 36px;
    right: 36px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 50px;
    z-index: 3;
    background: #E9EAFB;
    color: #FFFFFF;
  }

  .htc-card p,
  .htc-card h3 {
    width: auto;
  }
}

@media (max-width: 768px) {
  .how-to-claim {
    padding: 60px 20px;
  }


  .htc-step {
    position: relative;
    padding-top: 0;
  }


}

@media (max-width: 576px) {

  .htc-steps-container {
    grid-template-columns: 1fr;
  }
}