Mushaima commited on
Commit
d7f2a46
·
verified ·
1 Parent(s): 916dbd2

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +403 -356
index.html CHANGED
@@ -10,30 +10,25 @@
10
  body {
11
  font-family: 'Inter', sans-serif;
12
  }
13
- .tab-button.active {
14
- border-color: #3b82f6;
15
- color: #3b82f6;
16
- background-color: #eff6ff;
 
 
 
 
17
  }
18
  .tab-content {
19
  display: none;
20
  }
21
  .tab-content.active {
22
  display: block;
 
23
  }
24
- /* Custom scrollbar for tabs */
25
- .tabs-container::-webkit-scrollbar {
26
- height: 6px;
27
- }
28
- .tabs-container::-webkit-scrollbar-track {
29
- background: #f1f5f9;
30
- }
31
- .tabs-container::-webkit-scrollbar-thumb {
32
- background: #cbd5e1;
33
- border-radius: 3px;
34
- }
35
- .tabs-container::-webkit-scrollbar-thumb:hover {
36
- background: #94a3b8;
37
  }
38
  </style>
39
  </head>
@@ -45,395 +40,447 @@
45
  <p class="mt-2 text-lg text-slate-600">Your Guide to Expanding Consultancy Activities in Bahrain</p>
46
  </header>
47
 
48
- <!-- Tab Navigation -->
49
- <div class="mb-8 border-b border-slate-200">
50
- <div class="tabs-container -mb-px flex overflow-x-auto space-x-4 md:space-x-8 text-sm md:text-base">
51
- <button class="tab-button active whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="all-options">All Options</button>
52
- <button class="tab-button whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="standard-route">The Standard Route</button>
53
- <button class="tab-button whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="regulated-route">The Regulated Route</button>
54
- <button class="tab-button whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="insurance-consultancy">Insurance Consultancy</button>
55
- <button class="tab-button whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="management-consultancy">Management Consultancy</button>
56
- <button class="tab-button whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="public-relations">Public Relations</button>
57
- <button class="tab-button whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="it-consultancy">IT Consultancy</button>
58
- <button class="tab-button whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="engineering-consultancy">Engineering Consultancy</button>
59
- <button class="tab-button whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="tax-advisory">Tax Advisory</button>
60
- <button class="tab-button whitespace-nowrap py-4 px-1 border-b-2 font-medium border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300" data-tab="sharia-advisory">Shari'a Advisory</button>
61
- </div>
62
- </div>
63
-
64
- <!-- Tab Content -->
65
- <div id="tab-content-container">
66
- <!-- All Options Tab -->
67
- <div id="all-options" class="tab-content active">
68
- <h2 class="text-2xl font-semibold mb-6 text-slate-900">Consultancy & Advisory Options</h2>
69
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
70
- <!-- Standard Activities -->
71
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200 hover:shadow-md transition-shadow">
72
- <h3 class="text-xl font-bold text-sky-600 mb-2">Standard Route Activities</h3>
73
- <p class="text-slate-600 mb-4">Fast, low-cost options regulated solely by the Ministry of Industry & Commerce (MOIC).</p>
74
- <ul class="space-y-2 text-slate-700">
75
- <li class="cursor-pointer hover:text-blue-600" data-tab-link="management-consultancy">Management Consultancy</li>
76
- <li class="cursor-pointer hover:text-blue-600" data-tab-link="it-consultancy">Computer (IT) Consultancy</li>
77
- <li>Activities of Head Offices</li>
78
- <li>Clearance of Government Transactions</li>
79
- <li>Agriculture Consultancy</li>
80
- </ul>
81
  </div>
82
-
83
- <!-- Regulated Activities -->
84
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200 hover:shadow-md transition-shadow">
85
- <h3 class="text-xl font-bold text-red-600 mb-2">Regulated Route Activities</h3>
86
- <p class="text-slate-600 mb-4">Specialized fields requiring extensive approval from bodies like the Central Bank (CBB).</p>
87
- <ul class="space-y-2 text-slate-700">
88
- <li class="cursor-pointer hover:text-blue-600" data-tab-link="insurance-consultancy">Insurance Consultancy</li>
89
- <li class="cursor-pointer hover:text-blue-600" data-tab-link="sharia-advisory">Shari'a Advisory Services</li>
90
- <li class="cursor-pointer hover:text-blue-600" data-tab-link="tax-advisory">Tax Advisory Services</li>
91
- <li>Insurance Managers</li>
92
- </ul>
93
  </div>
94
-
95
- <!-- Activities with Other External Approvals -->
96
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200 hover:shadow-md transition-shadow">
97
- <h3 class="text-xl font-bold text-amber-600 mb-2">External Approval Activities</h3>
98
- <p class="text-slate-600 mb-4">Activities needing a license from specific ministries or councils in addition to MOIC registration.</p>
99
- <ul class="space-y-2 text-slate-700">
100
- <li class="cursor-pointer hover:text-blue-600" data-tab-link="public-relations">Public Relations (Ministry of Information)</li>
101
- <li class="cursor-pointer hover:text-blue-600" data-tab-link="engineering-consultancy">Architectural & Engineering (CRPEP)</li>
102
- <li>Environment Consultancy (SCE)</li>
103
- <li>Foreign Legal Consultancy (Min. of Justice)</li>
104
- <li>Security Consulting (Min. of Interior)</li>
105
- <li>Tourism Consultancy (BTEA)</li>
106
- </ul>
107
  </div>
 
108
  </div>
109
- </div>
110
 
