{"id":5558,"date":"2025-02-06T10:37:10","date_gmt":"2025-02-06T10:37:10","guid":{"rendered":"https:\/\/iasiso-gulf.com\/BH\/?page_id=5558"},"modified":"2026-10-05T04:29:53","modified_gmt":"2026-10-05T04:29:53","slug":"fssc-22000-lead-auditor-training-in-bahrain","status":"publish","type":"page","link":"https:\/\/iasiso-gulf.com\/BH\/fssc-22000-lead-auditor-training-in-bahrain\/","title":{"rendered":"FSSC 22000 Lead Auditor Training"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"5558\" class=\"elementor elementor-5558\">\n\t\t\t\t<div class=\"elementor-element elementor-element-09fd28f e-flex e-con-boxed e-con e-parent\" data-id=\"09fd28f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-1598fcb e-con-full e-flex e-con e-child\" data-id=\"1598fcb\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8e3e87f elementor-widget elementor-widget-text-editor\" data-id=\"8e3e87f\" data-element_type=\"widget\" data-e-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<style>\n.ias-body p,.ias-body li{text-align:justify!important;text-justify:inter-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word;line-height:1.75}\n.ias-body p{margin:0 0 16px}\n.ias-body p,.ias-body li,.ias-body td{color:#000!important}\n.ias-body td,.ias-body th{text-align:left!important}\n.ias-body h2,.ias-body h3{text-align:left!important}\n.ias-body h2{margin:30px 0 12px;line-height:1.3}\n.ias-body h3{margin:22px 0 8px;line-height:1.35}\n.ias-body a{color:#B02B2C;text-decoration:underline;text-underline-offset:2px;font-weight:700!important}\n.ias-body a:hover{color:#8C2223;text-decoration:underline}\n.ias-body img.ias-hero{max-width:100%!important;width:100%!important;opacity:1!important;height:auto!important;display:block;margin:6px auto 26px;border-radius:3px}\n.ias-body img.r510{aspect-ratio:800\/510}\n.ias-body img.r271{aspect-ratio:800\/271}\n.ias-callout{background:#f4f7fb;border-left:4px solid #0A4D8C;border-radius:3px;padding:18px 24px 20px;margin:0 0 30px}\n.ias-callout h2{margin:0 0 8px!important;font-size:13px!important;letter-spacing:.09em;text-transform:uppercase;color:#0A4D8C!important;line-height:1.3;text-align:left!important;font-weight:700}\n.ias-callout p{margin:0!important;font-size:16.5px!important;line-height:1.8!important}\n.ias-source{font-size:14px!important;color:#555!important;border-left:3px solid #dcdcdc;padding:2px 0 2px 14px;margin:-4px 0 26px!important}\n.ias-source a{font-weight:700!important}\n.ias-tblwrap{overflow-x:auto;margin:18px 0 24px}\n.ias-body table{border-collapse:collapse;width:100%;min-width:520px;font-size:15px}\n.ias-body table th{background:#B02B2C;color:#fff!important;font-weight:600;padding:10px 12px;border:1px solid #d8d8d8;vertical-align:top}\n.ias-body table td{padding:10px 12px;border:1px solid #d8d8d8;vertical-align:top;line-height:1.5}\n.ias-body table tr:nth-child(even) td{background:#f7f7f7}\n.ias-body table.ias-spec td:first-child{background:#eef2f7;font-weight:600;width:30%}\n.ias-body table.ias-spec tr:nth-child(even) td:first-child{background:#e7ecf3}\n.ias-faq{margin:18px 0 8px}\n.ias-faq details{border-left:4px solid #B02B2C;background:#f7f7f7;margin-bottom:12px}\n.ias-faq summary{list-style:none;cursor:pointer;padding:16px 48px 16px 20px;font-weight:600;color:#232323;position:relative;line-height:1.45;text-align:left}\n.ias-faq summary::-webkit-details-marker{display:none}\n.ias-faq summary::after{content:\"+\";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:#B02B2C;font-size:26px;font-weight:400;line-height:1}\n.ias-faq details[open] summary::after{content:\"\\2013\"}\n.ias-faq details[open] summary{border-bottom:1px solid #e4e4e4}\n.ias-faq .ias-a{padding:14px 20px 18px}\n.ias-faq .ias-a p{margin:0 0 10px}\n.ias-faq .ias-a p:last-child{margin:0}\n.ias-author{background:#f7f7f7;border-left:4px solid #B02B2C;padding:20px 24px;margin:28px 0}\n.ias-author h2{margin:0 0 10px!important;font-size:20px}\n.ias-author p{margin:0!important}\n<\/style>\n<div class=\"ias-body\" lang=\"en\">\n<div class=\"ias-callout\">\n<h2>Quick Answer<\/h2>\n<p class=\"ias-lead\">A lot of the food that passes through Bahrain&#8217;s free zones is on its way somewhere else in the GCC, which means the certificate attached to it has to satisfy more than one market&#8217;s expectations \u2014 and that comes down to the Lead Auditor who signed off on it. This five-day, CQI-IRCA Certified course, delivered by <a href=\"https:\/\/www.eascertification.com\/\" style=\"color: #b02b2c; text-decoration: underline;\" target=\"_blank\" rel=\"noopener\">EAS<\/a> as IAS&#8217;s technical partner, trains delegates to plan and lead third-party certification audits of a Food Safety Management System against FSSC 22000 Version 7.<\/p>\n<\/div>\n<h2>What Is FSSC 22000 Lead Auditor Training?<\/h2>\n<p>Checking your own employer&#8217;s FSMS is internal auditing. Being trusted by a <a href=\"https:\/\/iasiso-gulf.com\/BH\/accreditation\/\">certification body<\/a> to assess somebody else&#8217;s organisation, build a defensible evidence trail, and \u2014 on larger jobs \u2014 direct the audit team is a distinct discipline, and it&#8217;s what this course builds from scratch.<\/p>\n<p>The content is built on FSSC 22000 Version 7, published by FSSC in May 2026, and follows what a certification-body auditor working across Bahrain&#8217;s food-trade and processing sector actually does: plan a full-cycle audit, size a sampling approach that holds up, run a team, and write findings a certification decision can be built on.<\/p>\n<p>This course is run by EAS on IAS&#8217;s behalf and carries CQI-IRCA Certified Training Course recognition. CQI-IRCA \u2014 the Chartered Quality Institute and International Register of Certificated Auditors \u2014 is the body whose auditor-competency framework the course is built against, and passing supports an application to join its register at the appropriate grade.<\/p>\n<h2>Why Lead Auditors Matter for FSSC 22000 Certification<\/h2>\n<p>A certification recommendation is a judgement call, not a checklist tick \u2014 did the sampling plan reach far enough, does the evidence support a conformity finding, is the organisation genuinely ready. Get that judgement wrong and the certificate that follows carries little weight.<\/p>\n<p>Accreditation bodies hold certification bodies accountable for auditor competence, so Lead Auditor planning and reporting face a far higher bar than internal-audit work does \u2014 a bar that matters directly to Bahrain&#8217;s food-trading and processing companies, whose certificates have to hold up across GCC and export markets alike.<\/p>\n<h2>What Changed: FSSC 22000 V7 vs. V6<\/h2>\n<p>FSSC published Version 7 on 1 May 2026 to replace Version 6, with a 12-month transition period running through roughly early May 2027. For a Lead Auditor, that means rebuilding audit programmes, sampling plans, and certification-body procedures around V7 before certification or recertification against it stands.<\/p>\n<img fetchpriority=\"high\" decoding=\"async\" class=\"ias-hero r510\" src=\"https:\/\/iasiso-gulf.com\/BH\/wp-content\/uploads\/2026\/08\/fssc-22000-lead-auditor-training-bahrain.jpg\" alt=\"Workers in protective clothing portioning poultry on a food-processing line \u2014 FSSC 22000 Version 7 certification auditing in Bahrain\" width=\"800\" height=\"510\" \/>\n<div class=\"ias-tblwrap\"><table><colgroup><col style=\"width: 33%\" \/><col style=\"width: 33%\" \/><col style=\"width: 33%\" \/><\/colgroup><thead><tr class=\"header\"><th><strong>Area<\/strong><\/th><th><strong>Version 6<\/strong><\/th><th><strong>Version 7<\/strong><\/th><\/tr><\/thead><tbody><tr class=\"odd\"><td>Prerequisite programmes (PRPs)<\/td><td>Documented against the older PRP series<\/td><td>Documented against the new ISO 22002-x:2025 series<\/td><\/tr><tr class=\"even\"><td>GFSI benchmarking<\/td><td>Aligned to the prior GFSI requirements<\/td><td>Realigned to the GFSI benchmarking requirements v2024<\/td><\/tr><tr class=\"odd\"><td>Food-chain categories<\/td><td>Sat in wider, less specific categories<\/td><td>A more clearly defined category\/subcategory structure<\/td><\/tr><tr class=\"even\"><td>Additional Requirements<\/td><td>Baseline coverage across supplier approval, allergens, food defence, food fraud<\/td><td>All four broadened, with a firmer evidence bar to clear<\/td><\/tr><tr class=\"odd\"><td>Culture requirements<\/td><td>A general expectation, not tightly specified<\/td><td>Named explicitly: senior-management involvement, communication, ongoing monitoring<\/td><\/tr><tr class=\"even\"><td>Sustainability<\/td><td>Not a formal requirement<\/td><td>Strengthened requirements aligned to the UN SDGs<\/td><\/tr><\/tbody><\/table><\/div>\n<h2>Transition Timeline<\/h2>\n<div class=\"ias-tblwrap\"><table><colgroup><col style=\"width: 50%\" \/><col style=\"width: 50%\" \/><\/colgroup><thead><tr class=\"header\"><th><strong>Milestone<\/strong><\/th><th><strong>Date<\/strong><\/th><\/tr><\/thead><tbody><tr class=\"odd\"><td>Version 7 published<\/td><td>1 May 2026<\/td><\/tr><tr class=\"even\"><td>Transition period for organisations and certification bodies to move to V7<\/td><td>12 months, through approximately early May 2027<\/td><\/tr><tr class=\"odd\"><td>Recommended Lead Auditor action<\/td><td>Bahraini food-trade and processing organisations are typically booking V7 audit slots early in the window, so bring audit-planning templates, sampling plans, and lead-in checklists onto V7 well ahead of the deadline.<\/td><\/tr><\/tbody><\/table><\/div>\n<p class=\"ias-source\">Source: <a href=\"https:\/\/www.fssc.com\/insights\/fssc-22000-version-7\/\" target=\"_blank\" rel=\"noopener\">FSSC 22000 Version 7 update<\/a> \u2014 FSSC&#8217;s own scheme announcement. Confirm your accreditation body&#8217;s own witnessing and transition sign-off timeline separately.<\/p>\n<h2>How an FSSC 22000 Certification Audit Actually Works<\/h2>\n<p>From first document review to final recommendation, a certification audit moves through several stages \u2014 the course builds skill at each one:<\/p>\n<ol type=\"1\"><li><p>Getting to <a href=\"https:\/\/iasiso-gulf.com\/BH\/certification-process\/\">Stage 1<\/a> \u2014 review documentation and audit readiness, confirm scope and sites, and identify gaps to resolve before Stage 2 can proceed.<\/p><\/li><li><p>Delivering Stage 2 \u2014 assess whether the FSMS is implemented and effective on-site, gather objective evidence across full scope, and reach a certification recommendation.<\/p><\/li><li><p>Managing the audit team \u2014 on multi-auditor or multi-site audits, brief the team, allocate scope, and consolidate findings into one coherent report.<\/p><\/li><li><p>Reaching a defensible call \u2014 sorting nonconformities from observations, applying the right severity, and deciding whether the evidence clears the bar.<\/p><\/li><li><p>Managing the cycle after certification \u2014 plan surveillance and recertification audits, adjusting the sampling plan as risk profile evolves.<\/p><\/li><\/ol>\n<h2>Common Nonconformities Lead Auditors Should Check For Under V7<\/h2>\n<p>Auditors moving from V6 to V7 need to widen what they sample for, not just relearn clause numbers. Lead Auditors working across Bahrain&#8217;s food-trade sector should pay particular attention to:<\/p>\n<ul><li><p>Whether PRP evidence genuinely sits under the new ISO 22002-x:2025 series now, rather than the old references just being renamed.<\/p><\/li><li><p>How deep allergen-management records and controls actually go, since V7 sets a materially higher evidence bar than V6.<\/p><\/li><li><p>Food fraud vulnerability assessments revisited specifically under V7 \u2014 a real issue for import- and re-export-heavy supply chains with several handling points.<\/p><\/li><li><p>Visible, auditable evidence that senior management is genuinely engaged with food safety and quality culture, not just a policy line.<\/p><\/li><li><p>Sustainability documentation covering food loss\/waste and packaging design \u2014 new under V7, and easy to have missed before the update.<\/p><\/li><\/ul>\n<p>The course&#8217;s simulated audits deliberately target these blind spots, so delegates come away certain of where to look for V7 evidence.<\/p>\n<h2>FSSC 22000 Lead Auditor Training vs. Related Food-Safety Auditor Courses<\/h2>\n<p>Lead Auditor, Internal Auditor, and general food-safety auditor training tend to get lumped together, though the audience, scope, and outcome are genuinely distinct:<\/p>\n<div class=\"ias-tblwrap\"><table><colgroup><col style=\"width: 25%\" \/><col style=\"width: 25%\" \/><col style=\"width: 25%\" \/><col style=\"width: 25%\" \/><\/colgroup><thead><tr class=\"header\"><th><strong>Course<\/strong><\/th><th><strong>Who Audits<\/strong><\/th><th><strong>Typical Duration<\/strong><\/th><th><strong>What It Qualifies You For<\/strong><\/th><\/tr><\/thead><tbody><tr class=\"odd\"><td>FSSC 22000 Lead Auditor<\/td><td>Third-party role, auditing other organisations on a certification body&#8217;s instruction<\/td><td>5 days<\/td><td>Leading external certification audits<\/td><\/tr><tr class=\"even\"><td>FSSC 22000 Internal Auditor<\/td><td>First-party \u2014 audits their own employer<\/td><td>2 days<\/td><td>Running internal FSMS audits within your own organisation<\/td><\/tr><tr class=\"odd\"><td>HACCP Lead Auditor<\/td><td>Third-party, scoped to another organisation&#8217;s HACCP plan<\/td><td>3-4 days (typical)<\/td><td>Narrower than a full FSMS audit<\/td><\/tr><\/tbody><\/table><\/div>\n<h2>Who This Course Is For<\/h2>\n<ul><li><p>Certification-body auditors adding FSSC 22000 Lead Auditor competence to their existing scope.<\/p><\/li><li><p>Internal Auditors with FSSC 22000 experience moving into third-party auditing, who need to add audit-management and certification-recommendation skills.<\/p><\/li><li><p>Consultants and technical specialists planning to work as contract auditors for certification bodies serving Bahraini food-trade companies.<\/p><\/li><li><p>Lead Auditors from other food-safety schemes extending their qualification to cover FSSC 22000 Version 7.<\/p><\/li><li><p>Quality professionals in Bahrain&#8217;s food-import and processing sector moving from in-house QA into third-party auditing.<\/p><\/li><\/ul>\n<h2>What the Course Covers<\/h2>\n<p>Practice, not lecture time, is what builds third-party audit competence here \u2014 simulated Stage 1 and Stage 2 audits, sampling-plan design, audit-team role-play, and report-writing exercises fill most of the schedule.<\/p>\n<div class=\"ias-tblwrap\"><table><colgroup><col style=\"width: 50%\" \/><col style=\"width: 50%\" \/><\/colgroup><thead><tr class=\"header\"><th><strong>Topic<\/strong><\/th><th><strong>What You Learn<\/strong><\/th><\/tr><\/thead><tbody><tr class=\"odd\"><td>Scheme structure &amp; the V7 changes<\/td><td>What&#8217;s changed in V7 versus V6, seen from a certification-body seat<\/td><\/tr><tr class=\"even\"><td>Audit planning &amp; sampling design<\/td><td>Putting together a sampling approach that genuinely reaches across the whole FSMS<\/td><\/tr><tr class=\"odd\"><td>Managing an audit team<\/td><td>Splitting scope between auditors and pulling their findings into one coherent report<\/td><\/tr><tr class=\"even\"><td>Full-scope evidence-gathering<\/td><td>Objective-evidence technique and interviewing across a complete third-party audit<\/td><\/tr><tr class=\"odd\"><td>Nonconformity grading &amp; recommendation<\/td><td>Classifying findings correctly and reaching a defensible recommendation<\/td><\/tr><tr class=\"even\"><td>Reporting for certification decisions<\/td><td>Writing reports that support the certification body&#8217;s decision-making<\/td><\/tr><\/tbody><\/table><\/div>\n<h2>Course Structure and Duration<\/h2>\n<p>IAS delivers this as a five-day course for delegates in Bahrain, either in the classroom or as live online training, with the same assessed simulation in both formats.<\/p>\n<div class=\"ias-tblwrap\"><table><colgroup><col style=\"width: 50%\" \/><col style=\"width: 50%\" \/><\/colgroup><thead><tr class=\"header\"><th><strong>Day<\/strong><\/th><th><strong>Focus<\/strong><\/th><\/tr><\/thead><tbody><tr class=\"odd\"><td>Day 1<\/td><td>Orienting in FSSC 22000 V7 \u2014 scheme structure, scope, and the certification-body context<\/td><\/tr><tr class=\"even\"><td>Day 2<\/td><td>Audit planning, sampling-plan design, and hands-on Stage 1 practice<\/td><\/tr><tr class=\"odd\"><td>Day 3<\/td><td>Running a Stage 2 simulation, full of evidence-gathering and interview practice<\/td><\/tr><tr class=\"even\"><td>Day 4<\/td><td>Sorting and grading nonconformities, then running the audit team and pulling findings together<\/td><\/tr><tr class=\"odd\"><td>Day 5<\/td><td>The certification report, the recommendation decision, and a final assessed simulation exercise<\/td><\/tr><\/tbody><\/table><\/div>\n<p>Live online delivery is booked through EAS \u2014 <a href=\"https:\/\/onlinecourse.eascertification.com\/lead-auditor\/fssc-22000-training\" target=\"_blank\" rel=\"noopener\">FSSC 22000 Lead Auditor online sessions<\/a>.<\/p>\n<h2>Building an Effective Certification Audit Programme<\/h2>\n<p>Clearing one audit is only the entry point \u2014 most Lead Auditors end up managing, or contributing to, a full three-year certification cycle. The course walks through how sampling and audit focus need to shift across it:<\/p>\n<ul><li><p>The certification audit \u2014 a full Stage 1 and Stage 2 assessment, both required before any certificate can be issued.<\/p><\/li><li><p>Surveillance visits \u2014 annual and narrower in scope, but still requiring enough FSMS coverage to keep the certificate justified.<\/p><\/li><li><p>Recertification \u2014 a full-scope reassessment that lands as the three-year cycle closes, weighted by the organisation&#8217;s findings history.<\/p><\/li><li><p>Adjusting for risk \u2014 heavier sampling or more frequent visits once an organisation&#8217;s audit history, complaints, or incidents call for it.<\/p><\/li><\/ul>\n<p>Delegates leave equipped to design a defensible audit programme spanning the whole cycle, not merely one visit.<\/p>\n<h2>Prerequisites<\/h2>\n<p>Delegates are expected to arrive with a working knowledge of FSSC 22000 and food safety management systems. IAS&#8217;s <a href=\"https:\/\/iasiso-gulf.com\/BH\/fssc-22000-internal-auditor-training-in-bahrain\/\">FSSC 22000 Internal Auditor Training in Bahrain<\/a> covers that foundation first for anyone who doesn&#8217;t already have it.<\/p>\n<h2>What You Receive<\/h2>\n<p>Delegates who complete the course are issued a CQI-IRCA Certified FSSC 22000 Lead Auditor certificate under EAS, confirming Version 7 competence across audit planning, evidence-gathering, and reporting.<\/p>\n<h2>Why Train With IAS?<\/h2>\n<div class=\"ias-tblwrap\"><table class=\"ias-spec\"><colgroup><col style=\"width: 50%\" \/><col style=\"width: 50%\" \/><\/colgroup><tbody><tr class=\"odd\"><td><strong>Who runs the course<\/strong><\/td><td>EAS operates this FSSC 22000 Lead Auditor course under CQI-IRCA Certified Training Course recognition, as IAS&#8217;s technical partner in Bahrain; the certificate on completion carries the EAS name<\/td><\/tr><tr class=\"even\"><td><strong>Trainer credibility<\/strong><\/td><td>Delivery draws on trainers with real FSSC 22000 certification-audit experience across Gulf food-trade and processing operations<\/td><\/tr><tr class=\"odd\"><td><strong>Realistic audit simulation<\/strong><\/td><td>Stage 1 and Stage 2 audits, team role-play, and report writing are practised hands-on, not covered as theory<\/td><\/tr><tr class=\"even\"><td><strong>Format flexibility<\/strong><\/td><td>Classroom or live online delivery in Bahrain, with the same assessed audit simulation either way<\/td><\/tr><tr class=\"odd\"><td><strong>Pathway from Internal Auditor<\/strong><\/td><td>A clear route for existing IAS Internal Auditor graduates in Bahrain moving into third-party auditing<\/td><\/tr><\/tbody><\/table><\/div>\n<h2>Explore Related Training<\/h2>\n<ul><li><p><a href=\"https:\/\/iasiso-gulf.com\/BH\/fssc-22000-internal-auditor-training-in-bahrain\/\">FSSC 22000 Internal Auditor Training in Bahrain<\/a> \u2014 for staff who need to audit their own organisation rather than lead third-party certification audits.<\/p><\/li><li><p><a href=\"https:\/\/onlinecourse.eascertification.com\/Foundation-course\/online-sl-iso-22000-training\" target=\"_blank\" rel=\"noopener\">ISO 22000 Foundation Training<\/a> \u2014 a useful precursor for delegates entirely new to food-safety management systems.<\/p><\/li><li><p><a href=\"https:\/\/iasiso-gulf.com\/BH\/iso-22000-lead-auditor-training-in-bahrain\/\">ISO 22000 Lead Auditor Training in Bahrain<\/a> \u2014 the underlying food safety management system standard FSSC 22000 builds on.<\/p><\/li><li><p><a href=\"https:\/\/iasiso-gulf.com\/BH\/iso-22000-certification-in-bahrain\/\">ISO 22000 Certification in Bahrain<\/a> \u2014 certification against that standard, for organisations rather than auditors.<\/p><\/li><\/ul>\n<h2>Frequently Asked Questions<\/h2>\n<div class=\"ias-faq\"><details><summary>Is the Bahrain Lead Auditor course CQI-IRCA certified?<\/summary><div class=\"ias-a\"><p>Yes. EAS runs it on IAS&#8217;s behalf under CQI-IRCA Certified Training Course status, which supports your eligibility to apply for CQI-IRCA auditor registration alongside the EAS-issued certificate.<\/p><\/div><\/details><details><summary>How does the Lead Auditor role differ from Internal Auditor?<\/summary><div class=\"ias-a\"><p>An Internal Auditor works inside their own organisation&#8217;s audit programme, while a Lead Auditor is engaged by a certification body to audit other organisations and may direct a team.<\/p><\/div><\/details><details><summary>Do delegates need Internal Auditor training beforehand?<\/summary><div class=\"ias-a\"><p>It&#8217;s not a formal requirement, though most delegates arrive with that experience or a comparable food-safety background.<\/p><\/div><\/details><details><summary>What&#8217;s the course length in Bahrain?<\/summary><div class=\"ias-a\"><p>Five days, delivered either in the classroom or live online.<\/p><\/div><\/details><details><summary>What do Lead Auditors need to know about V7 specifically?<\/summary><div class=\"ias-a\"><p>PRP references move to ISO 22002-x:2025, GFSI benchmarking realigns to the 2024 requirements, and the Additional Requirements around allergens, food defence, food fraud, and sustainability all widen.<\/p><\/div><\/details><details><summary>Is in-house delivery available for a Bahraini certification-body team?<\/summary><div class=\"ias-a\"><p>Yes \u2014 in-house delivery lets exercises reflect import- and re-export-trade scenarios the team actually handles. Contact IAS directly for group pricing.<\/p><\/div><\/details><\/div>\n<div class=\"ias-author\"><h2>About the Trainer<\/h2>\n<p>Dr. C.D. Mohana Priya is a molecular geneticist and Associate Professor (Research), Department of Human Genetics, Sri Ramachandra Institute of Higher Education and Research, Chennai. She holds current EAS credentials as an ISO 22000:2018 Lead Auditor &amp; FSMS Tutor (2025), alongside ISO 9001:2015 Lead Auditor (2024) and ISO 15189:2022 Internal Auditor (2023) certifications. With 15+ years of laboratory quality, diagnostics, and management-system training experience \u2014 including direct implementation of ISO 22000:2018 food safety management systems \u2014 she has delivered classroom and live virtual training to postgraduate, PhD, and industry delegates across food-safety and laboratory-quality systems.<\/p><\/div>\n<h2>Get Started<\/h2>\n<p>Whether you&#8217;re a certification-body auditor adding FSSC 22000 to your scope, or moving up from Internal Auditor experience, the fastest way to confirm dates and pricing in Bahrain is to <a href=\"https:\/\/iasiso-gulf.com\/BH\/contact-us\/\">contact IAS directly<\/a>.<\/p>\n<div class=\"ias-tblwrap\"><table class=\"ias-spec\"><colgroup><col style=\"width: 50%\" \/><col style=\"width: 50%\" \/><\/colgroup><tbody><tr class=\"odd\"><td><strong>Phone<\/strong><\/td><td>+971 52 873 2160<\/td><\/tr><tr class=\"even\"><td><strong>Email<\/strong><\/td><td>enquiry@iascertification.com<\/td><\/tr><\/tbody><\/table><\/div>\n<\/div>\n\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-ae01fd6 e-con-full e-flex e-con e-child\" data-id=\"ae01fd6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e205332 elementor-widget elementor-widget-sidebar\" data-id=\"e205332\" data-element_type=\"widget\" data-e-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-81\" 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=\"http:\/\/iasiso-gulf.com\/BH\/wp-content\/uploads\/2020\/06\/Student-Nomination-Form-V1.6-1.doc\" target=\"_self\" style=\"color:#ffffff; background-color:#b02b2c; \">Nomination <\/a><br \/>\n<a class=\"gdlr-button small\" href=\"https:\/\/iasiso-gulf.com\/BH\/wp-content\/uploads\/2025\/02\/IAS-LA-FSSC-22000-Training-Brochure-2.pdf\" target=\"_self\" style=\"color:#ffffff; background-color:#4390e2; \">Brochure <\/a><br \/>\n<a class=\"gdlr-button small\" href=\"http:\/\/iasiso-gulf.com\/BH\/training-schedule\/\" target=\"_self\" style=\"color:#ffffff; background-color:#4390e2; \">Training Schedule<\/a><\/p>\n<h5>Contact Us<\/h5>\n\n<style>\n.certification-section,.training-section, .other_enquiry_form, .certification_prod_section, .process_section, .product_section{\n\tdisplay:none;\n}\nlabel, .label {\ncolor:black;\n \n}\n.form-control {\npadding: 16px 19px;\n}\n#countryDropdown {\n\tborder: 1px solid #ced4da;\n}\n.country-section .dropdown {\n\tposition: relative !important;\n}\n.country-section .dropdown-menu {\n\tdisplay: none !important;\n\theight: 300px;\n\toverflow-x: auto;\n\tposition: absolute !important;\n\ttop: 100% !important;\n\tleft: 0 !important;\n\tz-index: 1000 !important;\n\tmin-width: 100% !important;\n\tbackground-color: #fff !important;\n\tborder: 1px solid rgba(0,0,0,.15) !important;\n\tborder-radius: 0.25rem !important;\n\tpadding: 0.5rem 0 !important;\n\tmargin: 0 !important;\n\tlist-style: none !important;\n}\n.country-section .dropdown-menu.show {\n\tdisplay: block !important;\n}\n\n#myModalAlert .modal-dialog {\n\tz-index:10 !important;\n\tmargin-top: 70px;\n}\n#myModalAlert .modal-header {\n\tpadding: 10px !important;\n\tbackground: #dee1e6;\n}\n\n\n#myModalAlert .modal-body {\n\ttext-align: center;\n\tcolor:black;\n}\n.modal-backdrop.show {\nz-index: 100 !important;\nposition:relative !important;\n}\n.error, .mandatory {\n\tcolor:red;\n}\ninput {\ncolor:black !important;\n}\n\n.modal.show .modal-dialog{\n    margin-top: 160px;\n}\n\n#errorModalLabel{\n\tcolor: #fff !important;\n}\n.form-note {\n    margin-top: 14px;\n    padding: 10px 12px;\n    background: #f4f6f9;\n    border-left: 4px solid #3c8dbc;\n    font-size: 12px;\n    color: #333;\n}\n.scheme-dropdown-toggle {\n    display: block !important;\n    border: 1px solid #ced4da !important;\n    border-radius: 4px !important;\n    padding: 10px 14px !important;\n    background: #fff !important;\n    cursor: pointer;\n    color: #333 !important;\n    position: relative;\n    user-select: none;\n}\n.scheme-dropdown-toggle::after {\n    content: \"\\25BC\";\n    float: right;\n    font-size: 10px;\n    margin-top: 3px;\n    transition: transform 0.2s;\n}\n.scheme-dropdown-toggle.open::after {\n    transform: rotate(180deg);\n}\n.scheme-checkbox-list {\n    display: none !important;\n    max-height: 200px;\n    overflow-y: auto;\n    border: 1px solid #ced4da !important;\n    border-top: none !important;\n    border-radius: 0 0 4px 4px !important;\n    padding: 10px !important;\n    background: #fff !important;\n}\n.scheme-checkbox-list.show {\n    display: block !important;\n}\n.scheme-checkbox-list .form-check {\n    display: block !important;\n    position: relative !important;\n    margin: 0 0 10px 0 !important;\n    padding: 0 0 0 26px !important;\n    min-height: auto !important;\n    float: none !important;\n    width: auto !important;\n}\n.scheme-checkbox-list .form-check:last-child {\n    margin-bottom: 0 !important;\n}\n.scheme-checkbox-list .form-check-label {\n    display: block !important;\n    line-height: 1.5 !important;\n    cursor: pointer;\n    color: #000 !important;\n    width: auto !important;\n    margin: 0 !important;\n    padding: 0 !important;\n    word-wrap: break-word;\n    overflow-wrap: break-word;\n}\n.scheme-checkbox-list .form-check-input {\n    position: absolute !important;\n    left: 0 !important;\n    top: 4px !important;\n    width: 16px !important;\n    height: 16px !important;\n    margin: 0 !important;\n    float: none !important;\n    flex: none !important;\n    appearance: auto !important;\n    -webkit-appearance: auto !important;\n    opacity: 1 !important;\n}\n\n\/* Force native radio + checkbox rendering across the whole form\n   (defends against theme CSS that hides inputs with appearance:none \/ opacity:0) *\/\n#contct_form input[type=\"radio\"],\n#contct_form input[type=\"checkbox\"] {\n    appearance: auto !important;\n    -webkit-appearance: auto !important;\n    -moz-appearance: auto !important;\n    opacity: 1 !important;\n    visibility: visible !important;\n    width: 16px !important;\n    height: 16px !important;\n    margin: 0 6px 0 0 !important;\n    vertical-align: middle !important;\n    display: inline-block !important;\n    position: static !important;\n    float: none !important;\n    flex: none !important;\n    background: #fff !important;\n    border: 1px solid #999 !important;\n    cursor: pointer !important;\n}\n#contct_form input[type=\"radio\"] {\n    -webkit-appearance: radio !important;\n    appearance: radio !important;\n    border-radius: 50% !important;\n}\n#contct_form input[type=\"checkbox\"] {\n    -webkit-appearance: checkbox !important;\n    appearance: checkbox !important;\n}\n\/* Single-arrow selects: kill native browser arrow, keep only the Bootstrap chevron *\/\n#contct_form select,\n#contct_form .form-select,\n.container .card .form-select,\n.container .card select.form-select,\nform#contct_form select,\nform#contct_form .form-select {\n    appearance: none !important;\n    -webkit-appearance: none !important;\n    -moz-appearance: none !important;\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;\n    background-repeat: no-repeat !important;\n    background-position: right 12px center !important;\n    background-size: 16px 12px !important;\n    padding-right: 36px !important;\n}\n\n<\/style>\n    <div class=\"container mt-3\">\n         <div class=\"card\">\n\t\t <div class=\"card-body\">\n         <form id=\"contct_form\" >\n         \t<!-- hidden datas -->\n         \t<input type=\"hidden\" name=\"source\" value=\"2\">\n\t\t\t<input type=\"hidden\" name=\"enquiry_from\"     value=\"online_user\">\n            <input type=\"hidden\" name=\"From\" value=\"6\">\n            <input type=\"hidden\" name=\"Website\" class=\"website_id\" value=\"\">\n            <input type=\"hidden\" name=\"source_of_url\"  class=\"url_id\"  value=\"\">\n\t\t\t <input type=\"hidden\" name=\"Company\" class=\"company\" value=\"\">\n            \n            <div class=\"row\">\n                <div class=\"col-sm-12\"> \n                    <div class=\"mb-3 mt-3\">\n                        <label  >Company Name:<\/label>\n                        <input type=\"text\" class=\"form-control\" id=\"CompanyName\" placeholder=\"Enter company name\" name=\"CompanyName\">\n                    <\/div>\n                    <div class=\"mb-3\">\n                        <label  >Customer Name: <span class=\"mandatory\">*<\/span><\/label>\n                        <input type=\"text\" class=\"form-control\" id=\"CustomerName\" placeholder=\"Enter customer Name\" name=\"CustomerName\" required=\"required\">\n                        <span class=\"error error_company_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n                    <\/div>\n                   \n                    \n                    <input type=\"hidden\" name=\"telephone_number\" value=\"\">\n                    <div class=\"mb-3\">\n                        <label>E-Mail:<span class=\"mandatory\">*<\/span><\/label>\n                        <input type=\"email\" class=\"form-control\" id=\"EMail\" placeholder=\"Enter email\" name=\"EMail\" required=\"required\">\n                         <span class=\"error error_email\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n                    <\/div>\n                    <div class=\"mb-3 country-section\">\n                    \t<label>Country: <span class=\"mandatory\">*<\/span><\/label>\n                       \t<div class=\"dropdown\">\n\t\t\t\t\t\t  \t<div class=\"btn btn-default\" type=\"button\" id=\"countryDropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\n\t\t\t\t\t\t    \t <span class=\"default_countr\">--- Select Country ---<\/span>\n\t\t\t\t\t\t  \t<\/div>\n\t\t\t\t\t\t  <ul class=\"dropdown-menu\" aria-labelledby=\"countryDropdown\"><\/ul>\n\n\t\t\t\t\t\t  <input type=\"hidden\" id=\"country_id\" name=\"Country\" required>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t <span class=\"error error_country\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t\t\t<\/div> \n\t                <div class=\"mb-3 mt-3\">\n\t                    <label>State: <span class=\"mandatory\">*<\/span><\/label>\n\t                    <select class=\"form-select\" name=\"State\" id=\"State\" required=\"required\">\n\t                        <option value=\"\">--Please select state--<\/option>\n\t                    <\/select>\n\t                     <span class=\"error error_state\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t                <\/div>\n\t                <div class=\"mb-3\">\n\t                    <label>City:<\/label>\n\t                    <select class=\"form-select\" name=\"City\" id=\"City\">\n\t                        <option value=\"\">--Please select City --<\/option> \n\t                    <\/select>\n\t                    <span class=\"error error_city\"><\/span>\n\t                <\/div> \n \n\t                <div class=\"mb-3\">\n                        <label  > Mobile Number:<span class=\"mandatory\">*<\/span><\/label>\n                       \n                        <div>\n\t\t\t\t\t\t<span class=\"input-group-text\" id=\"CountryCode\" data-phone-length=\"\">+973<\/span>\n                        \t<input type=\"text\" class=\"form-control\" id=\"MobileNumber\" placeholder=\"Enter mobile number\" name=\"MobileNumber\" required=\"required\">\n                        \t<span class=\"error error_mobile_no\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n                        <\/div>\n                    <\/div>\n\t                <div class=\"mb-3\">\n\t                     <h6 class=\"label\">Enquiry Type<\/h6>\n\t                    <span><input type=\"radio\" class=\"form-check-input enquiry_type\"    name=\"optradio\" value=\"1\" checked> Enquiry<\/span>\n\t                    <span> <input type=\"radio\" class=\"form-check-input enquiry_type\"   name=\"optradio\" value=\"2\"> Other<\/span>\n\t                <\/div> \n\t                <div class=\"enquiry_form\">\n\t\t                <div class=\"mb-3\">\n\t\t                    <label>Training \/ Certification: <span class=\"mandatory\">*<\/span><\/label>\n\t\t                    <select class=\"form-select\"  id=\"purposOf\">\n\t\t                        <option value=\"\">--Please select  --<\/option> \n\t\t                        <option value=\"1\">Training (For Individuals or Group of Individuals)<\/option>\n\t\t                        <option value=\"2\">Certification (For Organizations)<\/option>\n\t\t                    <\/select>\n\t\t                    <span class=\"error error_trg_cert\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t                <\/div>\n\t\t\t\t\t\t<div class=\"mb-3 certification_prod_section\">\n\t\t\t\t\t\t\t<label>Certification: *<\/label>\n\t\t\t\t\t\t\t<select class=\"form-select\" name=\"cert_Type\" id=\"cert_Type\">\n\t\t\t\t\t\t\t\t<option value=\"\">--Please select Type --<\/option>\n\t\t\t\t\t\t\t\t<option value=\"1\">Process<\/option>\n\t\t\t\t\t\t\t\t<option value=\"2\">Product<\/option>\n\t\t\t\t\t\t\t\t<option value=\"3\">Both (Process\/Product)<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t                <span class=\"error error_cert_product_type\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t            <\/div>\n\t\t                <!-- Training -->\n\t\t                \n\t\t                <div class=\"training-section\">\n\t\t                \t<h6 class=\"label\">Training<\/h6>\n\t\t\t                <div class=\"mb-3\">\n\t\t\t                    <label>Product Type: <span class=\"mandatory\">*<\/span><\/label>\n\t\t\t                    <select class=\"form-select\" name=\"Type[]\" id=\"Type\">\n\t\t\t                        <option value=\"\">--Please select Type --<\/option>\n\t\t\t                    <\/select>\n\t\t\t                    <span class=\"error error_product_type\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\n\t\t\t                <div class=\"mb-3\">\n\t\t\t                    <label>Product Category: <span class=\"mandatory\">*<\/span><\/label>\n\t\t\t                    <select class=\"form-select\" name=\"Category[]\" id=\"Category\">\n\t\t\t                        <option value=\"\">--Please select Category --<\/option>\n\t\t\t                    <\/select>\n\t\t\t                     <span class=\"error error_product_category\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\n\t\t\t                <div class=\"mb-3\">\n\t\t\t                    <label>Product Name: <span class=\"mandatory\">*<\/span><\/label>\n\t\t\t                    <div class=\"scheme-dropdown-toggle\" data-target=\"ProductNameCheckboxes\" data-default=\"-- Select Product Name --\">-- Select Product Name --<\/div>\n\t\t\t                    <div class=\"scheme-checkbox-list\" id=\"ProductNameCheckboxes\">\n\t\t\t                        <span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>\n\t\t\t                    <\/div>\n\t\t\t                    <span class=\"error error_product_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\t\t\t            <\/div>\n\t\t\t            <!-- Training End -->\n\t\t\t            <!-- Certification -->\n\n\t\t                <div class=\"certification-section\">\n\t\t\t                <div class=\"mb-3 product_section\">\n\t\t\t                    <label>Product Scheme: <span class=\"mandatory\">*<\/span> <\/label>\n\t\t\t                    <div class=\"scheme-dropdown-toggle\" data-target=\"productSchemeCheckboxes\" data-default=\"-- Select Product Scheme --\">-- Select Product Scheme --<\/div>\n\t\t\t                    <div class=\"scheme-checkbox-list\" id=\"productSchemeCheckboxes\"><\/div>\n\t\t\t                     <span class=\"error error_product_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\t\t\t                <div class=\"mb-3 process_section\">\n\t\t\t                    <label>Process Scheme: <span class=\"mandatory\">*<\/span> <\/label>\n\t\t\t                    <div class=\"scheme-dropdown-toggle\" data-target=\"processSchemeCheckboxes\" data-default=\"-- Select Process Scheme --\">-- Select Process Scheme --<\/div>\n\t\t\t                    <div class=\"scheme-checkbox-list\" id=\"processSchemeCheckboxes\"><\/div>\n\t\t\t                     <span class=\"error error_process_scheme\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\t\t\t            <\/div>\n\t\t\t            <!-- Certification End-->\n\t\t                <input type=\"hidden\" name=\"bco_assign_training\" class=\"bco_assign_training\" value=\"\">\n\t\t                 <input type=\"hidden\" name=\"bco_assign_cert\" class=\"bco_assign_cert\" value=\"\">\n\t\t                <input type=\"hidden\" name=\"Date\" value=\"2026-11-06\">\n\t\t            <\/div>\n\t\t            <div class=\"other_enquiry_form\">\n\t\t            \t<h6 class=\"label\">Specified details <span class=\"mandatory\">*<\/span><\/h6>\n\t\t            \t<div class=\"mb-3\">\n\t\t                     <textarea class=\"form-control\" name=\"other_enquiry\" rows=\"3\" id=\"other_enquiry\" placeholder=\"Please describe your enquiry details...\"><\/textarea>\n\t\t                     <span class=\"error error_other_enquiry\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t                <\/div>\n\t\t            <\/div>\n\t\t\t\t\t<div class=\"consent-checkbox\">\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\/BH\/online-privacy-statement\/\" style=\"color:#A70000\" target=\"_blank\">IAS Online Privacy Statement<\/a><\/b><\/span><span class=\"mandatory\">*<\/span>\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<span class=\"error error_privacy_checkbox\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t\t\t<\/div>\n\t<!--\t\t\t\t<div class=\"captcha\">\n\t\t\t\t\t  <div class=\"g-recaptcha\" data-sitekey=\"6LfbHTMjAAAAAJFRcyUHAm27f2i1MvKffn2tROTU\"><\/div>\n\t\t\t\t\t  <span class=\"error error_captcha\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t\t\t<\/div>\t\t\t\t-->\n\n\t\t\t\t\t  <div style=\"width:250px\">\n \t\t\t\t\t\t<label>Enter Captcha:<\/label>\n\n\t\t\t\t\t\t  <div style=\"margin-bottom: 10px; display: flex; align-items: center; gap: 10px;\">\n\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/iasiso-gulf.com\/BH\/?stm_captcha=1793989772\" 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;\">\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>\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t <input type=\"text\" class=\"form-control\" name=\"captcha_answer\" id=\"captcha_answer\" required\n           style=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px;\">\n\t\t\t\t\t   <span class=\"error error_captcha\" style=\"color: red; font-size: 13px; margin-top: 5px; display: block;\"><\/span>\n \t\t\t\t\t<\/div>\n                    <div class=\"form-note mb-3\">\n\t\t\t\t\t\t<strong>Note:<\/strong>\n\t\t\t\t\t\tFor clarity on Process and Product certification schemes, please refer this website menu.\n\t\t\t\t\t<\/div>\n\t\t        <\/div>\n            <\/div>\n            <button type=\"submit\" class=\"btn btn-primary btn-submit\">Submit<\/button>\n        <\/form>\n\t\t<!-- The Modal -->\n\t\t<div class=\"modal\" id=\"myModalAlert\">\n\t\t  <div class=\"modal-dialog\">\n\t\t    <div class=\"modal-content\">\n\t\t      <!-- Modal Header -->\n\t\t      <div class=\"modal-header\">\n\t\t        <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\"><\/button>\n\t\t      <\/div>\n\t\t      <!-- Modal body -->\n\t\t      <div class=\"modal-body\">\n\t\t        Thank You\n\t\t      <\/div>\n\t\t    <\/div>\n\t\t  <\/div>\n\t\t<\/div>\n\t\t\n\t\t<div class=\"modal\" id=\"error_pop\">\n\t\t\t  <div class=\"modal-dialog\" role=\"document\">\n\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t  <div class=\"modal-header bg-danger text-white\">\n\t\t\t\t\t<h5 class=\"modal-title\" id=\"errorModalLabel\">Duplicate Email<\/h5>\n\t\t\t\t\t<button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\" aria-label=\"Close\"><\/button>\n\t\t\t\t  <\/div>\n\t\t\t\t  <div class=\"modal-body\" id=\"error_pop_con\">\n\n\t\t\t\t  <\/div>\n\t\t\t\t  <div class=\"modal-footer\">\n\t\t\t\t\t<div class=\"d-flex justify-content-end gap-2\">\n\t\t\t\t\t  <button type=\"button\" class=\"btn btn-outline-secondary\" id=\"cancelProceed\">Cancel<\/button>\n\t\t\t\t\t  <button type=\"button\" id=\"proceed_trn_enq\" class=\"btn btn-primary\" data-enquiry-type=\"\">Proceed<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t  <\/div>\n\t\t\t\t<\/div>\n\t\t\t  <\/div>\n\t\t\t<\/div>\n\t\t\n\t\t<\/div>\n    <\/div><script type='text\/javascript'>\n\t\t\tvar base_url_api = 'https:\/\/erp.iasiso.com\/Api';\n\t\t    var base_url = 'https:\/\/erp.iasiso.com';\n\t\t    jQuery(document).ready(function($) {\n\t\t\t\/\/ --- put mobile code box + input on the SAME line ---\nfunction enforceMobileGroup(){\n    var grp = $('#CountryCode').parent();\n    if(!grp.length) return;\n    grp.css({'display':'flex','flex-wrap':'nowrap','align-items':'stretch','width':'100%','margin':'0','padding':'0'});\n    $('#CountryCode').css({'display':'flex','align-items':'center','flex':'0 0 auto','width':'auto','white-space':'nowrap','padding':'12px 9px','font-size':'1rem','line-height':'1.5','background':'#e9ecef','border':'1px solid #ced4da','border-right':'0','border-top-left-radius':'0.25rem','border-bottom-left-radius':'0.25rem','border-top-right-radius':'0','border-bottom-right-radius':'0','margin':'0','color':'#212529','box-sizing':'border-box'});\n    $('#MobileNumber').css({'display':'block','flex':'1 1 auto','width':'1%','min-width':'0','margin':'0','padding':'12px 9px','font-size':'1rem','line-height':'1.5','height':'auto','border-top-left-radius':'0','border-bottom-left-radius':'0','border-top-right-radius':'0.25rem','border-bottom-right-radius':'0.25rem','box-sizing':'border-box'});\n}\nenforceMobileGroup();\nsetTimeout(enforceMobileGroup, 600);\n\n\t\t    \t\/\/ Move modals to body so they are not trapped inside parent containers\n\t\t    \t$('#myModalAlert, #error_pop').appendTo('body');\n\n\t\t    \t\/\/ Force inline styles on scheme elements to bypass any theme CSS overrides\n\t\t    \tfunction enforceSchemeStyles(){\n\t\t    \t\ttry {\n\t\t    \t\t\tif($('.scheme-dropdown-toggle').length === 0) return;\n\t\t    \t\t\t$('.scheme-dropdown-toggle').css({\n\t\t    \t\t\t\t'display':'block','border':'1px solid #ced4da','border-radius':'4px',\n\t\t    \t\t\t\t'padding':'10px 14px','background':'#fff','cursor':'pointer',\n\t\t    \t\t\t\t'color':'#333','position':'relative','user-select':'none',\n\t\t    \t\t\t\t'margin':'0','width':'auto','box-sizing':'border-box'\n\t\t    \t\t\t});\n\t\t    \t\t\t$('.scheme-checkbox-list').each(function(){\n\t\t    \t\t\t\tvar el = $(this);\n\t\t    \t\t\t\tel.css({\n\t\t    \t\t\t\t\t'max-height':'200px','overflow-y':'auto',\n\t\t    \t\t\t\t\t'border':'1px solid #ced4da','border-top':'none',\n\t\t    \t\t\t\t\t'border-radius':'0 0 4px 4px','padding':'10px','background':'#fff',\n\t\t    \t\t\t\t\t'margin':'0','box-sizing':'border-box'\n\t\t    \t\t\t\t});\n\t\t    \t\t\t\tif(!el.hasClass('show')){ el.css('display','none'); }\n\t\t    \t\t\t\telse { el.css('display','block'); }\n\t\t    \t\t\t});\n\t\t    \t\t\t$('.scheme-checkbox-list .form-check').css({\n\t\t    \t\t\t\t'display':'block','position':'relative','margin':'0 0 10px 0',\n\t\t    \t\t\t\t'padding':'0 0 0 26px','min-height':'auto','float':'none','width':'auto'\n\t\t    \t\t\t});\n\t\t    \t\t\t$('.scheme-checkbox-list .form-check:last-child').css('margin-bottom','0');\n\t\t    \t\t\t$('.scheme-checkbox-list .form-check-label').css({\n\t\t    \t\t\t\t'display':'block','line-height':'1.5','cursor':'pointer',\n\t\t    \t\t\t\t'color':'#000','width':'auto','margin':'0','padding':'0',\n\t\t    \t\t\t\t'word-wrap':'break-word','overflow-wrap':'break-word'\n\t\t    \t\t\t});\n\t\t    \t\t\t$('.scheme-checkbox-list .form-check-input').css({\n\t\t    \t\t\t\t'position':'absolute','left':'0','top':'4px',\n\t\t    \t\t\t\t'width':'16px','height':'16px','margin':'0',\n\t\t    \t\t\t\t'float':'none','flex':'none','appearance':'auto',\n\t\t    \t\t\t\t'-webkit-appearance':'auto','opacity':'1'\n\t\t    \t\t\t});\n\t\t    \t\t} catch(e){ if(window.console) console.warn('enforceSchemeStyles error:', e); }\n\t\t    \t}\n\t\t    \tenforceSchemeStyles();\n\n\t\t    \t\/\/ Force country dropdown styles via inline CSS (beats any theme\/widget sanitizer)\n\t\t    \tfunction enforceCountryDropdown(){\n\t\t    \t\ttry {\n\t\t    \t\t\tvar sect = $('.country-section');\n\t\t    \t\t\tif(sect.length === 0) return;\n\t\t    \t\t\tsect.find('.dropdown').css({\n\t\t    \t\t\t\t'position':'relative','display':'block','width':'100%'\n\t\t    \t\t\t});\n\t\t    \t\t\tsect.find('#countryDropdown').css({\n\t\t    \t\t\t\t'border':'1px solid #ced4da','background':'#fff','padding':'10px 14px',\n\t\t    \t\t\t\t'border-radius':'4px','cursor':'pointer','width':'100%',\n\t\t    \t\t\t\t'text-align':'left','display':'block','color':'#333',\n\t\t    \t\t\t\t'box-sizing':'border-box'\n\t\t    \t\t\t});\n\t\t    \t\t\tvar menu = sect.find('.dropdown-menu');\n\t\t    \t\t\tmenu.css({\n\t\t    \t\t\t\t'position':'absolute','top':'100%','left':'0','z-index':'1000',\n\t\t    \t\t\t\t'min-width':'100%','height':'300px','overflow-y':'auto','overflow-x':'hidden',\n\t\t    \t\t\t\t'background-color':'#fff','border':'1px solid rgba(0,0,0,.15)',\n\t\t    \t\t\t\t'border-radius':'0.25rem','padding':'0.5rem 0','margin':'0',\n\t\t    \t\t\t\t'list-style':'none','box-sizing':'border-box'\n\t\t    \t\t\t});\n\t\t    \t\t\tif(!menu.hasClass('show')){ menu.css('display','none'); }\n\t\t    \t\t\telse { menu.css('display','block'); }\n\t\t    \t\t\t\/\/ Style list items and search input inline\n\t\t    \t\t\tmenu.find('li').css({'list-style':'none','padding':'0','margin':'0'});\n\t\t    \t\t\tmenu.find('a.dropdown-item').css({\n\t\t    \t\t\t\t'display':'block','padding':'6px 12px','color':'#212529',\n\t\t    \t\t\t\t'text-decoration':'none','cursor':'pointer','white-space':'nowrap'\n\t\t    \t\t\t});\n\t\t    \t\t\tmenu.find('.dropdown-input').css({\n\t\t    \t\t\t\t'margin':'0 8px 8px','width':'calc(100% - 16px)'\n\t\t    \t\t\t});\n\t\t    \t\t} catch(e){ if(window.console) console.warn('enforceCountryDropdown error:', e); }\n\t\t    \t}\n\t\t    \tenforceCountryDropdown();\n\n\t\t    \t\/\/ Force form field styles via inline CSS (theme sidebar widget strips label\/input spacing)\n\t\t    \tfunction enforceFormStyles(){\n\t\t    \t\ttry {\n\t\t    \t\t\tvar form = $('#contct_form');\n\t\t    \t\t\tif(form.length === 0) return;\n\t\t    \t\t\tform.find('.mb-3').css({\n\t\t    \t\t\t\t'display':'block','margin-bottom':'1rem','width':'100%','padding':'0'\n\t\t    \t\t\t});\n\t\t    \t\t\tform.find('.mt-3').css({'margin-top':'1rem'});\n\t\t    \t\t\tform.find('label, .label').css({\n\t\t    \t\t\t\t'display':'block','margin-bottom':'0.5rem','font-weight':'500',\n\t\t    \t\t\t\t'color':'#212529','width':'auto','float':'none'\n\t\t    \t\t\t});\n\t\t    \t\t\tform.find('input[type=text], input[type=email], input[type=tel], input[type=number], textarea, .form-control').css({\n\t\t    \t\t\t\t'display':'block','width':'100%','padding':'8px 12px',\n\t\t    \t\t\t\t'font-size':'1rem','line-height':'1.5','color':'#212529',\n\t\t    \t\t\t\t'background-color':'#fff','border':'1px solid #ced4da',\n\t\t    \t\t\t\t'border-radius':'0.25rem','box-sizing':'border-box','margin':'0'\n\t\t    \t\t\t});\n\t\t    \t\t\tform.find('select, .form-select').css({\n\t\t    \t\t\t\t'display':'block','width':'100%','padding':'8px 36px 8px 12px',\n\t\t    \t\t\t\t'font-size':'1rem','line-height':'1.5','color':'#212529',\n\t\t    \t\t\t\t'background-color':'#fff','border':'1px solid #ced4da',\n\t\t    \t\t\t\t'border-radius':'0.25rem','box-sizing':'border-box','margin':'0',\n\t\t    \t\t\t\t'appearance':'none','-webkit-appearance':'none','-moz-appearance':'none',\n\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\")',\n\t\t    \t\t\t\t'background-repeat':'no-repeat','background-position':'right 12px center','background-size':'16px 12px'\n\t\t    \t\t\t});\n\t\t    \t\t\tform.find('input[type=radio], input[type=checkbox]').css({\n\t\t    \t\t\t\t'display':'inline-block','width':'16px','height':'16px',\n\t\t    \t\t\t\t'margin-right':'6px','vertical-align':'middle',\n\t\t    \t\t\t\t'appearance':'auto','-webkit-appearance':'auto','-moz-appearance':'auto',\n\t\t    \t\t\t\t'opacity':'1','visibility':'visible',\n\t\t    \t\t\t\t'border':'1px solid #999','background':'#fff',\n\t\t    \t\t\t\t'flex':'none','float':'none','position':'static'\n\t\t    \t\t\t});\n\t\t    \t\t\tform.find('#CountryCode').css({\n\t\t    \t\t\t\t'display':'inline-block','padding':'8px 12px','background':'#e9ecef',\n\t\t    \t\t\t\t'border':'1px solid #ced4da','border-radius':'0.25rem 0 0 0.25rem',\n\t\t    \t\t\t\t'vertical-align':'middle','margin-right':'-1px'\n\t\t    \t\t\t});\n\t\t    \t\t\tform.find('.btn-submit, #proceed_trn_enq, .btn-primary').css({\n\t\t    \t\t\t\t'display':'inline-block','padding':'0.5rem 1rem',\n\t\t    \t\t\t\t'background-color':'#0d6efd','color':'#fff',\n\t\t    \t\t\t\t'border':'1px solid #0d6efd','border-radius':'0.25rem',\n\t\t    \t\t\t\t'cursor':'pointer','font-size':'1rem','line-height':'1.5'\n\t\t    \t\t\t});\n\t\t    \t\t\tform.find('.row').css({'display':'block','margin':'0'});\n\t\t    \t\t\tform.find('.col-sm-12').css({'display':'block','width':'100%','padding':'0'});\n\t\t    \t\t\tform.find('.error, .mandatory').css({\n\t\t    \t\t\t\t'color':'#dc3545','display':'block','margin-top':'4px','font-size':'0.875rem'\n\t\t    \t\t\t});\n\t\t    \t\t\tform.find('.mandatory').css('display','inline');\n\t\t    \t\t} catch(e){ if(window.console) console.warn('enforceFormStyles error:', e); }\n\t\t    \t}\n\t\t    \tenforceFormStyles();\n\n\t\t    \t\/\/ Manual toggle for country dropdown (doesn't rely on Bootstrap dropdown JS)\n\t\t    \t$(document).on('click', '#countryDropdown', function(e){\n\t\t    \t\te.stopPropagation();\n\t\t    \t\tvar menu = $('.country-section .dropdown-menu');\n\t\t    \t\tif(menu.hasClass('show')){\n\t\t    \t\t\tmenu.removeClass('show').css('display','none');\n\t\t    \t\t\t$(this).attr('aria-expanded','false');\n\t\t    \t\t} else {\n\t\t    \t\t\tmenu.addClass('show').css('display','block');\n\t\t    \t\t\t$(this).attr('aria-expanded','true');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t\/\/ Close country dropdown when clicking outside\n\t\t    \t$(document).on('click', function(e){\n\t\t    \t\tif(!$(e.target).closest('.country-section').length){\n\t\t    \t\t\t$('.country-section .dropdown-menu').removeClass('show').css('display','none');\n\t\t    \t\t\t$('#countryDropdown').attr('aria-expanded','false');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t\/\/ Close country dropdown when a country is picked\n\t\t    \t$(document).on('click', '.country-section .dropdown-menu li a.dropdown-item', function(){\n\t\t    \t\t$('.country-section .dropdown-menu').removeClass('show').css('display','none');\n\t\t    \t\t$('#countryDropdown').attr('aria-expanded','false');\n\t\t    \t});\n\n\t\t    \t\/\/ Toggle open\/close for scheme checkbox dropdowns\n\t\t    \t$(document).on('click', '.scheme-dropdown-toggle', function(e){\n\t\t    \t\te.stopPropagation();\n\t\t    \t\tvar targetId = $(this).data('target');\n\t\t    \t\tvar list = $('#'+targetId);\n\t\t    \t\t$('.scheme-checkbox-list').not(list).removeClass('show').css('display','none');\n\t\t    \t\t$('.scheme-dropdown-toggle').not(this).removeClass('open');\n\t\t    \t\tvar isOpen = list.hasClass('show');\n\t\t    \t\tif(isOpen){\n\t\t    \t\t\tlist.removeClass('show').css('display','none');\n\t\t    \t\t\t$(this).removeClass('open');\n\t\t    \t\t} else {\n\t\t    \t\t\tlist.addClass('show').css('display','block');\n\t\t    \t\t\t$(this).addClass('open');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t$(document).on('click', function(e){\n\t\t    \t\tif(!$(e.target).closest('.scheme-checkbox-list, .scheme-dropdown-toggle').length){\n\t\t    \t\t\t$('.scheme-checkbox-list').removeClass('show').css('display','none');\n\t\t    \t\t\t$('.scheme-dropdown-toggle').removeClass('open');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t$(document).on('change', '.scheme-checkbox-list input[type=checkbox]', function(){\n\t\t    \t\tvar container = $(this).closest('.scheme-checkbox-list');\n\t\t    \t\tvar toggle = container.prev('.scheme-dropdown-toggle');\n\t\t    \t\tvar checked = container.find('input:checked');\n\t\t    \t\tif(checked.length > 0){\n\t\t    \t\t\ttoggle.text(checked.length + ' selected');\n\t\t    \t\t} else {\n\t\t    \t\t\tvar defaultText = toggle.data('default') || '-- Select --';\n\t\t    \t\t\ttoggle.text(defaultText);\n\t\t    \t\t}\n\t\t    \t});\n\n\t\t    \t\/\/ Customer Name: allow only letters and spaces\n\t\t    \t$(document).on('input','#CustomerName', function(){\n\t\t    \t\tvar val = $(this).val();\n\t\t    \t\tval = val.replace(\/[^a-zA-Z ]\/g, '');\n\t\t    \t\t$(this).val(val);\n\t\t    \t});\n\n\t\t    \t\/\/credentials\n\t\t    \tvar url = base_url_api+'\/getUser';\n\t\t    \tvar chat_username = '';\n\t\t    \tvar chat_password = '';\n\t\t        $.get(url, function(datas, status){\n\t\t            if(datas){ \n\t\t            \tchat_username = datas.username;\n\t\t            \tchat_password = datas.password;\n\t\t            }\n\t\t        })\n\n\t\t       $('#refreshCaptcha').click(function(){\n\t\t\t\t\t\t$('#captchaImage').attr('src', 'https:\/\/iasiso-gulf.com\/BH\/?stm_captcha=1793989772&t=' + new Date().getTime());\n\t\t\t\t\t});\n\n\t\t    \t\/\/country\n\t\t\t\t$(document).on('click','li a.dropdown-item', function() {\n\t\t\t    \tvar code = $(this).data('code');\n\t\t\t    \tvar countryName = $(this).text().trim();\t\n\t\t\t    \tvar country_id = $(this).attr('country_id');\n\t\t\t    \tvar country_code = $(this).attr('country_code');\t\n\t\t\t\t\tvar mobile_number_length = $(this).attr('data-mobile_number_length');\n\n\t\t\t    \t$('#countryDropdown').html('<span class=\"fi fi-' + code.toLowerCase() + '\"><\/span> ' + countryName);\n\t\t\t    \t$('#country_id').val(country_id);\n\n\t\t\t    \tif(country_code){\n\t\t\t\t\t\t\tconsole.log($('#CountryCode').attr('data-phone-length'));\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);\n\n\t\t\t\t\t\t\t\/\/ reset input and error message\n\t\t\t\t\t\t\t$('#MobileNumber').val('');\n\t\t\t\t\t\t\t$('.error_mobile_no').text('');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t             var url = base_url_api+'\/getRegion';\n\t\t            $.post(url,{country:country_id},function(states, status){\n\t\t                if(states){\t\t                    \n\t\t                    $('#State').html(states);\n\t\t                }\n\t\t            });\n\t\t            fetchBcoTraining();\n\t\t            fetchBcoCert();\n\t\t\t\t});\n\n\t\t\t\t\/\/country search\n\n\t\t\t\t$(document).on('keyup','.dropdown-input', function() {\n\n\t\t\t\t  \tvar filterValue = $(this).val().toLowerCase();\n\t\t\t\t  \t$('li.country_list').each(function() {\n\t\t\t\t      var text = $(this).text().toLowerCase(); \/\/ Get the text of each li and convert to lowercase\n\t\t\t\t      if (text.indexOf(filterValue) === -1) {\n\t\t\t\t        $(this).hide(); \/\/ Hide the li if it does not contain the filter value\n\t\t\t\t      } else {\n\t\t\t\t        $(this).show(); \/\/ Show the li if it contains the filter value\n\t\t\t\t      }\n\t\t\t\t    });\n\t\t\t\t})\n\n\t\t    \t\/\/Fetch website info\n\n\t\t    \tvar website_url =  window.location.href;\n\n\t\t    \t\/\/var website_url = 'https:\/\/iasiso-middleeast.com\/iso-9001-lead-auditor-training-in-israel\/';\n\n\t\t    \tif(website_url){\n\t\t    \t\t $.post(base_url_api +'\/get_website_details',{url:website_url}, function(datas, status){\n   \t\t\t\t\t\t\tif(datas){\n   \t\t\t\t\t\t\t\t$('.website_id').val(datas.website_id);\n   \t\t\t\t\t\t\t\t$('.url_id').val(datas.url_id);\n\t\t\t\t\t\t\t\t$('.Company').val(datas.company);\n   \t\t\t\t\t\t\t}\n\t\t        \t});\n\t\t    \t}\n\t\t    \t\n\n\t\t        \/\/Fetch country\n\t\t        var url = base_url_api+'\/getCountrys';\n\t\t        var country_option = `<li>\n\t\t\t      <input class=\"form-control dropdown-input\" type=\"text\" placeholder=\"Search\">\n\t\t\t    <\/li>\n\t\t\t    <li>\n\t\t\t      <hr class=\"dropdown-divider\">\n\t\t\t    <\/li>`;\n\t\t        $.get(url, function(datas, status){\n\n\t\t            if(datas){\n\t\t                $(datas).each(function(inex, data) {\n\n\t\t                   country_option +=`<li class=\"country_list\">\n\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+`\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"fi fi-`+data.code.toLowerCase()+`\"><\/span> `+data.country_name+`\n\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t <\/li>`;\n\n\t\t                    \/\/ Auto select Bahrain (country_id = 18)\n\t\t                    var default_country_id = 18;\n\t\t                    if(data.country_id == default_country_id){\n\t\t                        $('#countryDropdown').html(\n\t\t                            '<span class=\"fi fi-' + data.code.toLowerCase() + '\"><\/span> ' + data.country_name\n\t\t                        );\n\t\t                        $('#country_id').val(data.country_id);\n\n\t\t                        if(data.isd_code){\n\t\t                            $('#CountryCode')\n\t\t                                .text('+' + data.isd_code)\n\t\t                                .attr('data-phone-length', data.mobile_number_length)\n\t\t                                .data('phone-length', data.mobile_number_length);\n\t\t                        }\n\n\t\t                        var url2 = base_url_api + '\/getRegion';\n\t\t                        $.post(url2, { country: data.country_id }, function(states, status){\n\t\t                            if(states){ $('#State').html(states); }\n\t\t                        });\n\n\t\t                        fetchBcoTraining();\n\t\t                        fetchBcoCert();\n\t\t                    }\n\t\t                });\n\n\n\t\t                $('.country-section .dropdown-menu').html(country_option);\n\t\t                enforceCountryDropdown();\n\t\t            }\n\t\t        });\n\t\t         $(document).on('change','#State', function(){\n\n\t\t            var url = base_url_api+'\/getRegion';\n\t\t            var state = $(this).val();\n\n\t\t            $.post(url,{state:state},function(datas, status){\n\t\t                if(datas){\n\t\t                    \n\t\t                    $('#City').html(datas);\n\t\t                }\n\t\t            });\n\t\t             fetchBcoTraining();\n\n\t\t             fetchBcoCert();\n\t\t        })\n\t\t\t\t\n\t\t\t\t$(document).on('input','#MobileNumber', function(){\n\n\t\t\t\tlet allowedLength = $('#CountryCode').data('phone-length') ? parseInt($('#CountryCode').data('phone-length')) : null;\n\t\t            var inputValue = $(this).val();\n\t\t\t\t\tvar errorSpan = $('.error_mobile_no');\n\n\t\t\t\t\t\/\/ Strip non-numeric characters\n\t\t            inputValue = inputValue.replace(\/[^0-9]\/g, '');\n\n\t\t\t\t\t\/\/ Prevent exceeding max length\n\t\t\t\t\tif (allowedLength && inputValue.length > allowedLength){\n\t\t\t\t\t\tinputValue = inputValue.slice(0, allowedLength);\n\t\t\t\t\t}\n\t\t\t\t\t$(this).val(inputValue);\n\n\t\t\t\t\t\/\/ Show error\/info based on length\n\t\t\t\t\tif(allowedLength){\n\t\t\t\t\t\tif(inputValue.length === 0){\n\t\t\t\t\t\t\terrorSpan.text('');\n\t\t\t\t\t\t} else if(inputValue.length < allowedLength){\n\t\t\t\t\t\t\terrorSpan.css('color','#e67e22').text('Please enter ' + allowedLength + ' digits (' + inputValue.length + '\/' + allowedLength + ')');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\terrorSpan.css('color','').text('');\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\terrorSpan.text('');\n\t\t\t\t\t}\n\t\t        })\n\n\t\t        \/\/Fetch Type and category\n\t\t        var url = base_url_api+'\/getTrainings';\n\t\t        \n\t\t        $.get(url, function(datas, status){\n\t\t            if(datas){\n\t\t                var type_option = '<option value=\"\">---Please select---<\/option>';\n\t\t                $(datas.type).each(function(inex, data) {\n\t\t                   type_option +='<option value=\"'+data.tc_id+'\">'+data.tra_cat_name+'<\/option>';\n\t\t                });\n\n\t\t                $('#Type').html(type_option);\n\n\t\t                var category_option = '<option value=\"\">---Please select---<\/option>';\n\t\t                $(datas.category).each(function(inex, data) {\n\t\t                   category_option +='<option value=\"'+data.tt_id+'\">'+data.tra_type_name+'<\/option>';\n\t\t                });\n\n\t\t                $('#Category').html(category_option);\n\t\t            }\n\t\t        });\n \n\t\t       \n\t\t        \/\/ When Product Type changes \u2192 filter Product Category options\n\t\t        $('#Type').change(function(){\n\t\t            var Type = $(this).val();\n\t\t            var catSelect = $('#Category');\n\n\t\t            catSelect.val('');\n\t\t            $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\n\t\t            if(!Type){\n\t\t                catSelect.find('option').show();\n\t\t                fetchBcoTraining();\n\t\t                return;\n\t\t            }\n\n\t\t            catSelect.find('option').each(function(){\n\t\t                var opt = $(this);\n\t\t                var catVal = opt.val();\n\t\t                if(!catVal){ opt.show(); return; }\n\n\t\t                (function(opt, catVal){\n\t\t                    $.ajax({\n\t\t                        type: 'post',\n\t\t                        url: base_url_api+'\/getSchemes',\n\t\t                        data: { category: catVal, Type: Type },\n\t\t                        success: function(resp){\n\t\t                            var count = 0;\n\t\t                            if(resp && $.trim(resp) !== ''){\n\t\t                                $(resp).filter('option').each(function(){\n\t\t                                    if($.trim($(this).val()) !== '') count++;\n\t\t                                });\n\t\t                            }\n\t\t                            if(count > 0){\n\t\t                                opt.show();\n\t\t                            } else {\n\t\t                                opt.hide();\n\t\t                                if(catSelect.val() === catVal) catSelect.val('');\n\t\t                            }\n\t\t                        },\n\t\t                        error: function(){ opt.show(); }\n\t\t                    });\n\t\t                })(opt, catVal);\n\t\t            });\n\t\t            fetchBcoTraining();\n\t\t        });\n\n\t\t        \/\/ When Category changes \u2192 populate ProductName checkboxes\n\t\t        $('#Category').change(function(){\n\t\t            var Category = $(this).val();\n\t\t            var Type = $('#Type').val();\n\t\t            if(Category && Type){\n\t\t                $.ajax({\n\t\t                    type: 'post',\n\t\t                    url: base_url_api+'\/getSchemes',\n\t\t                    data: { category: Category, Type: Type },\n\t\t                    success: function(html){\n\t\t                        var checkboxHtml = '';\n\t\t                        $(html).filter('option').each(function(){\n\t\t                            var val = $(this).val();\n\t\t                            var text = $(this).text();\n\t\t                            if(val && $.trim(val) !== ''){\n\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>';\n\t\t                            }\n\t\t                        });\n\t\t                        if(checkboxHtml === ''){\n\t\t                            checkboxHtml = '<span style=\"color:#999;\">No products available<\/span>';\n\t\t                        }\n\t\t                        $('#ProductNameCheckboxes').html(checkboxHtml);\n\t\t                        enforceSchemeStyles();\n\t\t                    }\n\t\t                });\n\t\t            } else {\n\t\t                $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\t\t            }\n\t\t            fetchBcoTraining();\n\t\t        });\n\n\t\t        \/\/ Product name checkbox change\n\t\t        $(document).on('change', '.product-name-chk', function(){\n\t\t        \tfetchBcoTraining();\n\t\t        });\n\t\t\t\t\n\t\t\t\t\t$('#cancelProceed').click(function(){\n\t\t\t\t\t\t$('#EMail').val('');\n\t\t\t\t\t\t$('#error_pop').modal('toggle');\n\t\t\t\t\t\t$('.btn-submit').removeClass('disabled');\n\t\t\t\t\t});\n\n\t\t\t\t\t$('#proceed_trn_enq').click(function(){\n\t\t\t\t\t\t$('#proceed_trn_enq').attr('data-enquiry-type','same');\n\t\t\t\t\t\t$('#proceed_trn_enq').attr('data-enquiry-id',$('#same_enquiry_id').val());\n\t\t\t\t\t\t$('#error_pop').modal('toggle');\n\t\t\t\t\t\terror = 0\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t$('.btn-submit').click();\n\t\t\t\t\t\t}, 300);\n\t\t\t\t\t});\n\t\t\t\t\t\n\t\t\t\t\t\/\/New function for Duplicate email submission\n\t\t\t\t\tfunction submitFinalForm(){\n                    \n                        $('.btn-submit')\n                            .prop('disabled', true)\n                            .text('Submitting...');\n                    \n                        var enquiry_type  = $('input.enquiry_type:checked').val();\n                    \n                        if(enquiry_type == 1){\n                            var purposOf  = $('#purposOf').val();\n                            if(purposOf == 1){\n                                trainingEnquiry();\n                            } else if(purposOf == 2){\n                                certificationEnquiry();\n                            } else if(purposOf == 3){\n                                trainingEnquiry();\n                                certificationEnquiry();\n                            }\n                        } else {\n                            otherEnquiry();\n                        }\n                    }\n\n\t\t        \/\/Fetch process scheme \u2192 checkboxes\n\t\t        var url = base_url_api+'\/getScheme\/1';\n\n\t\t        $.get(url, function(data, status){\n\t\t            if(data){\n\t\t                var chkHtml = '';\n\t\t                $(data).filter('option').each(function(){\n\t\t                    var v = $(this).val(); var t = $(this).text();\n\t\t                    if(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>';\n\t\t                });\n\t\t                $('#processSchemeCheckboxes').html(chkHtml || '<span style=\"color:#999;\">No schemes available<\/span>');\n\t\t                enforceSchemeStyles();\n\t\t            }\n\t\t        });\n\n\t\t        \/\/Fetch product scheme \u2192 checkboxes\n\t\t        var url = base_url_api+'\/getScheme\/2';\n\n\t\t        $.get(url, function(data, status){\n\t\t            if(data){\n\t\t                var chkHtml = '';\n\t\t                $(data).filter('option').each(function(){\n\t\t                    var v = $(this).val(); var t = $(this).text();\n\t\t                    if(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>';\n\t\t                });\n\t\t                $('#productSchemeCheckboxes').html(chkHtml || '<span style=\"color:#999;\">No schemes available<\/span>');\n\t\t                enforceSchemeStyles();\n\t\t            }\n\t\t        });\n\t\t\t\t\n\t\t\t\tfunction getCookie(name) {\n\t\t\t\t\t\t\t\t const cookies = document.cookie.split(';');\n\t\t\t\t\t\t\t\t\tconst captcha_word = (cookies.find(c => c.trim().startsWith('captcha_word=')) || '').split('=')[1] || null;\n\t\t\t\t\t\t\t\t\treturn captcha_word;\n\t\t\t\t\t\t\t}\n\t\t\t\t\n\t\t        $('.btn-submit').click(function(e) { \n\t\t        \te.preventDefault();\n\t\t        \t\/\/validation start\n\t\t\t        \tvar CustomerName  = $('#CustomerName').val();\n\n\t\t\t        \tvar error = 0;\n\t\t\t\t\t\tvar mail_dup_error = 0;\n\t\t\t        \tif(!CustomerName){\n\t\t\t        \t\t$('.error_company_name').text('Enter the customer name');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else if(!\/^[a-zA-Z ]+$\/.test(CustomerName)){\n\t\t\t        \t\t$('.error_company_name').text('Only letters and spaces are allowed');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_company_name').text('');\n\t\t\t        \t}\n\n\t\t\t        \tvar EMail  = $('#EMail').val();\n\n\t\t\t        \t\/\/ Strict email pattern: requires valid local part, domain with at least one dot, and TLD of 2-24 letters\n\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}$\/;\n\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'];\n\n\t\t\t        \tif(!EMail){\n\t\t\t        \t\t$('.error_email').text('Enter the email');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else if(!emailPattern.test(EMail)){\n\t\t\t        \t\t$('.error_email').text('Enter a valid email address');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\tvar emailParts = EMail.split('@');\n\t\t\t        \t\tvar domain = emailParts[1].toLowerCase();\n\t\t\t        \t\tvar tld = domain.split('.').pop();\n\t\t\t        \t\tif(validTLDs.indexOf(tld) === -1){\n\t\t\t        \t\t\t$('.error_email').text('Please enter a valid email address with a real domain');\n\t\t\t        \t\t\terror = 1;\n\t\t\t        \t\t} else {\n\t\t\t        \t\t\tvar domainParts = domain.split('.');\n\t\t\t        \t\t\tvar secondLevel = domainParts[domainParts.length - 2];\n\t\t\t        \t\t\tif(!secondLevel || secondLevel.length < 2 || domain.indexOf('..') !== -1){\n\t\t\t        \t\t\t\t$('.error_email').text('Please enter a valid email address with a real domain');\n\t\t\t        \t\t\t\terror = 1;\n\t\t\t        \t\t\t} else {\n\t\t\t        \t\t\t\t$('.error_email').text('');\n\t\t\t        \t\t\t}\n\t\t\t        \t\t}\n\t\t\t        \t}\n\n\t\t\t        \tvar country_id  = $('#country_id').val(); \n\n\t\t\t        \tif(!country_id){\n\t\t\t        \t\t$('.error_country').text('Enter the country');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_country').text('');\n\t\t\t        \t}  \n\n\t\t\t        \tvar State  = $('#State').val(); \n\n\t\t\t        \tif(!State){\n\t\t\t        \t\t$('.error_state').text('Enter the state');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_state').text('');\n\t\t\t        \t} \n\n\t\t\t        \tvar MobileNumber  = $('#MobileNumber').val();\n\t\t\t        \tvar requiredLength = $('#CountryCode').data('phone-length') ? parseInt($('#CountryCode').data('phone-length')) : null;\n\n\t\t\t        \tif(!MobileNumber){\n\t\t\t        \t\t$('.error_mobile_no').css('color','red').text('Enter the mobile number');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else if(requiredLength && MobileNumber.length < requiredLength){\n\t\t\t        \t\t$('.error_mobile_no').css('color','red').text('Mobile number must be ' + requiredLength + ' digits. You entered ' + MobileNumber.length + ' digits.');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_mobile_no').text('');\n\t\t\t        \t} \n\n\t\t\t        \tvar purposOf  = $('#purposOf').val(); \n\n\t\t\t        \tvar enquiry_type  = $('input.enquiry_type:checked').val()\n                        if(!purposOf && enquiry_type == 1){\n\t\t\t        \t\t$('.error_trg_cert').text('Please choose the training\/certification');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_trg_cert').text('');\n\t\t\t        \t}   \n\n\t\t\t        \tif((purposOf == 1) || (purposOf == 3)){ \n\t\t\t        \t\t\/\/Training validation  \n\t\t\t\t        \tvar Type  = $('#Type').val(); \n\n\t\t\t\t        \tif(!Type){\n\t\t\t\t        \t\t$('.error_product_type').text('Please choose type');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_product_type').text('');\n\t\t\t\t        \t} \n\n\t\t\t\t        \tvar Category  = $('#Category').val(); \n\n\t\t\t\t        \tif(!Category){\n\t\t\t\t        \t\t$('.error_product_category').text('Please choose category');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_product_category').text('');\n\t\t\t\t        \t} \n\n\t\t\t\t        \tvar ProductName  = $('.product-name-chk:checked').length;\n\n\t\t\t\t        \tif(ProductName === 0){\n\t\t\t\t        \t\t$('.error_product_name').text('Please choose at least one product');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_product_name').text('');\n\t\t\t\t        \t}\n\t\t\t\t        }\n\n\t\t\t\t        if((purposOf == 2) || (purposOf == 3)){\n\t\t\t        \t\tvar product_scheme_count  = $('.product-scheme-chk:checked').length;\n\t\t\t\t        \tvar process_scheme_count  = $('.process-scheme-chk:checked').length;\n\n\t\t\t\t\t\t\tvar cert_type = $('#cert_Type').val();\n\n\t\t\t\t\t\t\tif(!cert_type){\n\t\t\t\t        \t\t$('.error_cert_product_type').text('Please choose any one Certification Type');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_cert_product_type').text('');\n\t\t\t\t\t\t\t\tif(cert_type == 1){\n\t\t\t\t\t\t\t\t\tif(process_scheme_count === 0){\n\t\t\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('Please choose at least one process scheme');\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if(cert_type == 2){\n\t\t\t\t\t\t\t\t\tif(product_scheme_count === 0){\n\t\t\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t\t\t\t$('.error_product_name').text('Please choose at least one product scheme');\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t$('.error_product_name').text('');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if(cert_type == 3){\n\t\t\t\t\t\t\t\t\tif(product_scheme_count === 0 || process_scheme_count === 0){\n\t\t\t\t\t\t\t\t\t\terror = 1;\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');\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('');\n\t\t\t\t\t\t\t\t\t\t$('.error_product_name').text('');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t        \t} \n\t\t\t\t\t\t\t\n\n\n\t\t\t\t        }\n\n\t\t\t\t\t\t\/\/ Privacy policy checkbox validation\n\t\t\t\t\t\tvar isPrivacyChecked = $('#privacyCheck').is(':checked');\n\t\t\t\t\t\tif(!isPrivacyChecked){\n\t\t\t\t\t\t\t$('.error_privacy_checkbox').text('Please accept the privacy policy');\n\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t$('.error_privacy_checkbox').text('');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar captcha_cookie = getCookie('captcha_word');\n \t\t\t\t\t\t\tvar capcha_answer = $('#captcha_answer').val();\n\t\t\t\t\t\t\tif(capcha_answer && captcha_cookie !== capcha_answer){\n\t\t\t\t\t\t\t\t$('.error_captcha').text('Captcha is not valid');\n\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tif(!capcha_answer){\n\t\t\t\t\t\t\t\t\t$('.error_captcha').text('Enter the captcha');\n\t\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t$('.error_captcha').text('');\n\t\t\t\t\t\t\t\t\/\/ \terror = 0;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}   \n\t\t\t\t\t\t\n\/\/ \t\t\t\t        var recaptcha_response = $('#g-recaptcha-response').val();  \n\/\/ \t\t\t\t        if(!recaptcha_response){  \n\/\/ \t\t\t\t        \t$('.error_captcha').text('captcha error');\n\/\/ \t\t\t\t        \t\terror = 1;\n\/\/ \t\t\t\t        }else {\n\/\/ \t\t\t\t        \tvar recaptcha_response = $('#g-recaptcha-response').val(); \n\/\/ \t\t\t\t   \t\t\tvar url = base_url+'\/Api\/checkCaptcha';\n\/\/ \t\t\t\t   \t\t\t $.ajax({\n\/\/ \t\t\t\t\t\t\t\t 'async': false,\n\/\/ \t\t\t\t\t\t\t\t type:'POST',\n\/\/ \t\t\t\t\t\t\t\t url:url,\n\/\/ \t\t\t\t\t\t\t\t data:{g_recaptcha_response:recaptcha_response},\n\/\/ \t\t\t\t\t\t\t\t success:function(data){\n\/\/ \t\t\t\t\t\t\t\t\tif(!data){\n\/\/ \t\t\t\t\t\t\t\t\t\t$('.error_captcha').text('captcha error');\n\/\/ \t\t\t\t        \t\t\t\terror = 1;\n\/\/ \t\t\t\t\t\t\t\t\t}else {\n\/\/ \t\t\t\t\t\t\t\t\t\t$('.error_captcha').text('');\n\/\/ \t\t\t\t\t\t\t\t\t}\n\/\/ \t\t\t\t\t\t\t\t }\n\/\/ \t\t\t\t\t\t\t});\n\/\/ \t\t\t\t        }        \n\t\t\t        \/\/validation end\n\/\/ \t\t        \tif(!error){\n\/\/ \t\t        \t\t$('.btn-submit').addClass('disabled');\n\/\/ \t\t\t           \tvar enquiry_type  = $('input.enquiry_type:checked').val();\n\/\/ \t\t\t\t\t   \t\/\/captcha status success\n\/\/ \t\t\t\t\t\tif(enquiry_type == 1){\n\/\/ \t\t\t\t\t\t\t var purposOf  = $('#purposOf').val();\n\/\/ \t\t\t\t\t\t\tif(purposOf == 1){\n\/\/ \t\t\t\t\t\t\t\ttrainingEnquiry();\n\/\/ \t\t\t\t\t\t   \t} else if(purposOf == 2){\n\/\/ \t\t\t\t\t\t\t\tcertificationEnquiry();\n\/\/ \t\t\t\t\t\t   \t}else if(purposOf == 3){\n\/\/ \t\t\t\t\t\t\t\ttrainingEnquiry();\n\/\/ \t\t\t\t\t\t\t\tcertificationEnquiry();\n\/\/ \t\t\t\t\t\t   \t}\n\/\/ \t\t\t\t\t   \t}else {\n\/\/ \t\t\t\t\t\t\totherEnquiry();\n\/\/ \t\t\t\t\t   \t}\t\t\t\t\t   \n\/\/ \t\t\t\t\t}\n\n\t\t\t\t\t\tvar EMail = $('#EMail').val();\n\t\t\t\t\t \tvar prod_scheme = [];\n\t\t\t\t\t \t$('.product-scheme-chk:checked').each(function(){ prod_scheme.push($(this).val()); });\n\t\t\t\t\t \tvar proc_scheme = [];\n\t\t\t\t\t \t$('.process-scheme-chk:checked').each(function(){ proc_scheme.push($(this).val()); });\n\t\t\t\t\t \tvar trn_prod_scheme = [];\n\t\t\t\t\t \t$('.product-name-chk:checked').each(function(){ trn_prod_scheme.push($(this).val()); });\n\n\t\t\t\t\t\tif($('#purposOf').val() == 1){\n\t\t\t\t\t\t\temail_url = base_url_api+'\/api_training_email_check';\n\t\t\t\t\t\t\tvar postdata = {\n\t\t\t\t\t\t\t\tEMail : EMail,\n\t\t\t\t\t\t\t\tprod_scheme : trn_prod_scheme\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t }else if($('#purposOf').val() == 2){\n\t\t\t\t\t\t\temail_url = base_url_api+'\/api_cert_email_check';\n\t\t\t\t\t\t\tvar postdata = {\n\t\t\t\t\t\t\t\tEMail : EMail,\n\t\t\t\t\t\t\t\tprod_scheme : prod_scheme,\n\t\t\t\t\t\t\t\tproc_scheme : proc_scheme\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t }\n\n\t\t\t\t\t\t\/\/ Other enquiry type: validate details box BEFORE auto-scroll so error is caught\n\t\t\t\t\t\tvar enquiry_type_val = $('input.enquiry_type:checked').val();\n\t\t\t\t\t\tif(enquiry_type_val == 2){\n\t\t\t\t\t\t\tvar otherDetails = $.trim($('#other_enquiry').val());\n\t\t\t\t\t\t\tif(!otherDetails){\n\t\t\t\t\t\t\t\t$('.error_other_enquiry').text('Please enter your enquiry details');\n\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('.error_other_enquiry').text('');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t if(error){\n\t\t\t\t\t\t\/\/Auto Scroll to first error\n\t\t\t\t\t\tvar firstError = $('.error:visible').filter(function() {\n\t\t\t\t\t\t\treturn $(this).text().trim() !== '';\n\t\t\t\t\t\t}).first();\n\n\t\t\t\t\t\tif(firstError.length){\n\t\t\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\t\t\tscrollTop: firstError.offset().top - 380\n\t\t\t\t\t\t\t}, 500);\n\n\t\t\t\t\t\t\t\/\/ focus input\/select\n\t\t\t\t\t\t\tfirstError.closest('.mb-3').find('input, select, textarea').focus();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ Other enquiry type: submit directly (validation already passed above)\n\t\t\t\t\t\tif(enquiry_type_val == 2){\n\t\t\t\t\t\t\t$('.btn-submit').prop('disabled', true).text('Submitting...');\n\t\t\t\t\t\t\totherEnquiry();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(EMail && $('#purposOf').val() != '' && !error){\n\t\t\t\t\t\t \/\/skip recheck of duplicate email after click proceed\n                            if($('#proceed_trn_enq').attr('data-enquiry-type') == 'same'){\n                                submitFinalForm();\n                                return;\n                            }\n\t\t\t\t\t\t\t$.ajax({\n\t\t\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\t\t\turl:email_url,\n\t\t\t\t\t\t\t\tdata:postdata,\n\t\t\t\t\t\t\t\tsuccess:function(data){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif ((purposOf == 2 || purposOf == 3) && (prod_scheme.length === 0 && proc_scheme.length === 0)) {\n\t\t\t\t\t\t\t\t\t\/\/ If no scheme is selected, prevent modal from opening\n\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('Please choose any one process or product scheme.');\n\t\t\t\t\t\t\t\t\treturn; \/\/ Stop submission and modal opening\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tif(data == 1 || $('#proceed_trn_enq').attr('data-enquiry-type') == 'same'){\n\t\t\t\t\t\t\t\t\tmail_dup_error = 0;\n\t\t\t\t\t\t\t\t\tif(!error && !mail_dup_error){\n\t\t\t\t\t\t\t\t\/\/ \t\t$('.btn-submit').addClass('disabled');\n\t\t\t\t\t\t\t\t        \/\/Prevent multiple submission\n                                        $('.btn-submit')\n                                        .prop('disabled', true)\n                                        .text('Submitting...');\n\t\t\t\t\t\t\t\t\t\tvar enquiry_type  = $('input.enquiry_type:checked').val();\n\t\t\t\t\t\t\t\t\t\t\/\/captcha status success\n\t\t\t\t\t\t\t\t\t\tif(enquiry_type == 1){\n\t\t\t\t\t\t\t\t\t\t\t var purposOf  = $('#purposOf').val();\n\t\t\t\t\t\t\t\t\t\t\tif(purposOf == 1){\n\t\t\t\t\t\t\t\t\t\t\t\ttrainingEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t} else if(purposOf == 2){\n\t\t\t\t\t\t\t\t\t\t\t\tcertificationEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t}else if(purposOf == 3){\n\t\t\t\t\t\t\t\t\t\t\t\ttrainingEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t\tcertificationEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\t\t\totherEnquiry();\n\t\t\t\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\t$('#error_pop_con').children().remove().end().append(data);\n\t\t\t\t\t\t\t\t\t\t$('#error_pop').modal('toggle');\n\t\t\t\t\t\t\t\t\t\tvar prcd_btn = $('#same_enquiry_id').attr('data-scheme') == 0 ? 'disabled' : '';\n\t\t\t\t\t\t\t\t\t\t$('#proceed_trn_enq').removeClass('disabled');\n\t\t\t\t\t\t\t\t\t\t$('#proceed_trn_enq').addClass(prcd_btn);\n\t\t\t\t\t\t\t\t\t\tmail_dup_error = 1;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}); \n\t\t\t\t\t\t}\n\n\t\t        })\n\t\t\t\t$('.btn-close').click(function(e) { \n\t\t\t\t\tlocation.reload();\n\t\t\t\t})\n\n\t\t        function trainingEnquiry() {\n\t\t\t\t\t\n\t\t\t\t\tvar form_data = $('#contct_form').serialize();\n\t\t\t\t\tvar url = base_url+'\/SEO\/addEnquiry';\n\t\t\t\t\tvar bco_assign = $('.bco_assign_training').val();\n\t\t\t\t\tvar enquirySame = $('#proceed_trn_enq').attr('data-enquiry-type');\n\t\t\t\t\tvar sameEnquiryId = $('#proceed_trn_enq').attr('data-enquiry-id');\n\t\t\t\t\tvar company = $('.Company').val(); \/\/IAS singapore\n\t\t\t\t\tvar post_data = \"&bco_assign=\"+bco_assign+\"&company=\"+company+\"&enquirySame=\"+enquirySame+\"&sameEnquiryId=\"+sameEnquiryId\n\t\t\t\t\t$.ajax({\n\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\turl:url,\n\t\t\t\t\t\tdata:form_data + post_data + \"&username=\"+chat_username+\"&password=\"+encodeURIComponent(chat_password),\n\t\t\t\t\t\tsuccess:function(data){\n\t\t\t\t\t\t\tif(data.status == 1){\n\t\t\t\t\t\t\t\t\/\/alert(data.message);\n\t\t\t\t\t\t\t\t\/\/location.reload();\n\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text(data.message);\n\t\t\t\t\t\t\t\t$('#myModalAlert').modal('show');\n\t\t\t\t\t\t\t\t$('.btn-submit').removeClass('disabled');\n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t}\n\t\t\t\t\t}); \n\t\t\t\t\t\n\t\t        }\n\n\t\t        function certificationEnquiry() {\n\t\t        \tvar form_data = $('#contct_form').serialize();\n\t\t        \tvar profile_name = $('#CompanyName').val();\n\t\t        \tvar contact_name = $('#CustomerName').val();\n\t\t        \tvar mobile_number = $('#MobileNumber').val();\n\t\t        \tvar profile_email = $('#EMail').val();\n\t\t        \tvar md_state      = $('#State').val();\n\t\t        \tvar md_city      = $('#City').val();\n\t\t        \tvar company = $('.Company').val(); \/\/IAS singapore\n\t\t        \tvar Type = 6;\n\t\t        \tvar remarks = 'Online enquiry';\n\t\t        \tvar bco_assign = $('.bco_assign_cert').val();\n\t\t\t\t\tvar enquirySame = $('#proceed_trn_enq').attr('data-enquiry-type');\n\t\t\t\t\tvar sameEnquiryId = $('#proceed_trn_enq').attr('data-enquiry-id');\n\t                var url = base_url+'\/SEO\/adddataAction_self';\n\n\t                var 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;\n\t                 $.ajax({\n\t                    type:'POST',\n\t                    url:url,\n\t                    data:form_data + post_data + \"&username=\"+chat_username+\"&password=\"+encodeURIComponent(chat_password),\n\t                    success:function(data){\n\t                     \/\/ alert(data);\n\t                        if(data.status == 1){\n\t                            \/\/alert(data.message);\n\t\t\t\t\t\t\t\t\/\/location.reload();\n\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text(data.message);\n\t\t\t\t\t  \t\t\t$('#myModalAlert').modal('show');\n\t\t\t\t\t  \t\t\t$('.btn-submit').removeClass('disabled');\n\t                        }  \n\t                    }\n\t                });   \n\t        \t}\n\n\t        \t function otherEnquiry() {\n\t\t        \t var form_data = $('#contct_form').serialize();\n\t\t                var url = base_url+'\/Api\/sent_mail_other_enquiry';\n\t\t               \n\t\t                var post_data = \"&website_url=\"+website_url\n\t\t                 $.ajax({\n\t\t                    type:'POST',\n\t\t                    url:url,\n\t\t                    data:form_data + post_data,\n\t\t                    success:function(data){\n\t\t                        if(data == 1){\n\t\t                            \/\/alert('Thank you for contact us');\n\t\t\t\t\t\t\t\t\t\/\/location.reload();\n\t\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text('Thank you for contact us');\n\t\t\t\t\t  \t\t\t\t$('#myModalAlert').modal('show');\n\t\t\t\t\t  \t\t\t\t$('.btn-submit').removeClass('disabled');\n\t\t                        }\n\t\t                    }\n\t\t                });   \n\t\t        }\n\n\t\t        \/\/purpose change\n\t\t        $('#purposOf').change(function() {\n\t\t        \tvar purpose = $(this).val();\n\n\t\t        \t\/\/ Reset ALL child fields (training + certification) when parent changes\n\t\t        \t$('#Type').val('');\n\t\t        \t$('#Category').val('');\n\t\t        \t$('.product-name-chk').prop('checked', false);\n\t\t        \t$('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\n\t\t        \t$('#cert_Type').val('');\n\t\t        \t$('.product-scheme-chk, .process-scheme-chk').prop('checked', false);\n\t\t        \t$('.product_section, .process_section').hide();\n\n\t\t        \t$('.scheme-dropdown-toggle').each(function(){\n\t\t        \t\tvar defaultText = $(this).data('default') || '-- Select --';\n\t\t        \t\t$(this).text(defaultText).removeClass('open');\n\t\t        \t});\n\t\t        \t$('.scheme-checkbox-list').removeClass('show');\n\n\t\t        \t$('.error_product_type, .error_product_category, .error_product_name, .error_cert_product_type, .error_process_scheme').text('');\n\n\t\t        \tif(purpose == 1){\n\t\t        \t\t$('.training-section').show();\n\t\t        \t\t$('.certification-section').hide();\n\t\t\t\t\t\t$('.certification_prod_section').hide();\n\t\t\t\t\t\tvar email_url = base_url_api+'\/api_training_email_check';\n\t\t        \t}else if(purpose == 2) {\n\t\t        \t\t$('.training-section').hide();\n\t\t        \t\t$('.certification-section').show();\n\t\t\t\t\t\t$('.certification_prod_section').show();\n\t\t\t\t\t\tvar email_url = base_url_api+'\/api_cert_email_check';\n\t\t        \t}else if(purpose == 3) {\n\t\t        \t\t$('.training-section').show();\n\t\t        \t\t$('.certification-section').show();\n\t\t\t\t\t\t$('.certification_prod_section').hide();\n\t\t        \t}else {\n\t\t        \t\t$('.training-section').hide();\n\t\t        \t\t$('.certification-section').hide();\n\t\t\t\t\t\t$('.certification_prod_section').hide();\n\t\t        \t}\n\t\t       })\n\t\t      \/\/ Helper: reset a scheme toggle label to its default text\n\t\t      function resetSchemeToggleLabel(targetId){\n\t\t          var toggle = $('.scheme-dropdown-toggle[data-target=\"'+targetId+'\"]');\n\t\t          var defaultText = toggle.data('default') || '-- Select --';\n\t\t          toggle.text(defaultText);\n\t\t          toggle.removeClass('open');\n\t\t          $('#'+targetId).removeClass('show').css('display','none');\n\t\t      }\n\n\t\t      \/\/ When Type changes \u2192 also reset ProductName toggle label\n\t\t      $(document).on('change','#Type', function(){\n\t\t          resetSchemeToggleLabel('ProductNameCheckboxes');\n\t\t      });\n\t\t      \/\/ When Category changes \u2192 also reset ProductName toggle label\n\t\t      $(document).on('change','#Category', function(){\n\t\t          resetSchemeToggleLabel('ProductNameCheckboxes');\n\t\t      });\n\n\t\t   $('#cert_Type').change(function() {\n\t\t        \tvar cert_Type = $(this).val();\n\n\t\t        \t\/\/ Uncheck all cert scheme checkboxes when cert_Type changes\n\t\t        \t$('.product-scheme-chk, .process-scheme-chk').prop('checked', false);\n\t\t        \tresetSchemeToggleLabel('productSchemeCheckboxes');\n\t\t        \tresetSchemeToggleLabel('processSchemeCheckboxes');\n\t\t        \t$('.error_process_scheme').text('');\n\t\t        \t$('.error_product_name').text('');\n\n\t\t        \tif(cert_Type == 1){\n\t\t        \t\t$('.process_section').show();\n\t\t\t\t\t\t$('.product_section').hide();\n\t\t        \t}else if(cert_Type == 2) {\n\t\t        \t\t$('.product_section').show();\n\t\t\t\t\t\t$('.process_section').hide();\n\t\t        \t}else if(cert_Type == 3) {\n\t\t        \t\t$('.product_section').show();\n\t\t        \t\t$('.process_section').show();\n\t\t\t\t\t\t$('.error_process_scheme').text('');\n\t\t\t\t\t\t$('.error_product_name').text('');\n\t\t        \t}\n\n\t\t       })\n\n\t\t\n\t\t       \/\/Enquiry type\n\t\t       $('.enquiry_type').change(function() {\n\t\t       \t\tvar enquiry_type = $(this).val();\n\n\t\t       \t\tconsole.log(enquiry_type);\n\n\t\t       \t\tif(enquiry_type == 1) {\n\t\t       \t\t\t$('.enquiry_form').show();\n\t\t       \t\t\t$('.other_enquiry_form').hide();\n\t\t       \t\t}else if(enquiry_type == 2) {\n\t\t       \t\t\t$('.other_enquiry_form').show();\n\t\t       \t\t\t$('.enquiry_form').hide();\n\t\t       \t\t}\n\t\t       \t})\n\n\t\t       \t\/\/Fetch bco training\n\n\t\t       \tfunction fetchBcoTraining() {\n\t\t       \t\tvar country_id \t\t= $('#country_id').val();\n\t\t            var state_id \t\t= $('#State').val();\n\t\t            var Category \t\t= $('#Category').val();\n\t\t            var Type \t\t\t= $('#Type').val();\n\t\t             var ProductName = [];\n\t\t             $('.product-name-chk:checked').each(function(){ ProductName.push($(this).val()); });\n\t\t       \t\tvar url = base_url+'\/Api\/get_bco_training';\n\n\t                var post_data = \"&country_id=\"+country_id+\"&state_id=\"+state_id+\"&Category=\"+Category+\"&Type=\"+Type+\"&ProductName=\"+ProductName.join(',');\n\t                 $.ajax({\n\t                    type:'POST',\n\t                    url:url,\n\t                    data:post_data ,\n\t                    success:function(bco_id){\n\t                    \t$('.bco_assign_training').val(bco_id);\n\t                        \n\t                    }\n\t                });   \n\n\t\t       \t}\n\n\t\t       \t\/\/Fetch bco training\n\n\t\t       \tfunction fetchBcoCert() {\n\t\t       \t\tvar country_id \t\t= $('#country_id').val();\n\t\t            var state_id \t\t= $('#State').val();\n\t\t       \t\tvar url = base_url+'\/Api\/get_bco_certification';\n\n\t                var post_data = \"&country_id=\"+country_id+\"&state_id=\"+state_id;\n\t                 $.ajax({\n\t                    type:'POST',\n\t                    url:url,\n\t                    data:post_data ,\n\t                    success:function(bco_id){\n\t                    \t$('.bco_assign_cert').val(bco_id);\n\t                        \n\t                    }\n\t                });   \n\n\t\t       \t}\n\n\t\t    })\n\n<\/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>Quick Answer A lot of the food that passes through Bahrain&#8217;s free zones is on its way somewhere else in the GCC, which means the certificate attached to it has to satisfy more than one market&#8217;s expectations \u2014 and that comes down to the Lead Auditor who signed off on it. This five-day, CQI-IRCA Certified&#8230; <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/iasiso-gulf.com\/BH\/fssc-22000-lead-auditor-training-in-bahrain\/\" 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-5558","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/iasiso-gulf.com\/BH\/wp-json\/wp\/v2\/pages\/5558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iasiso-gulf.com\/BH\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iasiso-gulf.com\/BH\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/BH\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/BH\/wp-json\/wp\/v2\/comments?post=5558"}],"version-history":[{"count":10,"href":"https:\/\/iasiso-gulf.com\/BH\/wp-json\/wp\/v2\/pages\/5558\/revisions"}],"predecessor-version":[{"id":6180,"href":"https:\/\/iasiso-gulf.com\/BH\/wp-json\/wp\/v2\/pages\/5558\/revisions\/6180"}],"wp:attachment":[{"href":"https:\/\/iasiso-gulf.com\/BH\/wp-json\/wp\/v2\/media?parent=5558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}