.milestone-bg-icon {
  position: absolute;
  top: -15px;
  width: 29%;
}

.my-form {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
  background-color: rgba(17, 17, 17, 0.9);
}

.my-form div {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  height: 200px;
  width: 300px;
  background-color: white;
  padding: 20px;
}

.milestone-login-btn {
  position: absolute;
  justify-content: flex-end;
  width: 100%;
  padding-top: 40px;
  bottom: 0px;
  right: 10px;
}

.milestone-login-btn .showBtn {
  border: none;
  display: flex;
  padding: 0;
  width: 100px;
  height: 40px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
}

.milestone {
  align-items: center;
  justify-items: center;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-top: -30px;
  position: relative;
}

.milestone-container {
  display: block;
  max-width: 1440px;
  height: auto;
  padding-bottom: 252px;
  padding-top: 88px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  clip-path: path('M0,600px Q25%,500px 100%,600 L100%,800px Q25%,700px 0,200px Z');
}

.milestone-header {
  text-align: right;
  color: white;
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  width: 100%;
}

.milestone-item {
  overflow: hidden;
  padding: 16px;
  display: flex;
  width: 100%;
  box-shadow: 0px 2px 4px 0px #ffffff40 inset;
  box-shadow: 0px 4px 4px 0px #00000033;
  border: white 1px solid;
  margin-top: 12px;
}

.top-line {
  height: 21px;
  width: 56px;
  position: absolute;
  left: 8px;
  margin-top: -9px;
}

.bottom-line {
  height: 21px;
  width: 112px;
  position: absolute;
  right: 12px;
  margin-top: -10px;
}

.milestone-item-img {
  height: 230px;
  width: 132px;
  object-fit: fill;
}

.milestone-final-item-img {
  height: 251px;
  width: 132px;
  object-fit: cover;
}

.milestone-item-description {
  justify-items: left;
  position: relative;
  width: 100%;
  padding-right: 16px;
  padding-left: 16px;
}

.title-center {
  width: 100%;
  justify-items: center;
}

.milestone-item-title {
  margin-left: 12px;
  border-radius: 1px;
  padding-top: 2px;
  justify-items: center;
  align-items: end;
  position: relative;
  background-color: white;
  width: 193px;
  height: 32px;
}

.milestone-item-title p {
  border: 1px #003eab solid;
  border-radius: 1px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
  color: white;
  background-color: #ff8300;
  padding-top: 1px;
  width: 213px;
  height: 28px;
}

.milestone-final-item-title {
  margin-left: 12px;
  border-radius: 5px;
  padding-top: 2px;
  justify-items: center;
  align-items: end;
  position: relative;
  background-color: #b35c00;
  width: 193px;
  height: 32px;
}

.milestone-final-item-title p {
  padding-top: 1px;
  border: 1px #003eab solid;
  border-radius: 1px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
  color: #003eab;
  background: linear-gradient(88.86deg,
      #c27b12 -0.86%,
      #fcc574 18.69%,
      #ffdba6 22.41%,
      #fcc87b 26.43%,
      #fcbd62 33.81%,
      #ffdfaf 46.68%,
      #ffc167 57.62%,
      #ffc672 72.29%,
      #fedfb2 81.76%,
      #ffc675 91.18%,
      #c47401 100%);
  width: 213px;
  height: 28px;
}

.milestone-item-inf {
  gap: 10px;
  margin-top: 8px;
  padding: 0 2px;
  display: flex;
}

.milestone-item-inf svg {
  width: 18px;
  height: 24px;
}

.final-svg {
  width: 50px !important;
  height: 65px !important;
}

.milestone-item-inf p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: white;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
}