111
- <!-- Standard Route Tab -->
112
- <div id="standard-route" class="tab-content">
113
- <h2 class="text-2xl font-semibold mb-2 text-slate-900">The Standard Route: Fast & Efficient</h2>
114
- <p class="mb-6 text-slate-600">For general consultancy activities regulated solely by the Ministry of Industry & Commerce (MOIC).</p>
115
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
116
- <div class="grid md:grid-cols-2 gap-8">
117
- <div>
118
- <h3 class="text-lg font-semibold mb-3 text-slate-800">Process Overview</h3>
119
- <ol class="list-decimal list-inside space-y-2 text-slate-700">
120
- <li>Login to Sijilat portal with Advanced eKey.</li>
121
- <li>Navigate to "Manage Activity" service.</li>
122
- <li>Search for and select the desired activity.</li>
123
- <li>Submit and pay MOIC fees online.</li>
124
- <li>Receive approval, typically within a few days.</li>
125
- </ol>
126
- </div>
127
- <div class="space-y-4">
128
- <div>
129
- <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
130
- <p class="text-blue-600 font-bold text-xl">1-3 Business Days</p>
131
- </div>
132
- <div>
133
- <h4 class="font-semibold text-slate-800">Estimated Cost (MOIC Fees)</h4>
134
- <p class="text-blue-600 font-bold text-xl">BHD 120</p>
135
- <p class="text-sm text-slate-500">(BHD 20 Amendment Fee + BHD 100 Activity Fee)</p>
136
- </div>
137
- <div>
138
- <h4 class="font-semibold text-slate-800">Key Requirement</h4>
139
- <p class="text-slate-700">An authorized representative must have an Advanced eKey for portal access.</p>
140
  </div>
141
  </div>
142
- </div>
143
- </div>
144
- </div>
145
 
