-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
868 lines (776 loc) · 26.9 KB
/
index.html
File metadata and controls
868 lines (776 loc) · 26.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Impact Data and Evidence Aggregation Library (IDEAL)</title>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Crimson+Text:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/ideal-style.css">
<style>
body {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
line-height: 1.6;
background-color: #f9f9f9;
display: flex;
flex-direction: column;
min-height: 100vh;
}
div.content h2 {
color: #1f3667;
}
strong {
color: #1f3667;
}
/* Header Styles */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 1rem 0;
background: rgba(255, 255, 255, 0);
backdrop-filter: blur(10px);
transition: all 0.3s ease;
z-index: 1000;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header.scrolled {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.header-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between; /* NEW: pushes left and right apart */
gap: 2rem;
}
.logo-wrapper {
display: flex;
align-items: center;
gap: 1rem;
}
.logo {
display: flex;
align-items: center;
text-decoration: none;
color: white;
font-size: 1.5rem;
font-weight: bold;
transition: color 0.3s ease;
}
.header.scrolled .logo {
color: #1f3667;
}
.logo-icon {
width: 80px;
height: 80px;
margin-right: 0.5rem;
position: relative;
}
/* Logo image switching */
.logo-icon img {
width: 100%;
height: 100%;
object-fit: contain;
position: absolute;
top: 0;
left: 0;
transition: opacity 0.3s ease;
}
.logo-icon .logo-white {
opacity: 1;
}
.logo-icon .logo-dark {
opacity: 0;
}
.header.scrolled .logo-icon .logo-white {
opacity: 0;
}
.header.scrolled .logo-icon .logo-dark {
opacity: 1;
}
.logo-tagline {
color: rgba(255, 255, 255, 0.9);
font-size: 0.9rem;
font-weight: 400;
transition: color 0.3s ease;
}
.header.scrolled .logo-tagline {
color: #1f3667;
}
.header-buttons {
display: flex;
align-items: center;
gap: 1rem;
margin-left: auto;
}
/* Search Form Styles */
.search-wrapper {
position: relative;
}
.search-form {
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
overflow: hidden;
transition: all 0.3s ease;
max-width: 300px;
}
.header.scrolled .search-form {
background: rgba(0, 0, 0, 0.05);
border-color: rgba(0, 0, 0, 0.1);
}
.search-input {
background: none;
border: none;
padding: 0.75rem 1rem;
color: white;
font-size: 0.9rem;
width: 200px;
transition: color 0.3s ease;
}
.search-input::placeholder {
color: rgba(255, 255, 255, 0.6);
transition: color 0.3s ease;
}
.header.scrolled .search-input {
color: #1f3667;
}
.header.scrolled .search-input::placeholder {
color: rgba(0, 0, 0, 0.4);
}
.search-input:focus {
outline: none;
}
.search-button {
background: none;
border: none;
padding: 0.75rem;
color: white;
cursor: pointer;
transition: all 0.3s ease;
}
.header.scrolled .search-button {
color: #1f3667;
}
.search-button:hover {
background: rgba(255, 255, 255, 0.1);
}
.search-icon {
width: 18px;
height: 18px;
fill: currentColor;
}
/* Button Styles */
.mobile-menu-button {
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
transition: color 0.3s ease;
padding: 0.5rem;
}
.header.scrolled .mobile-menu-button {
color: #1f3667;
}
/* Dropdown Menu Styles */
.dropdown-menu {
position: absolute;
top: 100%;
right: 0;
background: white;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
min-width: 200px;
display: none;
z-index: 1001;
margin-top: 0.5rem;
}
.dropdown-menu.show {
display: block;
}
.dropdown-menu a {
display: block;
padding: 0.75rem 1rem;
color: #1f3667;
text-decoration: none;
transition: background-color 0.2s ease;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dropdown-menu a:last-child {
border-bottom: none;
}
.dropdown-menu a:hover {
background-color: #f8f9fa;
}
.dropdown-container {
position: relative;
}
/* Hero Section */
.hero {
height: 100vh;
background: url('assets/images/logos/Copilot-books.jpg') center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
position: relative;
}
/* Dark overlay for better text readability */
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 1;
}
.hero-content {
position: relative;
z-index: 2;
max-width: 1100px;
padding: 0 2rem;
}
.hero-content h1 {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 0.25rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
line-height: 1.2;
color: #ffffff;
font-family: inherit;
}
.hero-intro-spacer { margin-top: 1rem; }
/* Set specific fonts for hero title, subtitle, and intro paragraphs */
.hero-content h1,
.hero-content p { font-family: 'Crimson Text', serif; }
/* Different fonts for the two intro paragraphs */
.hero-intro-1 { font-family: 'Inter', sans-serif; }
.hero-intro-2 { font-family: 'Crimson Text', serif; }
/* Ensure subtitle uses same white color and has matching shimmer effect */
.hero-content p:first-of-type {
color: #ffffff;
position: relative;
}
.hero-content p:first-of-type::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, transparent, rgba(43, 108, 176, 0.1), transparent);
animation: shimmer 3s ease-in-out infinite;
}
.hero-content p:first-of-type::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: radial-gradient(circle, rgba(43, 108, 176, 0.2) 0%, transparent 70%);
border-radius: 50%;
transform: translate(-50%, -50%);
animation: gentlePulse 4s ease-in-out infinite;
}
/* Add spacing after subtitle before first intro paragraph */
.hero-subtitle { margin-bottom: 1.5rem; }
/* Force subtitle to solid white and disable shimmer overlays */
.hero-subtitle, .hero-subtitle strong { color: #ffffff !important; }
.hero-content p:first-of-type::before,
.hero-content p:first-of-type::after { display: none !important; }
.hero-content p {
font-size: 1.2rem;
opacity: 0.95;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
/* Main Layout */
.main {
display: flex;
flex: 1;
}
.sidebar {
width: 320px;
background-color: #ffffff;
padding: 20px;
border-radius: 0 10px 10px 0;
box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}
.sidebar {
position: sticky;
top: 80px; /* Adjust based on header height */
}
.sidebar-links {
list-style: none;
padding-left: 0;
margin: 0;
}
.sidebar-links li {
margin: 17px 0;
}
.sidebar a {
color: #1f3366;
text-decoration: none;
font-weight: normal;
}
.sidebar a:hover {
color: #7ec5bb;
}
.sidebar-links li a {
display: flex;
align-items: center;
gap: 0.6em;
font-size: 1.07em;
transition: color 0.2s, background 0.2s;
padding: 0.4em 0.7em;
border-radius: 6px;
}
.sidebar-links li a:hover {
background: #f0f7f6;
color: #63bfb2;
}
.content {
flex: 1;
/* Align content column with sidebar top */
padding: 0 40px 40px;
}
/* Add spacing between paragraphs inside main content */
.content p { margin-bottom: 1rem; }
/* Removed old static footer logo grid styles */
.card {
background: #fff;
border-radius: 14px;
box-shadow: 0 2px 16px rgba(31,54,103,0.07);
padding: 2rem;
margin-bottom: 2rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.header-inner {
flex-wrap: wrap;
gap: 1rem;
}
.logo-tagline {
display: none;
}
.search-form {
max-width: 200px;
}
.search-input {
width: 120px;
}
.hero-content h1 {
font-size: 2rem;
}
.header-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
.dropdown-menu {
right: -1rem;
left: auto;
min-width: 180px;
}
.main {
flex-direction: column;
}
.sidebar {
width: 100%;
border-radius: 0;
box-shadow: none;
border-bottom: 1px solid #ddd;
}
.content {
padding: 20px;
}
/* Removed responsive rules for old footer grid */
}
@media (max-width: 480px) {
/* Removed responsive rules for old footer grid */
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Rolling consortium logos styles are now sourced from assets/css/ideal-style.css */
/* Project flowchart */
.project-flowchart {
margin: 2rem 0;
}
#project-flowchart h2 {
text-align: center;
font-size: 1.25rem;
margin: 0 0 1rem;
color: #1f3667;
}
.project-flowchart img {
cursor: zoom-in;
}
.project-flowchart-nav {
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
margin: 1rem 0 0;
}
.project-flowchart-nav button {
appearance: none;
border: 1px solid rgba(31, 54, 103, 0.2);
background: #fff;
color: #1f3667;
border-radius: 999px;
padding: 0.4rem 0.9rem;
font-size: 1rem;
cursor: pointer;
transition: background 0.2s ease, border-color 0.2s ease, transform 0.05s ease;
}
.project-flowchart-nav button:hover {
background: #f8f9fa;
border-color: rgba(31, 54, 103, 0.35);
}
.project-flowchart-nav button:active {
transform: translateY(1px);
}
.project-flowchart-nav .project-flowchart-label {
color: rgba(31, 54, 103, 0.85);
font-size: 0.95rem;
}
.project-flowchart img {
width: 100%;
max-width: 980px;
height: auto;
display: block;
margin: 0 auto;
border-radius: 14px;
}
.project-flowchart figcaption {
margin-top: 0.75rem;
text-align: center;
color: rgba(31, 54, 103, 0.8);
font-size: 0.95rem;
}
/* Flowchart lightbox modal */
.flowchart-modal {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.75);
display: none;
align-items: center;
justify-content: center;
padding: 2rem;
z-index: 2000;
}
.flowchart-modal.is-open {
display: flex;
}
.flowchart-modal__dialog {
position: relative;
width: min(1200px, 100%);
max-height: 90vh;
background: #ffffff;
border-radius: 14px;
box-shadow: 0 12px 40px rgba(0,0,0,0.35);
overflow: hidden;
}
.flowchart-modal__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 1rem;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.flowchart-modal__title {
margin: 0;
font-size: 1rem;
color: #1f3667;
font-weight: 600;
}
.flowchart-modal__close {
appearance: none;
border: 1px solid rgba(31, 54, 103, 0.2);
background: #fff;
color: #1f3667;
border-radius: 10px;
padding: 0.35rem 0.6rem;
font-size: 1rem;
cursor: pointer;
}
.flowchart-modal__body {
padding: 1rem;
overflow: auto;
max-height: calc(90vh - 56px);
}
.flowchart-modal__img {
width: 100%;
height: auto;
display: block;
}
</style>
</head>
<body>
<header class="header" id="header">
<div class="header-container">
<div class="header-inner">
<div class="logo-wrapper">
<a href="#" class="logo">
<div class="logo-icon">
<img src="assets/images/logos/ideal_logo_reversed.png" alt="IDEAL Logo" class="logo-white">
<img src="assets/images/logos/ideal.png" alt="IDEAL Logo" class="logo-dark">
</div>
<span class="logo-tagline">Impact Data and Evidence Aggregation Library</span>
</a>
</div>
<div class="header-buttons">
<div class="search-wrapper">
<form class="search-form" action="#" method="get">
<input
class="search-input"
type="text"
placeholder="Search..."
name="s"
>
<button class="search-button" type="submit">
<svg class="search-icon" viewBox="0 0 24 24">
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
</svg>
</button>
</form>
</div>
<div class="dropdown-container">
<button class="mobile-menu-button" id="menuButton">☰</button>
<div class="dropdown-menu" id="dropdownMenu">
<a href="https://survey.wb.surveycto.com/" target="_blank">Access SurveyCTO</a>
<a href="https://github.com/orgs/IDEAL-consortium/projects/11" target="_blank">Access GitHub Paper Tracking</a>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="hero">
<div class="hero-content">
<h1>Introducing IDEAL</h1>
<p class="hero-intro-1">
Welcome to IDEAL, the Impact Data and Evidence Aggregation Library, a platform designed to extract results data from international development RCTs and make them accessible to researchers and policymakers. The project is currently in a pilot phase, during which we extract information from a curated initial set of studies and develop robust protocols to grow and maintain IDEAL in the future.
</p>
<p class="hero-intro-spacer hero-intro-2">
Hosted by the World Bank, IDEAL will be fully open-access and free for the world to use. Users will be able to easily search, compare, and visualize the relative effect sizes of different policy interventions on a range of outcomes, across countries and contexts.
</p>
</div>
</section>
<div class="main">
<nav class="sidebar"> <!-- ← RESTORED: sidebar container -->
<ul class="sidebar-links"> <!-- ← RESTORED: navigation list -->
<li><a href="Schema_Index.html">Metadata Schema</a></li>
<li><a href="codingprotocol.html">Coding Protocol</a></li>
<li><a href="principles.html">Coding Extraction Principles and Objectives</a></li>
<li><a href="Training_Slides">Coder Training Materials</a></li>
<li><a href="https://www.worldbank.org/en/programs/sief-trust-fund/brief/sief-ideal-project-description" target="_blank" rel="noopener noreferrer">Contact the IDEAL Team</a></li>
</ul>
</nav>
<div class="content">
<div class="card" id="project-flowchart">
<h2>IDEAL Project Flowchart</h2>
<figure class="project-flowchart">
<img
id="flowchartImg"
src="assets/images/flowcharts/Project%20Flowchart.png"
alt="Project flowchart"
loading="lazy"
/>
<figcaption id="flowchartCaption">IDEAL Project Flowchart (Overall)</figcaption>
</figure>
</div>
<p>
<strong>Motivation</strong>
</p>
<p>
The last few decades have seen explosive growth in randomized impact evaluations that seek to guide policy decision-making in low- and middle-income countries. IDEAL will contribute to translating the insights from multiple studies into <strong>actionable and credible policy insights</strong> by making the impact of different interventions easily comparable across studies. Beyond this core purpose, IDEAL will help guide the standardization of key information from randomized evaluations and unlock the potential to answer a wide range of methodological questions about RCTs.
</p>
<p>
<strong>Next Steps</strong>
</p>
<p>
Once IDEAL is established, we will invite others to join, guided by consistent protocols for adding new content and rigorous quality control. We will provide <strong>public access to IDEAL data</strong>, aided by a website that can filter studies by a wide range of criteria and display results immediately. We will also develop a set of pedagogical resources to make evidence aggregation methods widely accessible.
</p>
</div>
</div>
<!-- Rolling Logos Section -->
<section class="consortium-section">
<div class="container" style="margin-top: 0.75rem; margin-bottom: 1.25rem;">
<div style="display:flex; align-items:center; justify-content:center; gap: 4rem; flex-wrap: wrap; padding: 0 clamp(2.5rem, 8vw, 6rem);">
<a href="https://www.worldbank.org/en/programs/sief-trust-fund" target="_blank" rel="noopener noreferrer" title="SIEF"
style="display:inline-flex; align-items:center;">
<img src="assets/images/logos/sief.png" alt="SIEF" style="height: 78px; width: auto; max-width: 90vw; display:block;" />
</a>
<a href="https://www.worldbank.org/en/research/brief/ideal" target="_blank" rel="noopener noreferrer" title="World Bank Group"
style="display:inline-flex; align-items:center;">
<img src="assets/images/logos/world-bank-group.png" alt="World Bank Group" style="height: 78px; width: auto; max-width: 90vw; display:block;" />
</a>
</div>
</div>
<div class="container" style="margin-top: -0.5rem;">
<h2 class="cta-title">In collaboration with</h2>
</div>
<div class="consortium-scroll-container">
<div class="consortium-scroll-track">
<a href="https://www.worldbank.org/en/about/unit/unit-dec/impactevaluation" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="World Bank">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/world-bank.png" class="consortium-organization-card__image" alt="World Bank" />
</div>
</a>
<a href="#" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="Development Research Group">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/drg.png" class="consortium-organization-card__image" alt="Development Research Group" />
</div>
</a>
<a href="https://cega.berkeley.edu/our-work/" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="CEGA">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/cega.png" class="consortium-organization-card__image" alt="CEGA" />
</div>
</a>
<a href="https://www.kellogg.northwestern.edu/academics-research/global-poverty-research-lab/" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="Global Poverty Research Lab">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/gprl.png" class="consortium-organization-card__image" alt="Global Poverty Research Lab" />
</div>
</a>
<a href="https://www.aidgrade.org" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="AidGrade">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/aidgrade.png" class="consortium-organization-card__image" alt="AidGrade" />
</div>
</a>
<!-- Duplicate for seamless scroll -->
<a href="https://www.worldbank.org/en/about/unit/unit-dec/impactevaluation" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="World Bank">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/world-bank.png" class="consortium-organization-card__image" alt="World Bank" />
</div>
</a>
<a href="#" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="Development Research Group">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/drg.png" class="consortium-organization-card__image" alt="Development Research Group" />
</div>
</a>
<a href="https://cega.berkeley.edu/our-work/" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="CEGA">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/cega.png" class="consortium-organization-card__image" alt="CEGA" />
</div>
</a>
<a href="https://www.kellogg.northwestern.edu/academics-research/global-poverty-research-lab/" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="Global Poverty Research Lab">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/gprl.png" class="consortium-organization-card__image" alt="Global Poverty Research Lab" />
</div>
</a>
<a href="https://www.aidgrade.org" class="consortium-organization-card" target="_blank" rel="noopener noreferrer" title="AidGrade">
<div class="consortium-organization-card__image-container">
<img src="assets/images/logos/aidgrade.png" class="consortium-organization-card__image" alt="AidGrade" />
</div>
</a>
</div>
</div>
</section>
<!-- Professional Footer (Shared) -->
<footer class="footer">
<div class="container">
<div class="footer-content"></div>
<div class="footer-bottom"></div>
</div>
</footer>
<!-- Flowchart Lightbox Modal -->
<div class="flowchart-modal" id="flowchartModal" aria-hidden="true">
<div class="flowchart-modal__dialog" role="dialog" aria-modal="true" aria-labelledby="flowchartModalTitle">
<div class="flowchart-modal__header">
<p class="flowchart-modal__title" id="flowchartModalTitle">Project Flowchart</p>
<button type="button" class="flowchart-modal__close" id="flowchartModalClose" aria-label="Close">×</button>
</div>
<div class="flowchart-modal__body">
<img class="flowchart-modal__img" id="flowchartModalImg" alt="Project flowchart large view" />
</div>
</div>
</div>
<script>
// Header scroll effect
window.addEventListener('scroll', function() {
const header = document.getElementById('header');
if (window.scrollY > 50) {
header.classList.add('scrolled');
} else {
header.classList.remove('scrolled');
}
});
// Mobile menu toggle
document.getElementById('menuButton').addEventListener('click', function() {
const dropdownMenu = document.getElementById('dropdownMenu');
dropdownMenu.classList.toggle('show');
});
// Close dropdown when clicking outside
document.addEventListener('click', function(event) {
const dropdownContainer = document.querySelector('.dropdown-container');
const dropdownMenu = document.getElementById('dropdownMenu');
if (!dropdownContainer.contains(event.target)) {
dropdownMenu.classList.remove('show');
}
});
// Flowchart lightbox (single image)
(function() {
const img = document.getElementById('flowchartImg');
const caption = document.getElementById('flowchartCaption');
if (!img || !caption) return;
const modal = document.getElementById('flowchartModal');
const modalImg = document.getElementById('flowchartModalImg');
const modalTitle = document.getElementById('flowchartModalTitle');
const modalClose = document.getElementById('flowchartModalClose');
if (!modal || !modalImg || !modalTitle) return;
const openModal = () => {
modalImg.src = img.getAttribute('src') || '';
modalTitle.textContent = caption.textContent || 'Project Flowchart';
modal.classList.add('is-open');
modal.setAttribute('aria-hidden', 'false');
// focus close button for accessibility
if (modalClose) modalClose.focus();
};
const closeModal = () => {
modal.classList.remove('is-open');
modal.setAttribute('aria-hidden', 'true');
};
// Click image to open large view
img.addEventListener('click', openModal);
// Close interactions
if (modalClose) modalClose.addEventListener('click', closeModal);
if (modal) {
modal.addEventListener('click', (e) => {
// close when clicking the dark backdrop (but not the dialog)
if (e.target === modal) closeModal();
});
}
document.addEventListener('keydown', (e) => {
if (e.key === 'Escape') closeModal();
});
})();
</script>
<!-- Shared Footer Script -->
<script src="assets/js/footer.js"></script>
<script src="assets/js/ideal-script.js"></script>
</body>
</html>