.step {
    margin-top: -100px;
    width: 100%; /* Make sure each step takes full width */
    display: none; /* Hide all steps initially */
    transition: transform 0.6s ease; /* Add a smooth transition for sliding */
}

.w-50 {
    width: 50%;
}

.step.active {
    display: block; /* Only the active step is displayed */
    transform: translateX(0); /* Center the active step */
}

.step.prev-slide {
    display: block;
    transform: translateX(-100%); /* Slide from the left */
}

.step.next-slide {
    display: block;
    transform: translateX(100%); /* Slide from the right */
}

.btn-next-register:hover {
    opacity: 0.8;
    background-color: black;
    color: white;
}

.step button.border-step:hover {
    opacity: 0.8;
    background-color: black;
    color: white;
}

.box-step-3 {
    width: 60%;
    height: 320px;
    position: relative;
}

.px-register {
    padding-left: 6rem;
    padding-right: 6rem;
}

.position-relative {
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.overlay img {
    filter: brightness(0) invert(1);
}

.rounded-box {
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
}

.box-achieve {
    cursor: pointer;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background-color: #2BD3CA;
    padding: 10px;
    position: absolute;
    transform: scale(0);
    transition: all 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.mx-1 {
    margin-right: 5px;
    margin-left: 5px;
}

@media only screen and (max-width: 1300px) {
    .box-step-3 {
        width: 75%;
    }
}

@media only screen and (max-width: 1000px) {
    .box-step-3 {
        width: 100%;
    }
}

.box-achieve:hover {
    width: 12rem;
    height: 12rem;
    background-color: #127e779e;
}

.box-achieve.active {
    width: 11.5rem;
    height: 11.5rem;
    background-color: #127E77;
}

.box-achieve.show {
    transform: scale(1);
}


.icon-step-3 {
    width: 44px;
    height: 44px;
}

.btn-nav {
    max-width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 90px;
    margin-bottom: 50px;
}

@media only screen and (max-width: 991px) {
    .btn-nav {
        max-width: 80%;
    }
}

.border-step {
    border: 1px solid;
}

.step-title {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 2.7rem;
    margin-bottom: 3.5rem;
}

.fs-16 {
    font-size: 1rem;
}

.step-progress {
    width: 80%;
    margin-bottom: 3.5rem;
}

.mb-step {
    margin-bottom: 3.5rem;
}

.welcome-title {
    width: 660px;
    text-align: center;
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 3.25rem;
    margin-bottom: 3.5rem;
}

.box-achieve .uncheck img, .box-achieve .checked img {
    transition: opacity 0.3s ease-in-out; /* Smooth transition for opacity */
}

.welcome-gray {
    color: #979797;
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

.student-img {
    width: 200px;
    height: 200px;
}

.expert-img {
    width: 250px;
    height: 200px;
}

.card-radio {
    background: white;
    cursor: pointer;
    border-width: 1px;
}

.card-radio:hover {
    background-color: #9fd8d4;
}

.card-radio.active {
    background-color: #21a299;
    border: 1px solid #21a299;
}

.card-radio.active .form-radio {
    color: white;
}

.card-radio.active .fake-radio {
    border: 2px solid white;
    background-color: #21a299;
}

.form-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.fake-radio {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid;
    background-color: white;
}

.card-70 {
    width: 83%;
    max-width: 330px;
    background: white;
    text-align: center;
    cursor: pointer;
    margin-bottom: 80px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-70:hover {
    box-shadow: -8px 8px 0 #0fbeb4;
    transform: translate(8px, -8px);
}

.sign-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.text-blue-gradient {
    background: linear-gradient(90deg, #21E4D9, #00A39A);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

@media only screen and (max-width: 1024px) {
    .step {
        margin-top: 10px;
    }
    
    .px-register {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .w-50 {
        width: 80%;
    }
}
.custom-step-progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.custom-step-progress {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}

.custom-step-progress .custom-step-icon {
  position: relative;
  z-index: 2;
  background-color: #D0D0D0; /* Default gray for non-active steps */
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  transition: background-color 0.5s ease, transform 0.3s ease;
}

.custom-step-progress .custom-step-icon:first-child {
  background-color: #1FA299; /* Green for the first (active) step initially */
}

.custom-step-progress .custom-step-icon.active {
  background-color: #1FA299;
  width: 25px;
  height: 25px;
  transform: scale(1.1); /* Slight zoom-in effect for active step */
}

/* Gray line that is always visible */
.custom-progress-background {
  position: absolute;
  top: 8.5px;
  height: 7px;
  width: 100%;
  background-color: #D0D0D0; /* Always visible gray background line */
  z-index: 0;
}

/* The progress bar that will animate */
.custom-progress-bar {
  position: absolute;
  top: 8.5px;
  height: 7px;
  width: 0; /* Initially 0 width */
  background-color: #1FA299; /* Green progress bar */
  transition: width 0.4s ease, background-color 0.4s ease;
  z-index: 1;
}

.custom-step-labels {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.custom-step-label {
  font-size: 16px;
  color: black;
  text-align: center;
}
