:root{
    	            --haf-primary: #090a51;
            --haf-primary-light: #090a51;
            --haf-primary-dark: #090a51;
            --haf-accent: #8b8bc4;
            --haf-bg: #f8f9fa;
            --haf-white: #ffffff;
            --haf-text: #2d3748;
            --haf-text-light: #718096;
            --haf-border: #e2e8f0;
            --haf-shadow: rgba(87, 87, 127, 0.08);
            --haf-shadow-lg: rgba(87, 87, 127, 0.15);
            --haf-success: #48bb78;
            --haf-error: #f56565;
}

/* Container */
        .haf-container {
            max-width: 900px;
            margin: 0 auto;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 24px;
            box-shadow: 0 20px 60px var(--haf-shadow-lg);
            overflow: hidden;
            position: relative;
			margin-bottom:30px;
        }

@media (max-width:991px){
	.haf-container{
					margin-left: 10px;
            margin-right: 10px;
	}
}
        
        /* Header Section */
        .haf-header {
            text-align: center;
            padding: 50px 40px 30px;
            background: linear-gradient(135deg, var(--haf-primary) 0%, var(--haf-primary-dark) 100%);
            color: var(--haf-white);
            position: relative;
            overflow: hidden;
        }
        
        .haf-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: rgba(255,255,255,0.05);
            border-radius: 50%;
            pointer-events: none;
        }
        
        .haf-header::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 300px;
            height: 300px;
            background: rgba(255,255,255,0.03);
            border-radius: 50%;
            pointer-events: none;
        }
        
        .haf-title {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
            letter-spacing: -0.5px;
        }
        
        .haf-subtitle {
            font-size: 1rem;
            opacity: 0.9;
            font-weight: 400;
            position: relative;
            z-index: 1;
        }
        
        /* Progress Steps */
        .haf-progress-wrapper {
            padding: 40px 40px 0;
        }
        
        .haf-steps {
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: 600px;
            margin: 0 auto 40px;
            position: relative;
        }
        
        .haf-step-line {
            position: absolute;
            top: 24px;
            left: 20%;
            right: 20%;
            height: 3px;
            background: var(--haf-border);
            z-index: 0;
            border-radius: 2px;
        }
        
        .haf-step-line-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            background: linear-gradient(90deg, var(--haf-primary) 0%, var(--haf-accent) 100%);
            border-radius: 2px;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            width: 0%;
        }
        
        .haf-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 1;
            flex: 1;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .haf-step:hover {
            transform: translateY(-2px);
        }
        
        .haf-step-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--haf-white);
            border: 3px solid var(--haf-border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: var(--haf-text-light);
            font-size: 1.1rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            box-shadow: 0 4px 15px var(--haf-shadow);
        }
        
        .haf-step.active .haf-step-circle {
            background: var(--haf-primary);
            border-color: var(--haf-primary);
            color: var(--haf-white);
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(87, 87, 127, 0.3);
        }
        
        .haf-step.completed .haf-step-circle {
            background: var(--haf-primary);
            border-color: var(--haf-primary);
            color: var(--haf-white);
        }
        
        .haf-step.completed .haf-step-circle::after {
            content: '✓';
            position: absolute;
            font-size: 1.3rem;
            animation: haf-check-pop 0.3s ease;
        }
        
        .haf-step.completed .haf-step-number {
            opacity: 0;
        }
        
        @keyframes haf-check-pop {
            0% { transform: scale(0); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        .haf-step-label {
            margin-top: 12px;
            font-size: 0.85rem;
            color: var(--haf-text-light);
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .haf-step.active .haf-step-label {
            color: var(--haf-primary);
            font-weight: 600;
            transform: translateY(-2px);
        }
        
        .haf-step.completed .haf-step-label {
            color: var(--haf-primary);
        }
        
        /* Form Content */
        .haf-form-wrapper {
            padding: 0 50px 50px;
        }
        
        .haf-step-content {
            display: none;
            animation: haf-fadeIn 0.5s ease;
        }
        
        .haf-step-content.active {
            display: block;
        }
        
        @keyframes haf-fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .haf-section-title {
            font-size: 1.6rem;
            color: var(--haf-text);
            margin-bottom: 8px;
            font-weight: 700;
        }
        
        .haf-section-desc {
            color: var(--haf-text-light);
            margin-bottom: 30px;
            font-size: 0.95rem;
        }
        
        /* Form Grid */
        .haf-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-bottom: 20px;
        }
        
        @media (max-width: 640px) {
            .haf-form-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .haf-form-group {
            position: relative;
        }
        
        .haf-form-group.full-width {
            grid-column: 1 / -1;
        }
        
        .haf-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--haf-text);
            font-size: 0.9rem;
        }
        
        .haf-required {
            color: var(--haf-primary);
        }
        
        .haf-input-wrapper {
            position: relative;
        }
        
        .haf-input,
        .haf-select {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid var(--haf-border);
            border-radius: 12px;
            font-size: 0.95rem;
            font-family: inherit;
            transition: all 0.3s ease;
            background: var(--haf-white);
            color: var(--haf-text);
        }
        
        .haf-input:focus,
        .haf-select:focus {
            outline: none;
            border-color: var(--haf-primary);
            box-shadow: 0 0 0 4px rgba(87, 87, 127, 0.1);
            transform: translateY(-1px);
        }
        
        .haf-input::placeholder {
            color: #a0aec0;
        }
        
        .haf-select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2357577f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 20px;
            padding-right: 45px;
        }
        
        .haf-phone-wrapper {
            display: flex;
            gap: 10px;
        }
        
        .haf-country-code {
            width: 100px;
            flex-shrink: 0;
        }
        
        /* Norwood Scale */
        .haf-scale-container {
            margin-bottom: 30px;
        }
        
        .haf-scale-label {
            font-weight: 600;
            color: var(--haf-text);
            margin-bottom: 20px;
            display: block;
            font-size: 0.95rem;
        }
        
        .haf-scale-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 16px;
        }
        
        .haf-scale-item {
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .haf-scale-item:hover {
            transform: translateY(-5px);
        }
        
        .haf-scale-input {
            position: absolute;
            opacity: 0;
        }
        
        .haf-scale-card {
            background: var(--haf-white);
            border: 2px solid var(--haf-border);
            border-radius: 16px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .haf-scale-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--haf-primary);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .haf-scale-item:hover .haf-scale-card {
            border-color: var(--haf-primary-light);
            box-shadow: 0 10px 30px var(--haf-shadow);
        }
        
        .haf-scale-input:checked + .haf-scale-card {
            border-color: var(--haf-primary);
            background: linear-gradient(135deg, rgba(87, 87, 127, 0.05) 0%, rgba(87, 87, 127, 0.02) 100%);
            box-shadow: 0 10px 30px rgba(87, 87, 127, 0.15);
        }
        
        .haf-scale-input:checked + .haf-scale-card::before {
            transform: scaleX(1);
        }
        
        .haf-scale-image {
            width: 60px;
            height: 60px;
            margin: 0 auto 12px;
            background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            position: relative;
            overflow: hidden;
        }
        
        .haf-scale-image::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 20px;
            background: var(--haf-text);
            border-radius: 20px 20px 0 0;
            opacity: 0.3;
        }
        
        /* Different stages visualization */
        .haf-scale-item[data-stage="1"] .haf-scale-image::after {
            width: 35px;
            height: 15px;
            opacity: 0.2;
        }
        
        .haf-scale-item[data-stage="2"] .haf-scale-image::after {
            width: 30px;
            height: 18px;
            opacity: 0.4;
            left: 45%;
        }
        
        .haf-scale-item[data-stage="3"] .haf-scale-image::after {
            width: 25px;
            height: 20px;
            opacity: 0.5;
            left: 40%;
        }
        
        .haf-scale-item[data-stage="4"] .haf-scale-image::after {
            width: 20px;
            height: 22px;
            opacity: 0.6;
            left: 35%;
        }
        
        .haf-scale-item[data-stage="5"] .haf-scale-image::after {
            width: 15px;
            height: 25px;
            opacity: 0.7;
            left: 30%;
        }
        
        .haf-scale-item[data-stage="6"] .haf-scale-image::after {
            width: 10px;
            height: 28px;
            opacity: 0.8;
            left: 25%;
        }
        
        .haf-scale-text {
            font-weight: 600;
            color: var(--haf-text);
            font-size: 0.9rem;
        }
        
        /* Radio Group */
        .haf-radio-group {
            margin-bottom: 30px;
        }
        
        .haf-radio-label {
            font-weight: 600;
            color: var(--haf-text);
            margin-bottom: 16px;
            display: block;
            font-size: 0.95rem;
        }
        
        .haf-radio-options {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .haf-radio-item {
            position: relative;
            cursor: pointer;
        }
        
        .haf-radio-input {
            position: absolute;
            opacity: 0;
        }
        
        .haf-radio-card {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            border: 2px solid var(--haf-border);
            border-radius: 12px;
            transition: all 0.3s ease;
            background: var(--haf-white);
        }
        
        .haf-radio-item:hover .haf-radio-card {
            border-color: var(--haf-primary-light);
            background: rgba(87, 87, 127, 0.02);
        }
        
        .haf-radio-input:checked + .haf-radio-card {
            border-color: var(--haf-primary);
            background: rgba(87, 87, 127, 0.05);
        }
        
        .haf-radio-circle {
            width: 22px;
            height: 22px;
            border: 2px solid var(--haf-border);
            border-radius: 50%;
            margin-right: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        
        .haf-radio-input:checked + .haf-radio-card .haf-radio-circle {
            border-color: var(--haf-primary);
            background: var(--haf-primary);
        }
        
        .haf-radio-circle::after {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--haf-white);
            border-radius: 50%;
            transform: scale(0);
            transition: transform 0.2s ease;
        }
        
        .haf-radio-input:checked + .haf-radio-card .haf-radio-circle::after {
            transform: scale(1);
        }
        
        .haf-radio-text {
            font-size: 0.95rem;
            color: var(--haf-text);
            font-weight: 500;
        }
        
        /* Consultation Options */
        .haf-consult-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .haf-consult-item {
            position: relative;
            cursor: pointer;
        }
        
        .haf-consult-input {
            position: absolute;
            opacity: 0;
        }
        
        .haf-consult-card {
            background: var(--haf-white);
            border: 2px solid var(--haf-border);
            border-radius: 16px;
            padding: 30px 25px;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .haf-consult-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(87, 87, 127, 0.05) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .haf-consult-item:hover .haf-consult-card {
            transform: translateY(-5px);
            border-color: var(--haf-primary-light);
            box-shadow: 0 15px 40px var(--haf-shadow);
        }
        
        .haf-consult-input:checked + .haf-consult-card {
            border-color: var(--haf-primary);
            box-shadow: 0 15px 40px rgba(87, 87, 127, 0.2);
        }
        
        .haf-consult-input:checked + .haf-consult-card::before {
            opacity: 1;
        }
        
        .haf-consult-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--haf-primary) 0%, var(--haf-accent) 100%);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: var(--haf-white);
            font-size: 1.8rem;
            position: relative;
            z-index: 1;
        }
        
        .haf-consult-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--haf-text);
            margin-bottom: 8px;
            position: relative;
            z-index: 1;
        }
        
        .haf-consult-desc {
            font-size: 0.9rem;
            color: var(--haf-text-light);
            margin-bottom: 12px;
            line-height: 1.5;
            position: relative;
            z-index: 1;
        }
        
        .haf-consult-badge {
            display: inline-block;
            padding: 6px 14px;
            background: rgba(87, 87, 127, 0.1);
            color: var(--haf-primary);
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            position: relative;
            z-index: 1;
        }
        
        .haf-consult-input:checked + .haf-consult-card .haf-consult-badge {
            background: var(--haf-primary);
            color: var(--haf-white);
        }
        
        /* Checkbox */
        .haf-checkbox-group {
            margin-bottom: 30px;
        }
        
        .haf-checkbox-item {
            display: flex;
            align-items: flex-start;
            cursor: pointer;
            position: relative;
        }
        
        .haf-checkbox-input {
            position: absolute;
            opacity: 0;
        }
        
        .haf-checkbox-box {
            width: 22px;
            height: 22px;
            border: 2px solid var(--haf-border);
            border-radius: 6px;
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
            margin-top: 2px;
        }
        
        .haf-checkbox-input:checked + .haf-checkbox-box {
            background: var(--haf-primary);
            border-color: var(--haf-primary);
        }
        
        .haf-checkbox-box::after {
            content: '✓';
            color: var(--haf-white);
            font-size: 0.8rem;
            font-weight: 700;
            transform: scale(0);
            transition: transform 0.2s ease;
        }
        
        .haf-checkbox-input:checked + .haf-checkbox-box::after {
            transform: scale(1);
        }
        
        .haf-checkbox-text {
            font-size: 0.95rem;
            color: var(--haf-text);
            line-height: 1.5;
        }
        
        .haf-checkbox-text a {
            color: var(--haf-primary);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s ease;
        }
        
        .haf-checkbox-text a:hover {
            border-bottom-color: var(--haf-primary);
        }
        
        /* Buttons */
        .haf-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid var(--haf-border);
        }
        
        .haf-btn {
            padding: 14px 32px;
            border: none;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: inherit;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .haf-btn-secondary {
            background: #edf2f7;
            color: var(--haf-text);
        }
        
        .haf-btn-secondary:hover {
            background: #e2e8f0;
            transform: translateY(-2px);
        }
        
        .haf-btn-primary {
            background: linear-gradient(135deg, var(--haf-primary) 0%, var(--haf-primary-dark) 100%);
            color: var(--haf-white);
            box-shadow: 0 4px 15px rgba(87, 87, 127, 0.3);
        }
        
        .haf-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(87, 87, 127, 0.4);
        }
        
        .haf-btn-primary:active {
            transform: translateY(0);
        }
        
        .haf-btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        
        /* Success Message */
        .haf-success-message {
            display: none;
            text-align: center;
            padding: 60px 40px;
            animation: haf-fadeIn 0.5s ease;
        }
        
        .haf-success-message.active {
            display: block;
        }
        
        .haf-success-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, var(--haf-success) 0%, #38a169 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            color: var(--haf-white);
            font-size: 3rem;
            box-shadow: 0 10px 30px rgba(72, 187, 120, 0.3);
            animation: haf-success-pop 0.5s ease;
        }
        
        @keyframes haf-success-pop {
            0% { transform: scale(0); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .haf-success-title {
            font-size: 2rem;
            color: var(--haf-text);
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        .haf-success-text {
            color: var(--haf-text-light);
            font-size: 1.1rem;
            max-width: 500px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        /* Validation Error */
        .haf-error-msg {
            color: var(--haf-error);
            font-size: 0.85rem;
            margin-top: 6px;
            display: none;
            align-items: center;
            gap: 5px;
        }
        
        .haf-error-msg.show {
            display: flex;
        }
        
        .haf-input.error {
            border-color: var(--haf-error);
        }
        
        /* Loading State */
        .haf-loading {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255,255,255,0.9);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 20px;
        }
        
        .haf-loading.active {
            display: flex;
        }
        
        .haf-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid var(--haf-border);
            border-top-color: var(--haf-primary);
            border-radius: 50%;
            animation: haf-spin 1s linear infinite;
        }
        
        @keyframes haf-spin {
            to { transform: rotate(360deg); }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .haf-header {
                padding: 30px 20px;
            }
            
            .haf-title {
                font-size: 1.6rem;
            }
            
            .haf-form-wrapper {
                padding: 0 20px 30px;
            }
            
            .haf-progress-wrapper {
                padding: 30px 20px 0;
            }
            
            .haf-step-circle {
                width: 40px;
                height: 40px;
                font-size: 0.9rem;
            }
            
            .haf-step-label {
                font-size: 0.75rem;
            }
            
            .haf-step-line {
                top: 20px;
            }
            
            .haf-scale-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .haf-consult-grid {
                grid-template-columns: 1fr;
            }
        }
        
        /* Animations */
        .haf-shake {
            animation: haf-shake 0.5s ease;
        }
        
        @keyframes haf-shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }