.client_form_body {
    background: linear-gradient(45deg, #4a90e2, #2c3e50);
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    padding: 20px 0;
}

.form-container {
    max-width: 550px;
    margin: 30px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.form-container h2 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    color: #2c3e50;
    position: relative;
}

.form-container h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.form-container:hover h2:after {
    width: 100px;
}

.form-label {
    font-weight: 600;
    color: #444;
    transition: all 0.3s ease;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #bbb;
    transition: all 0.3s ease-in-out;
    padding: 12px;
    background-color: #f9f9f9;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    background-color: #fff;
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: white;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    width: 100%;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: linear-gradient(90deg, #0056b3, #003c82);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-submit:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-submit:hover:before {
    left: 100%;
}

.note {
    font-size: 14px;
    color: #d9534f;
    margin-top: 5px;
}

.form-floating {
    margin-bottom: 20px;
}

.form-icon {
    position: absolute;
    right: 15px;
    top: 17px;
    color: #007bff;
    transition: all 0.3s ease;
}

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-right: 40px;
}

.valid-feedback, .invalid-feedback {
    font-size: 12px;
    margin-top: 5px;
}

.is-valid {
    border-color: #28a745 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

/* AI Chat Button */
.ai-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #42a5f5, #2979ff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.ai-chat-button i {
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
}

.ai-chat-button span {
    position: absolute;
    background: #fff;
    color: #2979ff;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    bottom: -10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.ai-chat-button:hover span {
    opacity: 1;
    transform: translateY(0);
}

.ai-chat-button:hover i {
    animation: wiggle 1s ease;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(41, 121, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(41, 121, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(41, 121, 255, 0);
    }
}

@keyframes wiggle {
    0%, 100% {transform: rotate(0deg);}
    20% {transform: rotate(-15deg);}
    40% {transform: rotate(10deg);}
    60% {transform: rotate(-5deg);}
    80% {transform: rotate(5deg);}
}

.progress-bar-container {
    height: 5px;
    width: 100%;
    background: #f1f1f1;
    position: absolute;
    top: 0;
    left: 0;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #007bff, #00bcd4);
    transition: width 0.5s ease;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-prev {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
}

.btn-prev:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-next {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
}

.btn-next:hover {
    background: linear-gradient(90deg, #0056b3, #003c82);
    transform: translateY(-2px);
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% {transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {transform: translateX(-5px);}
    20%, 40%, 60%, 80% {transform: translateX(5px);}
}

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

.upload-preview {
    max-width: 100%;
    margin-top: 10px;
    text-align: center;
    padding: 15px;
    border: 1px dashed #ddd;
    border-radius: 10px;
    display: none;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.upload-preview:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.upload-preview i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 10px;
    animation: bounceIn 1s ease;
}

.upload-preview p {
    margin: 0;
    word-break: break-all;
    font-weight: 500;
    color: #333;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.success-message i {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h3 {
    margin-bottom: 20px;
    color: #333;
}

/* Enhanced Styling */
.form-header {
    position: relative;
    margin-bottom: 30px;
}

.form-title-icon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #42a5f5, #2979ff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.step.active {
    background: linear-gradient(135deg, #42a5f5, #2979ff);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step.completed {
    background: #28a745;
    color: white;
}

.step:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #f1f1f1;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    z-index: -1;
}

.step:last-child:after {
    display: none;
}

.step.completed:after {
    background: #28a745;
}

.form-floating .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-floating label {
    padding: 1rem 0.75rem;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: all 0.3s ease;
}

.input-with-icon .form-control {
    padding-left: 45px;
}

.input-with-icon .form-control:focus + .input-icon {
    color: #007bff;
}

.form-label {
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}

.file-upload-container {
    position: relative;
    overflow: hidden;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f9f9f9;
    cursor: pointer;
}

.file-upload-container:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.file-upload-container i {
    font-size: 40px;
    color: #aaa;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.file-upload-container:hover i {
    color: #007bff;
}

.file-upload-container input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-text {
    font-weight: 500;
    color: #555;
}

.typing-animation::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Form field floating animation */
.floating-label {
    position: relative;
    margin-bottom: 20px;
}

.floating-label input,
.floating-label textarea {
    width: 100%;
    padding: 15px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.floating-label label {
    position: absolute;
    top: 15px;
    left: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
    color: #888;
}

.floating-label input:focus,
.floating-label textarea:focus {
    border-color: #007bff;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.floating-label input:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label,
.floating-label textarea:focus ~ label,
.floating-label textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 15px;
    font-size: 12px;
    padding: 0 5px;
    background: white;
    color: #007bff;
}

.floating-label textarea {
    min-height: 120px;
    resize: vertical;
}

@keyframes bounceIn {
    0% { transform: scale(0.1); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

.btn-icon {
    margin-right: 8px;
}

.spinner-container {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.processing-message {
    margin-top: 15px;
    font-weight: 500;
    color: #007bff;
}

.btn-disabled {
    background: #cccccc !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-disabled:before {
    display: none;
}


.success_page_body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(45deg, #4a90e2, #2c3e50);
}

.container {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 450px;
    max-width: 90%;
}

.success-icon {
    font-size: 45px;
    color: #4CAF50;
    margin-bottom: 15px;
}

h2 {
    color: #2c3e50;
    font-size: 22px;
    margin: 0 0 5px 0;
}

h3 {
    color: #4a90e2;
    font-size: 20px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

p {
    font-size: 16px;
    color: #555;
    margin: 15px 0;
}

.link-container {
    position: relative;
    margin: 15px 0;
}

.link-box {
    background: #f0f7ff;
    padding: 12px 40px 12px 12px;
    border-radius: 8px;
    font-weight: 500;
    color: #2980b9;
    border: 1px solid #dce8f1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
}

.copy-btn:hover {
    background: #2980b9;
}

.btn-container {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.btn {
    flex: 1;
    margin: 0 5px;
    padding: 10px 5px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 5px;
}

.whatsapp {
    background: #25d366;
}

.whatsapp:hover {
    background: #128C7E;
}

.email {
    background: #4a90e2;
}

.email:hover {
    background: #3498db;
}

.success-message {
    color: #27ae60;
    font-size: 14px;
    margin-top: 15px;
    font-weight: 500;
    padding: 10px;
    border-radius: 8px;
    background: rgba(39, 174, 96, 0.1);
    border-left: 3px solid #27ae60;
    text-align: left;
}

.custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4a90e2;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}