146
- <!-- Regulated Route Tab -->
147
- <div id="regulated-route" class="tab-content">
148
- <h2 class="text-2xl font-semibold mb-2 text-slate-900">The Regulated Route: Diligence is Key</h2>
149
- <p class="mb-6 text-slate-600">For specialized financial advice (e.g., insurance, Shari'a) requiring a license from the Central Bank of Bahrain (CBB).</p>
150
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
151
- <div class="bg-red-50 border-l-4 border-red-500 text-red-700 p-4 rounded-md mb-6">
152
- <h4 class="font-bold">The "Procedural Illusion" Warning</h4>
153
- <p>The Sijilat portal will show a low fee (e.g., BHD 120), but this is ONLY for the initial MOIC filing. It does not reflect the substantial costs and time required for CBB licensing. Operating without a CBB license is a serious offense.</p>
154
- </div>
155
- <div class="grid md:grid-cols-2 gap-8">
156
- <div>
157
- <h3 class="text-lg font-semibold mb-3 text-slate-800">Process Overview</h3>
158
- <ol class="list-decimal list-inside space-y-2 text-slate-700">
159
- <li>Engage with legal/compliance advisors.</li>
160
- <li>Hold pre-application meetings with CBB.</li>
161
- <li>Prepare comprehensive application package (business plan, personnel forms).</li>
162
- <li>Submit application and pass CBB's "Fit and Proper" test for all key staff.</li>
163
- <li>Obtain mandatory Professional Indemnity insurance.</li>
164
- <li>Once CBB license is granted, finalize the activity addition on Sijilat.</li>
165
- </ol>
166
- </div>
167
- <div class="space-y-4">
168
- <div>
169
- <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
170
- <p class="text-red-600 font-bold text-xl">3 to 6 Months</p>
171
- </div>
172
- <div>
173
- <h4 class="font-semibold text-slate-800">Estimated Initial Cost</h4>
174
- <p class="text-red-600 font-bold text-xl">BHD 2,720 to 13,720+</p>
175
- <p class="text-sm text-slate-500">Includes CBB fees, insurance, and mandatory professional advisory services.</p>
176
  </div>
177
  </div>
178
- </div>
179
- </div>
180
- </div>
181
-
182
- <!-- Insurance Consultancy Tab -->
183
- <div id="insurance-consultancy" class="tab-content">
184
- <h2 class="text-2xl font-semibold mb-2 text-slate-900">Activity: Insurance Consultancy</h2>
185
- <p class="mb-6 text-slate-600">ISIC4 Code: 6629-2 | A highly regulated activity under the Central Bank of Bahrain (CBB).</p>
186
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
187
- <div class="grid md:grid-cols-3 gap-8">
188
- <div class="md:col-span-2">
189
- <h3 class="text-lg font-semibold mb-3 text-slate-800">Key Requirements</h3>
190
- <ul class="list-disc list-inside space-y-2 text-slate-700">
191
- <li>**CBB License:** A full license from the CBB is mandatory before operation.</li>
192
- <li>**Approved Persons:** All directors and key managers must pass the CBB's "Fit and Proper" test.</li>
193
- <li>**Comprehensive Business Plan:** Detailed plan with 3-year financials, risk management, and compliance frameworks.</li>
194
- <li>**Professional Indemnity (PI) Insurance:** Must obtain and maintain adequate PI coverage.</li>
195
- <li>**Specific Legal Structure:** Must be a Bahraini SPC, W.L.L., B.S.C., or a sole proprietorship.</li>
196
- <li>**Fraud Prevention:** Must have internal controls to deter and report insurance fraud.</li>
197
- </ul>
198
- </div>
199
- <div class="space-y-4 bg-slate-50 p-4 rounded-lg">
200
- <div>
201
- <h4 class="font-semibold text-slate-800">Timeline</h4>
202
- <p class="text-red-600 font-bold text-xl">3 - 6 Months</p>
203
- </div>
204
- <div>
205
- <h4 class="font-semibold text-slate-800">Cost Breakdown (Initial)</h4>
206
- <ul class="text-sm text-slate-600 space-y-1 mt-2">
207
- <li><strong>MOIC Fees:</strong> ~BHD 120</li>
208
- <li><strong>CBB Application Fee:</strong> BHD 100</li>
209
- <li><strong>CBB Annual License Fee:</strong> BHD 500 - 3,000</li>
210
- <li><strong>PI Insurance (Annual):</strong> BHD 500 - 2,500+</li>
211
- <li><strong>Legal/Compliance Advisory:</strong> BHD 2,000 - 10,000+</li>
212
- </ul>
213
- <p class="mt-2 font-bold text-red-600 text-lg">Total: ~BHD 2,720 - 13,720+</p>
214
- </div>
215
- </div>
216
- </div>
217
- </div>
218
- </div>
219
 
220
- <!-- Management Consultancy Tab -->
221
- <div id="management-consultancy" class="tab-content">
222
- <h2 class="text-2xl font-semibold mb-2 text-slate-900">Activity: Management Consultancy</h2>
223
- <p class="mb-6 text-slate-600">ISIC4 Code: 702 | A broad, unrestricted activity under the Standard Route.</p>
224
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
225
- <div class="grid md:grid-cols-2 gap-8">
226
- <div>
227
- <h3 class="text-lg font-semibold mb-3 text-slate-800">Activity Details</h3>
228
- <ul class="list-disc list-inside space-y-2 text-slate-700">
229
- <li>**Regulatory Body:** Ministry of Industry & Commerce (MOIC).</li>
230
- <li>**Scope:** Covers a wide range of general business and management advisory.</li>
231
- <li>**Restrictions:** Cannot be used to provide regulated financial, investment, or insurance advice.</li>
232
- <li>**Availability:** Open for Sijili (virtual CR) registration for Bahraini nationals.</li>
233
- </ul>
234
- </div>
235
- <div class="space-y-4">
236
- <div>
237
- <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
238
- <p class="text-blue-600 font-bold text-xl">1-3 Business Days</p>
239
- </div>
240
- <div>
241
- <h4 class="font-semibold text-slate-800">Estimated Cost (MOIC Fees)</h4>
242
- <p class="text-blue-600 font-bold text-xl">BHD 120</p>
243
  </div>
244
  </div>
245
  </div>
246
  </div>
247
- </div>
248
-
249
- <!-- Other Tabs (Template) -->
250
- <div id="public-relations" class="tab-content activity-tab-template">
251
- <h2 class="text-2xl font-semibold mb-2 text-slate-900">Activity: Public Relations</h2>
252
- <p class="mb-6 text-slate-600">ISIC4 Code: 70209 | Requires external approval.</p>
253
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
254
- <div class="grid md:grid-cols-2 gap-8">
255
- <div>
256
- <h3 class="text-lg font-semibold mb-3 text-slate-800">Activity Details</h3>
257
- <ul class="list-disc list-inside space-y-2 text-slate-700">
258
- <li><strong>Primary Regulatory Body:</strong> MOIC.</li>
259
- <li><strong>External Approval Body:</strong> Ministry of Information Affairs (MIA).</li>
260
- <li><strong>Note:</strong> The timeline will depend on the MIA's approval process after the initial Sijilat submission.</li>
261
- </ul>
262
- </div>
263
- <div class="space-y-4">
264
- <div>
265
- <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
266
- <p class="text-amber-600 font-bold text-xl">Variable (Depends on MIA)</p>
267
- </div>
268
- <div>
269
- <h4 class="font-semibold text-slate-800">Estimated MOIC Cost</h4>
270
- <p class="text-blue-600 font-bold text-xl">BHD 120</p>
271
- </div>
272
- </div>
273
- </div>
274
  </div>
275
- </div>
 
276
 
277
- <div id="it-consultancy" class="tab-content activity-tab-template">
278
- <h2 class="text-2xl font-semibold mb-2 text-slate-900">Activity: Computer Consultancy</h2>
279
- <p class="mb-6 text-slate-600">ISIC4 Code: 6202 | A generally unrestricted activity under the Standard Route.</p>
280
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
281
- <div class="grid md:grid-cols-2 gap-8">
282
- <div>
283
- <h3 class="text-lg font-semibold mb-3 text-slate-800">Activity Details</h3>
284
- <ul class="list-disc list-inside space-y-2 text-slate-700">
285
- <li><strong>Regulatory Body:</strong> MOIC.</li>
286
- <li><strong>Scope:</strong> Covers IT advisory, systems management, and related tech services.</li>
287
- <li><strong>Availability:</strong> Open for Sijili (virtual CR) registration.</li>
288
- </ul>
289
- </div>
290
- <div class="space-y-4">
291
- <div>
292
- <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
293
- <p class="text-blue-600 font-bold text-xl">1-3 Business Days</p>
294
- </div>
295
- <div>
296
- <h4 class="font-semibold text-slate-800">Estimated MOIC Cost</h4>
297
- <p class="text-blue-600 font-bold text-xl">BHD 120</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
  </div>
299
  </div>
300
- </div>
301
- </div>
302
- </div>
303
-
304
- <div id="engineering-consultancy" class="tab-content activity-tab-template">
305
- <h2 class="text-2xl font-semibold mb-2 text-slate-900">Activity: Architectural & Engineering Consultancy</h2>
306
- <p class="mb-6 text-slate-600">A highly regulated field requiring professional licensing.</p>
307
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
308
- <div class="grid md:grid-cols-2 gap-8">
309
- <div>
310
- <h3 class="text-lg font-semibold mb-3 text-slate-800">Activity Details</h3>
311
- <ul class="list-disc list-inside space-y-2 text-slate-700">
312
- <li><strong>Primary Regulatory Body:</strong> MOIC.</li>
313
- <li><strong>External Approval Body:</strong> Council for Regulating the Practice of Engineering Professions (CRPEP).</li>
314
- <li><strong>Note:</strong> The entity and all practicing engineers must be licensed by CRPEP. This involves a separate, detailed application process.</li>
315
- </ul>
316
- </div>
317
- <div class="space-y-4">
318
- <div>
319
- <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
320
- <p class="text-amber-600 font-bold text-xl">Variable (Depends on CRPEP)</p>
321
  </div>
322
- <div>
323
- <h4 class="font-semibold text-slate-800">Estimated MOIC Cost</h4>
324
- <p class="text-blue-600 font-bold text-xl">BHD 120</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325
  </div>
326
  </div>
327
- </div>
328
- </div>
329
- </div>
330
-
331
- <div id="tax-advisory" class="tab-content activity-tab-template">
332
- <h2 class="text-2xl font-semibold mb-2 text-slate-900">Activity: Tax Advisory Services</h2>
333
- <p class="mb-6 text-slate-600">A regulated activity focused on Bahrain's tax laws.</p>
334
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
335
- <div class="grid md:grid-cols-2 gap-8">
336
- <div>
337
- <h3 class="text-lg font-semibold mb-3 text-slate-800">Activity Details</h3>
338
- <ul class="list-disc list-inside space-y-2 text-slate-700">
339
- <li><strong>Primary Regulatory Body:</strong> MOIC.</li>
340
- <li><strong>External Approval Body:</strong> National Bureau for Revenue (NBR).</li>
341
- <li><strong>Note:</strong> Practitioners may require registration or approval from the NBR to provide advice on VAT and other taxes.</li>
342
- </ul>
343
- </div>
344
- <div class="space-y-4">
345
- <div>
346
- <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
347
- <p class="text-amber-600 font-bold text-xl">Variable (Depends on NBR)</p>
348
  </div>
349
- <div>
350
- <h4 class="font-semibold text-slate-800">Estimated MOIC Cost</h4>
351
- <p class="text-blue-600 font-bold text-xl">BHD 120</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
352
  </div>
353
  </div>
354
- </div>
355
- </div>
356
- </div>
357
-
358
- <div id="sharia-advisory" class="tab-content activity-tab-template">
359
- <h2 class="text-2xl font-semibold mb-2 text-slate-900">Activity: Shari'a Advisory/Review Services</h2>
360
- <p class="mb-6 text-slate-600">A highly regulated service under the CBB, essential for the Islamic finance sector.</p>
361
- <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
362
- <div class="grid md:grid-cols-2 gap-8">
363
- <div>
364
- <h3 class="text-lg font-semibold mb-3 text-slate-800">Activity Details</h3>
365
- <ul class="list-disc list-inside space-y-2 text-slate-700">
366
- <li><strong>Regulatory Body:</strong> Central Bank of Bahrain (CBB).</li>
367
- <li><strong>Route:</strong> Follows the full "Regulated Route" similar to Insurance Consultancy.</li>
368
- <li><strong>Requirements:</strong> Requires deep expertise in Islamic jurisprudence and passing the CBB's rigorous vetting process.</li>
369
- </ul>
370
- </div>
371
- <div class="space-y-4">
372
- <div>
373
- <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
374
- <p class="text-red-600 font-bold text-xl">3 - 6 Months</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
375
  </div>
376
- <div>
377
- <h4 class="font-semibold text-slate-800">Estimated Initial Cost</h4>
378
- <p class="text-red-600 font-bold text-xl">High (similar to Insurance Consultancy)</p>
 
 
 
 
 
 
379
  </div>
380
  </div>
381
  </div>
382
- </div>
383
- </div>
384
 
385
- </div>
386
- </div>
 
387
 
388
- <script>
389
- document.addEventListener('DOMContentLoaded', function () {
390
- const tabButtons = document.querySelectorAll('.tab-button');
391
- const tabContents = document.querySelectorAll('.tab-content');
392
- const tabLinks = document.querySelectorAll('[data-tab-link]');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
393
 
394
  function switchTab(tabId) {
395
- // Update button states
396
- tabButtons.forEach(button => {
397
- if (button.getAttribute('data-tab') === tabId) {
398
- button.classList.add('active');
 
399
  } else {
400
- button.classList.remove('active');
401
  }
402
  });
403
 
404
  // Update content visibility
405
  tabContents.forEach(content => {
406
  if (content.id === tabId) {
 
407
  content.classList.add('active');
408
  } else {
409
  content.classList.remove('active');
410
  }
411
  });
412
  }
413
-
414
- tabButtons.forEach(button => {
415
- button.addEventListener('click', () => {
416
- const tabId = button.getAttribute('data-tab');
417
- switchTab(tabId);
418
- });
419
- });
420
 
421
- tabLinks.forEach(link => {
422
- link.addEventListener('click', (e) => {
423
- e.preventDefault();
424
- const tabId = link.getAttribute('data-tab-link');
425
- switchTab(tabId);
426
-
427
- // Scroll to the top of the content area for better UX on mobile
428
- const contentContainer = document.getElementById('tab-content-container');
429
- contentContainer.scrollIntoView({ behavior: 'smooth', block: 'start' });
430
- });
431
- });
432
 
433
- // Set initial state
 
 
 
 
 
 
 
 
 
434
  switchTab('all-options');
435
  });
436
  </script>
437
-
438
  </body>
439
  </html>
 
 
10
  body {
11
  font-family: 'Inter', sans-serif;
12
  }
13
+ .nav-link.active {
14
+ background-color: #e0f2fe;
15
+ color: #0284c7;
16
+ font-weight: 600;
17
+ }
18
+ .nav-link.parent-category.active {
19
+ background-color: #dbeafe;
20
+ color: #1d4ed8;
21
  }
22
  .tab-content {
23
  display: none;
24
  }
25
  .tab-content.active {
26
  display: block;
27
+ animation: fadeIn 0.5s ease-in-out;
28
  }
29
+ @keyframes fadeIn {
30
+ from { opacity: 0; transform: translateY(10px); }
31
+ to { opacity: 1; transform: translateY(0); }
 
 
 
 
 
 
 
 
 
 
32
  }
33
  </style>
34
  </head>
 
40
  <p class="mt-2 text-lg text-slate-600">Your Guide to Expanding Consultancy Activities in Bahrain</p>
41
  </header>
42
 
43
+ <div class="md:flex md:space-x-8">
44
+ <!-- Vertical Tab Navigation -->
45
+ <nav class="md:w-1/4 lg:w-1/5 mb-8 md:mb-0 flex-shrink-0">
46
+ <div class="space-y-2 sticky top-8">
47
+ <a href="#" class="nav-link parent-category active flex items-center p-3 rounded-lg font-semibold text-slate-700 hover:bg-slate-100 transition-colors" data-tab="all-options">
48
+ All Options
49
+ </a>
50
+
51
+ <div>
52
+ <a href="#" class="nav-link parent-category flex items-center p-3 rounded-lg font-semibold text-slate-700 hover:bg-slate-100 transition-colors mt-4" data-tab="standard-route">The Standard Route</a>
53
+ <div class="pl-4 mt-1 space-y-1 border-l-2 border-slate-200 ml-3">
54
+ <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="management-consultancy">Management Consultancy</a>
55
+ <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="it-consultancy">IT Consultancy</a>
56
+ <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="head-offices">Activities of Head Offices</a>
57
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  </div>
59
+ <div>
60
+ <a href="#" class="nav-link parent-category flex items-center p-3 rounded-lg font-semibold text-slate-700 hover:bg-slate-100" data-tab="regulated-route">The Regulated Route</a>
61
+ <div class="pl-4 mt-1 space-y-1 border-l-2 border-slate-200 ml-3">
62
+ <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="insurance-consultancy">Insurance Consultancy</a>
63
+ <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="sharia-advisory">Shari'a Advisory</a>
64
+ <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="tax-advisory">Tax Advisory</a>
65
+ </div>
 
 
 
 
66
  </div>
67
+ <div>
68
+ <a href="#" class="nav-link parent-category flex items-center p-3 rounded-lg font-semibold text-slate-700 hover:bg-slate-100" data-tab="external-approval-route">External Approval Route</a>
69
+ <div class="pl-4 mt-1 space-y-1 border-l-2 border-slate-200 ml-3">
70
+ <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="public-relations">Public Relations</a>
71
+ <a href="#" class="nav-link block p-2 rounded-md text-slate-600 hover:bg-slate-100" data-tab="engineering-consultancy">Engineering Consultancy</a>
72
+ </div>
 
 
 
 
 
 
 
73
  </div>
74
+
75
  </div>
76
+ </nav>
77
 
78
+ <!-- Tab Content -->
79
+ <main id="tab-content-container" class="md:w-3/4 lg:w-4/5">
80
+ <!-- All Options Tab -->
81
+ <div id="all-options" class="tab-content active">
82
+ <h2 class="text-2xl font-semibold mb-6 text-slate-900">Consultancy & Advisory Options</h2>
83
+ <div class="space-y-8">
84
+ <!-- Standard Activities -->
85
+ <div class="bg-white p-6 rounded-xl shadow-sm border border-slate-200">
86
+ <a href="#" class="block text-xl font-bold text-sky-600 mb-2 hover:underline" data-tab-link="standard-route">Standard Route Activities</a>
87
+ <p class="text-slate-600 mb-4">Fast, low-cost options regulated solely by the Ministry of Industry & Commerce (MOIC).</p>
88
+ <div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-2">
89
+ <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="management-consultancy">Management Consultancy</a>
90
+ <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="it-consultancy">Computer (IT) Consultancy</a>
91
+ <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="head-offices">Activities of Head Offices</a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  </div>
93
  </div>
 
 
 
94
 
95
+ <!-- Regulated Activities -->
96
+ <div class="bg-white p-6 rounded-xl shadow-sm border border-slate-200">
97
+ <a href="#" class="block text-xl font-bold text-red-600 mb-2 hover:underline" data-tab-link="regulated-route">Regulated Route Activities</a>
98
+ <p class="text-slate-600 mb-4">Specialized fields requiring extensive approval from bodies like the Central Bank (CBB).</p>
99
+ <div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-2">
100
+ <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="insurance-consultancy">Insurance Consultancy</a>
101
+ <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="sharia-advisory">Shari'a Advisory Services</a>
102
+ <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="tax-advisory">Tax Advisory Services</a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  </div>
104
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
 
106
+ <!-- Activities with Other External Approvals -->
107
+ <div class="bg-white p-6 rounded-xl shadow-sm border border-slate-200">
108
+ <a href="#" class="block text-xl font-bold text-amber-600 mb-2 hover:underline" data-tab-link="external-approval-route">External Approval Activities</a>
109
+ <p class="text-slate-600 mb-4">Activities needing a license from specific ministries or councils in addition to MOIC registration.</p>
110
+ <div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-2">
111
+ <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="public-relations">Public Relations</a>
112
+ <a href="#" class="block w-full text-left p-3 rounded-lg bg-slate-50 border border-slate-200 hover:bg-blue-100 hover:border-blue-300 transition-all duration-200" data-tab-link="engineering-consultancy">Architectural & Engineering</a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  </div>
114
  </div>
115
  </div>
116
  </div>
117
+
118
+ <!-- Template for a generic tab with back button -->
119
+ <div class="hidden" id="tab-template">
120
+ <button class="back-to-main-btn mb-6 inline-flex items-center text-sm font-medium text-blue-600 hover:text-blue-800 transition-colors" data-tab-link="all-options">
121
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>
122
+ Back to All Options
123
+ </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  </div>
125
+
126
+ <!-- CONTENT TABS START HERE -->
127
 
128
+ <!-- Standard Route Parent Tab -->
129
+ <div id="standard-route" class="tab-content"></div>
130
+
131
+ <!-- Regulated Route Parent Tab -->
132
+ <div id="regulated-route" class="tab-content"></div>
133
+
134
+ <!-- External Approval Route Parent Tab -->
135
+ <div id="external-approval-route" class="tab-content"></div>
136
+
137
+ <!-- Activity Tabs -->
138
+ <div id="management-consultancy" class="tab-content"></div>
139
+ <div id="it-consultancy" class="tab-content"></div>
140
+ <div id="head-offices" class="tab-content"></div>
141
+ <div id="insurance-consultancy" class="tab-content"></div>
142
+ <div id="sharia-advisory" class="tab-content"></div>
143
+ <div id="tax-advisory" class="tab-content"></div>
144
+ <div id="public-relations" class="tab-content"></div>
145
+ <div id="engineering-consultancy" class="tab-content"></div>
146
+
147
+
148
+ </main>
149
+ </div>
150
+ </div>
151
+
152
+ <script>
153
+ document.addEventListener('DOMContentLoaded', function () {
154
+ const navLinks = document.querySelectorAll('.nav-link, [data-tab-link]');
155
+ const tabContents = document.querySelectorAll('.tab-content');
156
+ const contentContainer = document.getElementById('tab-content-container');
157
+ const tabTemplate = document.getElementById('tab-template').innerHTML;
158
+
159
+ const activitiesData = {
160
+ // Parent Categories
161
+ 'standard-route': {
162
+ title: 'The Standard Route: Fast & Efficient',
163
+ subtitle: 'For general consultancy activities regulated solely by the Ministry of Industry & Commerce (MOIC).',
164
+ content: `
165
+ <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
166
+ <div class="grid md:grid-cols-2 gap-8">
167
+ <div>
168
+ <h3 class="text-lg font-semibold mb-3 text-slate-800">Process Overview</h3>
169
+ <ol class="list-decimal list-inside space-y-2 text-slate-700">
170
+ <li>Login to Sijilat portal with Advanced eKey.</li>
171
+ <li>Navigate to "Manage Activity" service.</li>
172
+ <li>Search for and select the desired activity.</li>
173
+ <li>Submit and pay MOIC fees online.</li>
174
+ <li>Receive approval, typically within a few days.</li>
175
+ </ol>
176
+ </div>
177
+ <div class="space-y-4">
178
+ <div>
179
+ <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
180
+ <p class="text-blue-600 font-bold text-xl">1-3 Business Days</p>
181
+ </div>
182
+ <div>
183
+ <h4 class="font-semibold text-slate-800">Estimated Cost (MOIC Fees)</h4>
184
+ <p class="text-blue-600 font-bold text-xl">BHD 120</p>
185
+ <p class="text-sm text-slate-500">(BHD 20 Amendment Fee + BHD 100 Activity Fee)</p>
186
+ </div>
187
+ <div>
188
+ <h4 class="font-semibold text-slate-800">Key Requirement</h4>
189
+ <p class="text-slate-700">An authorized representative must have an Advanced eKey for portal access.</p>
190
+ </div>
191
+ </div>
192
  </div>
193
  </div>
194
+ `
195
+ },
196
+ 'regulated-route': {
197
+ title: 'The Regulated Route: Diligence is Key',
198
+ subtitle: 'For specialized financial advice (e.g., insurance, Shari\'a) requiring a license from the Central Bank of Bahrain (CBB).',
199
+ content: `
200
+ <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
201
+ <div class="bg-red-50 border-l-4 border-red-500 text-red-700 p-4 rounded-md mb-6">
202
+ <h4 class="font-bold">The "Procedural Illusion" Warning</h4>
203
+ <p>The Sijilat portal will show a low fee (e.g., BHD 120), but this is ONLY for the initial MOIC filing. It does not reflect the substantial costs and time required for CBB licensing. Operating without a CBB license is a serious offense.</p>
 
 
 
 
 
 
 
 
 
 
 
204
  </div>
205
+ <div class="grid md:grid-cols-2 gap-8">
206
+ <div>
207
+ <h3 class="text-lg font-semibold mb-3 text-slate-800">Process Overview</h3>
208
+ <ol class="list-decimal list-inside space-y-2 text-slate-700">
209
+ <li>Engage with legal/compliance advisors.</li>
210
+ <li>Hold pre-application meetings with CBB.</li>
211
+ <li>Prepare comprehensive application package (business plan, personnel forms).</li>
212
+ <li>Submit application and pass CBB's "Fit and Proper" test for all key staff.</li>
213
+ <li>Obtain mandatory Professional Indemnity insurance.</li>
214
+ <li>Once CBB license is granted, finalize the activity addition on Sijilat.</li>
215
+ </ol>
216
+ </div>
217
+ <div class="space-y-4">
218
+ <div>
219
+ <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
220
+ <p class="text-red-600 font-bold text-xl">3 to 6 Months</p>
221
+ </div>
222
+ <div>
223
+ <h4 class="font-semibold text-slate-800">Estimated Initial Cost</h4>
224
+ <p class="text-red-600 font-bold text-xl">BHD 2,720 to 13,720+</p>
225
+ <p class="text-sm text-slate-500">Includes CBB fees, insurance, and mandatory professional advisory services.</p>
226
+ </div>
227
+ </div>
228
  </div>
229
  </div>
230
+ `
231
+ },
232
+ 'external-approval-route': {
233
+ title: 'The External Approval Route: Inter-Agency Coordination',
234
+ subtitle: 'For activities needing a license from specific ministries or councils in addition to MOIC registration.',
235
+ content: `
236
+ <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
237
+ <div class="bg-amber-50 border-l-4 border-amber-500 text-amber-800 p-4 rounded-md mb-6">
238
+ <h4 class="font-bold">Two-Step Process</h4>
239
+ <p>You first apply on Sijilat, which then forwards your application to the relevant external body (e.g., Ministry of Information, CRPEP). The final approval depends on their specific timeline and requirements.</p>
 
 
 
 
 
 
 
 
 
 
 
240
  </div>
241
+ <div class="grid md:grid-cols-2 gap-8">
242
+ <div>
243
+ <h3 class="text-lg font-semibold mb-3 text-slate-800">Process Overview</h3>
244
+ <ol class="list-decimal list-inside space-y-2 text-slate-700">
245
+ <li>Submit application on Sijilat.</li>
246
+ <li>Sijilat system automatically refers the application to the required external authority.</li>
247
+ <li>The external authority reviews the application based on its own criteria.</li>
248
+ <li>You may need to submit additional documents directly to that authority.</li>
249
+ <li>Once they approve, the approval is reflected back in Sijilat to complete the process.</li>
250
+ </ol>
251
+ </div>
252
+ <div class="space-y-4">
253
+ <div>
254
+ <h4 class="font-semibold text-slate-800">Estimated Timeline</h4>
255
+ <p class="text-amber-600 font-bold text-xl">Variable (Weeks to Months)</p>
256
+ <p class="text-sm text-slate-500">Depends entirely on the external authority's processing time.</p>
257
+ </div>
258
+ <div>
259
+ <h4 class="font-semibold text-slate-800">Estimated MOIC Cost</h4>
260
+ <p class="text-blue-600 font-bold text-xl">BHD 120</p>
261
+ <p class="text-sm text-slate-500">External bodies may have their own separate application or licensing fees.</p>
262
+ </div>
263
+ </div>
264
  </div>
265
  </div>
266
+ `
267
+ },
268
+ // Child Activities
269
+ 'management-consultancy': {
270
+ title: 'Activity: Management Consultancy',
271
+ subtitle: 'ISIC4 Code: 7020 | A broad, unrestricted activity under the Standard Route.',
272
+ description: 'Provides advisory services to businesses and other organizations on a wide range of management issues, such as strategic planning, financial management, marketing, human resources, and operational efficiency.',
273
+ limitations: [
274
+ 'Cannot provide regulated financial advice that requires a CBB license (e.g., investment advice).',
275
+ 'Cannot provide insurance brokerage or consultancy services.',
276
+ 'Cannot offer legal or tax advisory services unless separately licensed.'
277
+ ],
278
+ timeline: '1-3 Business Days',
279
+ cost: 'BHD 120',
280
+ timelineColor: 'text-blue-600',
281
+ costColor: 'text-blue-600'
282
+ },
283
+ 'it-consultancy': {
284
+ title: 'Activity: Computer (IT) Consultancy',
285
+ subtitle: 'ISIC4 Code: 6202 | A generally unrestricted activity under the Standard Route.',
286
+ description: 'Involves providing expert advice on information technology, including hardware, software, network infrastructure, and cybersecurity. This can range from planning and designing computer systems to providing technical support.',
287
+ limitations: [
288
+ 'Does not typically cover the selling of hardware/software unless a trading activity is also added.',
289
+ 'Cannot engage in telecommunications services that require a TRA license.',
290
+ 'Does not cover developing custom software for sale (this falls under a different activity).'
291
+ ],
292
+ timeline: '1-3 Business Days',
293
+ cost: 'BHD 120',
294
+ timelineColor: 'text-blue-600',
295
+ costColor: 'text-blue-600'
296
+ },
297
+ 'head-offices': {
298
+ title: 'Activity: Activities of Head Offices',
299
+ subtitle: 'ISIC4 Code: 7010 | A strategic activity under the Standard Route.',
300
+ description: 'This activity allows a company to act as a head office, providing strategic, administrative, and management support to its own branches and subsidiary companies. It includes functions like strategic planning, financial oversight, and HR policy setting for the group.',
301
+ limitations: [
302
+ 'Cannot conduct direct operational business or commercial transactions with external third-party clients.',
303
+ 'The services are intended for entities within the same corporate group.',
304
+ 'Does not replace the need for the branches/subsidiaries to have their own operational licenses.'
305
+ ],
306
+ timeline: '1-3 Business Days',
307
+ cost: 'BHD 120',
308
+ timelineColor: 'text-blue-600',
309
+ costColor: 'text-blue-600'
310
+ },
311
+ 'insurance-consultancy': {
312
+ title: 'Activity: Insurance Consultancy',
313
+ subtitle: 'ISIC4 Code: 6629-2 | A highly regulated activity under the Central Bank of Bahrain (CBB).',
314
+ description: 'Providing objective advice on insurance matters. This includes assessing clients\' insurance needs, explaining policy terms, and recommending suitable insurance products from various providers without acting as a direct sales agent for any single insurer.',
315
+ limitations: [
316
+ 'Cannot sell or bind insurance policies; this requires an Insurance Broker license.',
317
+ 'Cannot handle client money or premiums.',
318
+ 'Must not have exclusive ties to any insurance company to ensure impartiality.'
319
+ ],
320
+ timeline: '3 - 6 Months',
321
+ cost: 'BHD 2,720 - 13,720+',
322
+ timelineColor: 'text-red-600',
323
+ costColor: 'text-red-600'
324
+ },
325
+ 'sharia-advisory': {
326
+ title: 'Activity: Shari\'a Advisory/Review Services',
327
+ subtitle: 'A highly regulated service under the CBB, essential for the Islamic finance sector.',
328
+ description: 'Provides services to Islamic financial institutions to ensure their products, contracts, and operations are compliant with Islamic principles (Shari\'a). This includes issuing fatwas, reviewing documentation, and conducting Shari\'a audits.',
329
+ limitations: [
330
+ 'Requires highly qualified and CBB-approved Shari\'a scholars.',
331
+ 'Cannot provide general management or financial advice outside the scope of Shari\'a compliance.',
332
+ 'Cannot operate without a valid CBB license.'
333
+ ],
334
+ timeline: '3 - 6 Months',
335
+ cost: 'High (similar to Insurance)',
336
+ timelineColor: 'text-red-600',
337
+ costColor: 'text-red-600'
338
+ },
339
+ 'tax-advisory': {
340
+ title: 'Activity: Tax Advisory Services',
341
+ subtitle: 'A regulated activity requiring approval from the National Bureau for Revenue (NBR).',
342
+ description: 'Providing professional advice to individuals and companies on tax-related matters, including VAT registration, filing, compliance, and strategic tax planning in accordance with Bahrain\'s tax laws.',
343
+ limitations: [
344
+ 'Cannot represent clients in legal disputes without a law license.',
345
+ 'May require specific registration as a Tax Agent with the NBR to perform certain functions.',
346
+ 'Does not include financial auditing services, which is a separate activity.'
347
+ ],
348
+ timeline: 'Variable (Depends on NBR)',
349
+ cost: 'BHD 120 (MOIC) + NBR Fees',
350
+ timelineColor: 'text-amber-600',
351
+ costColor: 'text-blue-600'
352
+ },
353
+ 'public-relations': {
354
+ title: 'Activity: Public Relations',
355
+ subtitle: 'ISIC4 Code: 70209 | Requires external approval from the Ministry of Information Affairs (MIA).',
356
+ description: 'Managing the public image and communications for clients. This includes writing press releases, managing media relations, organizing events, and developing communication strategies to build a positive reputation.',
357
+ limitations: [
358
+ 'Cannot engage in advertising activities, which falls under a different license.',
359
+ 'Cannot publish newspapers or magazines without a specific publishing license.',
360
+ 'All content must comply with the regulations set by the Ministry of Information Affairs.'
361
+ ],
362
+ timeline: 'Variable (Depends on MIA)',
363
+ cost: 'BHD 120 (MOIC)',
364
+ timelineColor: 'text-amber-600',
365
+ costColor: 'text-blue-600'
366
+ },
367
+ 'engineering-consultancy': {
368
+ title: 'Activity: Architectural & Engineering Consultancy',
369
+ subtitle: 'A highly regulated field requiring a license from the Council for Regulating the Practice of Engineering Professions (CRPEP).',
370
+ description: 'Providing professional services in the field of engineering and architecture, including design, supervision, and project management for construction projects. Requires licensed engineers to be part of the company.',
371
+ limitations: [
372
+ 'Cannot undertake construction work; this requires a contractor\'s license.',
373
+ 'All engineers providing services must be individually licensed by CRPEP.',
374
+ 'Limited to the specific engineering disciplines for which the company holds a CRPEP license.'
375
+ ],
376
+ timeline: 'Variable (Depends on CRPEP)',
377
+ cost: 'BHD 120 (MOIC) + CRPEP Fees',
378
+ timelineColor: 'text-amber-600',
379
+ costColor: 'text-blue-600'
380
+ },
381
+ };
382
+
383
+ function generateActivityContent(data) {
384
+ let limitationsList = data.limitations ? `
385
+ <h4 class="font-semibold text-slate-800 mb-2">Key Limitations</h4>
386
+ <ul class="list-disc list-inside space-y-1 text-slate-600">
387
+ ${data.limitations.map(item => `<li>${item}</li>`).join('')}
388
+ </ul>` : '';
389
+
390
+ return `
391
+ <div class="bg-white p-6 rounded-lg shadow-sm border border-slate-200">
392
+ <div class="grid md:grid-cols-3 gap-8">
393
+ <div class="md:col-span-2">
394
+ <h3 class="text-lg font-semibold mb-3 text-slate-800">Activity Description</h3>
395
+ <p class="text-slate-600 mb-6">${data.description}</p>
396
+ ${limitationsList}
397
  </div>
398
+ <div class="space-y-4 bg-slate-50 p-4 rounded-lg self-start">
399
+ <div>
400
+ <h4 class="font-semibold text-slate-800">Timeline</h4>
401
+ <p class="${data.timelineColor} font-bold text-xl">${data.timeline}</p>
402
+ </div>
403
+ <div>
404
+ <h4 class="font-semibold text-slate-800">Cost</h4>
405
+ <p class="${data.costColor} font-bold text-xl">${data.cost}</p>
406
+ </div>
407
  </div>
408
  </div>
409
  </div>
410
+ `;
411
+ }
412
 
413
+ function renderTabContent(tabId) {
414
+ const targetDiv = document.getElementById(tabId);
415
+ if (!targetDiv) return;
416
 
417
+ const data = activitiesData[tabId];
418
+ if (!data) {
419
+ targetDiv.innerHTML = '<p>Content not available.</p>';
420
+ return;
421
+ }
422
+
423
+ let contentHtml;
424
+ if(data.limitations) { // It's a child activity
425
+ contentHtml = generateActivityContent(data);
426
+ } else { // It's a parent category
427
+ contentHtml = data.content;
428
+ }
429
+
430
+ targetDiv.innerHTML = `
431
+ ${(tabId !== 'all-options' ? tabTemplate : '')}
432
+ <h2 class="text-2xl font-semibold mb-2 text-slate-900">${data.title}</h2>
433
+ <p class="mb-6 text-slate-600">${data.subtitle || ''}</p>
434
+ ${contentHtml}
435
+ `;
436
+ // Re-attach event listeners for the newly created "back" buttons
437
+ targetDiv.querySelectorAll('[data-tab-link]').forEach(link => {
438
+ link.addEventListener('click', handleLinkClick);
439
+ });
440
+ }
441
 
442
  function switchTab(tabId) {
443
+ // Update nav link states
444
+ navLinks.forEach(link => {
445
+ const linkTab = link.dataset.tab || link.dataset.tabLink;
446
+ if (linkTab === tabId) {
447
+ link.classList.add('active');
448
  } else {
449
+ link.classList.remove('active');
450
  }
451
  });
452
 
453
  // Update content visibility
454
  tabContents.forEach(content => {
455
  if (content.id === tabId) {
456
+ renderTabContent(tabId);
457
  content.classList.add('active');
458
  } else {
459
  content.classList.remove('active');
460
  }
461
  });
462
  }
 
 
 
 
 
 
 
463
 
464
+ function handleLinkClick(e) {
465
+ e.preventDefault();
466
+ const tabId = this.dataset.tab || this.dataset.tabLink;
467
+ switchTab(tabId);
468
+ window.scrollTo({ top: 0, behavior: 'smooth' });
469
+ }
 
 
 
 
 
470
 
471
+ // Initial setup
472
+ for (const key in activitiesData) {
473
+ renderTabContent(key);
474
+ }
475
+
476
+ navLinks.forEach(link => {
477
+ link.addEventListener('click', handleLinkClick);
478
+ });
479
+
480
+ // Set initial active state
481
  switchTab('all-options');
482
  });
483
  </script>
 
484
  </body>
485
  </html>
486
+