epidemiology of water-borne disease ,preventive ,control ,management along with relevant programme

Reading File
Finding Sources
Finding Sources
Searching the Web

epidemiology waterborne diseases prevention control management national programmes WHO

Finding Sources
Finding Sources
Finding Sources
Searching PubMed

"waterborne disease" epidemiology prevention control

Reading File
Finding Sources
Finding Sources
Finding Sources
Reading Web Page

https://pmc.ncbi.nlm.nih.gov/articles/PMC8656607

Finding Sources
Searching the Web

National Rural Drinking Water Programme India waterborne disease control NRDWP Jal Jeevan Mission

I now have comprehensive information from the Harrison's textbook, PMC review, web sources, and Park's Preventive Medicine reference. Let me compile the full detailed answer.

Epidemiology, Prevention, Control and Management of Water-Borne Diseases


1. Definition and Classification

Water-borne diseases (WBDs) are infectious diseases transmitted to humans through the ingestion of water contaminated with pathogenic microorganisms or their toxins. They represent one of the leading causes of morbidity and mortality worldwide, particularly in low- and middle-income countries.
Classification by causative agent:
CategoryExamples
BacterialCholera (Vibrio cholerae), Typhoid (Salmonella typhi), Dysentery (Shigella), E. coli diarrhea, Leptospirosis
ViralHepatitis A, Hepatitis E, Poliomyelitis, Rotavirus, Norovirus
ProtozoalAmoebiasis (E. histolytica), Giardiasis, Cryptosporidiosis, Cyclosporiasis
HelminthicGuinea worm (Dracunculiasis), Ascariasis, Hookworm
Toxic/ChemicalFluorosis, Arsenicosis, Nitrate poisoning (methemoglobinemia)

2. Global Epidemiology

Burden of Disease

  • WBDs account for an estimated 3.6% of the total global disability-adjusted life year (DALY) burden (WHO)
  • Approximately 1.5 million deaths annually are attributable to WBDs
  • Diarrheal disease is the second leading cause of death in children under 5 years globally
  • Children under 3 years in low-income countries experience an average of 3 episodes of diarrhea annually
  • Poor WASH (Water, Sanitation, Hygiene) conditions account for >1 million diarrheal deaths every year (WHO)

Geographic Distribution

  • High prevalence in low- and middle-income countries in tropical and subtropical regions (sub-Saharan Africa, South Asia, Southeast Asia)
  • Major etiological agents in LMICs: Rotavirus and E. coli (most common); Shigella and Cryptosporidium are also globally significant
  • In the US, Cryptosporidium is the most common cause of recreational waterborne GI illness (CDC estimates ~748,000 cases/year)

