/* * {
  outline: 1px solid;
} */
.step-by-step-card-section {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1472px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.step-by-step-title {
  align-self: center;
  color: var(--color-black);
  max-width: 1432px;
}

.step-by-step-title.h-l {
  text-align: center;
  line-height: 1.12;
}


.step-by-step-slider-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 46px;
  overflow: hidden;
}

.step-by-step-card-container-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-right: -40px;
  transition: transform 0.4s ease;
}

.front-back-card {
  flex: 0 0 322px;
  width: 322px;
  min-height: 375px;
  display: grid;
  overflow: hidden;
}

/* Front card */



.step-by-step-card-container {
  background-color: var(--color-background-white);
}

.step-by-step-card {

  padding-right: 40px;
  padding-bottom: 40px;
  padding-left: 40px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;

}


.front-back-card .card {
  /* width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  border-radius: 5px;
  clip-path: circle(0% at 0% 0%);
  transition: clip-path 400ms ease-out; */

  grid-area: 1 / 1;
  width: 100%;
  pointer-events: none;
  border-radius: 5px;
  transition: clip-path 400ms ease-out;
}

/* .step-by-step-card-container.card { */
/* position: relative; */
/* display: grid; */
/* } */

.step-by-step-card-container {
  clip-path: circle(0% at 100% 100%);
  transition: clip-path 400ms ease-out;
}

.step-by-step-card-container-back {
  clip-path: circle(0% at 0% 0%);
  transition: clip-path 400ms ease-out;
}

.step-by-step-card-container.step-by-step-card-active {
  clip-path: circle(150% at 100% 100%);
}

.step-by-step-card-container-back.step-by-step-card-active {
  clip-path: circle(150% at 0% 0%);
}

.step-by-step-card-container.step-by-step-card-active,
.step-by-step-card-container-back.step-by-step-card-active {
  pointer-events: auto;
}


/* .step-by-step-card-container {
  clip-path: circle(0% at 100% 100%);
}

.step-by-step-card-container.step-by-step-card-active,
.step-by-step-card-container-back.step-by-step-card-active {
  pointer-events: auto;
}


.step-by-step-card-container-back.step-by-step-card-active {
  clip-path: circle(150% at 0% 0%);
}

.step-by-step-card-container.step-by-step-card-active {
  clip-path: circle(150% at 100% 100%);
} */



.step-by-step-card .card-corner .step-number {
  color: var(--color-white);
  width: 29px;
  line-height: 48px;

}

.card-action {
  position: absolute;
  display: none;
  justify-content: flex-end;
  height: 40px;
  width: 40px;
  align-items: center;
  right: -21px;
  top: 15px;
}

.card-action.show{
    display: flex;
}

#prev-btn:not(:disabled),
#next-btn:not(:disabled) {
  color: var(--color-oja-blue);
}

#prev-btn:hover,
#next-btn:hover {
  color: var(--color-oja-turquoise);
}

.headesection {
  position: relative;
  height: 100px;
}

.step-by-step-card .card-corner {
  position: absolute;
  width: 377px;
  height: 377px;
  border-radius: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 90px;
  padding-bottom: 35px;
  top: calc(-377px / 1.35);
  left: calc(-377px /1.35);
}

.card-circle-color-1 {
  background-color: var(--color-oja-orange);
}

.card-circle-color-2 {
  background-color: var(--color-medium-blue);
}

.card-circle-color-3 {
  background-color: var(--color-deep-amber);
}

.card-circle-color-4 {
  background-color: var(--color-oja-burgundy);
}

.card-circle-color-5 {
  background-color: var(--color-oja-blue);
}

.card-circle-color-6 {
  background-color: var(--color-black);
}

.card-circle-color-7 {
  background-color: var(--color-medium-gray);
}



.contentsection {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.title,
.content {
  color: var(--color-black);

}



/* front card complete */

/* Back card */


.step-by-step-card-container-back {
  padding-top: 30px;
  padding-right: 40px;
  padding-bottom: 40px;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-white);
}

.content-title {
  position: relative;
  color: var(--color-white)
}

