{"id":3999,"date":"2019-09-27T08:01:07","date_gmt":"2019-09-27T08:01:07","guid":{"rendered":"http:\/\/iasisoasia.com\/?page_id=3999"},"modified":"2025-01-02T06:33:47","modified_gmt":"2025-01-02T06:33:47","slug":"sa-8000-certification-in-kuwait","status":"publish","type":"page","link":"https:\/\/iasiso-gulf.com\/KW\/sa-8000-certification-in-kuwait\/","title":{"rendered":"SA 8000 Certification"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3999\" class=\"elementor elementor-3999\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6a7f94e e-flex e-con-boxed e-con e-parent\" data-id=\"6a7f94e\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-9b17748 e-con-full e-flex e-con e-child\" data-id=\"9b17748\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0367701 elementor-widget elementor-widget-text-editor\" data-id=\"0367701\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 style=\"text-align: left;\"><strong>About SA 8000 Certification<\/strong><\/h2><h3 style=\"text-align: justify;\"><strong>Child Labour\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/strong><\/h3><p style=\"text-align: justify;\">any work performed by a child (less than 15 years or any min age prescribed by local law) except as provided for by ILO <span style=\"color: #000000;\">recommendation<\/span> 146.<\/p><h3 style=\"text-align: justify;\"><strong>Forced or compulsory Labour<\/strong><\/h3><ul style=\"text-align: justify;\"><li><span style=\"color: #000000;\"><strong>Forced or compulsory Labour<\/strong><\/span>: All work or service that a person has not offered to do voluntarily and is made to do under the threat of punishment or retaliation or that is demanded as a means of repayment of debt<\/li><li><strong>Human trafficking<\/strong>: \u00a0 The recruitment, transfer, harbouring or receipt of persons, by means of the use of threat, force, deception or other forms of coercion, for the purpose of exploitation<\/li><\/ul><h3 style=\"text-align: justify;\"><strong>Health and Safety<\/strong><\/h3><p style=\"text-align: justify;\">Risk Assessment:\u00a0 A process to identify the health, safety and labour policies and practices of the organisation and to prioritise associated risks<\/p><h3 style=\"text-align: justify;\"><strong>Freedom of Association and right to collective bargaining<\/strong><\/h3><ul style=\"text-align: justify;\"><li>Worker organisation: An autonomous voluntary association of workers organised for the purpose of furthering and defending the rights and interests of workers<\/li><li>Collective bargaining agreement: A contract specifying the terms and conditions for work, negotiated between the organisation (e.g. employer) or group of employers and one or more worker organisation(s).<\/li><li>SA8000 worker representative(s): One or more worker representative(s) freely elected by workers to facilitate communication with the management representative(s)<\/li><\/ul><p style=\"text-align: justify;\"><strong>\u00a0<\/strong><strong>Discrimination<\/strong><\/p><p style=\"text-align: justify;\">Organization should establish effective non-discriminatory practices in hiring, remuneration, access to training, promotion, termination and retirement.<\/p><p><strong><span style=\"color: #b02b2c;\"><a style=\"color: #b02b2c;\" href=\"https:\/\/iasiso-gulf.com\/KW\/contact-us\/\">Contact us<\/a><\/span><\/strong> or visit our <span style=\"color: #b02b2c;\"><strong><a style=\"color: #b02b2c;\" href=\"https:\/\/iasiso-gulf.com\/KW\/frequently-asked-questions\/\">frequently asked questions<\/a><\/strong><\/span> to learn more about SA8000 Certification.<\/p><p style=\"text-align: justify;\"><strong><span style=\"color: #b02b2c;\"><a style=\"color: #b02b2c;\" href=\"https:\/\/iasiso-gulf.com\/KW\/iso-audit-procedure\/\">Check the Audit Procedure<\/a><\/span><\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-11f537c e-con-full e-flex e-con e-child\" data-id=\"11f537c\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f08e4bb elementor-widget elementor-widget-sidebar\" data-id=\"f08e4bb\" data-element_type=\"widget\" data-widget_type=\"sidebar.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"text-49\" class=\"widget widget_text gdlr-item gdlr-widget\">\t\t\t<div class=\"textwidget\"><h5>To Enroll<\/h5>\n<p><a class=\"gdlr-button small\" href=\"https:\/\/iasiso-gulf.com\/KW\/wp-content\/uploads\/2024\/12\/IAS-Application-FormV1.8-1.doc\" target=\"_self\"  style=\"color:#ffffff; background-color:#b02b2c; \"  >Application <\/a><br \/>\n<a class=\"gdlr-button small\" href=\"https:\/\/iasiso-gulf.com\/KW\/wp-content\/uploads\/2024\/12\/IAS-SA8000-Brochure.pdf\" target=\"_self\"  style=\"color:#ffffff; background-color:#476DB2; \"  >Brochure <\/a><br \/>\n<a class=\"gdlr-button small\" href=\"https:\/\/iasiso-gulf.com\/KW\/training-schedule\/\" target=\"_self\"  style=\"color:#ffffff; background-color:#476DB2; \"  >Training Schedule<\/a><\/p>\n<h5>Contact Us<\/h5>\n\r\n\t<style>\r\n.certification-section,.training-section, .other_enquiry_form, .certification_prod_section, .process_section,     .product_section{\r\n\t\tdisplay:none;\r\n\t}\r\n\tlabel, .label {\r\n\tcolor:black;\r\n\t \r\n\t}\r\n\t.form-control {\r\n\tpadding: 16px 19px;\r\n\t}\r\n\t#countryDropdown {\r\n\t\tborder: 1px solid #ced4da;\r\n\t}\r\n\t.country-section .dropdown {\r\n\t\tposition: relative !important;\r\n\t}\r\n\t.country-section .dropdown-menu {\r\n\t\tdisplay: none !important;\r\n\t\theight: 300px;\r\n\t\toverflow-x: auto;\r\n\t\tposition: absolute !important;\r\n\t\ttop: 100% !important;\r\n\t\tleft: 0 !important;\r\n\t\tz-index: 1000 !important;\r\n\t\tmin-width: 100% !important;\r\n\t\tbackground-color: #fff !important;\r\n\t\tborder: 1px solid rgba(0,0,0,.15) !important;\r\n\t\tborder-radius: 0.25rem !important;\r\n\t\tpadding: 0.5rem 0 !important;\r\n\t\tmargin: 0 !important;\r\n\t\tlist-style: none !important;\r\n\t}\r\n\t.country-section .dropdown-menu.show {\r\n\t\tdisplay: block !important;\r\n\t}\r\n\r\n\t#myModalAlert .modal-dialog {\r\n\t\tz-index:10 !important;\r\n\t\tmargin-top: 70px;\r\n\t}\r\n\t#myModalAlert .modal-header {\r\n\t\tpadding: 10px !important;\r\n\t\tbackground: #dee1e6;\r\n\t}\r\n\t\r\n\t\r\n\t#myModalAlert .modal-body {\r\n\t\ttext-align: center;\r\n\t\tcolor:black;\r\n\t}\r\n\t.modal-backdrop.show {\r\n\tz-index: 100 !important;\r\n\tposition:relative !important;\r\n\t}\r\n\t.error, .mandatory {\r\n\t\tcolor:red;\r\n\t}\r\n\tinput {\r\n\tcolor:black !important;\r\n\t}\r\n\t.entry-content-wrapper ul {\r\n\t\tlist-style:none !important;\r\n\t}\r\n\t#countryDropdown {\r\n\t\tfont-size:inherit !important;\r\n\t}\r\n\t\r\n\t.modal.show .modal-dialog{\r\n    margin-top: 160px;\r\n}\r\n\r\n#errorModalLabel{\r\n\tcolor: #fff !important;\r\n}\r\n.form-note {\r\n    margin-top: 14px;\r\n    padding: 10px 12px;\r\n    background: #f4f6f9;\r\n    border-left: 4px solid #3c8dbc;\r\n    font-size: 12px;\r\n    color: #333;\r\n}\r\n.scheme-dropdown-toggle {\r\n    display: block !important;\r\n    border: 1px solid #ced4da !important;\r\n    border-radius: 4px !important;\r\n    padding: 10px 14px !important;\r\n    background: #fff !important;\r\n    cursor: pointer;\r\n    color: #333 !important;\r\n    position: relative;\r\n    user-select: none;\r\n}\r\n.scheme-dropdown-toggle::after {\r\n    content: \"\\25BC\";\r\n    float: right;\r\n    font-size: 10px;\r\n    margin-top: 3px;\r\n    transition: transform 0.2s;\r\n}\r\n.scheme-dropdown-toggle.open::after {\r\n    transform: rotate(180deg);\r\n}\r\n.scheme-checkbox-list {\r\n    display: none !important;\r\n    max-height: 200px;\r\n    overflow-y: auto;\r\n    border: 1px solid #ced4da !important;\r\n    border-top: none !important;\r\n    border-radius: 0 0 4px 4px !important;\r\n    padding: 10px !important;\r\n    background: #fff !important;\r\n}\r\n.scheme-checkbox-list.show {\r\n    display: block !important;\r\n}\r\n.scheme-checkbox-list .form-check {\r\n    display: block !important;\r\n    position: relative !important;\r\n    margin: 0 0 10px 0 !important;\r\n    padding: 0 0 0 26px !important;\r\n    min-height: auto !important;\r\n    float: none !important;\r\n    width: auto !important;\r\n}\r\n.scheme-checkbox-list .form-check:last-child {\r\n    margin-bottom: 0 !important;\r\n}\r\n.scheme-checkbox-list .form-check-label {\r\n    display: block !important;\r\n    line-height: 1.5 !important;\r\n    cursor: pointer;\r\n    color: #000 !important;\r\n    width: auto !important;\r\n    margin: 0 !important;\r\n    padding: 0 !important;\r\n    word-wrap: break-word;\r\n    overflow-wrap: break-word;\r\n}\r\n.scheme-checkbox-list .form-check-input {\r\n    position: absolute !important;\r\n    left: 0 !important;\r\n    top: 4px !important;\r\n    width: 16px !important;\r\n    height: 16px !important;\r\n    margin: 0 !important;\r\n    float: none !important;\r\n    flex: none !important;\r\n    appearance: auto !important;\r\n    -webkit-appearance: auto !important;\r\n    opacity: 1 !important;\r\n}\r\n\r\n\/* Force native radio + checkbox rendering across the whole form\r\n   (defends against theme CSS that hides inputs with appearance:none \/ opacity:0) *\/\r\n#contct_form input[type=\"radio\"],\r\n#contct_form input[type=\"checkbox\"] {\r\n    appearance: auto !important;\r\n    -webkit-appearance: auto !important;\r\n    -moz-appearance: auto !important;\r\n    opacity: 1 !important;\r\n    visibility: visible !important;\r\n    width: 16px !important;\r\n    height: 16px !important;\r\n    margin: 0 6px 0 0 !important;\r\n    vertical-align: middle !important;\r\n    display: inline-block !important;\r\n    position: static !important;\r\n    float: none !important;\r\n    flex: none !important;\r\n    background: #fff !important;\r\n    border: 1px solid #999 !important;\r\n    cursor: pointer !important;\r\n}\r\n#contct_form input[type=\"radio\"] {\r\n    -webkit-appearance: radio !important;\r\n    appearance: radio !important;\r\n    border-radius: 50% !important;\r\n}\r\n#contct_form input[type=\"checkbox\"] {\r\n    -webkit-appearance: checkbox !important;\r\n    appearance: checkbox !important;\r\n}\r\n\/* Single-arrow selects: kill native browser arrow, keep only the Bootstrap chevron *\/\r\n#contct_form select,\r\n#contct_form .form-select {\r\n    appearance: none !important;\r\n    -webkit-appearance: none !important;\r\n    -moz-appearance: none !important;\r\n    background-image: url(\"data:image\/svg+xml,%3csvg xmlns=%27http:\/\/www.w3.org\/2000\/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M2 5l6 6 6-6%27\/%3e%3c\/svg%3e\") !important;\r\n    background-repeat: no-repeat !important;\r\n    background-position: right 12px center !important;\r\n    background-size: 16px 12px !important;\r\n    padding-right: 36px !important;\r\n}\r\n\r\n\t<\/style>\r\n\t\t<div class=\"container mt-3\">\r\n\t\t\t <div class=\"card\">\r\n\t\t\t <div class=\"card-body\">\r\n\t\t\t <form id=\"contct_form\" >\r\n\t\t\t\t <!-- hidden datas -->\r\n\t\t\t\t <input type=\"hidden\" name=\"source\" value=\"2\">\r\n\t\t\t\t<input type=\"hidden\" name=\"enquiry_from\"     value=\"online_user\">\r\n\t\t\t\t<input type=\"hidden\" name=\"From\" value=\"6\">\r\n\t\t\t\t<input type=\"hidden\" name=\"Website\" class=\"website_id\" value=\"\">\r\n\t\t\t\t<input type=\"hidden\" name=\"source_of_url\"  class=\"url_id\"  value=\"\">\r\n\t\t\t\t <input type=\"hidden\" name=\"Company\" class=\"company\" value=\"\">\r\n\t\t\t\t\r\n\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t<div class=\"col-sm-12\"> \r\n\t\t\t\t\t\t<div class=\"mb-3 mt-3\">\r\n\t\t\t\t\t\t\t<label  >Company Name:<\/label>\r\n\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"CompanyName\" placeholder=\"Enter company name\" name=\"CompanyName\">\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t<label  >Customer Name: <span class=\"mandatory\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"CustomerName\" placeholder=\"Enter customer Name\" name=\"CustomerName\" required=\"required\">\r\n\t\t\t\t\t\t\t<span class=\"error error_company_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t   \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<input type=\"hidden\" name=\"telephone_number\" value=\"\">\r\n\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t<label>E-Mail:<span class=\"mandatory\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<input type=\"email\" class=\"form-control\" id=\"EMail\" placeholder=\"Enter email\" name=\"EMail\" required=\"required\">\r\n\t\t\t\t\t\t\t <span class=\"error error_email\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div class=\"mb-3 country-section\">\r\n\t\t\t\t\t\t\t<label>Country: <span class=\"mandatory\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t   <div class=\"dropdown\">\r\n\t\t\t\t\t\t\t\t  <div class=\"btn btn-default\" type=\"button\" id=\"countryDropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\r\n\t\t\t\t\t\t\t\t\t <span class=\"default_countr\">--- Select Country ---<\/span>\r\n\t\t\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t\t  <ul class=\"dropdown-menu\" aria-labelledby=\"countryDropdown\"><\/ul>\r\n\t\r\n\t\t\t\t\t\t\t  <input type=\"hidden\" id=\"country_id\" name=\"Country\" required>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t <span class=\"error error_country\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t<\/div> \r\n\t\t\t\t\t\t<div class=\"mb-3 mt-3\">\r\n\t\t\t\t\t\t\t<label>State: <span class=\"mandatory\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t<select class=\"form-select\" name=\"State\" id=\"State\" required=\"required\">\r\n\t\t\t\t\t\t\t\t<option value=\"\">--Please select state--<\/option>\r\n\t\t\t\t\t\t\t<\/select>\r\n\t\t\t\t\t\t\t <span class=\"error error_state\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t<label>City:<\/label>\r\n\t\t\t\t\t\t\t<select class=\"form-select\" name=\"City\" id=\"City\">\r\n\t\t\t\t\t\t\t\t<option value=\"\">--Please select City --<\/option> \r\n\t\t\t\t\t\t\t<\/select>\r\n\t\t\t\t\t\t\t<span class=\"error error_city\"><\/span>\r\n\t\t\t\t\t\t<\/div> \r\n\t \r\n\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t<label  > Mobile Number:<span class=\"mandatory\">*<\/span><\/label>\r\n\t\t\t\t\t\t   \r\n\t\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t<span class=\"input-group-text\" id=\"CountryCode\" data-phone-length=\"\">+965<\/span>\r\n\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"MobileNumber\" placeholder=\"Enter mobile number\" name=\"MobileNumber\" required=\"required\">\r\n\t\t\t\t\t\t\t\t<span class=\"error error_mobile_no\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t <label>Enquiry Type<\/label>\r\n\t\t\t\t\t\t\t<span><input type=\"radio\" class=\"form-check-input enquiry_type\"    name=\"optradio\" value=\"1\" checked> Enquiry<\/span>\r\n\t\t\t\t\t\t\t<span> <input type=\"radio\" class=\"form-check-input enquiry_type\"   name=\"optradio\" value=\"2\"> Other<\/span>\r\n\t\t\t\t\t\t<\/div> \r\n\t\t\t\t\t\t<div class=\"enquiry_form\">\r\n\t\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t\t<label>Training \/ Certification: <span class=\"mandatory\">*<\/span><\/label>\r\n\t\t\t\t\t\t\t\t<select class=\"form-select\"  id=\"purposOf\">\r\n\t\t\t\t\t\t\t\t\t<option value=\"\">--Please select  --<\/option> \r\n\t\t\t\t\t\t\t\t\t<option value=\"1\">Training (For Individuals or Group of Individuals)<\/option>\r\n\t\t\t\t\t\t\t\t\t<option value=\"2\">Certification (For Organizations)<\/option>\r\n\t\t\t\t\t\t\t\t\t<!-- <option value=\"3\">Training and Certification<\/option> -->\r\n\t\t\t\t\t\t\t\t<\/select>\r\n\t\t\t\t\t\t\t\t<span class=\"error error_trg_cert\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<div class=\"mb-3 certification_prod_section\">\r\n\t\t\t\t\t\t\t<label>Certification: *<\/label>\r\n\t\t\t\t\t\t\t<select class=\"form-select\" name=\"cert_Type\" id=\"cert_Type\">\r\n\t\t\t\t\t\t\t\t<option value=\"\">--Please select Type --<\/option>\r\n\t\t\t\t\t\t\t\t<option value=\"1\">Process<\/option>\r\n\t\t\t\t\t\t\t\t<option value=\"2\">Product<\/option>\r\n\t\t\t\t\t\t\t\t<option value=\"3\">Both (Process\/Product)<\/option>\r\n\t\t\t\t\t\t\t<\/select>\r\n\t\t\t                <span class=\"error error_cert_product_type\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t            <\/div>\r\n\t\t\t\t\t\t\t<!-- Training -->\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<div class=\"training-section\">\r\n\t\t\t\t\t\t\t\t<h6 class=\"label\">Training<\/h6>\r\n\t\t\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t\t\t<label>Product Type: *<\/label>\r\n\t\t\t\t\t\t\t\t\t<select class=\"form-select\" name=\"Type[]\" id=\"Type\">\r\n\t\t\t\t\t\t\t\t\t\t<option value=\"\">--Please select Type --<\/option>\r\n\t\t\t\t\t\t\t\t\t<\/select>\r\n\t\t\t\t\t\t\t\t\t<span class=\"error error_product_type\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\r\n\t\t\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t\t\t<label>Product Category: *<\/label>\r\n\t\t\t\t\t\t\t\t\t<select class=\"form-select\" name=\"Category[]\" id=\"Category\">\r\n\t\t\t\t\t\t\t\t\t\t<option value=\"\">--Please select Category --<\/option>\r\n\t\t\t\t\t\t\t\t\t<\/select>\r\n\t\t\t\t\t\t\t\t\t <span class=\"error error_product_category\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\r\n\t\t\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t\t\t<label>Product Name: *<\/label>\r\n\t\t\t\t\t\t\t\t\t<div class=\"scheme-dropdown-toggle\" data-target=\"ProductNameCheckboxes\" data-default=\"-- Select Product Name --\">-- Select Product Name --<\/div>\r\n\t\t\t\t\t\t\t\t\t<div class=\"scheme-checkbox-list\" id=\"ProductNameCheckboxes\">\r\n\t\t\t\t\t\t\t\t\t\t<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t<span class=\"error error_product_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<!-- Training End -->\r\n\t\t\t\t\t\t\t<!-- Certification -->\r\n\r\n\t\t\t\t\t\t\t<div class=\"certification-section\">\r\n\t\t\t                <div class=\"mb-3 product_section\">\r\n\t\t\t                    <label>Product Scheme: <span class=\"mandatory\">*<\/span> <\/label>\r\n\t\t\t                    <div class=\"scheme-dropdown-toggle\" data-target=\"productSchemeCheckboxes\" data-default=\"-- Select Product Scheme --\">-- Select Product Scheme --<\/div>\r\n\t\t\t                    <div class=\"scheme-checkbox-list\" id=\"productSchemeCheckboxes\"><\/div>\r\n\t\t\t                     <span class=\"error error_product_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t                <\/div>\r\n\t\t\t                <div class=\"mb-3 process_section\">\r\n\t\t\t                    <label>Process Scheme: <span class=\"mandatory\">*<\/span> <\/label>\r\n\t\t\t                    <div class=\"scheme-dropdown-toggle\" data-target=\"processSchemeCheckboxes\" data-default=\"-- Select Process Scheme --\">-- Select Process Scheme --<\/div>\r\n\t\t\t                    <div class=\"scheme-checkbox-list\" id=\"processSchemeCheckboxes\"><\/div>\r\n\t\t\t                     <span class=\"error error_process_scheme\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t                <\/div>\r\n\t\t\t            <\/div>\r\n\t\t\t\t\t\t\t<!-- Certification End-->\r\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"bco_assign_training\" class=\"bco_assign_training\" value=\"\">\r\n\t\t\t\t\t\t\t <input type=\"hidden\" name=\"bco_assign_cert\" class=\"bco_assign_cert\" value=\"\">\r\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"Date\" value=\"2026-04-27\">\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div class=\"other_enquiry_form\">\r\n\t\t\t\t\t\t\t<h6 class=\"label\">Specified details <span class=\"mandatory\">*<\/span><\/h6>\r\n\t\t\t\t\t\t\t<div class=\"mb-3\">\r\n\t\t\t\t\t\t\t\t <textarea class=\"form-control\" name=\"other_enquiry\" rows=\"3\" id=\"other_enquiry\" placeholder=\"Please describe your enquiry details...\"><\/textarea>\r\n\t\t\t\t\t\t\t\t <span class=\"error error_other_enquiry\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<div class=\"consent-checkbox\">\r\n\t\t\t\t\t\t<label><input type=\"checkbox\" id=\"privacyCheck\" name=\"acceptance-836\" value=\"1\" aria-invalid=\"false\"><span class=\"wpcf7-list-item-label\"><span style=\"color:black\">I agree that IAS can use my data for the purposes of dealing with my request, in accordance with the <\/span><b><a href=\"https:\/\/iasiso-gulf.com\/KW\/online-privacy-statement\/\" style=\"color:#A70000\" target=\"_blank\">IAS Online Privacy Statement<\/a><\/b><\/span><span class=\"mandatory\">*<\/span><\/label>\r\n\t\t\t\t\t\t<span class=\"error error_privacy_checkbox\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t<\/div>\r\n\t<!--\t\t\t\t\t<div class=\"captcha\">\r\n\t\t\t\t\t\t  <div class=\"g-recaptcha\" data-sitekey=\"6LfbHTMjAAAAAJFRcyUHAm27f2i1MvKffn2tROTU\"><\/div>\r\n\t\t\t\t\t\t  <span class=\"error error_captcha\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\r\n\t\t\t\t\t\t<\/div>\t\t-->\r\n\r\n\t\t\t\t\t <div style=\"width:250px\">\r\n \t\t\t\t\t\t<label>Enter Captcha:<\/label>\r\n\r\n\t\t\t\t\t\t  <div style=\"margin-bottom: 10px; display: flex; align-items: center; gap: 10px;\">\r\n\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/iasiso-gulf.com\/KW\/?stm_captcha=1777294949\" alt=\"captcha\" id=\"captchaImage\" style=\"border: 1px \t\t\t\t\t\t\t\t\tsolid #ccc; padding: 5px; height: 70px; width: 220px; object-fit: contain;\">\r\n\t\t\t\t\t\t\t<i class=\"fa fa-refresh reload-icon\" id=\"refreshCaptcha\" style=\"cursor: pointer;font-size: 24px; color: #007bff;transition: transform 0.3s ease;\" onmouseover=\"this.style.transform='rotate(90deg)';\" onmouseout=\"this.style.transform='rotate(0deg)';\"><\/i>\r\n\t\t\t\t\t\t  <\/div>\r\n\t\t\t\t\t\t <input type=\"text\" class=\"form-control\" name=\"captcha_answer\" id=\"captcha_answer\" required\r\n           \t\t\t\t\tstyle=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px;\">\r\n\t\t\t\t\t   <span class=\"error error_captcha\" style=\"color: red; font-size: 13px; margin-top: 5px; display: block;\"><\/span>\r\n \t\t\t\t\t<\/div>\r\n                   <div class=\"form-note mb-3\">\r\n\t\t\t\t\t\t<strong>Note:<\/strong>\r\n\t\t\t\t\t\tFor clarity on Process and Product certification schemes, please refer this website menu.\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t<button type=\"submit\" class=\"btn btn-primary btn-submit\">Submit<\/button>\r\n\t\t\t<\/form>\r\n\t\t\t<!-- The Modal -->\r\n\t\t\t<div class=\"modal\" id=\"myModalAlert\">\r\n\t\t\t  <div class=\"modal-dialog\">\r\n\t\t\t\t<div class=\"modal-content\">\r\n\t\t\t\t  <!-- Modal Header -->\r\n\t\t\t\t  <div class=\"modal-header\">\r\n\t\t\t\t\t<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\"><\/button>\r\n\t\t\t\t  <\/div>\r\n\t\t\t\t  <!-- Modal body -->\r\n\t\t\t\t  <div class=\"modal-body\">\r\n\t\t\t\t\tThank You\r\n\t\t\t\t  <\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t  <\/div>\r\n\t\t\t<\/div>\r\n\t\t\t\r\n\t\t\t<div class=\"modal\" id=\"error_pop\">\r\n\t\t\t  <div class=\"modal-dialog\" role=\"document\">\r\n\t\t\t\t<div class=\"modal-content\">\r\n\t\t\t\t  <div class=\"modal-header bg-danger text-white\">\r\n\t\t\t\t\t<h5 class=\"modal-title\" id=\"errorModalLabel\">Duplicate Email<\/h5>\r\n\t\t\t\t\t<button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\" aria-label=\"Close\"><\/button>\r\n\t\t\t\t  <\/div>\r\n\t\t\t\t  <div class=\"modal-body\" id=\"error_pop_con\">\r\n\r\n\t\t\t\t  <\/div>\r\n\t\t\t\t  <div class=\"modal-footer\">\r\n\t\t\t\t\t<div class=\"d-flex justify-content-end gap-2\">\r\n\t\t\t\t\t  <button type=\"button\" class=\"btn btn-outline-secondary\" id=\"cancelProceed\">Cancel<\/button>\r\n\t\t\t\t\t  <button type=\"button\" id=\"proceed_trn_enq\" class=\"btn btn-primary\" data-enquiry-type=\"\">Proceed<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t  <\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t  <\/div>\r\n\t\t\t<\/div>\r\n\t\t\t\r\n\t\t\t<\/div>\r\n\t\t<\/div><script type='text\/javascript'>\r\n\t\t\t\tvar base_url_api = 'https:\/\/erp.iasiso.com\/Api';\r\n\t\t\t\tvar base_url = 'https:\/\/erp.iasiso.com';\r\n\t\t\t\tjQuery(document).ready(function($) {\r\n\r\n\t\t\t\t\t\/\/ Move modals to body so they are not trapped inside parent containers\r\n\t\t\t\t\t$('#myModalAlert, #error_pop').appendTo('body');\r\n\r\n\t\t\t\t\t\/\/ Force inline styles on scheme elements to bypass any theme CSS overrides\r\n\t\t\t\t\tfunction enforceSchemeStyles(){\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tif($('.scheme-dropdown-toggle').length === 0) return;\r\n\t\t\t\t\t\t\t$('.scheme-dropdown-toggle').css({\r\n\t\t\t\t\t\t\t\t'display':'block','border':'1px solid #ced4da','border-radius':'4px',\r\n\t\t\t\t\t\t\t\t'padding':'10px 14px','background':'#fff','cursor':'pointer',\r\n\t\t\t\t\t\t\t\t'color':'#333','position':'relative','user-select':'none',\r\n\t\t\t\t\t\t\t\t'margin':'0','width':'auto','box-sizing':'border-box'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t$('.scheme-checkbox-list').each(function(){\r\n\t\t\t\t\t\t\t\tvar el = $(this);\r\n\t\t\t\t\t\t\t\tel.css({\r\n\t\t\t\t\t\t\t\t\t'max-height':'200px','overflow-y':'auto',\r\n\t\t\t\t\t\t\t\t\t'border':'1px solid #ced4da','border-top':'none',\r\n\t\t\t\t\t\t\t\t\t'border-radius':'0 0 4px 4px','padding':'10px','background':'#fff',\r\n\t\t\t\t\t\t\t\t\t'margin':'0','box-sizing':'border-box'\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\tif(!el.hasClass('show')){ el.css('display','none'); }\r\n\t\t\t\t\t\t\t\telse { el.css('display','block'); }\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t$('.scheme-checkbox-list .form-check').css({\r\n\t\t\t\t\t\t\t\t'display':'block','position':'relative','margin':'0 0 10px 0',\r\n\t\t\t\t\t\t\t\t'padding':'0 0 0 26px','min-height':'auto','float':'none','width':'auto'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t$('.scheme-checkbox-list .form-check:last-child').css('margin-bottom','0');\r\n\t\t\t\t\t\t\t$('.scheme-checkbox-list .form-check-label').css({\r\n\t\t\t\t\t\t\t\t'display':'block','line-height':'1.5','cursor':'pointer',\r\n\t\t\t\t\t\t\t\t'color':'#000','width':'auto','margin':'0','padding':'0',\r\n\t\t\t\t\t\t\t\t'word-wrap':'break-word','overflow-wrap':'break-word'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t$('.scheme-checkbox-list .form-check-input').css({\r\n\t\t\t\t\t\t\t\t'position':'absolute','left':'0','top':'4px',\r\n\t\t\t\t\t\t\t\t'width':'16px','height':'16px','margin':'0',\r\n\t\t\t\t\t\t\t\t'float':'none','flex':'none','appearance':'auto',\r\n\t\t\t\t\t\t\t\t'-webkit-appearance':'auto','opacity':'1'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} catch(e){ if(window.console) console.warn('enforceSchemeStyles error:', e); }\r\n\t\t\t\t\t}\r\n\t\t\t\t\tenforceSchemeStyles();\r\n\r\n\t\t\t\t\t\/\/ Force country dropdown styles via inline CSS (beats any theme\/widget sanitizer)\r\n\t\t\t\t\tfunction enforceCountryDropdown(){\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tvar sect = $('.country-section');\r\n\t\t\t\t\t\t\tif(sect.length === 0) return;\r\n\t\t\t\t\t\t\tsect.find('.dropdown').css({\r\n\t\t\t\t\t\t\t\t'position':'relative','display':'block','width':'100%'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tsect.find('#countryDropdown').css({\r\n\t\t\t\t\t\t\t\t'border':'1px solid #ced4da','background':'#fff','padding':'10px 14px',\r\n\t\t\t\t\t\t\t\t'border-radius':'4px','cursor':'pointer','width':'100%',\r\n\t\t\t\t\t\t\t\t'text-align':'left','display':'block','color':'#333',\r\n\t\t\t\t\t\t\t\t'box-sizing':'border-box'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tvar menu = sect.find('.dropdown-menu');\r\n\t\t\t\t\t\t\tmenu.css({\r\n\t\t\t\t\t\t\t\t'position':'absolute','top':'100%','left':'0','z-index':'1000',\r\n\t\t\t\t\t\t\t\t'min-width':'100%','height':'300px','overflow-y':'auto','overflow-x':'hidden',\r\n\t\t\t\t\t\t\t\t'background-color':'#fff','border':'1px solid rgba(0,0,0,.15)',\r\n\t\t\t\t\t\t\t\t'border-radius':'0.25rem','padding':'0.5rem 0','margin':'0',\r\n\t\t\t\t\t\t\t\t'list-style':'none','box-sizing':'border-box'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tif(!menu.hasClass('show')){ menu.css('display','none'); }\r\n\t\t\t\t\t\t\telse { menu.css('display','block'); }\r\n\t\t\t\t\t\t\t\/\/ Style list items and search input inline\r\n\t\t\t\t\t\t\tmenu.find('li').css({'list-style':'none','padding':'0','margin':'0'});\r\n\t\t\t\t\t\t\tmenu.find('a.dropdown-item').css({\r\n\t\t\t\t\t\t\t\t'display':'block','padding':'6px 12px','color':'#212529',\r\n\t\t\t\t\t\t\t\t'text-decoration':'none','cursor':'pointer','white-space':'nowrap'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tmenu.find('.dropdown-input').css({\r\n\t\t\t\t\t\t\t\t'margin':'0 8px 8px','width':'calc(100% - 16px)'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} catch(e){ if(window.console) console.warn('enforceCountryDropdown error:', e); }\r\n\t\t\t\t\t}\r\n\t\t\t\t\tenforceCountryDropdown();\r\n\r\n\t\t\t\t\t\/\/ Force form field styles via inline CSS (theme sidebar widget strips label\/input spacing)\r\n\t\t\t\t\tfunction enforceFormStyles(){\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tvar form = $('#contct_form');\r\n\t\t\t\t\t\t\tif(form.length === 0) return;\r\n\t\t\t\t\t\t\tform.find('.mb-3').css({\r\n\t\t\t\t\t\t\t\t'display':'block','margin-bottom':'1rem','width':'100%','padding':'0'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tform.find('.mt-3').css({'margin-top':'1rem'});\r\n\t\t\t\t\t\t\tform.find('label, .label').css({\r\n\t\t\t\t\t\t\t\t'display':'block','margin-bottom':'0.5rem','font-weight':'500',\r\n\t\t\t\t\t\t\t\t'color':'#212529','width':'auto','float':'none'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tform.find('input[type=text], input[type=email], input[type=tel], input[type=number], textarea, .form-control').css({\r\n\t\t\t\t\t\t\t\t'display':'block','width':'100%','padding':'8px 12px',\r\n\t\t\t\t\t\t\t\t'font-size':'1rem','line-height':'1.5','color':'#212529',\r\n\t\t\t\t\t\t\t\t'background-color':'#fff','border':'1px solid #ced4da',\r\n\t\t\t\t\t\t\t\t'border-radius':'0.25rem','box-sizing':'border-box','margin':'0'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tform.find('select, .form-select').css({\r\n\t\t\t\t\t\t\t\t'display':'block','width':'100%','padding':'8px 36px 8px 12px',\r\n\t\t\t\t\t\t\t\t'font-size':'1rem','line-height':'1.5','color':'#212529',\r\n\t\t\t\t\t\t\t\t'background-color':'#fff','border':'1px solid #ced4da',\r\n\t\t\t\t\t\t\t\t'border-radius':'0.25rem','box-sizing':'border-box','margin':'0',\r\n\t\t\t\t\t\t\t\t'appearance':'none','-webkit-appearance':'none','-moz-appearance':'none',\r\n\t\t\t\t\t\t\t\t'background-image':'url(\"data:image\/svg+xml,%3csvg xmlns=\\'http:\/\/www.w3.org\/2000\/svg\\' viewBox=\\'0 0 16 16\\'%3e%3cpath fill=\\'none\\' stroke=\\'%23343a40\\' stroke-linecap=\\'round\\' stroke-linejoin=\\'round\\' stroke-width=\\'2\\' d=\\'M2 5l6 6 6-6\\'\/%3e%3c\/svg%3e\")',\r\n\t\t\t\t\t\t\t\t'background-repeat':'no-repeat','background-position':'right 12px center','background-size':'16px 12px'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tform.find('input[type=radio], input[type=checkbox]').css({\r\n\t\t\t\t\t\t\t\t'display':'inline-block','width':'16px','height':'16px',\r\n\t\t\t\t\t\t\t\t'margin-right':'6px','vertical-align':'middle',\r\n\t\t\t\t\t\t\t\t'appearance':'auto','-webkit-appearance':'auto','-moz-appearance':'auto',\r\n\t\t\t\t\t\t\t\t'opacity':'1','visibility':'visible',\r\n\t\t\t\t\t\t\t\t'border':'1px solid #999','background':'#fff',\r\n\t\t\t\t\t\t\t\t'flex':'none','float':'none','position':'static'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tform.find('#CountryCode').css({\r\n\t\t\t\t\t\t\t\t'display':'inline-block','padding':'8px 12px','background':'#e9ecef',\r\n\t\t\t\t\t\t\t\t'border':'1px solid #ced4da','border-radius':'0.25rem 0 0 0.25rem',\r\n\t\t\t\t\t\t\t\t'vertical-align':'middle','margin-right':'-1px'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tform.find('.btn-submit, #proceed_trn_enq, .btn-primary').css({\r\n\t\t\t\t\t\t\t\t'display':'inline-block','padding':'0.5rem 1rem',\r\n\t\t\t\t\t\t\t\t'background-color':'#0d6efd','color':'#fff',\r\n\t\t\t\t\t\t\t\t'border':'1px solid #0d6efd','border-radius':'0.25rem',\r\n\t\t\t\t\t\t\t\t'cursor':'pointer','font-size':'1rem','line-height':'1.5'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tform.find('.row').css({'display':'block','margin':'0'});\r\n\t\t\t\t\t\t\tform.find('.col-sm-12').css({'display':'block','width':'100%','padding':'0'});\r\n\t\t\t\t\t\t\tform.find('.error, .mandatory').css({\r\n\t\t\t\t\t\t\t\t'color':'#dc3545','display':'block','margin-top':'4px','font-size':'0.875rem'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tform.find('.mandatory').css('display','inline');\r\n\t\t\t\t\t\t} catch(e){ if(window.console) console.warn('enforceFormStyles error:', e); }\r\n\t\t\t\t\t}\r\n\t\t\t\t\tenforceFormStyles();\r\n\r\n\t\t\t\t\t\/\/ Manual toggle for country dropdown (doesn't rely on Bootstrap dropdown JS)\r\n\t\t\t\t\t$(document).on('click', '#countryDropdown', function(e){\r\n\t\t\t\t\t\te.stopPropagation();\r\n\t\t\t\t\t\tvar menu = $('.country-section .dropdown-menu');\r\n\t\t\t\t\t\tif(menu.hasClass('show')){\r\n\t\t\t\t\t\t\tmenu.removeClass('show').css('display','none');\r\n\t\t\t\t\t\t\t$(this).attr('aria-expanded','false');\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tmenu.addClass('show').css('display','block');\r\n\t\t\t\t\t\t\t$(this).attr('aria-expanded','true');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\/\/ Close country dropdown when clicking outside\r\n\t\t\t\t\t$(document).on('click', function(e){\r\n\t\t\t\t\t\tif(!$(e.target).closest('.country-section').length){\r\n\t\t\t\t\t\t\t$('.country-section .dropdown-menu').removeClass('show').css('display','none');\r\n\t\t\t\t\t\t\t$('#countryDropdown').attr('aria-expanded','false');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\/\/ Close country dropdown when a country is picked\r\n\t\t\t\t\t$(document).on('click', '.country-section .dropdown-menu li a.dropdown-item', function(){\r\n\t\t\t\t\t\t$('.country-section .dropdown-menu').removeClass('show').css('display','none');\r\n\t\t\t\t\t\t$('#countryDropdown').attr('aria-expanded','false');\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\/\/ Toggle open\/close for scheme checkbox dropdowns\r\n\t\t\t\t\t$(document).on('click', '.scheme-dropdown-toggle', function(e){\r\n\t\t\t\t\t\te.stopPropagation();\r\n\t\t\t\t\t\tvar targetId = $(this).data('target');\r\n\t\t\t\t\t\tvar list = $('#'+targetId);\r\n\t\t\t\t\t\t$('.scheme-checkbox-list').not(list).removeClass('show').css('display','none');\r\n\t\t\t\t\t\t$('.scheme-dropdown-toggle').not(this).removeClass('open');\r\n\t\t\t\t\t\tvar isOpen = list.hasClass('show');\r\n\t\t\t\t\t\tif(isOpen){\r\n\t\t\t\t\t\t\tlist.removeClass('show').css('display','none');\r\n\t\t\t\t\t\t\t$(this).removeClass('open');\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tlist.addClass('show').css('display','block');\r\n\t\t\t\t\t\t\t$(this).addClass('open');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t$(document).on('click', function(e){\r\n\t\t\t\t\t\tif(!$(e.target).closest('.scheme-checkbox-list, .scheme-dropdown-toggle').length){\r\n\t\t\t\t\t\t\t$('.scheme-checkbox-list').removeClass('show').css('display','none');\r\n\t\t\t\t\t\t\t$('.scheme-dropdown-toggle').removeClass('open');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t$(document).on('change', '.scheme-checkbox-list input[type=checkbox]', function(){\r\n\t\t\t\t\t\tvar container = $(this).closest('.scheme-checkbox-list');\r\n\t\t\t\t\t\tvar toggle = container.prev('.scheme-dropdown-toggle');\r\n\t\t\t\t\t\tvar checked = container.find('input:checked');\r\n\t\t\t\t\t\tif(checked.length > 0){\r\n\t\t\t\t\t\t\ttoggle.text(checked.length + ' selected');\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tvar defaultText = toggle.data('default') || '-- Select --';\r\n\t\t\t\t\t\t\ttoggle.text(defaultText);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\/\/ Customer Name: allow only letters and spaces\r\n\t\t\t\t\t$(document).on('input','#CustomerName', function(){\r\n\t\t\t\t\t\tvar val = $(this).val();\r\n\t\t\t\t\t\tval = val.replace(\/[^a-zA-Z ]\/g, '');\r\n\t\t\t\t\t\t$(this).val(val);\r\n\t\t\t\t\t});\r\n\t\r\n\t\t\t\t\t\/\/credentials\r\n\t\t\t\t\tvar url = base_url_api+'\/getUser';\r\n\t\t\t\t\tvar chat_username = '';\r\n\t\t\t\t\tvar chat_password = '';\r\n\t\t\t\t\t$.get(url, function(datas, status){\r\n\t\t\t\t\t\tif(datas){ \r\n\t\t\t\t\t\t\tchat_username = datas.username;\r\n\t\t\t\t\t\t\tchat_password = datas.password;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\t\r\n\t\t\t\t\t$('#refreshCaptcha').click(function(){\r\n\t\t\t\t\t\t$('#captchaImage').attr('src', 'https:\/\/iasiso-gulf.com\/KW\/?stm_captcha=1777294949&t=' + new Date().getTime());\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\r\n\t\t\t\t\t\/\/country\r\n\t\t\t\t\t$(document).on('click','li a.dropdown-item', function() {\r\n\t\t\t\t\t\tvar code = $(this).data('code');\r\n\t\t\t\t\t\tvar countryName = $(this).text().trim();\t\r\n\t\t\t\t\t\tvar country_id = $(this).attr('country_id');\r\n\t\t\t\t\t\tvar country_code = $(this).attr('country_code');\t\r\n\t\t\t\t\t\tvar mobile_number_length = $(this).attr('data-mobile_number_length');\r\n\t\r\n\t\t\t\t\t\t$('#countryDropdown').html('<span class=\"fi fi-' + code.toLowerCase() + '\"><\/span> ' + countryName);\r\n\t\t\t\t\t\t$('#country_id').val(country_id);\r\n\t\r\n\t\t\t\t\t\tif(country_code){\r\n\t\t\t\t\t\t\tconsole.log($('#CountryCode').attr('data-phone-length'));\r\n\t\t\t\t\t\t\t$('#CountryCode').text(country_code).attr('data-phone-length', mobile_number_length).data('phone-length', mobile_number_length);\r\n\r\n\t\t\t\t\t\t\t\/\/ reset input and error message\r\n\t\t\t\t\t\t\t$('#MobileNumber').val('');\r\n\t\t\t\t\t\t\t$('.error_mobile_no').text('');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t var url = base_url_api+'\/getRegion';\r\n\t\t\t\t\t\t$.post(url,{country:country_id},function(states, status){\r\n\t\t\t\t\t\t\tif(states){\t\t                    \r\n\t\t\t\t\t\t\t\t$('#State').html(states);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tfetchBcoTraining();\r\n\t\t\t\t\t\tfetchBcoCert();\r\n\t\t\t\t\t});\r\n\t\r\n\t\t\t\t\t\/\/country search\r\n\t\r\n\t\t\t\t\t$(document).on('keyup','.dropdown-input', function() {\r\n\t\r\n\t\t\t\t\t\t  var filterValue = $(this).val().toLowerCase();\r\n\t\t\t\t\t\t  $('li.country_list').each(function() {\r\n\t\t\t\t\t\t  var text = $(this).text().toLowerCase(); \/\/ Get the text of each li and convert to lowercase\r\n\t\t\t\t\t\t  if (text.indexOf(filterValue) === -1) {\r\n\t\t\t\t\t\t\t$(this).hide(); \/\/ Hide the li if it does not contain the filter value\r\n\t\t\t\t\t\t  } else {\r\n\t\t\t\t\t\t\t$(this).show(); \/\/ Show the li if it contains the filter value\r\n\t\t\t\t\t\t  }\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t})\r\n\t\r\n\t\t\t\t\t\/\/Fetch website info\r\n\t\r\n\t\t\t\t\tvar website_url =  window.location.href;\r\n\t\r\n\t\t\t\t\t\/\/var website_url = 'https:\/\/iasiso-middleeast.com\/iso-9001-lead-auditor-training-in-israel\/';\r\n\t\r\n\t\t\t\t\tif(website_url){\r\n\t\t\t\t\t\t $.post(base_url_api +'\/get_website_details',{url:website_url}, function(datas, status){\r\n\t\t\t\t\t\t\t\t   if(datas){\r\n\t\t\t\t\t\t\t\t\t   $('.website_id').val(datas.website_id);\r\n\t\t\t\t\t\t\t\t\t   $('.url_id').val(datas.url_id);\r\n\t\t\t\t\t\t\t\t\t$('.Company').val(datas.company);\r\n\t\t\t\t\t\t\t\t   }\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\r\n\t\t\t\t\t\/\/Fetch country\r\n\t\t\t\t\tvar url = base_url_api+'\/getCountrys';\r\n\t\t\t\t\tvar country_option = `<li>\r\n\t\t\t\t\t  <input class=\"form-control dropdown-input\" type=\"text\" placeholder=\"Search\">\r\n\t\t\t\t\t<\/li>\r\n\t\t\t\t\t<li>\r\n\t\t\t\t\t  <hr class=\"dropdown-divider\">\r\n\t\t\t\t\t<\/li>`;\r\n\t\t\t\t\t$.get(url, function(datas, status){\r\n\r\n\t\t\t\t\t\tif(datas){\r\n\t\t\t\t\t\t\t$(datas).each(function(inex, data) {\r\n\r\n\t\t\t\t\t\t\t   country_option +=`<li class=\"country_list\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"dropdown-item\"  country_id=\"`+data.country_id+`\" country_code=\"+`+data.isd_code+`\" data-code=\"`+data.code+`\" data-mobile_number_length=\"`+data.mobile_number_length+`\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"fi fi-`+data.code.toLowerCase()+`\"><\/span> `+data.country_name+`\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t <\/li>`;\r\n\r\n\t\t\t\t\t\t\t\t\/\/ Auto select Kuwait (country_id = 120)\r\n\t\t\t\t\t\t\t\tvar default_country_id = 120;\r\n\t\t\t\t\t\t\t\tif(data.country_id == default_country_id){\r\n\t\t\t\t\t\t\t\t\t$('#countryDropdown').html(\r\n\t\t\t\t\t\t\t\t\t\t'<span class=\"fi fi-' + data.code.toLowerCase() + '\"><\/span> ' + data.country_name\r\n\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t$('#country_id').val(data.country_id);\r\n\r\n\t\t\t\t\t\t\t\t\tif(data.isd_code){\r\n\t\t\t\t\t\t\t\t\t\t$('#CountryCode')\r\n\t\t\t\t\t\t\t\t\t\t\t.text('+' + data.isd_code)\r\n\t\t\t\t\t\t\t\t\t\t\t.attr('data-phone-length', data.mobile_number_length)\r\n\t\t\t\t\t\t\t\t\t\t\t.data('phone-length', data.mobile_number_length);\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\tvar url2 = base_url_api + '\/getRegion';\r\n\t\t\t\t\t\t\t\t\t$.post(url2, { country: data.country_id }, function(states, status){\r\n\t\t\t\t\t\t\t\t\t\tif(states){ $('#State').html(states); }\r\n\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\tfetchBcoTraining();\r\n\t\t\t\t\t\t\t\t\tfetchBcoCert();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\r\n\r\n\t\t\t\t\t\t\t$('.country-section .dropdown-menu').html(country_option);\r\n\t\t\t\t\t\t\tenforceCountryDropdown();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t $(document).on('change','#State', function(){\r\n\t\r\n\t\t\t\t\t\tvar url = base_url_api+'\/getRegion';\r\n\t\t\t\t\t\tvar state = $(this).val();\r\n\t\r\n\t\t\t\t\t\t$.post(url,{state:state},function(datas, status){\r\n\t\t\t\t\t\t\tif(datas){\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t$('#City').html(datas);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t fetchBcoTraining();\r\n\t\r\n\t\t\t\t\t\t fetchBcoCert();\r\n\t\t\t\t\t})\r\n\t\t\t\t\t\r\n\t\t\t\t$(document).on('input','#MobileNumber', function(){\r\n\r\n\t\t\t\t\tlet allowedLength = $('#CountryCode').data('phone-length') ? parseInt($('#CountryCode').data('phone-length')) : null;\r\n\t\t            var inputValue = $(this).val();\r\n\t\t\t\t\tvar errorSpan = $('.error_mobile_no');\r\n\r\n\t\t\t\t\t\/\/ Strip non-numeric characters\r\n\t\t            inputValue = inputValue.replace(\/[^0-9]\/g, '');\r\n\r\n\t\t\t\t\t\/\/ Prevent exceeding max length\r\n\t\t\t\t\tif (allowedLength && inputValue.length > allowedLength){\r\n\t\t\t\t\t\tinputValue = inputValue.slice(0, allowedLength);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t$(this).val(inputValue);\r\n\r\n\t\t\t\t\t\/\/ Show error\/info based on length\r\n\t\t\t\t\tif(allowedLength){\r\n\t\t\t\t\t\tif(inputValue.length === 0){\r\n\t\t\t\t\t\t\terrorSpan.text('');\r\n\t\t\t\t\t\t} else if(inputValue.length < allowedLength){\r\n\t\t\t\t\t\t\terrorSpan.css('color','#e67e22').text('Please enter ' + allowedLength + ' digits (' + inputValue.length + '\/' + allowedLength + ')');\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\terrorSpan.css('color','').text('');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\terrorSpan.text('');\r\n\t\t\t\t\t}\r\n\t\t        })\r\n\t\r\n\t\t\t\t\t\/\/Fetch Type and category\r\n\t\t\t\t\tvar url = base_url_api+'\/getTrainings';\r\n\t\t\t\t\t\r\n\t\t\t\t\t$.get(url, function(datas, status){\r\n\t\t\t\t\t\tif(datas){\r\n\t\t\t\t\t\t\tvar type_option = '<option value=\"\">---Please select---<\/option>';\r\n\t\t\t\t\t\t\t$(datas.type).each(function(inex, data) {\r\n\t\t\t\t\t\t\t   type_option +='<option value=\"'+data.tc_id+'\">'+data.tra_cat_name+'<\/option>';\r\n\t\t\t\t\t\t\t});\r\n\t\r\n\t\t\t\t\t\t\t$('#Type').html(type_option);\r\n\t\r\n\t\t\t\t\t\t\tvar category_option = '<option value=\"\">---Please select---<\/option>';\r\n\t\t\t\t\t\t\t$(datas.category).each(function(inex, data) {\r\n\t\t\t\t\t\t\t   category_option +='<option value=\"'+data.tt_id+'\">'+data.tra_type_name+'<\/option>';\r\n\t\t\t\t\t\t\t});\r\n\t\r\n\t\t\t\t\t\t\t$('#Category').html(category_option);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t \r\n\t\t\t\t   \r\n\t\t\t\t\t\/\/ When Product Type changes \u2192 filter Product Category options\r\n\t\t\t\t\t$('#Type').change(function(){\r\n\t\t\t\t\t    var Type = $(this).val();\r\n\t\t\t\t\t    var catSelect = $('#Category');\r\n\r\n\t\t\t\t\t    catSelect.val('');\r\n\t\t\t\t\t    $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\r\n\r\n\t\t\t\t\t    if(!Type){\r\n\t\t\t\t\t        catSelect.find('option').show();\r\n\t\t\t\t\t        fetchBcoTraining();\r\n\t\t\t\t\t        return;\r\n\t\t\t\t\t    }\r\n\r\n\t\t\t\t\t    catSelect.find('option').each(function(){\r\n\t\t\t\t\t        var opt = $(this);\r\n\t\t\t\t\t        var catVal = opt.val();\r\n\t\t\t\t\t        if(!catVal){ opt.show(); return; }\r\n\r\n\t\t\t\t\t        (function(opt, catVal){\r\n\t\t\t\t\t            $.ajax({\r\n\t\t\t\t\t                type: 'post',\r\n\t\t\t\t\t                url: base_url_api+'\/getSchemes',\r\n\t\t\t\t\t                data: { category: catVal, Type: Type },\r\n\t\t\t\t\t                success: function(resp){\r\n\t\t\t\t\t                    var count = 0;\r\n\t\t\t\t\t                    if(resp && $.trim(resp) !== ''){\r\n\t\t\t\t\t                        $(resp).filter('option').each(function(){\r\n\t\t\t\t\t                            if($.trim($(this).val()) !== '') count++;\r\n\t\t\t\t\t                        });\r\n\t\t\t\t\t                    }\r\n\t\t\t\t\t                    if(count > 0){\r\n\t\t\t\t\t                        opt.show();\r\n\t\t\t\t\t                    } else {\r\n\t\t\t\t\t                        opt.hide();\r\n\t\t\t\t\t                        if(catSelect.val() === catVal) catSelect.val('');\r\n\t\t\t\t\t                    }\r\n\t\t\t\t\t                },\r\n\t\t\t\t\t                error: function(){ opt.show(); }\r\n\t\t\t\t\t            });\r\n\t\t\t\t\t        })(opt, catVal);\r\n\t\t\t\t\t    });\r\n\t\t\t\t\t    fetchBcoTraining();\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\/\/ When Category changes \u2192 populate ProductName checkboxes\r\n\t\t\t\t\t$('#Category').change(function(){\r\n\t\t\t\t\t    var Category = $(this).val();\r\n\t\t\t\t\t    var Type = $('#Type').val();\r\n\t\t\t\t\t    if(Category && Type){\r\n\t\t\t\t\t        $.ajax({\r\n\t\t\t\t\t            type: 'post',\r\n\t\t\t\t\t            url: base_url_api+'\/getSchemes',\r\n\t\t\t\t\t            data: { category: Category, Type: Type },\r\n\t\t\t\t\t            success: function(html){\r\n\t\t\t\t\t                var checkboxHtml = '';\r\n\t\t\t\t\t                $(html).filter('option').each(function(){\r\n\t\t\t\t\t                    var val = $(this).val();\r\n\t\t\t\t\t                    var text = $(this).text();\r\n\t\t\t\t\t                    if(val && $.trim(val) !== ''){\r\n\t\t\t\t\t                        checkboxHtml += '<div class=\"form-check\"><label class=\"form-check-label\" style=\"color:black;\"><input type=\"checkbox\" class=\"form-check-input product-name-chk\" name=\"ProductName[]\" value=\"'+val+'\"> '+text+'<\/label><\/div>';\r\n\t\t\t\t\t                    }\r\n\t\t\t\t\t                });\r\n\t\t\t\t\t                if(checkboxHtml === ''){\r\n\t\t\t\t\t                    checkboxHtml = '<span style=\"color:#999;\">No products available<\/span>';\r\n\t\t\t\t\t                }\r\n\t\t\t\t\t                $('#ProductNameCheckboxes').html(checkboxHtml);\r\n\t\t\t\t\t                enforceSchemeStyles();\r\n\t\t\t\t\t            }\r\n\t\t\t\t\t        });\r\n\t\t\t\t\t    } else {\r\n\t\t\t\t\t        $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\r\n\t\t\t\t\t    }\r\n\t\t\t\t\t    fetchBcoTraining();\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\/\/ Product name checkbox change\r\n\t\t\t\t\t$(document).on('change', '.product-name-chk', function(){\r\n\t\t\t\t\t\tfetchBcoTraining();\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t$('#cancelProceed').click(function(){\r\n\t\t\t\t\t\t$('#EMail').val('');\r\n\t\t\t\t\t\t$('#error_pop').modal('toggle');\r\n\t\t\t\t\t\t$('.btn-submit').removeClass('disabled');\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t$('#proceed_trn_enq').click(function(){\r\n\t\t\t\t\t\t$('#proceed_trn_enq').attr('data-enquiry-type','same');\r\n\t\t\t\t\t\t$('#proceed_trn_enq').attr('data-enquiry-id',$('#same_enquiry_id').val());\r\n\t\t\t\t\t\t$('#error_pop').modal('toggle');\r\n\t\t\t\t\t\terror = 0\r\n\t\t\t\t\t\tsetTimeout(function () {\r\n\t\t\t\t\t\t\t$('.btn-submit').click();\r\n\t\t\t\t\t\t}, 300);\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\r\n\t\t\t\t\t\/\/New function for Duplicate email submission\r\n\t\t\t\t\tfunction submitFinalForm(){\r\n                    \r\n                        $('.btn-submit')\r\n                            .prop('disabled', true)\r\n                            .text('Submitting...');\r\n                    \r\n                        var enquiry_type  = $('input.enquiry_type:checked').val();\r\n                    \r\n                        if(enquiry_type == 1){\r\n                            var purposOf  = $('#purposOf').val();\r\n                            if(purposOf == 1){\r\n                                trainingEnquiry();\r\n                            } else if(purposOf == 2){\r\n                                certificationEnquiry();\r\n                            } else if(purposOf == 3){\r\n                                trainingEnquiry();\r\n                                certificationEnquiry();\r\n                            }\r\n                        } else {\r\n                            otherEnquiry();\r\n                        }\r\n                    }\r\n\t\r\n\t\t\t\t\t\/\/Fetch process scheme \u2192 checkboxes\r\n\t\t\t\t\tvar url = base_url_api+'\/getScheme\/1';\r\n\r\n\t\t\t\t\t$.get(url, function(data, status){\r\n\t\t\t\t\t\tif(data){\r\n\t\t\t\t\t\t\tvar chkHtml = '';\r\n\t\t\t\t\t\t\t$(data).filter('option').each(function(){\r\n\t\t\t\t\t\t\t\tvar v = $(this).val(); var t = $(this).text();\r\n\t\t\t\t\t\t\t\tif(v && $.trim(v) !== '') chkHtml += '<div class=\"form-check\"><label class=\"form-check-label\" style=\"color:black;\"><input type=\"checkbox\" class=\"form-check-input process-scheme-chk\" name=\"scheme[]\" value=\"'+v+'\"> '+t+'<\/label><\/div>';\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t$('#processSchemeCheckboxes').html(chkHtml || '<span style=\"color:#999;\">No schemes available<\/span>');\r\n\t\t\t\t\t\t\tenforceSchemeStyles();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\/\/Fetch product scheme \u2192 checkboxes\r\n\t\t\t\t\tvar url = base_url_api+'\/getScheme\/2';\r\n\r\n\t\t\t\t\t$.get(url, function(data, status){\r\n\t\t\t\t\t\tif(data){\r\n\t\t\t\t\t\t\tvar chkHtml = '';\r\n\t\t\t\t\t\t\t$(data).filter('option').each(function(){\r\n\t\t\t\t\t\t\t\tvar v = $(this).val(); var t = $(this).text();\r\n\t\t\t\t\t\t\t\tif(v && $.trim(v) !== '') chkHtml += '<div class=\"form-check\"><label class=\"form-check-label\" style=\"color:black;\"><input type=\"checkbox\" class=\"form-check-input product-scheme-chk\" name=\"scheme[]\" value=\"'+v+'\"> '+t+'<\/label><\/div>';\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t$('#productSchemeCheckboxes').html(chkHtml || '<span style=\"color:#999;\">No schemes available<\/span>');\r\n\t\t\t\t\t\t\tenforceSchemeStyles();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\r\n\t\t\t\t\tfunction getCookie(name) {\r\n\t\t\t\t\t\t\t\t const cookies = document.cookie.split(';');\r\n\t\t\t\t\t\t\t\t\tconst captcha_word = (cookies.find(c => c.trim().startsWith('captcha_word=')) || '').split('=')[1] || null;\r\n\t\t\t\t\t\t\t\t\treturn captcha_word;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t$('.btn-submit').click(function(e) { \r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\t\/\/validation start\r\n\t\t\t\t\t\t\tvar CustomerName  = $('#CustomerName').val();\r\n\t\r\n\t\t\t\t\t\t\tvar error = 0;\r\n\t\t\t\t\t\t\tvar mail_dup_error = 0;\r\n\t\t\t\t\t\t\tif(!CustomerName){\r\n\t\t\t\t\t\t\t\t$('.error_company_name').text('Enter the customer name');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else if(!\/^[a-zA-Z ]+$\/.test(CustomerName)){\r\n\t\t\t\t\t\t\t\t$('.error_company_name').text('Only letters and spaces are allowed');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t$('.error_company_name').text('');\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tvar EMail  = $('#EMail').val();\r\n\r\n\t\t\t\t\t\t\t\/\/ Strict email pattern: requires valid local part, domain with at least one dot, and TLD of 2-24 letters\r\n\t\t\t\t\t\t\tvar emailPattern = \/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*\\.[a-zA-Z]{2,24}$\/;\r\n\t\t\t\t\t\t\tvar validTLDs = ['com','org','net','edu','gov','mil','int','co','io','ai','app','dev','info','biz','name','pro','me','tv','us','uk','in','cn','jp','de','fr','it','es','ru','br','au','ca','mx','kr','nl','se','no','fi','dk','pl','be','ch','at','ie','nz','za','ae','sa','qa','om','bh','kw','eg','ma','ng','ke','tz','ug','gh','lk','bd','pk','np','id','my','sg','th','vn','ph','tw','hk','mo','il','tr','gr','pt','cz','sk','hu','ro','bg','ua','by','rs','hr','si','ee','lv','lt','is','lu','mt','cy','iq','ir','jo','lb','sy','ye','ly','tn','dz','ao','zw','zm','mw','mz','bw','na','sz','ls','re','mu','mg','sc','bj','bf','ml','ne','sn','ci','tg','gm','gn','gw','cv','sl','lr','cm','cf','td','cg','cd','ga','gq','st','km','dj','so','er','et','rw','bi','online','site','store','tech','blog','shop','xyz','cloud','digital','email','website','agency','design','studio','services','solutions','world','life','space','live','today','center','company','group','news','media','network','systems','academy','school','training','education'];\r\n\r\n\t\t\t\t\t\t\tif(!EMail){\r\n\t\t\t\t\t\t\t\t$('.error_email').text('Enter the email');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else if(!emailPattern.test(EMail)){\r\n\t\t\t\t\t\t\t\t$('.error_email').text('Enter a valid email address');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\tvar emailParts = EMail.split('@');\r\n\t\t\t\t\t\t\t\tvar domain = emailParts[1].toLowerCase();\r\n\t\t\t\t\t\t\t\tvar tld = domain.split('.').pop();\r\n\t\t\t\t\t\t\t\tif(validTLDs.indexOf(tld) === -1){\r\n\t\t\t\t\t\t\t\t\t$('.error_email').text('Please enter a valid email address with a real domain');\r\n\t\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tvar domainParts = domain.split('.');\r\n\t\t\t\t\t\t\t\t\tvar secondLevel = domainParts[domainParts.length - 2];\r\n\t\t\t\t\t\t\t\t\tif(!secondLevel || secondLevel.length < 2 || domain.indexOf('..') !== -1){\r\n\t\t\t\t\t\t\t\t\t\t$('.error_email').text('Please enter a valid email address with a real domain');\r\n\t\t\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t$('.error_email').text('');\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\r\n\t\t\t\t\t\t\tvar country_id  = $('#country_id').val(); \r\n\t\r\n\t\t\t\t\t\t\tif(!country_id){\r\n\t\t\t\t\t\t\t\t$('.error_country').text('Enter the country');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t$('.error_country').text('');\r\n\t\t\t\t\t\t\t}  \r\n\t\r\n\t\t\t\t\t\t\tvar State  = $('#State').val(); \r\n\t\r\n\t\t\t\t\t\t\tif(!State){\r\n\t\t\t\t\t\t\t\t$('.error_state').text('Enter the state');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t$('.error_state').text('');\r\n\t\t\t\t\t\t\t} \r\n\t\r\n\t\t\t\t\t\t\tvar MobileNumber  = $('#MobileNumber').val();\r\n\t\t\t\t\t\t\tvar requiredLength = $('#CountryCode').data('phone-length') ? parseInt($('#CountryCode').data('phone-length')) : null;\r\n\r\n\t\t\t\t\t\t\tif(!MobileNumber){\r\n\t\t\t\t\t\t\t\t$('.error_mobile_no').css('color','red').text('Enter the mobile number');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else if(requiredLength && MobileNumber.length < requiredLength){\r\n\t\t\t\t\t\t\t\t$('.error_mobile_no').css('color','red').text('Mobile number must be ' + requiredLength + ' digits. You entered ' + MobileNumber.length + ' digits.');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t$('.error_mobile_no').text('');\r\n\t\t\t\t\t\t\t} \r\n\t\r\n\t\t\t\t\t\t\tvar purposOf  = $('#purposOf').val(); \r\n\t\r\n\t\t\t\t\t\t\tvar enquiry_type  = $('input.enquiry_type:checked').val()\r\n\tif(!purposOf && enquiry_type == 1){\r\n\t\t\t\t\t\t\t\t$('.error_trg_cert').text('Please choose the training\/certification');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t$('.error_trg_cert').text('');\r\n\t\t\t\t\t\t\t}   \r\n\t\r\n\t\t\t\t\t\t\tif((purposOf == 1) || (purposOf == 3)){ \r\n\t\t\t\t\t\t\t\t\/\/Training validation  \r\n\t\t\t\t\t\t\t\tvar Type  = $('#Type').val(); \r\n\t\r\n\t\t\t\t\t\t\t\tif(!Type){\r\n\t\t\t\t\t\t\t\t\t$('.error_product_type').text('Please choose type');\r\n\t\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t\t$('.error_product_type').text('');\r\n\t\t\t\t\t\t\t\t} \r\n\t\r\n\t\t\t\t\t\t\t\tvar Category  = $('#Category').val(); \r\n\t\r\n\t\t\t\t\t\t\t\tif(!Category){\r\n\t\t\t\t\t\t\t\t\t$('.error_product_category').text('Please choose category');\r\n\t\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t\t$('.error_product_category').text('');\r\n\t\t\t\t\t\t\t\t} \r\n\t\r\n\t\t\t\t\t\t\t\tvar ProductName  = $('.product-name-chk:checked').length;\r\n\r\n\t\t\t\t\t\t\t\tif(ProductName === 0){\r\n\t\t\t\t\t\t\t\t\t$('.error_product_name').text('Please choose at least one product');\r\n\t\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t\t$('.error_product_name').text('');\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tif((purposOf == 2) || (purposOf == 3)){\r\n\t\t\t\t\t\t\t\tvar product_scheme_count  = $('.product-scheme-chk:checked').length;\r\n\t\t\t\t\t\t\t\tvar process_scheme_count  = $('.process-scheme-chk:checked').length;\r\n\r\n\t\t\t\t\t\t\tvar cert_type = $('#cert_Type').val();\r\n\r\n\t\t\t\t\t\t\tif(!cert_type){\r\n\t\t\t\t        \t\t$('.error_cert_product_type').text('Please choose any one Certification Type');\r\n\t\t\t\t        \t\terror = 1;\r\n\t\t\t\t        \t}else {\r\n\t\t\t\t        \t\t$('.error_cert_product_type').text('');\r\n\t\t\t\t\t\t\t\tif(cert_type == 1){\r\n\t\t\t\t\t\t\t\t\tif(process_scheme_count === 0){\r\n\t\t\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('Please choose at least one process scheme');\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('');\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} else if(cert_type == 2){\r\n\t\t\t\t\t\t\t\t\tif(product_scheme_count === 0){\r\n\t\t\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t\t\t\t$('.error_product_name').text('Please choose at least one product scheme');\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t$('.error_product_name').text('');\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} else if(cert_type == 3){\r\n\t\t\t\t\t\t\t\t\tif(product_scheme_count === 0 || process_scheme_count === 0){\r\n\t\t\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('Please choose at least one from both product and process scheme');\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('');\r\n\t\t\t\t\t\t\t\t\t\t$('.error_product_name').text('');\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t        \t} \r\n\t\t\t\t\t\t\t\r\n\r\n\r\n\t\t\t\t        }\r\n\r\n\t\t\t\t\t\t\t\/\/ Privacy policy checkbox validation\r\n\t\t\t\t\t\t\tvar isPrivacyChecked = $('#privacyCheck').is(':checked');\r\n\t\t\t\t\t\t\tif(!isPrivacyChecked){\r\n\t\t\t\t\t\t\t\t$('.error_privacy_checkbox').text('Please accept the privacy policy');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\t$('.error_privacy_checkbox').text('');\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tvar captcha_cookie = getCookie('captcha_word');\r\n \t\t\t\t\t\t\tvar capcha_answer = $('#captcha_answer').val();\r\n\t\t\t\t\t\t\tif(capcha_answer && captcha_cookie !== capcha_answer){\r\n\t\t\t\t\t\t\t\t$('.error_captcha').text('Captcha is not valid');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tif(!capcha_answer){\r\n\t\t\t\t\t\t\t\t\t$('.error_captcha').text('Enter the captcha');\r\n\t\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\t\t$('.error_captcha').text('');\r\n\t\t\t\t\t\t\t\t\t\/\/error = 0;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}   \r\n\t\t\t\t\t\t\t\r\n\/\/ \t\t\t\t\t\t\tvar recaptcha_response = $('#g-recaptcha-response').val();  \r\n\/\/ \t\t\t\t\t\t\tif(!recaptcha_response){  \r\n\/\/ \t\t\t\t\t\t\t\t$('.error_captcha').text('captcha error');\r\n\/\/ \t\t\t\t\t\t\t\t\terror = 1;\r\n\/\/ \t\t\t\t\t\t\t}else {\r\n\/\/ \t\t\t\t\t\t\t\tvar recaptcha_response = $('#g-recaptcha-response').val(); \r\n\/\/ \t\t\t\t\t\t\t\t   var url = base_url+'\/Api\/checkCaptcha';\r\n\/\/ \t\t\t\t\t\t\t\t\t$.ajax({\r\n\/\/ \t\t\t\t\t\t\t\t\t 'async': false,\r\n\/\/ \t\t\t\t\t\t\t\t\t type:'POST',\r\n\/\/ \t\t\t\t\t\t\t\t\t url:url,\r\n\/\/ \t\t\t\t\t\t\t\t\t data:{g_recaptcha_response:recaptcha_response},\r\n\/\/ \t\t\t\t\t\t\t\t\t success:function(data){\r\n\/\/ \t\t\t\t\t\t\t\t\t\tif(!data){\r\n\/\/ \t\t\t\t\t\t\t\t\t\t\t$('.error_captcha').text('captcha error');\r\n\/\/ \t\t\t\t\t\t\t\t\t\t\terror = 1;\r\n\/\/ \t\t\t\t\t\t\t\t\t\t}else {\r\n\/\/ \t\t\t\t\t\t\t\t\t\t\t$('.error_captcha').text('');\r\n\/\/ \t\t\t\t\t\t\t\t\t\t}\r\n\/\/ \t\t\t\t\t\t\t\t\t }\r\n\/\/ \t\t\t\t\t\t\t\t});\r\n\/\/ \t\t\t\t\t\t\t}        \r\n\t\t\t\t\t\t\/\/validation end\r\n\/\/ \t\t\t\t\t\tif(!error){\r\n\/\/ \t\t\t\t\t\t\t$('.btn-submit').addClass('disabled');\r\n\/\/ \t\t\t\t\t\t\t   var enquiry_type  = $('input.enquiry_type:checked').val();\r\n\/\/ \t\t\t\t\t\t\t   \/\/captcha status success\r\n\/\/ \t\t\t\t\t\t\tif(enquiry_type == 1){\r\n\/\/ \t\t\t\t\t\t\t\t var purposOf  = $('#purposOf').val();\r\n\/\/ \t\t\t\t\t\t\t\tif(purposOf == 1){\r\n\/\/ \t\t\t\t\t\t\t\t\ttrainingEnquiry();\r\n\/\/ \t\t\t\t\t\t\t\t   } else if(purposOf == 2){\r\n\/\/ \t\t\t\t\t\t\t\t\tcertificationEnquiry();\r\n\/\/ \t\t\t\t\t\t\t\t   }else if(purposOf == 3){\r\n\/\/ \t\t\t\t\t\t\t\t\ttrainingEnquiry();\r\n\/\/ \t\t\t\t\t\t\t\t\tcertificationEnquiry();\r\n\/\/ \t\t\t\t\t\t\t\t   }\r\n\/\/ \t\t\t\t\t\t\t   }else {\r\n\/\/ \t\t\t\t\t\t\t\totherEnquiry();\r\n\/\/ \t\t\t\t\t\t\t   }\t\t\t\t\t   \r\n\/\/ \t\t\t\t\t\t}\r\n\r\nvar EMail = $('#EMail').val();\r\n\t\t\t\t\t \tvar prod_scheme = [];\r\n\t\t\t\t\t \t$('.product-scheme-chk:checked').each(function(){ prod_scheme.push($(this).val()); });\r\n\t\t\t\t\t \tvar proc_scheme = [];\r\n\t\t\t\t\t \t$('.process-scheme-chk:checked').each(function(){ proc_scheme.push($(this).val()); });\r\n\t\t\t\t\t \tvar trn_prod_scheme = [];\r\n\t\t\t\t\t \t$('.product-name-chk:checked').each(function(){ trn_prod_scheme.push($(this).val()); });\r\n\r\n\t\t\t\t\t\tif($('#purposOf').val() == 1){\r\n\t\t\t\t\t\t\temail_url = base_url_api+'\/api_training_email_check';\r\n\t\t\t\t\t\t\tvar postdata = {\r\n\t\t\t\t\t\t\t\tEMail : EMail,\r\n\t\t\t\t\t\t\t\tprod_scheme : trn_prod_scheme\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t }else if($('#purposOf').val() == 2){\r\n\t\t\t\t\t\t\temail_url = base_url_api+'\/api_cert_email_check';\r\n\t\t\t\t\t\t\tvar postdata = {\r\n\t\t\t\t\t\t\t\tEMail : EMail,\r\n\t\t\t\t\t\t\t\tprod_scheme : prod_scheme,\r\n\t\t\t\t\t\t\t\tproc_scheme : proc_scheme\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t }\r\n\r\n\t\t\t\t\t\t\/\/ Other enquiry type: validate details box BEFORE auto-scroll so error is caught\r\n\t\t\t\t\t\tvar enquiry_type_val = $('input.enquiry_type:checked').val();\r\n\t\t\t\t\t\tif(enquiry_type_val == 2){\r\n\t\t\t\t\t\t\tvar otherDetails = $.trim($('#other_enquiry').val());\r\n\t\t\t\t\t\t\tif(!otherDetails){\r\n\t\t\t\t\t\t\t\t$('.error_other_enquiry').text('Please enter your enquiry details');\r\n\t\t\t\t\t\t\t\terror = 1;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t$('.error_other_enquiry').text('');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t if(error){\r\n\t\t\t\t\t\t\/\/Auto Scroll to first error\r\n\t\t\t\t\t\tvar firstError = $('.error:visible').filter(function() {\r\n\t\t\t\t\t\t\treturn $(this).text().trim() !== '';\r\n\t\t\t\t\t\t}).first();\r\n\r\n\t\t\t\t\t\tif(firstError.length){\r\n\t\t\t\t\t\t\t$('html, body').animate({\r\n\t\t\t\t\t\t\t\tscrollTop: firstError.offset().top - 380\r\n\t\t\t\t\t\t\t}, 500);\r\n\r\n\t\t\t\t\t\t\t\/\/ focus input\/select\r\n\t\t\t\t\t\t\tfirstError.closest('.mb-3').find('input, select, textarea').focus();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\/\/ Other enquiry type: submit directly (validation already passed above)\r\n\t\t\t\t\t\tif(enquiry_type_val == 2){\r\n\t\t\t\t\t\t\t$('.btn-submit').prop('disabled', true).text('Submitting...');\r\n\t\t\t\t\t\t\totherEnquiry();\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif(EMail && $('#purposOf').val() != '' && !error){\r\n\t\t\t\t\t\t \/\/skip recheck of duplicate email after click proceed\r\n                            if($('#proceed_trn_enq').attr('data-enquiry-type') == 'same'){\r\n                                submitFinalForm();\r\n                                return;\r\n                            }\r\n\t\t\t\t\t\t\t$.ajax({\r\n\t\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\t\turl:email_url,\r\n\t\t\t\t\t\t\t\tdata:postdata,\r\n\t\t\t\t\t\t\t\tsuccess:function(data){\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif ((purposOf == 2 || purposOf == 3) && (prod_scheme.length === 0 && proc_scheme.length === 0)) {\r\n\t\t\t\t\t\t\t\t\t\/\/ If no scheme is selected, prevent modal from opening\r\n\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('Please choose any one process or product scheme.');\r\n\t\t\t\t\t\t\t\t\treturn; \/\/ Stop submission and modal opening\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tif(data == 1 || $('#proceed_trn_enq').attr('data-enquiry-type') == 'same'){\r\n\t\t\t\t\t\t\t\t\tmail_dup_error = 0;\r\n\t\t\t\t\t\t\t\t\tif(!error && !mail_dup_error){\r\n\t\t\t\t\t\t\t\t\/\/ \t\t$('.btn-submit').addClass('disabled');\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t        \/\/Prevent multiple submission\r\n                                        $('.btn-submit')\r\n                                        .prop('disabled', true)\r\n                                        .text('Submitting...');\r\n                                        \r\n\t\t\t\t\t\t\t\t\t\tvar enquiry_type  = $('input.enquiry_type:checked').val();\r\n\t\t\t\t\t\t\t\t\t\t\/\/captcha status success\r\n\t\t\t\t\t\t\t\t\t\tif(enquiry_type == 1){\r\n\t\t\t\t\t\t\t\t\t\t\t var purposOf  = $('#purposOf').val();\r\n\t\t\t\t\t\t\t\t\t\t\tif(purposOf == 1){\r\n\t\t\t\t\t\t\t\t\t\t\t\ttrainingEnquiry();\r\n\t\t\t\t\t\t\t\t\t\t\t} else if(purposOf == 2){\r\n\t\t\t\t\t\t\t\t\t\t\t\tcertificationEnquiry();\r\n\t\t\t\t\t\t\t\t\t\t\t}else if(purposOf == 3){\r\n\t\t\t\t\t\t\t\t\t\t\t\ttrainingEnquiry();\r\n\t\t\t\t\t\t\t\t\t\t\t\tcertificationEnquiry();\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t\t\t\totherEnquiry();\r\n\t\t\t\t\t\t\t\t\t\t}\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\t\t\t$('#error_pop_con').children().remove().end().append(data);\r\n\t\t\t\t\t\t\t\t\t\t$('#error_pop').modal('toggle');\r\n\t\t\t\t\t\t\t\t\t\tvar prcd_btn = $('#same_enquiry_id').attr('data-scheme') == 0 ? 'disabled' : '';\r\n\t\t\t\t\t\t\t\t\t\t$('#proceed_trn_enq').removeClass('disabled');\r\n\t\t\t\t\t\t\t\t\t\t$('#proceed_trn_enq').addClass(prcd_btn);\r\n\t\t\t\t\t\t\t\t\t\tmail_dup_error = 1;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}); \r\n\t\t\t\t\t\t}\r\n\t\r\n\t\t\t\t\t})\r\n\t\t\t\t\t$('.btn-close').click(function(e) { \r\n\t\t\t\t\t\tlocation.reload();\r\n\t\t\t\t\t})\r\n\t\r\n\t\t\t\t\tfunction trainingEnquiry() {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tvar form_data = $('#contct_form').serialize();\r\n\t\t\t\t\t\tvar url = base_url+'\/SEO\/addEnquiry';\r\n\t\t\t\t\t\tvar bco_assign = $('.bco_assign_training').val();\r\n\t\t\t\t\t\tvar enquirySame = $('#proceed_trn_enq').attr('data-enquiry-type');\r\n\t\t\t\t\t\tvar sameEnquiryId = $('#proceed_trn_enq').attr('data-enquiry-id');\r\n\t\t\t\t\t\tvar company = $('.Company').val(); \/\/IAS singapore\r\n\t\t\t\t\t\tvar post_data = \"&bco_assign=\"+bco_assign+\"&company=\"+company+\"&enquirySame=\"+enquirySame+\"&sameEnquiryId=\"+sameEnquiryId\r\n\t\t\t\t\t\t$.ajax({\r\n\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\turl:url,\r\n\t\t\t\t\t\t\tdata:form_data + post_data + \"&username=\"+chat_username+\"&password=\"+encodeURIComponent(chat_password),\r\n\t\t\t\t\t\t\tsuccess:function(data){\r\n\t\t\t\t\t\t\t\tif(data.status == 1){\r\n\t\t\t\t\t\t\t\t\t\/\/alert(data.message);\r\n\t\t\t\t\t\t\t\t\t\/\/location.reload();\r\n\t\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text(data.message);\r\n\t\t\t\t\t\t\t\t\t $('.modal-backdrop').remove();\r\n\t\t\t\t\t\t\t\t\t\t$('body').removeClass('modal-open');\r\n\r\n\t\t\t\t\t\t\t\t\t\t\/\/ Open modal WITHOUT backdrop\r\n\t\t\t\t\t\t\t\t\t\t$('#myModalAlert').modal({\r\n\t\t\t\t\t\t\t\t\t\t\tbackdrop: false,\r\n\t\t\t\t\t\t\t\t\t\t\tkeyboard: false\r\n\t\t\t\t\t\t\t\t\t\t}).modal('show');\r\n\t\t\t\t\t\t\t\t\t$('.btn-submit').removeClass('disabled');\r\n\t\t\t\t\t\t\t\t} \r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}); \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\r\n\t\t\t\t\tfunction certificationEnquiry() {\r\n\t\t\t\t\t\tvar form_data = $('#contct_form').serialize();\r\n\t\t\t\t\t\tvar profile_name = $('#CompanyName').val();\r\n\t\t\t\t\t\tvar contact_name = $('#CustomerName').val();\r\n\t\t\t\t\t\tvar mobile_number = $('#MobileNumber').val();\r\n\t\t\t\t\t\tvar profile_email = $('#EMail').val();\r\n\t\t\t\t\t\tvar md_state      = $('#State').val();\r\n\t\t\t\t\t\tvar md_city      = $('#City').val();\r\n\t\t\t\t\t\tvar company = $('.Company').val(); \/\/IAS singapore\r\n\t\t\t\t\t\tvar Type = 6;\r\n\t\t\t\t\t\tvar remarks = 'Online enquiry';\r\n\t\t\t\t\t\tvar bco_assign = $('.bco_assign_cert').val();\r\n\t\t\t\t\t\tvar enquirySame = $('#proceed_trn_enq').attr('data-enquiry-type');\r\n\t\t\t\t\t\tvar sameEnquiryId = $('#proceed_trn_enq').attr('data-enquiry-id');\r\n\t\t\t\t\t\tvar url = base_url+'\/SEO\/adddataAction_self';\r\n\t\r\n\t\t\t\t\t\tvar post_data = \"&profile_name=\"+profile_name+\"&contact_name=\"+contact_name+\"&mobile_number=\"+mobile_number+\"&profile_email=\"+profile_email+\"&md_state=\"+md_state+\"&md_city=\"+md_city+\"&company=\"+company+\"&Type=\"+Type+\"&remarks=\"+remarks+\"&bco_assign=\"+bco_assign+\"&enquirySame=\"+enquirySame+\"&sameEnquiryId=\"+sameEnquiryId;\r\n\t\t\t\t\t\t $.ajax({\r\n\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\turl:url,\r\n\t\t\t\t\t\t\tdata:form_data + post_data + \"&username=\"+chat_username+\"&password=\"+encodeURIComponent(chat_password),\r\n\t\t\t\t\t\t\tsuccess:function(data){\r\n\t\t\t\t\t\t\t \/\/ alert(data);\r\n\t\t\t\t\t\t\t\tif(data.status == 1){\r\n\t\t\t\t\t\t\t\t\t\/\/alert(data.message);\r\n\t\t\t\t\t\t\t\t\t\/\/location.reload();\r\n\t\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text(data.message);\r\n\t\t\t\t\t\t\t\t\t  $('#myModalAlert').modal('show');\r\n\t\t\t\t\t\t\t\t\t  $('.btn-submit').removeClass('disabled');\r\n\t\t\t\t\t\t\t\t}  \r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});   \r\n\t\t\t\t\t}\r\n\t\r\n\t\t\t\t\t function otherEnquiry() {\r\n\t\t\t\t\t\t var form_data = $('#contct_form').serialize();\r\n\t\t\t\t\t\t\tvar url = base_url+'\/Api\/sent_mail_other_enquiry';\r\n\t\t\t\t\t\t   \r\n\t\t\t\t\t\t\tvar post_data = \"&website_url=\"+website_url\r\n\t\t\t\t\t\t\t $.ajax({\r\n\t\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\t\turl:url,\r\n\t\t\t\t\t\t\t\tdata:form_data + post_data,\r\n\t\t\t\t\t\t\t\tsuccess:function(data){\r\n\t\t\t\t\t\t\t\t\tif(data == 1){\r\n\t\t\t\t\t\t\t\t\t\t\/\/alert('Thank you for contact us');\r\n\t\t\t\t\t\t\t\t\t\t\/\/location.reload();\r\n\t\t\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text('Thank you for contact us');\r\n\t\t\t\t\t\t\t\t\t\t  $('#myModalAlert').modal('show');\r\n\t\t\t\t\t\t\t\t\t\t  $('.btn-submit').removeClass('disabled');\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});   \r\n\t\t\t\t\t\t}\r\n\t\r\n\t\t\t\t\t\/\/purpose change\r\n\t\t\t\t\t$('#purposOf').change(function() {\r\n\t\t\t\t\t\tvar purpose = $(this).val();\r\n\r\n\t\t\t\t\t\t\/\/ Reset ALL child fields (training + certification) when parent changes\r\n\t\t\t\t\t\t$('#Type').val('');\r\n\t\t\t\t\t\t$('#Category').val('');\r\n\t\t\t\t\t\t$('.product-name-chk').prop('checked', false);\r\n\t\t\t\t\t\t$('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\r\n\r\n\t\t\t\t\t\t$('#cert_Type').val('');\r\n\t\t\t\t\t\t$('.product-scheme-chk, .process-scheme-chk').prop('checked', false);\r\n\t\t\t\t\t\t$('.product_section, .process_section').hide();\r\n\r\n\t\t\t\t\t\t$('.scheme-dropdown-toggle').each(function(){\r\n\t\t\t\t\t\t\tvar defaultText = $(this).data('default') || '-- Select --';\r\n\t\t\t\t\t\t\t$(this).text(defaultText).removeClass('open');\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t$('.scheme-checkbox-list').removeClass('show');\r\n\r\n\t\t\t\t\t\t$('.error_product_type, .error_product_category, .error_product_name, .error_cert_product_type, .error_process_scheme').text('');\r\n\r\n\t\t\t\t\t\tif(purpose == 1){\r\n\t\t\t\t\t\t\t$('.training-section').show();\r\n\t\t\t\t\t\t\t$('.certification-section').hide();\r\n\t\t\t\t\t\t\t$('.certification_prod_section').hide();\r\n\t\t\t\t\t\t    var email_url = base_url_api+'\/api_training_email_check';\r\n\t\t\t\t\t\t}else if(purpose == 2) {\r\n\t\t\t\t\t\t\t$('.training-section').hide();\r\n\t\t\t\t\t\t\t$('.certification-section').show();\r\n\t\t\t\t\t\t\t$('.certification_prod_section').show();\r\n\t\t\t\t\t\t    var email_url = base_url_api+'\/api_cert_email_check';\r\n\t\t\t\t\t\t}else if(purpose == 3) {\r\n\t\t\t\t\t\t\t$('.training-section').show();\r\n\t\t\t\t\t\t\t$('.certification-section').show();\r\n\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t$('.training-section').hide();\r\n\t\t\t\t\t\t\t$('.certification-section').hide();\r\n\t\t\t\t\t\t\t$('.certification_prod_section').hide();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t   })\r\n\t\t      \/\/ Helper: reset a scheme toggle label to its default text\r\n\t\t      function resetSchemeToggleLabel(targetId){\r\n\t\t          var toggle = $('.scheme-dropdown-toggle[data-target=\"'+targetId+'\"]');\r\n\t\t          var defaultText = toggle.data('default') || '-- Select --';\r\n\t\t          toggle.text(defaultText);\r\n\t\t          toggle.removeClass('open');\r\n\t\t          $('#'+targetId).removeClass('show').css('display','none');\r\n\t\t      }\r\n\r\n\t\t      \/\/ When Type changes \u2192 also reset ProductName toggle label\r\n\t\t      $(document).on('change','#Type', function(){\r\n\t\t          resetSchemeToggleLabel('ProductNameCheckboxes');\r\n\t\t      });\r\n\t\t      \/\/ When Category changes \u2192 also reset ProductName toggle label\r\n\t\t      $(document).on('change','#Category', function(){\r\n\t\t          resetSchemeToggleLabel('ProductNameCheckboxes');\r\n\t\t      });\r\n\r\n\t\t\t\t   $('#cert_Type').change(function() {\r\n\t\t        \tvar cert_Type = $(this).val();\r\n\r\n\t\t        \t\/\/ Uncheck all cert scheme checkboxes when cert_Type changes\r\n\t\t        \t$('.product-scheme-chk, .process-scheme-chk').prop('checked', false);\r\n\t\t        \tresetSchemeToggleLabel('productSchemeCheckboxes');\r\n\t\t        \tresetSchemeToggleLabel('processSchemeCheckboxes');\r\n\t\t        \t$('.error_process_scheme').text('');\r\n\t\t        \t$('.error_product_name').text('');\r\n\r\n\t\t        \tif(cert_Type == 1){\r\n\t\t        \t\t$('.process_section').show();\r\n\t\t\t\t\t\t$('.product_section').hide();\r\n\t\t        \t}else if(cert_Type == 2) {\r\n\t\t        \t\t$('.product_section').show();\r\n\t\t\t\t\t\t$('.process_section').hide();\r\n\t\t        \t}else if(cert_Type == 3) {\r\n\t\t        \t\t$('.product_section').show();\r\n\t\t        \t\t$('.process_section').show();\r\n\t\t\t\t\t\t$('.error_process_scheme').text('');\r\n\t\t\t\t\t\t$('.error_product_name').text('');\r\n\t\t        \t}\r\n\r\n\t\t       })\r\n\t\r\n\t\t\t\t   \/\/Enquiry type\r\n\t\t\t\t   $('.enquiry_type').change(function() {\r\n\t\t\t\t\t\t   var enquiry_type = $(this).val();\r\n\t\r\n\t\t\t\t\t\t   console.log(enquiry_type);\r\n\t\r\n\t\t\t\t\t\t   if(enquiry_type == 1) {\r\n\t\t\t\t\t\t\t   $('.enquiry_form').show();\r\n\t\t\t\t\t\t\t   $('.other_enquiry_form').hide();\r\n\t\t\t\t\t\t   }else if(enquiry_type == 2) {\r\n\t\t\t\t\t\t\t   $('.other_enquiry_form').show();\r\n\t\t\t\t\t\t\t   $('.enquiry_form').hide();\r\n\t\t\t\t\t\t   }\r\n\t\t\t\t\t   })\r\n\t\r\n\t\t\t\t\t   \/\/Fetch bco training\r\n\t\r\n\t\t\t\t\t   function fetchBcoTraining() {\r\n\t\t\t\t\t\t   var country_id \t\t= $('#country_id').val();\r\n\t\t\t\t\t\tvar state_id \t\t= $('#State').val();\r\n\t\t\t\t\t\tvar Category \t\t= $('#Category').val();\r\n\t\t\t\t\t\tvar Type \t\t\t= $('#Type').val();\r\n\t\t\t\t\t\t var ProductName = [];\r\n\t\t\t\t\t\t $('.product-name-chk:checked').each(function(){ ProductName.push($(this).val()); });\r\n\t\t\t\t\t\t   var url = base_url+'\/Api\/get_bco_training';\r\n\r\n\t\t\t\t\t\tvar post_data = \"&country_id=\"+country_id+\"&state_id=\"+state_id+\"&Category=\"+Category+\"&Type=\"+Type+\"&ProductName=\"+ProductName.join(',');\r\n\t\t\t\t\t\t $.ajax({\r\n\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\turl:url,\r\n\t\t\t\t\t\t\tdata:post_data ,\r\n\t\t\t\t\t\t\tsuccess:function(bco_id){\r\n\t\t\t\t\t\t\t\t$('.bco_assign_training').val(bco_id);\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});   \r\n\t\r\n\t\t\t\t\t   }\r\n\t\r\n\t\t\t\t\t   \/\/Fetch bco training\r\n\t\r\n\t\t\t\t\t   function fetchBcoCert() {\r\n\t\t\t\t\t\t   var country_id \t\t= $('#country_id').val();\r\n\t\t\t\t\t\tvar state_id \t\t= $('#State').val();\r\n\t\t\t\t\t\t   var url = base_url+'\/Api\/get_bco_certification';\r\n\t\r\n\t\t\t\t\t\tvar post_data = \"&country_id=\"+country_id+\"&state_id=\"+state_id;\r\n\t\t\t\t\t\t $.ajax({\r\n\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\turl:url,\r\n\t\t\t\t\t\t\tdata:post_data ,\r\n\t\t\t\t\t\t\tsuccess:function(bco_id){\r\n\t\t\t\t\t\t\t\t$('.bco_assign_cert').val(bco_id);\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});   \r\n\t\r\n\t\t\t\t\t   }\r\n\t\r\n\t\t\t\t})\r\n\t\r\n\t<\/script>\n<\/div>\n\t\t<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>About SA 8000 Certification Child Labour\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 any work performed by a child (less than 15 years or any min age prescribed by local law) except as provided for by ILO recommendation 146. Forced or compulsory Labour Forced or compulsory Labour: All work or service that a person has not offered to do voluntarily and is&#8230; <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/iasiso-gulf.com\/KW\/sa-8000-certification-in-kuwait\/\" class=\"gdlr-button with-border excerpt-read-more\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3999","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/pages\/3999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/comments?post=3999"}],"version-history":[{"count":5,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/pages\/3999\/revisions"}],"predecessor-version":[{"id":5125,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/pages\/3999\/revisions\/5125"}],"wp:attachment":[{"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/media?parent=3999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}