Relationship with Rainfall and Climate

  • Reviews of waterborne outbreaks in the US found 51% were preceded by precipitation levels above the 90th percentile (Harrison's Principles of Internal Medicine, 22nd Ed.)
  • Surface water contamination outbreaks typically occur within 1 month of a heavy precipitation event; groundwater contamination outbreaks tend to occur 2+ months later
  • Vibrio and Leptospira species are the pathogens most commonly involved following heavy precipitation
  • Climate change is expanding the range and seasonality of waterborne outbreaks - warming temperatures favor Vibrio proliferation

Combined Sewer Systems

  • Roughly 40 million people in the US (and millions more globally) rely on combined sewer systems that carry stormwater and sewage in the same pipe
  • These systems, designed in the 19th century, are increasingly overwhelmed by modern heavy rainfall events, leading to sewage overflows into freshwater bodies with E. coli levels up to 100x the EPA guidance for recreational water

Historical Significance

  • John Snow's investigation of the 1854 Broad Street cholera outbreak in London provided the first epidemiological evidence of water's role in cholera transmission
  • William Budd similarly documented typhoid transmission through polluted drinking water (1856)

3. Epidemiological Triad

ComponentDetails
AgentBacteria, viruses, protozoa, helminths; dose-dependent infectivity
HostAge (children, elderly most vulnerable), immune status, nutritional status, socioeconomic status
EnvironmentContaminated water sources, inadequate sanitation, poor hygiene practices, lack of sewage treatment, climate, flooding
Modes of transmission: Fecal-oral route (most common), direct ingestion, recreational water contact, food washed/prepared with contaminated water

4. Prevention Strategies

Prevention is organized into three levels:

A. Primary Prevention (Preventing Exposure)

1. Safe Water Supply
  • Chlorination - the most widely used and cost-effective water disinfection method
  • Boiling - effective household-level treatment (destroys all pathogens)
  • Solar disinfection (SODIS) - exposure of water in PET bottles to sunlight for 6+ hours
  • Filtration - ceramic, biosand, membrane filters
  • UV irradiation - effective against protozoa (e.g., Cryptosporidium) that are chlorine-resistant
  • Coagulation-flocculation-sedimentation - removes turbidity and pathogens
  • Safe household water storage in covered containers
2. Sanitation Improvement
  • Construction and use of proper latrines/toilets
  • Sewage treatment before discharge
  • Separation of drinking water sources from fecal waste disposal
  • Open defecation-free (ODF) communities
3. Personal and Community Hygiene
  • Regular handwashing with soap, especially before eating and after defecation
  • Food hygiene (washing produce, cooking food thoroughly)
  • Proper disposal of human waste
4. Vaccination
  • Oral Cholera Vaccine (OCV) - WHO recommends in endemic areas and outbreaks; included in routine childhood vaccination in many countries
  • Typhoid conjugate vaccine (TCV) - recommended for travelers and endemic area populations; superior to older Vi polysaccharide vaccine
  • Hepatitis A vaccine - recommended for travelers and high-risk groups
  • Polio vaccine (OPV/IPV) - part of EPI schedules
5. Surveillance and Early Warning
  • Water quality monitoring at source, treatment, and point-of-use
  • Disease surveillance systems for early outbreak detection
  • Environmental monitoring (sentinel sites)

B. Secondary Prevention (Early Detection and Treatment)

  • Rapid case detection through surveillance
  • Stool culture and sensitivity testing
  • Prompt oral rehydration therapy (ORT) for diarrheal diseases
  • Contact tracing during outbreaks
  • Isolation of cases (especially for cholera, typhoid)

C. Tertiary Prevention

  • Management of complications (septicemia, perforation in typhoid, cholera shock)
  • Nutritional rehabilitation after illness
  • Rehabilitation of chronic sequelae (e.g., reactive arthritis after enteric infections)

5. Control Measures

Source Control

  • Protection of water sources: fencing wells, covering springs, preventing animal access to water sources
  • Watershed protection: preventing agricultural runoff, industrial effluents, and open defecation near water bodies
  • Groundwater protection: proper well construction with sealed casings, drainage aprons, and minimum separation from latrines (30 meters)

Water Treatment (Municipal Level)

  1. Screening/Straining - removes large debris
  2. Coagulation and Flocculation - chemical agents (alum) cause particles to clump
  3. Sedimentation - settling of flocculated particles
  4. Filtration - slow sand filtration or rapid sand filtration
  5. Disinfection - chlorination (free residual chlorine 0.2-0.5 mg/L at point of delivery), ozonation, UV
  6. pH adjustment and fluoridation - where appropriate

Point-of-Use Treatment (Household Level)

  • Boiling, chlorine tablets, ceramic water filters, SODIS, safe storage
  • WHO's "3-glass model": source protection + treatment + safe storage

Outbreak Control

  • Identification and elimination of the contaminated source
  • Boil-water advisories
  • Mass ORS distribution
  • Emergency chlorination
  • Case isolation and treatment
  • Health education campaigns
  • Epidemiological investigation (case-counting, vehicle identification)

Environmental Control

  • Proper sewage disposal and wastewater treatment
  • Fly control (flies transfer pathogens from feces to food/water)
  • Rodent control
  • Solid waste management to prevent contamination of water bodies

6. Clinical Management of Key Water-Borne Diseases

Cholera

  • Mainstay: Oral rehydration solution (ORS) - WHO standard formula
  • Severe cases: IV fluids (Ringer's lactate), rapid correction of dehydration
  • Antibiotics (shorten duration): Doxycycline (single dose, adults), Azithromycin (children, pregnant women), Ciprofloxacin
  • Zinc supplementation in children (reduces duration and severity)

Typhoid Fever

  • First-line: Fluoroquinolones (Ciprofloxacin) for susceptible strains; increasingly Azithromycin or Ceftriaxone for drug-resistant strains
  • MDR/XDR typhoid: Carbapenems may be required
  • Supportive care: antipyretics, fluids, nutrition
  • Complications: Intestinal perforation requires surgical management

Hepatitis A

  • Supportive treatment; no specific antiviral
  • Rest, avoid hepatotoxic drugs and alcohol

Cryptosporidiosis

  • Nitazoxanide (immunocompetent patients)
  • Supportive ORT for diarrhea
  • Immunocompromised patients (HIV): ART to restore immune function

Amoebiasis

  • Tissue amoebiasis: Metronidazole or Tinidazole
  • Luminal cysts: Diloxanide furoate or Paromomycin (to prevent carrier state)

7. National and International Programmes

India

ProgrammeDetails
Jal Jeevan Mission (JJM)Launched August 2019 by Ministry of Jal Shakti; aims to provide 55 L/capita/day safe tap water to every rural household. JJM 2.0 approved March 2026, extended to 2028. Budget: ₹3.60 lakh crores
National Rural Drinking Water Programme (NRDWP)Predecessor to JJM; provided safe drinking water to rural areas; now subsumed under JJM
Swachh Bharat Mission (SBM)Sanitation program (Urban + Rural phases); aimed to make India open-defecation free (ODF) by 2019; SBM 2.0 continues
National Health Mission (NHM)Includes Integrated Disease Surveillance Programme (IDSP) for outbreak detection and response
Integrated Disease Surveillance Programme (IDSP)Central surveillance system; monitors waterborne disease outbreaks at district/state level; issues alerts
Rajiv Gandhi Drinking Water MissionEarlier safe drinking water mission for rural India

International / Global

Programme / InitiativeDetails
WHO WASH ProgrammeTechnical cooperation, policy support, capacity building for Water, Sanitation and Hygiene globally; coordinates with SDG Goal 6 (clean water and sanitation)
UNICEF WASHWorks in emergencies and developing countries on water and sanitation infrastructure
SDG Goal 6 (UN 2030 Agenda)"Ensure availability and sustainable management of water and sanitation for all"; Target 3.3 includes combating waterborne diseases by 2030
Global Task Force on Cholera Control (GTFCC)WHO-led; "Ending Cholera: A Global Roadmap to 2030" - targets 90% reduction in cholera deaths
Guinea Worm Eradication Programme (GWEP)Led by Carter Center with CDC, WHO, UNICEF; reduced cases from 3.5 million (1986) to near-zero by 2023 - a landmark water-borne disease eradication effort
USAID Water for the World ActUS legislation supporting global safe water access
CDC NORS (National Outbreak Reporting System)US voluntary surveillance for waterborne disease outbreaks
WHO Protocol on Water and HealthEurope-specific; addresses WRID surveillance and outbreak management capacity
WHO Water Safety Plans (WSPs)Risk-based preventive management framework from catchment to consumer; replaces end-point testing with multi-barrier approach

8. Surveillance

Effective surveillance of WBDs involves:
  • Case-based surveillance: mandatory reporting of notifiable diseases (cholera, typhoid, hepatitis A)
  • Outbreak surveillance: investigation of disease clusters linked to common water source
  • Water quality monitoring: regular bacteriological (coliform counts) and chemical testing
  • Sentinel surveillance: health facility-based monitoring of diarrheal disease trends
  • Event-based surveillance (EBS): media monitoring, community alerts, rumor tracking
Key challenge: WBDs are substantially under-reported due to mild self-limiting illness, inadequate laboratory capacity, and weak surveillance infrastructure in many endemic settings.

9. WHO Water Safety Plan Framework

The WHO Water Safety Plan (WSP) approach consists of 3 key steps:
  1. System Assessment - identify hazards and risks throughout the supply chain (catchment to consumer)
  2. Operational Monitoring - control measures with defined critical limits
  3. Management Plans - documentation, verification, and response
This replaced the older "test and treat" approach with a proactive, preventive multi-barrier risk management strategy.

10. Key Indicators for Control

IndicatorTarget
Access to safely managed drinking waterSDG: universal coverage by 2030
Open defecation free (ODF) statusSwachh Bharat: India-wide ODF
Chlorine residual in piped water0.2-0.5 mg/L free residual chlorine
WHO guidelines for E. coli in drinking waterZero E. coli per 100 mL
Diarrheal disease mortality in children under 5SDG Target 3.2 - <25/1000 live births

Summary: Water-borne diseases remain a major global public health challenge, responsible for ~1.5 million deaths annually. They are transmitted through the fecal-oral route via contaminated water and disproportionately affect children and populations in tropical LMICs. Control relies on a multi-barrier approach: safe water supply, improved sanitation, hygiene promotion, vaccination, disease surveillance, and outbreak response. Key programmes include India's Jal Jeevan Mission (2019-2028), WHO's WASH framework, the Global Cholera Roadmap to 2030, and the Guinea Worm Eradication Programme. The SDG Goal 6 (clean water for all by 2030) provides the overarching global policy framework.
Sources: Harrison's Principles of Internal Medicine, 22nd Ed. | Park's Textbook of Preventive and Social Medicine | WHO WASH Programme | CDC Waterborne Disease Surveillance | PMC review on WBD prevention interventions | Jal Jeevan Mission

make ppt on this

Reading File
Reading File
Reading File
Running Command

ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace not found"

Running Command

mkdir -p /home/daytona/workspace/waterborne-disease-ppt && ls /home/daytona/workspace/

Writing File

~/waterborne-disease-ppt/create_ppt.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Epidemiology of Water-Borne Diseases";
pres.author = "Medical Education";

// ── COLOR PALETTE ──────────────────────────────────────────────
// Deep teal dominant, sky-blue accent, white text, coral highlights
const C = {
  dark:      "0A3D55",   // deep ocean blue – dominant BG
  mid:       "0E5F87",   // mid teal – card BG / bands
  accent:    "29ABE2",   // sky blue – headings / icons
  highlight: "E8834A",   // coral orange – key stats / accent
  light:     "D6EAF5",   // pale blue – light card fill
  white:     "FFFFFF",
  offwhite:  "EBF5FB",
  dark2:     "062738",   // darkest bg for title/end slides
  green:     "27AE60",   // for prevention section
  red:       "C0392B",   // alert/disease markers
  yellow:    "F1C40F",   // stat callouts
};

// ── HELPER FUNCTIONS ─────────────────────────────────────────
function addSlideHeader(slide, title, subtitle = "") {
  // Top accent bar
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0, w: 10, h: 0.07,
    fill: { color: C.accent }, line: { color: C.accent }
  });
  // Left accent stripe
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0.07, w: 0.08, h: 5.555,
    fill: { color: C.accent }, line: { color: C.accent }
  });
  // Title band
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0.08, y: 0.07, w: 9.92, h: 0.85,
    fill: { color: C.mid }, line: { color: C.mid }
  });
  slide.addText(title, {
    x: 0.25, y: 0.07, w: 9.5, h: 0.85,
    fontSize: 22, bold: true, color: C.white,
    fontFace: "Calibri", valign: "middle", margin: 0
  });
  if (subtitle) {
    slide.addText(subtitle, {
      x: 0.25, y: 0.92, w: 9.5, h: 0.3,
      fontSize: 11, color: C.accent, fontFace: "Calibri",
      italic: true, margin: 0
    });
  }
  // Footer
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 5.47, w: 10, h: 0.155,
    fill: { color: C.dark2 }, line: { color: C.dark2 }
  });
  slide.addText("Water-Borne Diseases  |  Epidemiology, Prevention & Control", {
    x: 0.15, y: 5.47, w: 9.5, h: 0.155,
    fontSize: 8, color: C.accent, fontFace: "Calibri",
    valign: "middle", margin: 0
  });
}