/* .contentsection .title,
.content-title {
  padding-right: 40px;
} */

.close-button {
  position: absolute;
  right: -23px;
  top: -12px;
}

.content-separator {
  width: 100%;
  border-bottom: 1px solid var(--border-light);
}

.content-tip {
  display: flex;
  flex-direction: column;
  gap: 16px;

}

.tip-wrapper {
  display: flex;
  gap: 8px;
}

.tip-icon {
  color: var(--color-light)
}

.tip-title {
  color: var(--color-white);
}

.tip-text {
  color: var(--color-white);
}



/* Back card complete */
.step-by-step-slider {
  display: none;
}

.step-by-step-slider.show {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.step-by-step-slider .slider-status {
  display: flex;
  gap: 12px;
  margin-top: 9px;
}

.step-by-step-slider .step-active,
.step-by-step-slider .step-normal {
  margin-top: -0.5px;
}

.step-by-step-slider .step-status {
  width: 34px;
  height: 9px;
  border-radius: 5px;
  opacity: 1;
  border: 1px solid var(--color-oja-turquoise);
  background-color: transparent;
  transition: background-color 300ms ease-out;
  cursor: pointer;
}

.step-status.active {
  background-color: var(--color-oja-turquoise);
}

.tip-icon.desktop-icon {
  display: block;
  width: 28px;
  height: 28px;
}

.tip-icon.mobile-icon {
  display: none;
}

.step-by-step-card-section .title-with-description {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.step-by-step-card-section .title-with-description .step-by-step-description {
  max-width: 708px;
  text-align: center;
  color: var(--color-black);
}

.step-by-step-card-section .title-with-description .step-by-step-description.h-s {
  line-height: 1.2414;
}

@media (max-width: 767px) {
  .step-by-step-slider {
    display: none;
  }

  .step-by-step-slider.show {
    display: none;
  }
  

  .step-by-step-card-container-wrapper {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
    gap: 40px;
  }



  .step-by-step-card-section {
    max-width: 390px;
    gap: 40px;
  }

  .step-by-step-title {
    text-align: center;
    line-height: 37px;
  }

  .step-by-step-title.h-l {
    line-height: 37px;
  }


  .more-guidance {
    gap: 24px;
    margin-top: 24px;
  }

  .step-by-step-card,
  .step-by-step-card-container-back {
    padding-right: 24px;
    padding-bottom: 28px;
    padding-left: 24px;
  }

  .step-by-step-card-container-back {
    padding-top: 26px;
  }

  .front-back-card {
    flex: auto;
    min-height: auto;
  }

  .headesection {
    height: 82px;
  }

  .step-by-step-card .card-corner {
    padding-right: 65px;
    padding-bottom: 35px;
    top: calc(-377px / 1.31);
    left: calc(-377px / 1.31);
  }

  .card-action {
    right: 0;
  }

  .contentsection {
    gap: 16px;
  }

  .close-button {
    right: -10px;
  }

  .content-title {
    padding-right: 95px;
    color: var(--color-light)
  }

  .tip-title {
    color: var(--color-white);
    line-height: 20px;
  }

  .tip-text {
    color: var(--color-light);
    line-height: 22px;
  }

  .tip-icon.desktop-icon {
    display: none;
  }

  .tip-icon.mobile-icon {
    display: block;
    width: 23px;
    height: 23px;
  }

  .contentsection .content {
    line-height: 23px;
  }

  .contentsection .title {
    line-height: 22px;
    padding-right: 0;
  }

  .card .content-title {
    line-height: 22px;
  }

  .step-by-step-card-section .title-with-description {
    gap: 24px;
  }

  .step-by-step-card-section .title-with-description .step-by-step-description {
    max-width: 390px;
  }

  .step-by-step-card-section .title-with-description .step-by-step-description.h-s {
    line-height: 27px;
  }
}


@media (min-width: 1024px) {

  .tip-text,
  .content-title,
  .contentsection .title {
    line-height: 28px;
  }

  .content {
    line-height: 24px;
  }
}