.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
    max-width: 600px;
    position: relative;
}

.stepper-wrapper::before {
    content: '';
    position: absolute;
    top: 33%;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    z-index: 1;
}

.step-counter {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-name {
    font-size: 13px;
    color: #999;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stepper-item.active .step-counter {
    background: linear-gradient(135deg, #dc6c03 0%, #FF7C00 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 108, 3, 0.4);
}

.stepper-item.active .step-name {
    color: #dc6c03;
    font-weight: 600;
}

.stepper-item.completed .step-counter {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 15px rgba(3, 220, 79, 0.4);
}

.stepper-item.completed .step-name {
    color: #10b981;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.section-sub-titles {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styling */
.form-label {
    font-weight: 500;
    color: #3c3c3c;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control, .form-select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.3s ease;
}


.form-control:focus, .form-select:focus {
    background-color: #ffff !important;
    border-color: #b0aeac;
    box-shadow: 0 0 0 1px rgba(220, 108, 3, 0.1);
    outline: none;
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus, .form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-check-input.is-invalid {
    border-color: #dc3545;
}

#terms-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Button Styling */
.btn-custom-stepper {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-custom-stepper.btn-primary {
    background: linear-gradient(135deg, #f67802 0%, #FF7C00 100%);
    border: none;
}

.btn-custom-stepper.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 108, 3, 0.4);
}

.btn-custom-stepper.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
}

.btn-custom-stepper.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-custom-stepper.btn-outline-secondary {
    border: 2px solid #d1d5db;
    color: #6b7280;
}

.btn-custom-stepper.btn-outline-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* Checkbox Styling */
.form-check-input {
    border: 2px solid #d1d5db;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.form-check-input:checked {
    background-color: #dc6c03;
    border-color: #dc6c03;
}

.form-check-input:focus {
    border-color: #dc6c03;
    box-shadow: 0 0 0 3px rgba(220, 108, 3, 0.1);
}

.form-check-label {
    font-size: 14px;
    user-select: none;
    cursor: pointer;
}

/* Toast Styling */
.toast {
    min-width: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stepper-wrapper::before {
        top: 32%;
    }

    .stepper-wrapper {
        max-width: 100%;
    }
    
    .step-counter {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-name {
        font-size: 11px;
    }
    
    .container {
        padding: 15px;
    }
    
    form {
        padding: 20px !important;
    }
    
    h5 {
        font-size: 18px;
    }
    
    
}

@media (max-width: 576px) {
    .stepper-wrapper {
        padding: 0 10px;
    }
    
    .step-name {
        font-size: 10px;
    }
    
    .btn-custom-stepper {
        white-space: nowrap !important;   
        flex-shrink: 0 !important;        
    }
}

/* Custom Suggestion Box */
#educationListCustom {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
}

#educationListCustom li {
    list-style: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

#educationListCustom li:hover {
    background: #f5f5f5;
}