function card(slide, x, y, w, h, fillColor = C.light, shadow = true) {
  slide.addShape(pres.shapes.ROUNDED_RECTANGLE, {
    x, y, w, h,
    fill: { color: fillColor },
    line: { color: fillColor },
    rectRadius: 0.08,
    shadow: shadow ? { type: "outer", color: "000000", blur: 5, offset: 2, angle: 135, opacity: 0.12 } : null
  });
}

function statBox(slide, x, y, w, h, num, label, numColor = C.highlight) {
  card(slide, x, y, w, h, C.dark2);
  slide.addText(num, {
    x, y: y + 0.05, w, h: h * 0.52,
    fontSize: 28, bold: true, color: numColor,
    fontFace: "Calibri", align: "center", valign: "bottom", margin: 0
  });
  slide.addText(label, {
    x, y: y + h * 0.52, w, h: h * 0.48,
    fontSize: 9.5, color: C.offwhite,
    fontFace: "Calibri", align: "center", valign: "top", margin: 0
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 1 – TITLE SLIDE
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  // Full BG
  s.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0, w: 10, h: 5.625,
    fill: { color: C.dark2 }, line: { color: C.dark2 }
  });
  // Decorative wave shape top
  s.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0, w: 10, h: 0.12,
    fill: { color: C.accent }, line: { color: C.accent }
  });
  // Accent left column
  s.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0.12, w: 0.35, h: 5.505,
    fill: { color: C.accent }, line: { color: C.accent }
  });
  // Mid color block right
  s.addShape(pres.shapes.RECTANGLE, {
    x: 6.5, y: 0.12, w: 3.5, h: 5.505,
    fill: { color: C.mid }, line: { color: C.mid }
  });
  // Water droplet icon (circle + text)
  s.addShape(pres.shapes.OVAL, {
    x: 7.1, y: 0.5, w: 2.3, h: 2.3,
    fill: { color: C.accent }, line: { color: C.white, width: 2 }
  });
  s.addText("💧", {
    x: 7.1, y: 0.55, w: 2.3, h: 2.1,
    fontSize: 68, align: "center", valign: "middle", margin: 0
  });

  // Title text
  s.addText("WATER-BORNE DISEASES", {
    x: 0.55, y: 0.9, w: 5.8, h: 1.1,
    fontSize: 30, bold: true, color: C.white,
    fontFace: "Calibri", charSpacing: 2, margin: 0
  });
  s.addText("Epidemiology, Prevention,\nControl & Management", {
    x: 0.55, y: 2.05, w: 5.8, h: 1.0,
    fontSize: 18, color: C.accent,
    fontFace: "Calibri", margin: 0
  });
  s.addText("with Relevant Programmes", {
    x: 0.55, y: 3.05, w: 5.8, h: 0.45,
    fontSize: 13, color: C.light,
    fontFace: "Calibri", italic: true, margin: 0
  });
  // Divider
  s.addShape(pres.shapes.RECTANGLE, {
    x: 0.55, y: 3.5, w: 3.0, h: 0.05,
    fill: { color: C.highlight }, line: { color: C.highlight }
  });
  s.addText("Community Medicine  •  Public Health  •  Preventive Medicine", {
    x: 0.55, y: 3.62, w: 5.8, h: 0.35,
    fontSize: 10, color: C.offwhite, fontFace: "Calibri", margin: 0
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 2 – TABLE OF CONTENTS
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offwhite }, line: { color: C.offwhite } });
  addSlideHeader(s, "CONTENTS");

  const topics = [
    ["01", "Definition & Classification"],
    ["02", "Global Epidemiology & Burden"],
    ["03", "Epidemiological Triad & Transmission"],
    ["04", "Prevention Strategies"],
    ["05", "Control Measures"],
    ["06", "Clinical Management"],
    ["07", "National & International Programmes"],
    ["08", "Surveillance & Key Indicators"],
  ];

  const cols = [
    topics.slice(0, 4),
    topics.slice(4)
  ];

  cols.forEach((col, ci) => {
    col.forEach((item, ri) => {
      const x = 0.5 + ci * 4.85;
      const y = 1.3 + ri * 0.97;
      card(s, x, y, 4.5, 0.82, C.white);
      // Number circle
      s.addShape(pres.shapes.OVAL, {
        x: x + 0.12, y: y + 0.14, w: 0.54, h: 0.54,
        fill: { color: C.mid }, line: { color: C.mid }
      });
      s.addText(item[0], {
        x: x + 0.12, y: y + 0.14, w: 0.54, h: 0.54,
        fontSize: 12, bold: true, color: C.white,
        fontFace: "Calibri", align: "center", valign: "middle", margin: 0
      });
      s.addText(item[1], {
        x: x + 0.74, y: y + 0.16, w: 3.65, h: 0.5,
        fontSize: 12, color: C.dark,
        fontFace: "Calibri", valign: "middle", margin: 0
      });
    });
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 3 – DEFINITION & CLASSIFICATION
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offwhite }, line: { color: C.offwhite } });
  addSlideHeader(s, "DEFINITION & CLASSIFICATION", "Waterborne diseases are transmitted via ingestion of pathogen-contaminated water");

  // Definition card
  card(s, 0.18, 1.3, 9.65, 0.78, C.dark);
  s.addText("Water-borne diseases (WBDs) are infectious diseases transmitted through ingestion of water contaminated with pathogenic microorganisms or their toxins, primarily via the fecal-oral route.", {
    x: 0.3, y: 1.32, w: 9.4, h: 0.74,
    fontSize: 12, color: C.white, fontFace: "Calibri",
    valign: "middle", margin: 6
  });

  const categories = [
    { label: "BACTERIAL", color: C.red, items: ["Cholera (V. cholerae)", "Typhoid (S. typhi)", "Shigellosis (Dysentery)", "E. coli diarrhea", "Leptospirosis"] },
    { label: "VIRAL", color: C.accent, items: ["Hepatitis A & E", "Poliomyelitis", "Rotavirus", "Norovirus"] },
    { label: "PROTOZOAL", color: C.highlight, items: ["Amoebiasis", "Giardiasis", "Cryptosporidiosis", "Cyclosporiasis"] },
    { label: "HELMINTHIC / OTHER", color: C.green, items: ["Guinea Worm (Dracunculiasis)", "Ascariasis", "Fluorosis (chemical)", "Arsenicosis"] },
  ];

  categories.forEach((cat, i) => {
    const x = 0.18 + i * 2.42;
    card(s, x, 2.18, 2.32, 3.1, C.white);
    s.addShape(pres.shapes.RECTANGLE, {
      x, y: 2.18, w: 2.32, h: 0.42,
      fill: { color: cat.color }, line: { color: cat.color }
    });
    s.addText(cat.label, {
      x, y: 2.18, w: 2.32, h: 0.42,
      fontSize: 9.5, bold: true, color: C.white,
      fontFace: "Calibri", align: "center", valign: "middle", margin: 0
    });
    cat.items.forEach((item, j) => {
      s.addText([
        { text: "▸ ", options: { color: cat.color, bold: true } },
        { text: item, options: { color: C.dark } }
      ], {
        x: x + 0.1, y: 2.65 + j * 0.48, w: 2.12, h: 0.44,
        fontSize: 10, fontFace: "Calibri", valign: "middle", margin: 0
      });
    });
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 4 – GLOBAL EPIDEMIOLOGY
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.dark }, line: { color: C.dark } });
  addSlideHeader(s, "GLOBAL EPIDEMIOLOGY & BURDEN OF DISEASE");

  // Big stat boxes
  const stats = [
    ["1.5M", "Deaths\nAnnually (WHO)"],
    ["3.6%", "Global DALY\nBurden"],
    ["2nd", "Leading cause of death\nin children < 5 yrs"],
    ["3+", "Diarrhea episodes/yr\nin children < 3 (LMICs)"],
  ];
  stats.forEach((st, i) => {
    statBox(s, 0.25 + i * 2.4, 1.05, 2.15, 1.35, st[0], st[1], C.yellow);
  });

  // Geographic distribution
  card(s, 0.25, 2.6, 4.55, 2.75, C.dark2);
  s.addText("GEOGRAPHIC DISTRIBUTION", {
    x: 0.35, y: 2.65, w: 4.35, h: 0.38,
    fontSize: 11, bold: true, color: C.accent,
    fontFace: "Calibri", margin: 0
  });
  const geodata = [
    "High burden in LMICs — tropical & subtropical regions",
    "Sub-Saharan Africa, South Asia, SE Asia most affected",
    "Top pathogens in LMICs: Rotavirus & E. coli (most common)",
    "Shigella & Cryptosporidium – globally significant",
    "In USA: Cryptosporidium = most common recreational waterborne illness (~748,000 cases/yr)",
  ];
  geodata.forEach((pt, i) => {
    s.addText([
      { text: "• ", options: { color: C.accent, bold: true } },
      { text: pt, options: { color: C.offwhite } }
    ], {
      x: 0.35, y: 3.08 + i * 0.42, w: 4.3, h: 0.4,
      fontSize: 9.5, fontFace: "Calibri", margin: 0
    });
  });

  // Climate & rainfall panel
  card(s, 5.1, 2.6, 4.65, 2.75, C.dark2);
  s.addText("CLIMATE & RAINFALL LINK", {
    x: 5.2, y: 2.65, w: 4.45, h: 0.38,
    fontSize: 11, bold: true, color: C.highlight,
    fontFace: "Calibri", margin: 0
  });
  const climate = [
    "51% of US WBD outbreaks preceded by >90th percentile rainfall",
    "Surface water outbreaks: within 1 month of heavy rain",
    "Groundwater outbreaks: ≥2 months after heavy rain",
    "Post-flood pathogens: Vibrio & Leptospira species most common",
    "Climate change expanding range & frequency of outbreaks",
    "Combined sewer overflows → E. coli up to 100x EPA guidance",
  ];
  climate.forEach((pt, i) => {
    s.addText([
      { text: "• ", options: { color: C.highlight, bold: true } },
      { text: pt, options: { color: C.offwhite } }
    ], {
      x: 5.2, y: 3.08 + i * 0.42, w: 4.45, h: 0.4,
      fontSize: 9.5, fontFace: "Calibri", margin: 0
    });
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 5 – EPIDEMIOLOGICAL TRIAD
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offwhite }, line: { color: C.offwhite } });
  addSlideHeader(s, "EPIDEMIOLOGICAL TRIAD & TRANSMISSION");

  // Three triad cards
  const triads = [
    {
      title: "AGENT", icon: "🦠", color: C.red,
      items: ["Bacteria: Cholera, Typhoid, Shigella", "Viruses: Rotavirus, Hep A/E, Polio", "Protozoa: Giardia, Cryptosporidium", "Helminths: Guinea worm, Ascaris", "Chemical: Fluoride, Arsenic, Nitrates", "Dose-dependent infectivity"]
    },
    {
      title: "HOST", icon: "🧑", color: C.accent,
      items: ["Age: Children < 5, elderly at high risk", "Immune status (immunocompromised)", "Nutritional status (malnourished)", "Socioeconomic status", "Lack of immunity / vaccination", "Pregnancy (Listeria, Hep E risk)"]
    },
    {
      title: "ENVIRONMENT", icon: "🌍", color: C.green,
      items: ["Contaminated surface/groundwater", "Inadequate sanitation & sewage", "Poor personal hygiene practices", "Flooding & heavy rainfall events", "Combined sewer overflows", "Climate change & warming temperatures"]
    }
  ];

  triads.forEach((t, i) => {
    const x = 0.2 + i * 3.27;
    card(s, x, 1.22, 3.1, 4.05, C.white);
    s.addShape(pres.shapes.RECTANGLE, {
      x, y: 1.22, w: 3.1, h: 0.5,
      fill: { color: t.color }, line: { color: t.color }
    });
    s.addText(`${t.icon}  ${t.title}`, {
      x, y: 1.22, w: 3.1, h: 0.5,
      fontSize: 13, bold: true, color: C.white,
      fontFace: "Calibri", align: "center", valign: "middle", margin: 0
    });
    t.items.forEach((item, j) => {
      s.addText([
        { text: "▸ ", options: { color: t.color, bold: true } },
        { text: item, options: { color: C.dark } }
      ], {
        x: x + 0.12, y: 1.78 + j * 0.48, w: 2.85, h: 0.44,
        fontSize: 9.5, fontFace: "Calibri", valign: "middle", margin: 0
      });
    });
  });

  // Transmission route bar at bottom
  card(s, 0.2, 5.15, 9.62, 0.28, C.mid);
  s.addText("PRIMARY ROUTE: Fecal → Oral  |  Contaminated water ingestion  |  Contaminated food  |  Recreational water contact  |  Direct contact", {
    x: 0.2, y: 5.15, w: 9.62, h: 0.28,
    fontSize: 9, bold: true, color: C.white,
    fontFace: "Calibri", align: "center", valign: "middle", margin: 0
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 6 – PREVENTION STRATEGIES
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offwhite }, line: { color: C.offwhite } });
  addSlideHeader(s, "PREVENTION STRATEGIES", "Primary • Secondary • Tertiary");

  // Three level columns
  const levels = [
    {
      level: "PRIMARY PREVENTION",
      desc: "Reduce exposure & disease onset",
      color: C.green,
      items: [
        "Safe water: Chlorination, Boiling, UV, SODIS, Filtration",
        "Sanitation: Proper latrines, sewage treatment",
        "Hygiene: Handwashing with soap, food safety",
        "Vaccination: Cholera (OCV), Typhoid (TCV), Hep A, Polio",
        "Water source protection: Fencing wells, watershed management",
        "Safe household storage in covered containers",
      ]
    },
    {
      level: "SECONDARY PREVENTION",
      desc: "Early detection & prompt treatment",
      color: C.accent,
      items: [
        "Rapid case detection through active surveillance",
        "Stool culture & laboratory investigation",
        "Prompt ORT for all diarrheal cases",
        "Contact tracing during outbreaks",
        "Case isolation (cholera, typhoid)",
        "Water quality testing at source & tap",
      ]
    },
    {
      level: "TERTIARY PREVENTION",
      desc: "Limit complications & rehabilitation",
      color: C.highlight,
      items: [
        "Management of severe complications",
        "IV fluids for cholera shock",
        "Surgery for typhoid perforation",
        "Nutritional rehabilitation post-illness",
        "Chronic sequelae management",
        "Community follow-up & support",
      ]
    }
  ];

  levels.forEach((lv, i) => {
    const x = 0.18 + i * 3.27;
    card(s, x, 1.28, 3.1, 4.05, C.white);
    s.addShape(pres.shapes.RECTANGLE, {
      x, y: 1.28, w: 3.1, h: 0.56,
      fill: { color: lv.color }, line: { color: lv.color }
    });
    s.addText(lv.level, {
      x, y: 1.28, w: 3.1, h: 0.35,
      fontSize: 10.5, bold: true, color: C.white,
      fontFace: "Calibri", align: "center", valign: "bottom", margin: 0
    });
    s.addText(lv.desc, {
      x, y: 1.62, w: 3.1, h: 0.22,
      fontSize: 8.5, color: C.white,
      fontFace: "Calibri", italic: true, align: "center", valign: "top", margin: 0
    });
    lv.items.forEach((item, j) => {
      s.addText([
        { text: "✔ ", options: { color: lv.color, bold: true } },
        { text: item, options: { color: C.dark } }
      ], {
        x: x + 0.1, y: 1.9 + j * 0.44, w: 2.9, h: 0.41,
        fontSize: 9.5, fontFace: "Calibri", valign: "middle", margin: 0
      });
    });
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 7 – CONTROL MEASURES
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.dark }, line: { color: C.dark } });
  addSlideHeader(s, "CONTROL MEASURES");

  // Left: Water Treatment Steps
  card(s, 0.18, 1.05, 4.6, 4.28, C.dark2);
  s.addText("💧 WATER TREATMENT PROCESS", {
    x: 0.28, y: 1.1, w: 4.4, h: 0.38,
    fontSize: 11, bold: true, color: C.accent,
    fontFace: "Calibri", margin: 0
  });
  const steps = [
    ["①", "Screening / Straining", "Removes large debris"],
    ["②", "Coagulation & Flocculation", "Alum causes particle clumping"],
    ["③", "Sedimentation", "Settling of floc particles"],
    ["④", "Filtration", "Slow / Rapid sand filtration"],
    ["⑤", "Disinfection", "Chlorination 0.2–0.5 mg/L free Cl₂; UV; Ozone"],
    ["⑥", "pH Adjustment", "Fluoridation where indicated"],
  ];
  steps.forEach((step, i) => {
    s.addText(step[0], {
      x: 0.28, y: 1.56 + i * 0.58, w: 0.38, h: 0.5,
      fontSize: 14, bold: true, color: C.yellow,
      fontFace: "Calibri", align: "center", valign: "middle", margin: 0
    });
    s.addText(step[1], {
      x: 0.68, y: 1.56 + i * 0.58, w: 2.0, h: 0.28,
      fontSize: 10, bold: true, color: C.white,
      fontFace: "Calibri", margin: 0
    });
    s.addText(step[2], {
      x: 0.68, y: 1.8 + i * 0.58, w: 3.9, h: 0.25,
      fontSize: 9, color: C.light,
      fontFace: "Calibri", margin: 0
    });
  });

  // Right: Source + Outbreak + Environmental
  const rightSections = [
    {
      title: "🔒 SOURCE CONTROL", color: C.green,
      items: ["Protect wells: fencing, sealed casings, drainage aprons", "Watershed protection from runoff & open defecation", "Minimum 30m separation between latrines & water sources"]
    },
    {
      title: "🚨 OUTBREAK CONTROL", color: C.highlight,
      items: ["Identify & eliminate contaminated source", "Boil-water advisories; emergency chlorination", "Mass ORS distribution; case isolation", "Epidemiological investigation (vehicle identification)"]
    },
    {
      title: "🌿 ENVIRONMENTAL CONTROL", color: C.accent,
      items: ["Sewage treatment before discharge", "Fly & rodent control", "Solid waste management", "Point-of-use: Boiling, chlorine tablets, ceramic filters"]
    }
  ];

  rightSections.forEach((sec, i) => {
    card(s, 5.05, 1.05 + i * 1.42, 4.75, 1.35, C.dark2);
    s.addText(sec.title, {
      x: 5.15, y: 1.08 + i * 1.42, w: 4.55, h: 0.35,
      fontSize: 10.5, bold: true, color: sec.color,
      fontFace: "Calibri", margin: 0
    });
    sec.items.forEach((item, j) => {
      s.addText([
        { text: "• ", options: { color: sec.color, bold: true } },
        { text: item, options: { color: C.offwhite } }
      ], {
        x: 5.15, y: 1.42 + i * 1.42 + j * 0.32, w: 4.55, h: 0.3,
        fontSize: 9, fontFace: "Calibri", margin: 0
      });
    });
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 8 – CLINICAL MANAGEMENT
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offwhite }, line: { color: C.offwhite } });
  addSlideHeader(s, "CLINICAL MANAGEMENT OF KEY WATER-BORNE DISEASES");

  const diseases = [
    {
      name: "CHOLERA", color: C.red,
      lines: ["Mainstay: ORS (WHO formula)", "Severe: IV Ringer's Lactate – rapid rehydration", "Antibiotics: Doxycycline (adults), Azithromycin (children/pregnant)", "Zinc supplementation in children", "Target: 10% dehydration weight loss correction in 4 hrs"]
    },
    {
      name: "TYPHOID FEVER", color: C.accent,
      lines: ["1st line: Fluoroquinolones (susceptible strains)", "Drug-resistant: Azithromycin or Ceftriaxone", "XDR Typhoid: Meropenem (carbapenem)", "Perforation: Surgical management", "Carrier state: Treat with ampicillin/ciprofloxacin"]
    },
    {
      name: "HEPATITIS A / E", color: C.green,
      lines: ["Supportive treatment – no specific antiviral", "Rest, adequate nutrition, hydration", "Avoid hepatotoxins (alcohol, paracetamol excess)", "Hep E in pregnancy: close monitoring", "Prevention: Hep A vaccine (travelers & risk groups)"]
    },
    {
      name: "CRYPTOSPORIDIOSIS", color: C.highlight,
      lines: ["Immunocompetent: Nitazoxanide 3 days", "Supportive ORT for diarrhea", "HIV patients: ART to restore immunity", "Chlorine-resistant: UV filtration essential", "Notify public health for outbreaks"]
    },
    {
      name: "AMOEBIASIS", color: C.mid,
      lines: ["Tissue amoebiasis: Metronidazole 10 days", "Luminal cysts: Diloxanide furoate / Paromomycin", "Amoebic liver abscess: Metronidazole ± drainage", "Prevent carrier state: Luminal agent after tissue tx", "Stool microscopy / antigen test for diagnosis"]
    },
  ];

  // Two rows
  const positions = [
    [0.18, 1.2], [3.32, 1.2], [6.46, 1.2],
    [0.18, 3.08], [3.32, 3.08]
  ];

  diseases.forEach((d, i) => {
    const [x, y] = positions[i];
    card(s, x, y, 3.05, 2.23, C.white);
    s.addShape(pres.shapes.RECTANGLE, {
      x, y, w: 3.05, h: 0.42,
      fill: { color: d.color }, line: { color: d.color }
    });
    s.addText(d.name, {
      x, y, w: 3.05, h: 0.42,
      fontSize: 10, bold: true, color: C.white,
      fontFace: "Calibri", align: "center", valign: "middle", margin: 0
    });
    d.lines.forEach((line, j) => {
      s.addText([
        { text: "→ ", options: { color: d.color, bold: true } },
        { text: line, options: { color: C.dark } }
      ], {
        x: x + 0.1, y: y + 0.46 + j * 0.35, w: 2.85, h: 0.33,
        fontSize: 8.5, fontFace: "Calibri", valign: "middle", margin: 0
      });
    });
  });

  // ORT reminder box
  card(s, 6.46, 3.08, 3.36, 2.23, C.dark);
  s.addText("💊 ORS FORMULA (WHO)", {
    x: 6.56, y: 3.13, w: 3.2, h: 0.38,
    fontSize: 10.5, bold: true, color: C.yellow,
    fontFace: "Calibri", margin: 0
  });
  const ors = [
    "NaCl ........... 2.6 g/L",
    "KCl ............. 1.5 g/L",
    "Trisodium citrate . 2.9 g/L",
    "Glucose ....... 13.5 g/L",
    "Total Osmolarity: 245 mOsm/L",
  ];
  ors.forEach((line, i) => {
    s.addText(line, {
      x: 6.56, y: 3.58 + i * 0.34, w: 3.1, h: 0.32,
      fontSize: 9.5, color: i === 4 ? C.highlight : C.light,
      fontFace: "Courier New", bold: i === 4, margin: 0
    });
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 9 – NATIONAL PROGRAMMES (INDIA)
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offwhite }, line: { color: C.offwhite } });
  addSlideHeader(s, "NATIONAL PROGRAMMES – INDIA", "Government of India initiatives for safe water, sanitation & disease surveillance");

  const programmes = [
    {
      name: "Jal Jeevan Mission (JJM)",
      year: "2019 – 2028",
      color: C.accent,
      ministry: "Ministry of Jal Shakti",
      desc: "Provide 55 L/capita/day safe tap water to every rural household. JJM 2.0 approved March 2026 with ₹3.60 lakh crore budget, extended to 2028.",
    },
    {
      name: "Swachh Bharat Mission (SBM)",
      year: "2014 – Ongoing",
      color: C.green,
      ministry: "Ministry of Jal Shakti / Urban Affairs",
      desc: "Aims to achieve Open Defecation Free (ODF) India. SBM 2.0 targets ODF+ & ODF++ status, solid waste management, wastewater treatment.",
    },
    {
      name: "National Health Mission (NHM)",
      year: "2013 – Ongoing",
      color: C.highlight,
      ministry: "Ministry of Health & Family Welfare",
      desc: "Includes Integrated Disease Surveillance Programme (IDSP) for waterborne disease outbreak detection, reporting and rapid response at district/state level.",
    },
    {
      name: "IDSP (Integrated Disease Surveillance Programme)",
      year: "2004 – Ongoing",
      color: C.red,
      ministry: "MOHFW / NCDC",
      desc: "Monitors waterborne disease outbreaks at district/state level. Issues alerts (P/S/L forms). Provides epidemiological data for early outbreak response.",
    },
    {
      name: "National Rural Drinking Water Programme (NRDWP)",
      year: "2009 – 2019",
      color: C.mid,
      ministry: "Ministry of Drinking Water & Sanitation",
      desc: "Predecessor to JJM. Provided safe drinking water to rural areas. Subsumed under Jal Jeevan Mission from 2019.",
    },
  ];

  programmes.forEach((prog, i) => {
    const y = 1.2 + i * 0.84;
    card(s, 0.18, y, 9.65, 0.76, C.white);
    // Colored left band
    s.addShape(pres.shapes.RECTANGLE, {
      x: 0.18, y, w: 0.28, h: 0.76,
      fill: { color: prog.color }, line: { color: prog.color }
    });
    s.addText(prog.name, {
      x: 0.55, y: y + 0.04, w: 4.5, h: 0.3,
      fontSize: 11, bold: true, color: C.dark,
      fontFace: "Calibri", margin: 0
    });
    s.addText(`${prog.ministry}  |  ${prog.year}`, {
      x: 0.55, y: y + 0.36, w: 4.5, h: 0.24,
      fontSize: 8.5, color: prog.color, italic: true,
      fontFace: "Calibri", margin: 0
    });
    s.addText(prog.desc, {
      x: 5.1, y: y + 0.06, w: 4.6, h: 0.64,
      fontSize: 9, color: C.dark,
      fontFace: "Calibri", valign: "middle", margin: 0
    });
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 10 – INTERNATIONAL PROGRAMMES
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.dark }, line: { color: C.dark } });
  addSlideHeader(s, "INTERNATIONAL PROGRAMMES & GLOBAL INITIATIVES");

  const intl = [
    {
      org: "WHO WASH", icon: "🌐",
      color: C.accent,
      title: "Water, Sanitation & Hygiene Programme",
      points: ["Technical cooperation, capacity building for governments", "Water Safety Plans (WSP): risk-based multi-barrier approach", "Guidelines for Drinking Water Quality"]
    },
    {
      org: "UN SDG 6", icon: "🎯",
      color: C.yellow,
      title: "Clean Water & Sanitation – 2030 Agenda",
      points: ["Universal access to safe water & sanitation by 2030", "Target 3.3: Combat WBDs by 2030", "SDG 6: Ensure availability & sustainable mgmt of water"]
    },
    {
      org: "GTFCC", icon: "🔬",
      color: C.red,
      title: "Global Cholera Roadmap 2030",
      points: ["WHO-led Global Task Force on Cholera Control", "Target: 90% reduction in cholera deaths by 2030", "OCV stockpiles, WASH infrastructure, surveillance"]
    },
    {
      org: "GWEP", icon: "🏆",
      color: C.green,
      title: "Guinea Worm Eradication Programme",
      points: ["Carter Center + CDC + WHO + UNICEF partnership", "Reduced cases from 3.5M (1986) to near-zero (2024)", "Landmark water-borne disease eradication effort"]
    },
    {
      org: "UNICEF WASH", icon: "👶",
      color: C.highlight,
      title: "WASH in Emergencies & Development",
      points: ["Water & sanitation infrastructure in LMICs", "Emergency WASH response in disasters", "WASH in schools & health care facilities"]
    },
    {
      org: "CDC / NORS", icon: "📊",
      color: C.light,
      title: "National Outbreak Reporting System (USA)",
      points: ["Voluntary WBD outbreak reporting by 57 reporting areas", "Evidence base for US waterborne disease policy", "Informs drinking water regulations & treatment standards"]
    },
  ];

  const positions = [
    [0.18, 1.1], [3.38, 1.1], [6.58, 1.1],
    [0.18, 3.05], [3.38, 3.05], [6.58, 3.05],
  ];

  intl.forEach((item, i) => {
    const [x, y] = positions[i];
    card(s, x, y, 3.1, 1.85, C.dark2);
    s.addShape(pres.shapes.RECTANGLE, {
      x, y, w: 3.1, h: 0.42,
      fill: { color: item.color === C.light ? C.mid : item.color },
      line: { color: item.color === C.light ? C.mid : item.color }
    });
    s.addText(`${item.icon} ${item.org}`, {
      x, y, w: 3.1, h: 0.42,
      fontSize: 10.5, bold: true, color: C.white,
      fontFace: "Calibri", align: "center", valign: "middle", margin: 0
    });
    s.addText(item.title, {
      x: x + 0.1, y: y + 0.44, w: 2.9, h: 0.32,
      fontSize: 8.5, color: C.accent, bold: true,
      fontFace: "Calibri", margin: 0
    });
    item.points.forEach((pt, j) => {
      s.addText([
        { text: "• ", options: { color: item.color === C.light ? C.accent : item.color, bold: true } },
        { text: pt, options: { color: C.offwhite } }
      ], {
        x: x + 0.1, y: y + 0.78 + j * 0.32, w: 2.9, h: 0.3,
        fontSize: 8.5, fontFace: "Calibri", margin: 0
      });
    });
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 11 – SURVEILLANCE & KEY INDICATORS
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offwhite }, line: { color: C.offwhite } });
  addSlideHeader(s, "SURVEILLANCE & KEY CONTROL INDICATORS");

  // Surveillance left panel
  card(s, 0.18, 1.18, 4.65, 4.15, C.white);
  s.addText("📡  DISEASE SURVEILLANCE COMPONENTS", {
    x: 0.28, y: 1.23, w: 4.45, h: 0.38,
    fontSize: 10.5, bold: true, color: C.mid,
    fontFace: "Calibri", margin: 0
  });
  const surv = [
    ["Case-Based Surveillance", "Mandatory reporting of notifiable diseases (Cholera, Typhoid, Hep A)"],
    ["Outbreak Surveillance", "Investigation of disease clusters linked to common water source"],
    ["Water Quality Monitoring", "Regular bacteriological (E. coli / coliforms) & chemical testing"],
    ["Sentinel Surveillance", "Health facility-based monitoring of diarrheal disease trends"],
    ["Event-Based Surveillance (EBS)", "Media monitoring, community alerts, rumor tracking"],
    ["WHO Water Safety Plans", "Risk-based catchment-to-consumer multi-barrier monitoring"],
  ];
  surv.forEach((item, i) => {
    s.addText(item[0], {
      x: 0.3, y: 1.68 + i * 0.6, w: 4.4, h: 0.25,
      fontSize: 10, bold: true, color: C.dark,
      fontFace: "Calibri", margin: 0
    });
    s.addText(item[1], {
      x: 0.3, y: 1.9 + i * 0.6, w: 4.4, h: 0.28,
      fontSize: 8.5, color: C.mid, italic: true,
      fontFace: "Calibri", margin: 0
    });
  });

  // Indicators right panel
  card(s, 5.1, 1.18, 4.7, 4.15, C.dark);
  s.addText("📊  KEY CONTROL INDICATORS", {
    x: 5.2, y: 1.23, w: 4.5, h: 0.38,
    fontSize: 10.5, bold: true, color: C.yellow,
    fontFace: "Calibri", margin: 0
  });

  const indicators = [
    { indicator: "E. coli in drinking water", target: "ZERO per 100 mL (WHO)", color: C.red },
    { indicator: "Free residual chlorine (piped)", target: "0.2 – 0.5 mg/L", color: C.accent },
    { indicator: "Safe managed drinking water", target: "Universal by 2030 (SDG 6)", color: C.green },
    { indicator: "Open defecation", target: "Zero OD – ODF status", color: C.highlight },
    { indicator: "Diarrheal mortality < 5 yrs", target: "< 25 / 1000 live births (SDG 3.2)", color: C.yellow },
    { indicator: "Cholera deaths (global)", target: "−90% by 2030 (GTFCC roadmap)", color: C.light },
  ];

  indicators.forEach((ind, i) => {
    s.addShape(pres.shapes.RECTANGLE, {
      x: 5.1, y: 1.7 + i * 0.6, w: 0.12, h: 0.5,
      fill: { color: ind.color }, line: { color: ind.color }
    });
    s.addText(ind.indicator, {
      x: 5.3, y: 1.7 + i * 0.6, w: 4.38, h: 0.27,
      fontSize: 9.5, color: C.white, bold: true,
      fontFace: "Calibri", margin: 0
    });
    s.addText(`Target: ${ind.target}`, {
      x: 5.3, y: 1.94 + i * 0.6, w: 4.38, h: 0.25,
      fontSize: 9, color: ind.color,
      fontFace: "Calibri", margin: 0
    });
  });
}

