{"id":10469,"date":"2026-03-16T07:08:52","date_gmt":"2026-03-16T07:08:52","guid":{"rendered":"https:\/\/iacmena.com\/?page_id=10469"},"modified":"2026-03-16T07:09:00","modified_gmt":"2026-03-16T07:09:00","slug":"in-house-proposal","status":"publish","type":"page","link":"https:\/\/iacmena.com\/ar\/in-house-proposal\/","title":{"rendered":"In House Proposal"},"content":{"rendered":"    <style>\n        .ihp-wrapper { font-family: inherit; max-width: 860px; margin: 0 auto; }\n        .ihp-wrapper h2 { font-size: 24px; font-weight: 800; color: #0d2142; margin: 0 0 24px; }\n        .ihp-step { border: 1px solid #dde3ed; border-radius: 8px; overflow: hidden; margin-bottom: 24px; background: #fff; box-shadow: 0 2px 12px rgba(13,33,66,0.06); }\n        .ihp-step-header { background: #0d2142; color: #fff; padding: 14px 20px; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }\n        .ihp-step-number { background: #4a90d9; color: #fff; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 4px; letter-spacing: 0.3px; }\n        .ihp-step-body { padding: 24px 20px; }\n        .ihp-row { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }\n        .ihp-field { flex: 1; min-width: 160px; }\n        .ihp-field.full { flex: 1 1 100%; }\n        .ihp-field input, .ihp-field select, .ihp-field textarea { width: 100%; padding: 10px 14px; border: 1px solid #c5ced9; border-radius: 5px; font-size: 13px; font-family: inherit; box-sizing: border-box; outline: none; transition: border-color 0.2s; background: #fff; color: #333; height: auto !important; }\n        .ihp-field input:focus, .ihp-field select:focus, .ihp-field textarea:focus { border-color: #0d2142; }\n        .ihp-field textarea { resize: vertical; min-height: 100px; }\n        .ihp-submit-wrap { padding: 0 20px 24px; }\n        .ihp-submit-btn { background: #4a90d9; color: #fff; border: none; padding: 11px 28px; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; }\n        .ihp-submit-btn:hover { background: #0d2142; }\n        .ihp-success { display: none; text-align: center; padding: 50px 20px; background: #fff; border: 1px solid #dde3ed; border-radius: 8px; }\n        .ihp-success-icon { font-size: 56px; margin-bottom: 16px; }\n        .ihp-success h3 { color: #0d2142; font-size: 20px; margin: 0 0 10px; }\n        .ihp-success p { color: #666; font-size: 14px; }\n        .ihp-field input.ihp-error, .ihp-field select.ihp-error, .ihp-field textarea.ihp-error { border-color: #e74c3c !important; }\n        @media(max-width:600px) { .ihp-row { flex-direction: column; gap: 10px; } }\n        input[type=\"text\"],input[type=\"email\"],input[type=\"tel\"],input[type=\"url\"],input[type=\"search\"],input[type=\"number\"] { height:auto !important; }\n    <\/style>\n\n    <div class=\"ihp-wrapper\" id=\"ihpWrapper\">\n        <h2>Request an In-House Proposal<\/h2>\n        <div class=\"ihp-step\">\n            <div class=\"ihp-step-header\"><span class=\"ihp-step-number\">Step 1<\/span> Course Details<\/div>\n            <div class=\"ihp-step-body\">\n                <div class=\"ihp-row\"><div class=\"ihp-field full\"><input type=\"text\" id=\"ihp_course_name\" placeholder=\"Course Name\" value=\"\" \/><\/div><\/div>\n                <div class=\"ihp-row\">\n                    <div class=\"ihp-field\"><input type=\"text\" id=\"ihp_location\" placeholder=\"Location *\" \/><\/div>\n                    <div class=\"ihp-field\"><select id=\"ihp_number_of_days\"><option value=\"\" disabled selected>Number of Days<\/option><option>1 Day<\/option><option>2 Days<\/option><option>3 Days<\/option><option>4 Days<\/option><option>5 Days<\/option><option>6 Days<\/option><option>7 Days<\/option><option>10 Days<\/option><option>Other<\/option><\/select><\/div>\n                <\/div>\n                <div class=\"ihp-row\">\n                    <div class=\"ihp-field\"><input type=\"number\" id=\"ihp_participants\" placeholder=\"Number of Participants *\" min=\"1\" \/><\/div>\n                    <div class=\"ihp-field\"><select id=\"ihp_language\"><option value=\"\" disabled selected>Preferred Language *<\/option><option>English<\/option><option>Arabic<\/option><option>French<\/option><option>Other<\/option><\/select><\/div>\n                    <div class=\"ihp-field\"><select id=\"ihp_audience\"><option value=\"\" disabled selected>Targeted Level of Audience<\/option><option>Entry Level<\/option><option>Mid Level<\/option><option>Senior Level<\/option><option>Executive Level<\/option><option>Mixed Levels<\/option><\/select><\/div>\n                <\/div>\n                <div class=\"ihp-row\"><div class=\"ihp-field full\"><textarea id=\"ihp_requirements\" placeholder=\"Other Requirements\"><\/textarea><\/div><\/div>\n            <\/div>\n        <\/div>\n        <div class=\"ihp-step\">\n            <div class=\"ihp-step-header\"><span class=\"ihp-step-number\">Step 2<\/span> Contact Information<\/div>\n            <div class=\"ihp-step-body\">\n                <div class=\"ihp-row\">\n                    <div class=\"ihp-field\"><input type=\"text\" id=\"ihp_first_name\" placeholder=\"First Name *\" \/><\/div>\n                    <div class=\"ihp-field\"><input type=\"text\" id=\"ihp_last_name\" placeholder=\"Last Name *\" \/><\/div>\n                    <div class=\"ihp-field\"><input type=\"text\" id=\"ihp_designation\" placeholder=\"Designation *\" \/><\/div>\n                <\/div>\n                <div class=\"ihp-row\">\n                    <div class=\"ihp-field\"><input type=\"tel\" id=\"ihp_phone\" placeholder=\"Phone Number *\" \/><\/div>\n                    <div class=\"ihp-field\"><input type=\"text\" id=\"ihp_address\" placeholder=\"Address *\" \/><\/div>\n                    <div class=\"ihp-field\"><input type=\"email\" id=\"ihp_email\" placeholder=\"Email *\" \/><\/div>\n                <\/div>\n                <div class=\"ihp-row\">\n                    <div class=\"ihp-field\"><input type=\"text\" id=\"ihp_pobox\" placeholder=\"P.O. Box\" \/><\/div>\n                    <div class=\"ihp-field\"><input type=\"text\" id=\"ihp_city\" placeholder=\"City *\" \/><\/div>\n                    <div class=\"ihp-field\"><input type=\"text\" id=\"ihp_company\" placeholder=\"Company *\" \/><\/div>\n                <\/div>\n                <div class=\"ihp-row\"><div class=\"ihp-field\" style=\"max-width:260px;\"><select id=\"ihp_country\"><option value=\"\" disabled selected>Country<\/option><option>Jordan<\/option><option>Saudi Arabia<\/option><option>UAE<\/option><option>Kuwait<\/option><option>Qatar<\/option><option>Bahrain<\/option><option>Oman<\/option><option>Egypt<\/option><option>Lebanon<\/option><option>Other<\/option><\/select><\/div><\/div>\n            <\/div>\n            <div class=\"ihp-submit-wrap\"><button class=\"ihp-submit-btn\" onclick=\"ihpSubmit('abdc55a02d','https:\/\/iacmena.com\/wp-admin\/admin-ajax.php')\">Request Now<\/button><\/div>\n        <\/div>\n    <\/div>\n\n    <div class=\"ihp-success\" id=\"ihpSuccess\">\n        <div class=\"ihp-success-icon\">\u2705<\/div>\n        <h3>Request Submitted Successfully!<\/h3>\n        <p>Thank you for your interest. Our team will contact you shortly with a tailored in-house proposal.<\/p>\n    <\/div>\n\n    <script>\n    function ihpSubmit(nonce, ajaxUrl) {\n        var required = [\n            { id: 'ihp_location', label: 'Location' },\n            { id: 'ihp_participants', label: 'Number of Participants' },\n            { id: 'ihp_language', label: 'Preferred Language' },\n            { id: 'ihp_first_name', label: 'First Name' },\n            { id: 'ihp_last_name', label: 'Last Name' },\n            { id: 'ihp_designation', label: 'Designation' },\n            { id: 'ihp_phone', label: 'Phone Number' },\n            { id: 'ihp_address', label: 'Address' },\n            { id: 'ihp_email', label: 'Email' },\n            { id: 'ihp_city', label: 'City' },\n            { id: 'ihp_company', label: 'Company' },\n        ];\n        document.querySelectorAll('.ihp-error').forEach(function(el){ el.classList.remove('ihp-error'); });\n        var errors = [];\n        required.forEach(function(f) {\n            var el = document.getElementById(f.id);\n            if (!el || !el.value.trim()) { errors.push(f.label); if (el) el.classList.add('ihp-error'); }\n        });\n        var emailEl = document.getElementById('ihp_email');\n        if (emailEl && emailEl.value.trim() && !\/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/.test(emailEl.value.trim())) {\n            errors.push('Valid Email'); emailEl.classList.add('ihp-error');\n        }\n        if (errors.length > 0) { alert('Please fill in all required fields:\\n\u2022 ' + errors.join('\\n\u2022 ')); return; }\n        var btn = document.querySelector('.ihp-submit-btn');\n        btn.disabled = true; btn.textContent = 'Sending...';\n        var data = new FormData();\n        data.append('action', 'tp_inhouse_submission'); data.append('nonce', nonce);\n        data.append('course_name', document.getElementById('ihp_course_name').value.trim());\n        data.append('location', document.getElementById('ihp_location').value.trim());\n        data.append('number_of_days', document.getElementById('ihp_number_of_days').value);\n        data.append('number_of_participants', document.getElementById('ihp_participants').value.trim());\n        data.append('preferred_language', document.getElementById('ihp_language').value);\n        data.append('targeted_audience', document.getElementById('ihp_audience').value);\n        data.append('other_requirements', document.getElementById('ihp_requirements').value.trim());\n        data.append('first_name', document.getElementById('ihp_first_name').value.trim());\n        data.append('last_name', document.getElementById('ihp_last_name').value.trim());\n        data.append('designation', document.getElementById('ihp_designation').value.trim());\n        data.append('phone', document.getElementById('ihp_phone').value.trim());\n        data.append('address', document.getElementById('ihp_address').value.trim());\n        data.append('email', document.getElementById('ihp_email').value.trim());\n        data.append('pobox', document.getElementById('ihp_pobox').value.trim());\n        data.append('city', document.getElementById('ihp_city').value.trim());\n        data.append('company', document.getElementById('ihp_company').value.trim());\n        data.append('country', document.getElementById('ihp_country').value);\n        fetch(ajaxUrl, { method: 'POST', body: data })\n        .then(function(r){ return r.json(); })\n        .then(function(res) {\n            if (res.success) { document.getElementById('ihpWrapper').style.display='none'; document.getElementById('ihpSuccess').style.display='block'; window.scrollTo({top:0,behavior:'smooth'}); }\n            else { alert('Something went wrong. Please try again.'); btn.disabled=false; btn.textContent='Request Now'; }\n        }).catch(function() { alert('Network error.'); btn.disabled=false; btn.textContent='Request Now'; });\n    }\n    <\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-10469","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/iacmena.com\/ar\/wp-json\/wp\/v2\/pages\/10469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iacmena.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iacmena.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iacmena.com\/ar\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/iacmena.com\/ar\/wp-json\/wp\/v2\/comments?post=10469"}],"version-history":[{"count":2,"href":"https:\/\/iacmena.com\/ar\/wp-json\/wp\/v2\/pages\/10469\/revisions"}],"predecessor-version":[{"id":10471,"href":"https:\/\/iacmena.com\/ar\/wp-json\/wp\/v2\/pages\/10469\/revisions\/10471"}],"wp:attachment":[{"href":"https:\/\/iacmena.com\/ar\/wp-json\/wp\/v2\/media?parent=10469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}