.franchise-form-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    margin: 30px 0 50px;
}

.progressbar::before,
.progress {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #dcdcdc;
    z-index: 1;
}

.progress {
    background-color: #01d6a3;
    width: 0%;
    transition: 0.3s;
}

.progress-step {
    width: 35px;
    height: 35px;
    background-color: #dcdcdc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.progress-step::before {
    counter-increment: step;
    content: counter(step);
    color: #fff;
    font-weight: bold;
}

.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 10px);
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.progress-step-active {
    background-color: #f7941e;
    color: #fff;
}

/* Form Styles */
.franchise-form {
    padding: 0px;
}

.form-step {
    display: none;
    animation: fade 0.5s;
}

.form-step-active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    text-align: center;
    color: #033b4a;
    font-weight: 600;
    position: relative;
}

/* Form Fields Styling */
.franchise-form .row {
    margin-bottom: 20px;
}

/* Form Fields Styling */
.franchise-form .row {
    margin-bottom: 20px;
}


/* Form Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f2f2f2;
}

/* For single button (first step) */
.form-step:first-child .form-footer {
    justify-content: flex-end;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .progressbar::after {
        font-size: 12px;
    }

    .progress-step::after {
        font-size: 12px;
    }

    .form-footer {
        flex-direction: column;
        gap: 10px;
    }

    .form-footer button {
        width: 100%;
    }
}

/* Animations and Transitions */
.franchise-form button {
    transition: all 0.3s ease;
}

.franchise-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}