// ══════════════════════════════════════════════════════════════
// SLIDE 12 – SUMMARY / CLOSING
// ══════════════════════════════════════════════════════════════
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.dark2 }, line: { color: C.dark2 } });
  s.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0, w: 10, h: 0.1,
    fill: { color: C.accent }, line: { color: C.accent }
  });
  s.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0.1, w: 0.12, h: 5.525,
    fill: { color: C.accent }, line: { color: C.accent }
  });

  s.addText("KEY TAKEAWAYS", {
    x: 0.3, y: 0.25, w: 9.5, h: 0.55,
    fontSize: 22, bold: true, color: C.white,
    fontFace: "Calibri", charSpacing: 3, margin: 0
  });

  const takeaways = [
    { icon: "💀", text: "WBDs cause ~1.5 million deaths/year; diarrhea is 2nd leading cause of death in children < 5 yrs globally" },
    { icon: "🦠", text: "Major pathogens: Cholera, Typhoid, Rotavirus, Hep A/E, Shigella, E. coli, Giardia, Cryptosporidium" },
    { icon: "🔗", text: "Transmission primarily fecal-oral via contaminated water; amplified by climate change & flooding" },
    { icon: "🛡️", text: "Prevention: Safe water supply, sanitation, handwashing, vaccination (OCV, TCV, Hep A, Polio)" },
    { icon: "💊", text: "Management: ORT is the cornerstone; antibiotics for bacterial causes; specific agents for parasites" },
    { icon: "🏛️", text: "India: Jal Jeevan Mission 2.0 (2026-28), Swachh Bharat Mission, IDSP for outbreak surveillance" },
    { icon: "🌍", text: "Global: WHO WASH, SDG-6 (2030), Global Cholera Roadmap (−90% deaths), Guinea Worm near-eradication" },
  ];

  takeaways.forEach((t, i) => {
    card(s, 0.28, 0.95 + i * 0.63, 9.5, 0.57, "0D2D42");
    s.addText(t.icon, {
      x: 0.35, y: 0.95 + i * 0.63, w: 0.52, h: 0.57,
      fontSize: 16, align: "center", valign: "middle", margin: 0
    });
    s.addText(t.text, {
      x: 0.92, y: 0.95 + i * 0.63, w: 8.7, h: 0.57,
      fontSize: 10.5, color: C.white,
      fontFace: "Calibri", valign: "middle", margin: 0
    });
  });
}

// ── WRITE FILE ────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/waterborne-disease-ppt/Waterborne_Diseases.pptx" })
  .then(() => console.log("✅ PPT created: Waterborne_Diseases.pptx"))
  .catch(err => console.error("❌ Error:", err));
You've run out of free credits. Sign up for a free account to continue using Orris.
This is a shared conversation. Sign in to Orris to start your own chat.