/* Tablet (>=768px) */
@media (min-width: 768px) {
  .milestone-bg-icon {
    top: -30px;
    width: 33%;
  }

  .milestone-login-btn .showBtn {
    font-size: 16px;
    font-weight: 600;
  }

  .top-line {
    margin-top: -8px;
    left: 40px;
  }

  .final-top-line {
    margin-top: -10px;
  }

  .bottom-line {
    right: 48px;
  }

  .milestone-container {
    padding-bottom: 500px;
    padding-top: 220px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .milestone-header {
    text-align: right;
    font-size: 80px;
  }

  .milestone-item-img {
    margin-top: 30px;
    height: 230px;
    width: 132px;
    object-fit: fill;
  }

  .milestone-item-title {
    width: 458px;
  }

  .milestone-item-title p {
    padding-top: 0px;
    width: 482px;
    font-size: 18px;
  }

  .milestone-final-item-img {
    min-width: 240px;
    min-height: 163px;
    width: 240px;
    height: 107px;
    object-fit: cover;
  }

  .milestone-final-item-title {
    width: 458px;
  }

  .milestone-final-item-title p {
    padding-top: 0px;
    width: 482px;
    font-size: 18px;
  }

  .milestone-item-inf {
    gap: 12px;
  }

  .milestone-item-inf p {
    font-size: 16px;
  }
}

/* Desktop (>=992px) */
@media (min-width: 992px) {
  .milestone-header-content {
    font-size: 120px;
  }

  .milestone-item.milestone-final-item {
    border: 4px solid #c47401;
  }

  svg.final-svg {
    width: 40px !important;
    height: 78px !important;
  }

  p.milestone-item-final-text {
    font-size: 50px !important;
  }

  .milestone-bg-icon {
    top: -20px;
    width: 33%;
  }

  .milestone-login-btn .showBtn {
    font-size: 18px;
    font-weight: 700;
  }

  .milestone-item-inf {
    margin-top: 12px;
  }

  .milestone-item {
    padding-top: 6px;
  }

  .top-line {
    margin-top: -2px;
    margin-left: -32px;
  }

  .milestone-container {
    padding-top: 320px;
    padding-bottom: 800px;
    display: flex;
    justify-content: center;
  }

  .desktop-container {
    margin-top: 20px;
    width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
  }

  .milestone-header {
    width: 100%;
    font-size: 84px;
    text-align: right;
  }

  .desktop-item {
    position: relative;
    width: 588px;
    box-sizing: border-box;
  }

  .milestone-final-item {
    padding-top: 16px;
    padding-bottom: 16px;
    width: 1200px;
  }

  .milestone-item-img {
    height: 230px;
    width: 132px;
    object-fit: fill;
  }

  .milestone-final-item-img {
    min-width: 251px;
    width: 624px;
    height: 350px;
    object-fit: fill;
  }

  .milestone-item-title {
    width: 340.941162109375px;
    height: 32px;
  }

  .milestone-final-item-title {
    width: 685.3452758789062px;
    height: 74px;
  }

  .milestone-item-title p {
    width: 378px;
  }

  .milestone-final-item-title p {
    padding-top: 10px;
    width: 768px;
    height: 70px;
    font-size: 32px;
  }

  .milestone-item-description {
    padding-left: 24px;
  }

  .final-top-line {
    margin-left: 88px;
    margin-top: -10px;
  }

  .final-bottom-line {
    margin-right: 100px;
  }

  .milestone {
    margin-top: -100px;
    padding-bottom: 400px;
  }
}

@media (min-width: 1450px) {
  .milestone-container {
    padding-top: 350px;
  }
}

@media (max-width: 573px) {
  .milestone-item.milestone-final-item {
    border: 2px solid #c47401;
  }

  svg.final-svg {
    width: 30px !important;
    height: 35px !important;
  }

  .milestone-header {
    justify-content: flex-start !important;
  }

  .milestone-item-final-text {
    font-size: 25px !important;
  }
}

@media (min-width: 576px) {
  .milestone-item.milestone-final-item {
    border: 4px solid #c47401;
  }

  svg.final-svg {
    width: 30px !important;
    height: 35px !important;
  }

  p.milestone-item-final-text {
    font-size: 24px !important;
  }

  .milestone-header {
    justify-content: flex-end !important;
  }

  .milestone-header-content {
    width: 100% !important;
  }

  .milestone-item-final-text {
    font-size: 14px !important;
  }

  .final-svg {
    width: 18px !important;
    height: 24px !important;
  }
}

@media (max-width: 772px) {
  .milestone-item.milestone-final-item {
    border: 2px solid #c47401;
  }

  p.milestone-item-final-text {
    font-size: 20px !important;
  }

  .milestone-bg-icon {
    top: -30px;
    width: 33%;
  }

  .milestone-header {
    justify-content: flex-end !important;
  }
}

.pt-40 {
  padding-top: 80px;
}