.jj-milestone-section,
.jj-milestone-section * {
  box-sizing: border-box;
}

.jj-milestone-section {
  width: 100%;
  background: #fffdf9;
  padding: 60px 5% 80px;
  font-family: inherit;
  color: #0b2f19;
  position: relative;
  overflow: hidden;
}

.jj-milestone-section:before,
.jj-milestone-section:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fff0e3;
  opacity: .55;
  z-index: 0;
}

.jj-milestone-section:before {
  width: 360px;
  height: 220px;
  right: -120px;
  top: -80px;
}

.jj-milestone-section:after {
  width: 360px;
  height: 220px;
  left: -120px;
  bottom: -80px;
}

.jj-milestone-header,
.jj-timeline-wrap {
  position: relative;
  z-index: 2;
}

.jj-milestone-header {
  text-align: center;
  max-width: 940px;
  margin: 0 auto 52px;
}

.jj-top-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(233,75,18,.1);
}

.jj-top-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #e94b12;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jj-milestone-header h2 {
  margin: 0;
  font-size: 50px;
  line-height: 1.18;
  color: #0b3b1e;
  font-weight: 700;
}

.jj-milestone-header h2 span {
  color: #e94b12;
}

.jj-milestone-header i {
  display: block;
  width: 74px;
  height: 3px;
  background: #e94b12;
  margin: 22px auto;
}

.jj-milestone-header p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #5b6068;
}

.jj-timeline-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 70px;
}

.jj-timeline-line {
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e94b12;
  transform: translateX(-50%);
}

.jj-timeline-line:before,
.jj-timeline-line:after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 18px;
  background: #fffdf9;
  border: 4px solid #e94b12;
  border-radius: 50%;
  transform: translateX(-50%);
}

.jj-timeline-line:before {
  top: 45px;
}

.jj-timeline-line:after {
  bottom: 45px;
}

.jj-mile-card {
  min-height: 150px;
  background: #fffaf4;
  border: 1px solid #efd7c8;
  border-radius: 10px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  align-items: center;
  box-shadow: 0 10px 28px rgba(8,43,23,.05);
  transition: .35s ease;
  position: relative;
}

.jj-mile-card.left {
  grid-column: 1;
}

.jj-mile-card.right {
  grid-column: 2;
  margin-top: 80px;
}

.jj-mile-card:hover {
  transform: translateY(-8px);
  border-color: #e94b12;
  box-shadow: 0 20px 42px rgba(8,43,23,.12);
}

.jj-mile-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #fff7ef;
  border: 1px solid #f0d7c7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .35s ease;
}

.jj-mile-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #e94b12;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: .35s ease;
}

.jj-mile-card:hover .jj-mile-icon {
  background: #e94b12;
  transform: scale(1.08) rotate(4deg);
}

.jj-mile-card:hover .jj-mile-icon svg {
  stroke: #fff;
}

.jj-mile-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  color: #e94b12;
  line-height: 1;
}

.jj-mile-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.75;
  color: #111827;
}

.jj-mile-card p:last-child {
  margin-bottom: 0;
}

.jj-mile-card b {
  color: #0b1f2a;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .jj-milestone-header h2 {
    font-size: 40px;
  }

  .jj-timeline-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jj-timeline-line {
    left: 26px;
  }

  .jj-mile-card.left,
  .jj-mile-card.right {
    grid-column: 1;
    margin-top: 0;
    margin-left: 52px;
  }
}

@media (max-width: 767px) {
  .jj-milestone-section {
    padding: 45px 18px 60px;
  }

  .jj-milestone-header h2 {
    font-size: 31px;
  }

  .jj-milestone-header p {
    font-size: 15px;
  }

  .jj-milestone-header p br {
    display: none;
  }

  .jj-top-icon {
    width: 58px;
    height: 58px;
  }

  .jj-timeline-line {
    display: none;
  }

  .jj-mile-card.left,
  .jj-mile-card.right {
    margin-left: 0;
  }

  .jj-mile-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }

  .jj-mile-icon {
    margin: 0 auto;
  }

  .jj-mile-card h3 {
    font-size: 25px;
  }

  .jj-mile-card p {
    font-size: 14px;
  }
}
