I have recently completed my 7 years mbbs in kazakhstan and came back to india for further pg preparation, as i am free and want to do some extra curricular, so starting a youtube channel as i will try to make difficult medical topics easier, is it the right choice or what should i do

Starting a YouTube channel to simplify medical topics is a genuinely solid idea for your situation. Here's my honest take:
Why it makes sense for you:
  • You have 7 years of medical education - more than enough depth to teach foundational and complex topics
  • Teaching is one of the best ways to reinforce your own knowledge, which directly helps PG prep (NEET-PG/FMGE/NExT)
  • The Indian medical education content space is large but not saturated at the quality end - most channels focus on rote learning, not conceptual clarity
  • It builds a public portfolio and personal brand that can matter long-term
Practical reality check:
  • Growth is slow early - expect 6-12 months before meaningful traction
  • The overlap between "making content" and "studying" is real but not complete - you still need dedicated prep time
  • Equipment barrier is low: a decent mic, good lighting, and screen recording software is enough to start
  • Competition: Channels like Dr. Najeeb, Marrow, DAMS, Prepladder dominate - but they serve exam-prep, not deep conceptual understanding. That gap is your niche.
What would make your channel work:
  1. Pick a tight niche early - e.g., "Pathophysiology explained simply" or "Pharmacology mechanisms visually"
  2. Batch-produce content so you don't burn out between study sessions
  3. Target MBBS students and PG aspirants - that's your most natural audience
  4. Short-form (YouTube Shorts / Instagram Reels) alongside long videos accelerates discovery
One thing to be careful about:
Don't let the channel become a procrastination tool. PG prep (especially FMGE/NExT if you studied abroad) is high-stakes. Set a fixed weekly content budget - say 1 video per week - and protect your study hours.
Bottom line: Yes, it's the right choice - the timing is actually ideal since you're between milestones and the habit is easier to build now than after residency. Start small, stay consistent, and treat it as a parallel track, not a replacement for your studies.

What specific medical topics should I focus on for maximum reach?

Searching the Web

most searched medical topics YouTube India MBBS students 2025 2026

Searching the Web

NEET PG NExT most difficult topics high weightage 2025 2026

Reading Web Page

https://www.medexamsprep.com/blog/neet-pg-2025-paper-analysi…

Here's a data-backed breakdown of what to focus on, combining NEET PG exam trends with YouTube audience demand:

Tier 1: Maximum Reach (High Exam Weightage + High Confusion)

These subjects dominate the exam AND students struggle most with them conceptually:

1. General Medicine (15% of NEET PG)

The single highest-weighted subject. Focus on:
  • Cardiology - ECG interpretation, heart failure, arrhythmias (visually very teachable)
  • Endocrinology - Diabetes, thyroid, adrenal disorders (Addison's, Cushing's)
  • Infectious diseases - HIV-TB co-infection, IRIS, opportunistic infections
  • Rheumatology - RA, SLE, vasculitis (mechanism-heavy, hard to visualize)

2. Pharmacology (7.5% weightage, extremely high confusion factor)

Students find this the most confusing subject. Your best niche opportunity:
  • Drug mechanisms explained visually (receptor pharmacology)
  • Antimicrobial spectrum and mechanisms
  • CVS drugs (beta-blockers, CCBs, antihypertensives)
  • Autonomic pharmacology - nearly everyone struggles with this

3. OBGYN (10% weightage)

  • High-risk pregnancy conditions
  • Labor and obstetric emergencies (PPH, cord prolapse, shoulder dystocia)
  • Contraception mechanisms

4. Pathology (6%)

  • Hematological malignancies (AML, lymphoma subtypes - translocation mnemonics)
  • Inflammatory and autoimmune conditions
  • Image-based histology identification (50% of NEET PG is image-based - this is huge)

Tier 2: Niche High-Value Topics (Underserved on YouTube)

These are poorly covered conceptually online - gap = your opportunity:
SubjectSpecific Topics
BiochemistryEnzyme kinetics, metabolic pathways explained with diagrams
MicrobiologyCulture media logic, bacterial virulence mechanisms
PSM/Community MedicineBiostatistics, epidemiology study designs (everyone hates this)
PhysiologyCardiac physiology, renal physiology (very diagram-friendly)
SurgeryShock classification, wound healing, trauma management

The Single Best Content Strategy

Since ~50% of NEET PG 2025 was image-based and 70% was clinical vignette-based, the highest-value content format you can make is:
"Image/Case of the Week" - take a clinical image or scenario, walk through the reasoning step by step
This format:
  • Directly mirrors exam format
  • Is scarce on Indian medical YouTube
  • Works as short-form AND long-form
  • Builds a skill students can't get from reading text

Priority Order to Start

  1. Pharmacology mechanisms (most searched, most confusing, extremely teachable)
  2. Cardiology (ECG videos always get high views globally)
  3. Pathology histology (image-based = visual = YouTube-native)
  4. Biostatistics/PSM (everyone avoids it, those who teach it clearly have no competition)
  5. Endocrinology (high concept density, great for explainer format)
Start with Pharmacology - it has the widest audience (MBBS 2nd year to PG aspirants), every student needs it, and animated/mechanism-based explanations have proven reach globally (see: Dr. Najeeb's most-viewed videos are all pharmacology and physiology).

My plan is like ppt type file with images and later add high yield questions as i am also planning for AMC so that the student should connect the topic and case based questions

Asking for Preferences
Reading File
Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null && mkdir -p /home/daytona/workspace/auto…

Writing File

~/autonomic-pharma-ppt/build.js

const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
pres.layout = "LAYOUT_WIDE"; // 13.3" x 7.5"
pres.title = "Autonomic Pharmacology";
pres.author = "MedSimplified";

// ─── COLOUR PALETTE ──────────────────────────────────────────
const C = {
  white:    "FFFFFF",
  offWhite: "F8F9FA",
  lightGrey:"EEF0F3",
  midGrey:  "B0B8C4",
  darkText: "1A2236",
  subText:  "4A5568",
  blue:     "2563EB",   // dominant accent
  blueSoft: "DBEAFE",
  red:      "DC2626",
  redSoft:  "FEE2E2",
  green:    "16A34A",
  greenSoft:"DCFCE7",
  orange:   "EA580C",
  orangeSoft:"FFEDD5",
  purple:   "7C3AED",
  purpleSoft:"EDE9FE",
  darkBg:   "0F172A",
  accentYellow:"FCD34D",
};

// Helper: slide header bar
function addHeader(slide, title, subtitle) {
  // Top colour bar
  slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 0.85, fill: { color: C.blue } });
  slide.addText(title, { x: 0.35, y: 0.08, w: 10, h: 0.65, fontSize: 22, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });
  if (subtitle) {
    slide.addText(subtitle, { x: 0.35, y: 0.7, w: 12, h: 0.35, fontSize: 11, color: "BFDBFE", fontFace: "Calibri" });
  }
  // slide background
  slide.background = { color: C.white };
}

// Helper: footer
function addFooter(slide, text) {
  slide.addShape(pres.ShapeType.rect, { x: 0, y: 7.25, w: 13.3, h: 0.25, fill: { color: C.lightGrey } });
  slide.addText(text || "MedSimplified | Autonomic Pharmacology", { x: 0.3, y: 7.27, w: 9, h: 0.2, fontSize: 8, color: C.midGrey, fontFace: "Calibri" });
  slide.addText("NEET PG | NExT | AMC", { x: 10.5, y: 7.27, w: 2.5, h: 0.2, fontSize: 8, color: C.blue, fontFace: "Calibri", align: "right" });
}

// Helper: coloured label box
function labelBox(slide, text, x, y, w, h, bg, textColor) {
  slide.addShape(pres.ShapeType.roundRect, { x, y, w, h, fill: { color: bg }, line: { color: bg }, rectRadius: 0.06 });
  slide.addText(text, { x, y, w, h, fontSize: 11, bold: true, color: textColor || C.white, fontFace: "Calibri", align: "center", valign: "middle" });
}

// ─────────────────────────────────────────────────────────────
// SLIDE 1: TITLE SLIDE
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.darkBg };

  // Decorative rectangles
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 4.5, h: 7.5, fill: { color: "111827" } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 5.2, w: 13.3, h: 0.08, fill: { color: C.blue } });

  // Channel tag
  s.addText("MedSimplified", { x: 0.4, y: 0.35, w: 3.5, h: 0.5, fontSize: 13, color: C.accentYellow, bold: true, fontFace: "Calibri", charSpacing: 3 });

  // Left panel content
  s.addText("Autonomic\nPharmacology", { x: 0.4, y: 1.1, w: 3.8, h: 1.9, fontSize: 34, bold: true, color: C.white, fontFace: "Calibri" });
  s.addShape(pres.ShapeType.rect, { x: 0.4, y: 2.95, w: 1.2, h: 0.06, fill: { color: C.blue } });
  s.addText("From receptor to clinical drug — explained visually", { x: 0.4, y: 3.15, w: 3.7, h: 0.7, fontSize: 12, color: C.midGrey, fontFace: "Calibri", italic: true });

  // Episode badges
  const badges = ["SNS vs PNS", "Receptors", "Agonists", "Antagonists", "MCQs"];
  badges.forEach((b, i) => {
    s.addShape(pres.ShapeType.roundRect, { x: 0.4, y: 4.05 + i * 0.52, w: 3.4, h: 0.38, fill: { color: "1E293B" }, line: { color: C.blue, pt: 1 }, rectRadius: 0.07 });
    s.addText(`${i + 1}. ${b}`, { x: 0.55, y: 4.07 + i * 0.52, w: 3.2, h: 0.34, fontSize: 11, color: C.white, fontFace: "Calibri", valign: "middle" });
  });

  // Right side big text block
  s.addText("Why Autonomic\nPharmacology?", { x: 5, y: 1.0, w: 7.8, h: 1.2, fontSize: 28, bold: true, color: C.white, fontFace: "Calibri" });
  s.addText([
    { text: "7.5%", options: { fontSize: 48, bold: true, color: C.accentYellow, breakLine: false } },
    { text: "  of NEET PG | Tested in AMC MCQ & Clinical Cases", options: { fontSize: 14, color: C.midGrey } },
  ], { x: 5, y: 2.3, w: 7.8, h: 0.8, fontFace: "Calibri" });

  const reasons = [
    "Foundation for Anaesthesia, Surgery & Medicine questions",
    "Most conceptually misunderstood subject in Pharmacology",
    "High repeat rate in PYQs — predictable and scorable",
    "AMC cases often hinge on receptor selectivity & side effects",
  ];
  reasons.forEach((r, i) => {
    s.addShape(pres.ShapeType.rect, { x: 5, y: 3.25 + i * 0.62, w: 0.05, h: 0.38, fill: { color: C.blue } });
    s.addText(r, { x: 5.2, y: 3.22 + i * 0.62, w: 7.7, h: 0.42, fontSize: 12.5, color: C.midGrey, fontFace: "Calibri", valign: "middle" });
  });

  s.addText("EPISODE 01", { x: 9.8, y: 7.1, w: 3.1, h: 0.3, fontSize: 9, color: C.midGrey, fontFace: "Calibri", align: "right", charSpacing: 2 });
}

// ─────────────────────────────────────────────────────────────
// SLIDE 2: ANS OVERVIEW — SNS vs PNS
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  addHeader(s, "Autonomic Nervous System — The Big Picture", "Understanding the two arms before memorising drugs");
  addFooter(s);
  s.background = { color: C.white };

  // Central spine
  s.addShape(pres.ShapeType.rect, { x: 6.4, y: 1.0, w: 0.12, h: 5.9, fill: { color: C.lightGrey } });
  s.addText("CNS\nBrain + Spinal Cord", { x: 5.6, y: 0.95, w: 2.1, h: 0.7, fontSize: 10, bold: true, color: C.subText, fontFace: "Calibri", align: "center" });

  // ── SNS SIDE (left) ──
  s.addShape(pres.ShapeType.rect, { x: 0.25, y: 1.0, w: 5.8, h: 5.9, fill: { color: "F0F7FF" }, line: { color: C.blue, pt: 1.2 } });
  s.addText("SYMPATHETIC (SNS)", { x: 0.4, y: 1.1, w: 5.4, h: 0.45, fontSize: 15, bold: true, color: C.blue, fontFace: "Calibri", align: "center" });
  s.addText('"Fight or Flight"', { x: 0.4, y: 1.52, w: 5.4, h: 0.3, fontSize: 11, italic: true, color: C.subText, fontFace: "Calibri", align: "center" });

  const snsPoints = [
    ["Origin", "Thoracolumbar (T1–L2)"],
    ["Preganglionic NT", "Acetylcholine (nicotinic)"],
    ["Postganglionic NT", "Noradrenaline (mainly)"],
    ["Exception", "Sweat glands → ACh"],
    ["Adrenal medulla", "Releases Adrenaline + NA directly"],
    ["Receptors", "α1, α2, β1, β2, β3"],
  ];
  snsPoints.forEach(([k, v], i) => {
    const yy = 1.95 + i * 0.72;
    s.addShape(pres.ShapeType.roundRect, { x: 0.45, y: yy, w: 5.4, h: 0.6, fill: { color: C.blueSoft }, line: { color: "BFDBFE" }, rectRadius: 0.07 });
    s.addText(k + ":", { x: 0.6, y: yy + 0.05, w: 1.7, h: 0.5, fontSize: 11, bold: true, color: C.blue, fontFace: "Calibri", valign: "middle" });
    s.addText(v, { x: 2.2, y: yy + 0.05, w: 3.5, h: 0.5, fontSize: 11, color: C.darkText, fontFace: "Calibri", valign: "middle" });
  });

  // ── PNS SIDE (right) ──
  s.addShape(pres.ShapeType.rect, { x: 6.85, y: 1.0, w: 6.1, h: 5.9, fill: { color: "F0FFF4" }, line: { color: C.green, pt: 1.2 } });
  s.addText("PARASYMPATHETIC (PNS)", { x: 7.0, y: 1.1, w: 5.8, h: 0.45, fontSize: 15, bold: true, color: C.green, fontFace: "Calibri", align: "center" });
  s.addText('"Rest & Digest"', { x: 7.0, y: 1.52, w: 5.8, h: 0.3, fontSize: 11, italic: true, color: C.subText, fontFace: "Calibri", align: "center" });

  const pnsPoints = [
    ["Origin", "Craniosacral (CN III, VII, IX, X + S2–S4)"],
    ["Preganglionic NT", "Acetylcholine (nicotinic)"],
    ["Postganglionic NT", "Acetylcholine (muscarinic)"],
    ["Ganglia location", "Near or within the target organ"],
    ["Vagus nerve (CN X)", "Supplies heart, lungs, GIT (80% PNS)"],
    ["Receptors", "M1, M2, M3 (muscarinic)"],
  ];
  pnsPoints.forEach(([k, v], i) => {
    const yy = 1.95 + i * 0.72;
    s.addShape(pres.ShapeType.roundRect, { x: 7.05, y: yy, w: 5.75, h: 0.6, fill: { color: C.greenSoft }, line: { color: "BBF7D0" }, rectRadius: 0.07 });
    s.addText(k + ":", { x: 7.15, y: yy + 0.05, w: 1.9, h: 0.5, fontSize: 11, bold: true, color: C.green, fontFace: "Calibri", valign: "middle" });
    s.addText(v, { x: 8.95, y: yy + 0.05, w: 3.7, h: 0.5, fontSize: 11, color: C.darkText, fontFace: "Calibri", valign: "middle" });
  });
}

// ─────────────────────────────────────────────────────────────
// SLIDE 3: RECEPTOR MAP
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  addHeader(s, "Adrenergic Receptor Map — Locations & Effects", "The most tested slide in Autonomic Pharmacology");
  addFooter(s);

  // Table header
  const cols = ["Receptor", "Location", "Effect When Activated", "Clinical Link"];
  const colW = [1.6, 3.5, 4.2, 3.5];
  const startX = [0.25, 1.85, 5.35, 9.55];
  const tableY = 1.0;

  cols.forEach((c, i) => {
    s.addShape(pres.ShapeType.rect, { x: startX[i], y: tableY, w: colW[i], h: 0.45, fill: { color: C.blue } });
    s.addText(c, { x: startX[i] + 0.05, y: tableY, w: colW[i] - 0.1, h: 0.45, fontSize: 11, bold: true, color: C.white, fontFace: "Calibri", valign: "middle", align: "center" });
  });

  const rows = [
    { rec: "α1", color: C.red, softColor: C.redSoft, loc: "Vascular smooth muscle, pupil dilator, bladder neck", effect: "Vasoconstriction, mydriasis, urinary retention", cli: "Phenylephrine (nasal decongestant)\nTamsulosin → BPH" },
    { rec: "α2", color: C.orange, softColor: C.orangeSoft, loc: "Presynaptic nerve terminals, pancreatic β cells", effect: "↓ NA release (autoreceptor), ↓ insulin secretion", cli: "Clonidine → HTN, opioid withdrawal\nBrimonidine → glaucoma" },
    { rec: "β1", color: C.blue, softColor: C.blueSoft, loc: "Heart (SA node, AV node, ventricle), JGA of kidney", effect: "↑ HR, ↑ contractility, ↑ AV conduction, ↑ renin", cli: "Metoprolol → HTN, heart failure\nDobutamine → cardiogenic shock" },
    { rec: "β2", color: C.green, softColor: C.greenSoft, loc: "Bronchial smooth muscle, uterus, vascular SM, liver", effect: "Bronchodilation, uterine relaxation, glycogenolysis", cli: "Salbutamol → asthma\nRitodrine → premature labour" },
    { rec: "β3", color: C.purple, softColor: C.purpleSoft, loc: "Adipose tissue, detrusor muscle of bladder", effect: "Lipolysis, bladder relaxation (↑ capacity)", cli: "Mirabegron → overactive bladder" },
  ];

  rows.forEach((r, i) => {
    const yy = tableY + 0.5 + i * 1.05;
    // Row background
    s.addShape(pres.ShapeType.rect, { x: 0.25, y: yy, w: 12.8, h: 0.95, fill: { color: r.softColor }, line: { color: "E5E7EB", pt: 0.5 } });
    // Receptor badge
    s.addShape(pres.ShapeType.roundRect, { x: 0.3, y: yy + 0.15, w: 1.4, h: 0.65, fill: { color: r.color }, rectRadius: 0.1 });
    s.addText(r.rec, { x: 0.3, y: yy + 0.15, w: 1.4, h: 0.65, fontSize: 22, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle" });
    // Other cells
    s.addText(r.loc, { x: 1.9, y: yy + 0.05, w: 3.35, h: 0.85, fontSize: 10, color: C.darkText, fontFace: "Calibri", valign: "middle" });
    s.addText(r.effect, { x: 5.4, y: yy + 0.05, w: 4.0, h: 0.85, fontSize: 10, color: C.darkText, fontFace: "Calibri", valign: "middle" });
    s.addText(r.cli, { x: 9.6, y: yy + 0.05, w: 3.4, h: 0.85, fontSize: 9.5, color: r.color, fontFace: "Calibri", valign: "middle", bold: false });
  });
}

// ─────────────────────────────────────────────────────────────
// SLIDE 4: MUSCARINIC RECEPTOR MAP
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  addHeader(s, "Muscarinic Receptors — Subtypes, Location & Drugs", "PNS receptors — key to understanding Atropine, Bethanechol & more");
  addFooter(s);

  // Three receptor boxes
  const mRecs = [
    { type: "M1", nickname: "\"Neural\"", color: C.purple, soft: C.purpleSoft, loc: "CNS, gastric parietal cells, ganglia", effect: "↑ Cognition, ↑ gastric acid", drugs: "Pirenzepine → peptic ulcer\nDonepezil (indirect via AChE)", mem: "M1 = Mind (CNS)" },
    { type: "M2", nickname: "\"Cardiac\"", color: C.blue, soft: C.blueSoft, loc: "Heart (SA & AV node)", effect: "↓ HR, ↓ AV conduction (K+ channel)", drugs: "Atropine blocks M2 → ↑HR (treats bradycardia)", mem: "M2 = My heart" },
    { type: "M3", nickname: "\"Glandular/Smooth Muscle\"", color: C.green, soft: C.greenSoft, loc: "Glands, smooth muscle, eye (ciliary, pupil), bronchi, GIT, bladder", effect: "↑ secretions (saliva, sweat, tears)\nBronchospasm, miosis, ↑ GI motility, urination", drugs: "Ipratropium (COPD) → blocks M3 in bronchi\nBethanechol → stimulates M3 (post-op ileus, urinary retention)", mem: "M3 = Most effects" },
  ];

  mRecs.forEach((m, i) => {
    const x = 0.3 + i * 4.3;
    const w = 4.1;
    // Main card
    s.addShape(pres.ShapeType.roundRect, { x, y: 1.0, w, h: 6.1, fill: { color: m.soft }, line: { color: m.color, pt: 1.5 }, rectRadius: 0.12 });
    // Header
    s.addShape(pres.ShapeType.rect, { x, y: 1.0, w, h: 0.75, fill: { color: m.color } });
    s.addText(m.type, { x, y: 1.02, w: w * 0.4, h: 0.72, fontSize: 30, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle" });
    s.addText(m.nickname, { x: x + w * 0.38, y: 1.08, w: w * 0.6, h: 0.6, fontSize: 12, color: "E0E0E0", fontFace: "Calibri", valign: "middle", italic: true });

    // Sections
    const sections = [["📍 Location", m.loc], ["⚡ Effect", m.effect], ["💊 Key Drugs", m.drugs], ["🧠 Memory", m.mem]];
    sections.forEach(([label, text], j) => {
      const yy = 1.9 + j * 1.2;
      s.addText(label, { x: x + 0.15, y: yy, w: w - 0.3, h: 0.3, fontSize: 10, bold: true, color: m.color, fontFace: "Calibri" });
      s.addText(text, { x: x + 0.15, y: yy + 0.28, w: w - 0.3, h: 0.82, fontSize: 10, color: C.darkText, fontFace: "Calibri", valign: "top" });
    });
  });
}

// ─────────────────────────────────────────────────────────────
// SLIDE 5: KEY DRUG COMPARISON — ADRENERGIC AGONISTS
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  addHeader(s, "Adrenergic Agonists — Selectivity & Clinical Use", "The drugs that activate SNS receptors");
  addFooter(s);

  // Selectivity spectrum bar
  s.addText("SELECTIVITY SPECTRUM", { x: 0.3, y: 1.0, w: 12.7, h: 0.3, fontSize: 11, bold: true, color: C.subText, fontFace: "Calibri", charSpacing: 2 });

  // Spectrum arrow
  s.addShape(pres.ShapeType.rect, { x: 0.5, y: 1.38, w: 12.3, h: 0.18, fill: { color: C.lightGrey } });
  // Gradient feel - manual
  ["2563EB","3B82F6","60A5FA","93C5FD","BFDBFE","A7F3D0","6EE7B7","34D399","16A34A"].forEach((c, i) => {
    s.addShape(pres.ShapeType.rect, { x: 0.5 + i * 1.37, y: 1.38, w: 1.37, h: 0.18, fill: { color: c } });
  });
  s.addText("← More α", { x: 0.3, y: 1.6, w: 2, h: 0.25, fontSize: 9, color: C.red, fontFace: "Calibri" });
  s.addText("Non-selective", { x: 5.8, y: 1.6, w: 2, h: 0.25, fontSize: 9, color: C.subText, fontFace: "Calibri", align: "center" });
  s.addText("More β →", { x: 10.8, y: 1.6, w: 2, h: 0.25, fontSize: 9, color: C.blue, fontFace: "Calibri", align: "right" });

  // Drug cards (2 rows × 4)
  const drugs = [
    { name: "Noradrenaline", sel: "α1>α2>>β1", color: C.red, use: "Septic shock (↑ BP)", note: "No β2 — no bronchodilation", badge: "α" },
    { name: "Adrenaline\n(Epinephrine)", sel: "α1, α2, β1, β2", color: C.orange, use: "Anaphylaxis, cardiac arrest, with local anaesthetics", note: "Low dose → β2 effects; High dose → α effects", badge: "α+β" },
    { name: "Dopamine", sel: "D1 > β1 > α1\n(dose-dependent)", color: C.purple, use: "Cardiogenic/septic shock, AKI oliguria", note: "Low: renal dilation\nMid: ↑ HR\nHigh: vasoconstriction", badge: "D/β/α" },
    { name: "Isoprenaline", sel: "β1 = β2", color: C.blue, use: "Complete heart block (emergency)\nBradycardia", note: "No α — profound vasodilation + ↑HR", badge: "β" },
    { name: "Dobutamine", sel: "β1 > β2", color: "1D4ED8", use: "Cardiogenic shock, cardiac stress test", note: "↑ contractility > ↑HR\nPreferred in CHF with low CO", badge: "β1" },
    { name: "Salbutamol\n(Albuterol)", sel: "β2 selective", color: C.green, use: "Acute asthma, COPD, premature labour", note: "Tremors, tachycardia at high doses (β1 spillover)", badge: "β2" },
    { name: "Phenylephrine", sel: "α1 selective", color: C.red, use: "Nasal decongestant\nHypotension in spinal anaesthesia", note: "Reflex bradycardia (no cardiac β1)", badge: "α1" },
    { name: "Clonidine", sel: "α2 selective\n(central)", color: C.orange, use: "Hypertension, opioid withdrawal, ADHD", note: "Rebound HTN on sudden withdrawal", badge: "α2" },
  ];

  drugs.forEach((d, i) => {
    const col = i % 4;
    const row = Math.floor(i / 4);
    const x = 0.25 + col * 3.25;
    const y = 1.95 + row * 2.65;
    s.addShape(pres.ShapeType.roundRect, { x, y, w: 3.1, h: 2.45, fill: { color: C.offWhite }, line: { color: d.color, pt: 1.2 }, rectRadius: 0.1 });
    // Top badge
    s.addShape(pres.ShapeType.roundRect, { x, y, w: 3.1, h: 0.55, fill: { color: d.color }, rectRadius: 0.1 });
    s.addText(d.name, { x: x + 0.05, y: y + 0.04, w: 2.4, h: 0.48, fontSize: 11, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });
    s.addText(d.badge, { x: x + 2.45, y: y + 0.05, w: 0.6, h: 0.45, fontSize: 9, bold: true, color: C.white, fontFace: "Calibri", align: "center", valign: "middle" });

    s.addText("Receptor: " + d.sel, { x: x + 0.1, y: y + 0.6, w: 2.9, h: 0.38, fontSize: 9.5, color: d.color, fontFace: "Calibri", bold: true });
    s.addText("Use: " + d.use, { x: x + 0.1, y: y + 0.95, w: 2.9, h: 0.65, fontSize: 9, color: C.darkText, fontFace: "Calibri" });
    s.addText("⚠ " + d.note, { x: x + 0.1, y: y + 1.6, w: 2.9, h: 0.7, fontSize: 8.5, color: C.subText, fontFace: "Calibri", italic: true });
  });
}

// ─────────────────────────────────────────────────────────────
// SLIDE 6: ADRENERGIC ANTAGONISTS (BLOCKERS)
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  addHeader(s, "Adrenergic Antagonists (Blockers) — α & β", "Block the SNS — key for HTN, heart disease & BPH");
  addFooter(s);

  // Alpha blockers section
  s.addShape(pres.ShapeType.rect, { x: 0.25, y: 0.95, w: 6.1, h: 0.4, fill: { color: C.red } });
  s.addText("α-BLOCKERS", { x: 0.3, y: 0.95, w: 5.9, h: 0.4, fontSize: 13, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });

  const alphaRows = [
    ["Phentolamine", "α1 + α2 (non-sel.)", "Phaeochromocytoma crisis (pre-op)", "Reflex tachycardia (blocks α2 autoreceptor)"],
    ["Phenoxybenzamine", "α1 + α2 (irreversible)", "Phaeochromocytoma (long-term)", "Non-competitive, long duration"],
    ["Prazosin", "α1 selective", "HTN, BPH, PTSD nightmares", "First-dose syncope — give at bedtime"],
    ["Tamsulosin", "α1A selective (prostate)", "BPH — urinary flow", "Minimal BP effect, intraoperative floppy iris"],
    ["Yohimbine", "α2 selective", "Male erectile dysfunction (research)", "↑ NA release centrally"],
  ];

  const aHdr = ["Drug", "Selectivity", "Clinical Use", "Key Note"];
  const aW = [2.2, 2.0, 2.9, 3.2];
  const aX = [0.25, 2.5, 4.55, 7.5];
  aHdr.forEach((h, i) => {
    s.addShape(pres.ShapeType.rect, { x: aX[i], y: 1.4, w: aW[i] - 0.05, h: 0.35, fill: { color: C.redSoft } });
    s.addText(h, { x: aX[i] + 0.05, y: 1.4, w: aW[i] - 0.1, h: 0.35, fontSize: 10, bold: true, color: C.red, fontFace: "Calibri", valign: "middle" });
  });
  alphaRows.forEach((row, i) => {
    const yy = 1.8 + i * 0.47;
    const bg = i % 2 === 0 ? C.white : C.offWhite;
    s.addShape(pres.ShapeType.rect, { x: 0.25, y: yy, w: 10.45, h: 0.45, fill: { color: bg } });
    row.forEach((cell, j) => {
      s.addText(cell, { x: aX[j] + 0.05, y: yy + 0.04, w: aW[j] - 0.1, h: 0.38, fontSize: 9.5, color: j === 0 ? C.red : C.darkText, fontFace: "Calibri", bold: j === 0, valign: "middle" });
    });
  });

  // Beta blockers section
  const bbY = 4.25;
  s.addShape(pres.ShapeType.rect, { x: 0.25, y: bbY, w: 12.8, h: 0.4, fill: { color: C.blue } });
  s.addText("β-BLOCKERS", { x: 0.3, y: bbY, w: 12.7, h: 0.4, fontSize: 13, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });

  // Mnemonic strip
  s.addShape(pres.ShapeType.roundRect, { x: 0.25, y: bbY + 0.45, w: 12.8, h: 0.45, fill: { color: C.blueSoft }, rectRadius: 0.07 });
  s.addText("Memory: \"A-B-E-M-C-P\" → Atenolol, Bisoprolol, Esmolol, Metoprolol are β1 selective (cardioselective). Non-selective: Propranolol, Nadolol, Timolol, Carvedilol (+ α1).", {
    x: 0.4, y: bbY + 0.48, w: 12.5, h: 0.38, fontSize: 10, color: C.blue, fontFace: "Calibri", italic: true, valign: "middle"
  });

  const betaRows = [
    ["Propranolol", "β1 + β2 (non-sel.)", "HTN, angina, SVT, anxiety, thyroid storm, essential tremor, migraine prophylaxis", "CI: Asthma, COPD (β2 block → bronchoconstriction)"],
    ["Metoprolol", "β1 selective", "HTN, post-MI, CHF, atrial fibrillation", "Safe in mild-moderate asthma"],
    ["Esmolol", "β1 selective, IV, ultra-short", "Intraoperative HTN, SVT, aortic dissection", "t½ = 9 min — titratable"],
    ["Carvedilol", "β1+β2+α1", "CHF (reduced EF), post-MI", "BP ↓ from α1 block; no reflex tachycardia"],
    ["Timolol", "β1+β2 (eye drops)", "Glaucoma — ↓ aqueous humour production", "Systemic absorption → bradycardia, bronchospasm"],
  ];

  const bHdr = ["Drug", "Selectivity", "Clinical Use", "Key Note"];
  const bW = [2.2, 2.2, 5.0, 3.2];
  const bX = [0.25, 2.5, 4.75, 9.85];
  bHdr.forEach((h, i) => {
    s.addShape(pres.ShapeType.rect, { x: bX[i], y: bbY + 0.95, w: bW[i] - 0.05, h: 0.35, fill: { color: C.blueSoft } });
    s.addText(h, { x: bX[i] + 0.05, y: bbY + 0.95, w: bW[i] - 0.1, h: 0.35, fontSize: 10, bold: true, color: C.blue, fontFace: "Calibri", valign: "middle" });
  });
  betaRows.forEach((row, i) => {
    const yy = bbY + 1.35 + i * 0.43;
    const bg = i % 2 === 0 ? C.white : C.offWhite;
    s.addShape(pres.ShapeType.rect, { x: 0.25, y: yy, w: 12.8, h: 0.41, fill: { color: bg } });
    row.forEach((cell, j) => {
      s.addText(cell, { x: bX[j] + 0.05, y: yy + 0.04, w: bW[j] - 0.1, h: 0.34, fontSize: 9, color: j === 0 ? C.blue : C.darkText, fontFace: "Calibri", bold: j === 0, valign: "middle" });
    });
  });
}

// ─────────────────────────────────────────────────────────────
// SLIDE 7: CHOLINERGIC DRUGS
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  addHeader(s, "Cholinergic Drugs — Agonists & Antagonists", "Drugs acting on ACh receptors — muscarinic & nicotinic");
  addFooter(s);

  // DUMBELS mnemonic
  s.addShape(pres.ShapeType.roundRect, { x: 0.25, y: 1.0, w: 12.8, h: 0.7, fill: { color: C.orangeSoft }, line: { color: C.orange, pt: 1 }, rectRadius: 0.08 });
  s.addText("🧠 DUMBBELS — Signs of Cholinergic Excess (Organophosphate Poisoning / AChE inhibitor overdose)", {
    x: 0.4, y: 1.05, w: 12.5, h: 0.28, fontSize: 11, bold: true, color: C.orange, fontFace: "Calibri"
  });
  const dumbs = ["D – Defaecation/Diarrhoea", "U – Urination", "M – Miosis", "B – Bradycardia", "B – Bronchospasm/Bronchorrhoea", "E – Emesis", "L – Lacrimation", "S – Salivation / Sweating"];
  const dPerRow = 4;
  dumbs.forEach((d, i) => {
    const col = i % dPerRow; const row = Math.floor(i / dPerRow);
    s.addText("• " + d, { x: 0.4 + col * 3.15, y: 1.38 + row * 0.26, w: 3.1, h: 0.24, fontSize: 9.5, color: C.orange, fontFace: "Calibri" });
  });

  // Cholinergic agonists table
  s.addShape(pres.ShapeType.rect, { x: 0.25, y: 1.97, w: 5.9, h: 0.36, fill: { color: C.green } });
  s.addText("CHOLINERGIC AGONISTS", { x: 0.3, y: 1.97, w: 5.8, h: 0.36, fontSize: 12, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });

  const agRows = [
    ["Bethanechol", "M3 (direct)", "Post-op ileus, urinary retention\n(paralytic ileus/neurogenic bladder)", "Does NOT cross BBB\nNot destroyed by AChE"],
    ["Pilocarpine", "M3 (direct)", "Glaucoma (↑ aqueous outflow)\nXerostomia (Sjögren's)", "Eye drops — causes miosis + spasm of accommodation"],
    ["Neostigmine", "AChE inhibitor\n(indirect)", "Myasthenia gravis, reversal of NMB,\npost-op paralytic ileus", "Does NOT cross BBB\nAntidote: Atropine"],
    ["Physostigmine", "AChE inhibitor\n(indirect, crosses BBB)", "Atropine poisoning antidote\nGlaucoma (historical)", "Crosses BBB — used for central anticholinergic syndrome"],
  ];
  const agHdr = ["Drug", "Mechanism", "Uses", "Key Note"];
  const agW = [2.0, 1.8, 3.3, 3.2];
  const agX = [0.25, 2.3, 4.15, 7.5];

  agHdr.forEach((h, i) => {
    s.addShape(pres.ShapeType.rect, { x: agX[i], y: 2.38, w: agW[i] - 0.05, h: 0.32, fill: { color: C.greenSoft } });
    s.addText(h, { x: agX[i] + 0.05, y: 2.38, w: agW[i] - 0.1, h: 0.32, fontSize: 10, bold: true, color: C.green, fontFace: "Calibri", valign: "middle" });
  });
  agRows.forEach((row, i) => {
    const yy = 2.73 + i * 0.58;
    const bg = i % 2 === 0 ? C.white : C.offWhite;
    row.forEach((cell, j) => {
      s.addShape(pres.ShapeType.rect, { x: agX[j], y: yy, w: agW[j] - 0.05, h: 0.56, fill: { color: bg } });
      s.addText(cell, { x: agX[j] + 0.05, y: yy + 0.03, w: agW[j] - 0.1, h: 0.5, fontSize: 9, color: j === 0 ? C.green : C.darkText, fontFace: "Calibri", bold: j === 0, valign: "middle" });
    });
  });

  // Anticholinergics section
  s.addShape(pres.ShapeType.rect, { x: 7.0, y: 1.97, w: 6.05, h: 0.36, fill: { color: C.purple } });
  s.addText("ANTICHOLINERGICS (Muscarinic Blockers)", { x: 7.05, y: 1.97, w: 5.9, h: 0.36, fontSize: 11, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });

  const antichoRows = [
    ["Atropine", "Blocks M1, M2, M3", "Bradycardia, pre-anaesthetic, OPC poisoning antidote, organophosphate Rx, dilate pupil (mydriasis)", "Mad as a hatter\nDry as a bone\nRed as a beet"],
    ["Scopolamine\n(Hyoscine)", "Blocks M1>M3 (CNS)", "Motion sickness (patch), pre-anaesthetic", "Sedation, amnesia, anti-emetic"],
    ["Ipratropium", "M3 (inhaled)", "COPD, acute severe asthma (add-on)", "Minimal systemic effect — quaternary amine"],
    ["Oxybutynin\nSolifenacin", "M3 selective (bladder)", "Overactive bladder, urge incontinence", "Dry mouth, constipation most common SE"],
  ];
  const acHdr = ["Drug", "Mechanism", "Uses", "Classic SE / Note"];
  const acW = [1.9, 1.8, 3.2, 2.2];
  const acX = [6.85, 8.8, 10.65, 10.3]; // overlap fix below

  // Re-layout anticholinergic
  const ac2X = [7.0, 8.8, 10.55, 10.55];
  const ac2W = [1.75, 1.7, 2.85, 2.0];

  acHdr.forEach((h, i) => {
    s.addShape(pres.ShapeType.rect, { x: ac2X[i], y: 2.38, w: ac2W[i] - 0.05, h: 0.32, fill: { color: C.purpleSoft } });
    s.addText(h, { x: ac2X[i] + 0.05, y: 2.38, w: ac2W[i] - 0.1, h: 0.32, fontSize: 10, bold: true, color: C.purple, fontFace: "Calibri", valign: "middle" });
  });
  antichoRows.forEach((row, i) => {
    const yy = 2.73 + i * 0.58;
    const bg = i % 2 === 0 ? C.white : C.offWhite;
    row.forEach((cell, j) => {
      s.addShape(pres.ShapeType.rect, { x: ac2X[j], y: yy, w: ac2W[j] - 0.05, h: 0.56, fill: { color: bg } });
      s.addText(cell, { x: ac2X[j] + 0.05, y: yy + 0.03, w: ac2W[j] - 0.1, h: 0.5, fontSize: 9, color: j === 0 ? C.purple : C.darkText, fontFace: "Calibri", bold: j === 0, valign: "middle" });
    });
  });
}

// ─────────────────────────────────────────────────────────────
// SLIDE 8: HIGH-YIELD MCQs — NEET PG / NExT / AMC STYLE
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.darkBg };

  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 0.75, fill: { color: C.blue } });
  s.addText("HIGH-YIELD MCQs — Test Your Concepts", { x: 0.3, y: 0.08, w: 10, h: 0.58, fontSize: 18, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });
  s.addText("NEET PG | NExT | AMC Format", { x: 10, y: 0.18, w: 3.0, h: 0.38, fontSize: 10, color: C.accentYellow, fontFace: "Calibri", align: "right" });

  const mcqs = [
    {
      q: "Q1. A 60-year-old man with BPH complains of difficulty initiating urination and dribbling. Which drug acts on α1A receptors selectively to relieve his symptoms with minimal effect on blood pressure?",
      opts: ["A) Prazosin", "B) Tamsulosin", "C) Phenoxybenzamine", "D) Phentolamine"],
      ans: "B) Tamsulosin",
      exp: "Tamsulosin is selective for α1A receptors found mainly in the prostate/bladder neck. Prazosin blocks all α1 subtypes causing first-dose hypotension.",
    },
    {
      q: "Q2. A 28-year-old asthmatic is prescribed a drug for hypertension. Next day he develops severe bronchospasm. Which drug most likely caused this?",
      opts: ["A) Amlodipine", "B) Metoprolol", "C) Propranolol", "D) Atenolol"],
      ans: "C) Propranolol",
      exp: "Propranolol is non-selective (β1 + β2). β2 blockade in lungs → bronchoconstriction. Metoprolol & Atenolol (β1-selective) are relatively safer in asthma.",
    },
    {
      q: "Q3. During surgery, a patient develops hypertension from a phaeochromocytoma. The anaesthetist gives IV phentolamine but notices tachycardia worsening. Why?",
      opts: ["A) Phentolamine stimulates β1 directly", "B) Phentolamine blocks α2 presynaptic → ↑ NA release → β1 stimulation", "C) Phentolamine blocks β2 receptors", "D) Phentolamine activates dopamine receptors"],
      ans: "B) Phentolamine blocks α2 presynaptic → ↑ NA release → β1 stimulation",
      exp: "Phentolamine is a non-selective α-blocker. Blocking presynaptic α2 autoreceptors removes negative feedback, increasing NA release, which stimulates β1 → tachycardia.",
    },
  ];

  mcqs.forEach((mcq, i) => {
    const y = 0.88 + i * 2.15;
    s.addShape(pres.ShapeType.roundRect, { x: 0.25, y, w: 12.8, h: 2.0, fill: { color: "111827" }, line: { color: "1E3A5F", pt: 1 }, rectRadius: 0.1 });
    // Question
    s.addText(mcq.q, { x: 0.45, y: y + 0.1, w: 12.4, h: 0.55, fontSize: 10, color: C.white, fontFace: "Calibri", bold: false });
    // Options
    mcq.opts.forEach((opt, j) => {
      const ox = 0.5 + (j % 2) * 6.2;
      const oy = y + 0.72 + Math.floor(j / 2) * 0.28;
      const isAns = opt === mcq.ans;
      s.addShape(pres.ShapeType.roundRect, { x: ox, y: oy, w: 5.9, h: 0.25, fill: { color: isAns ? "14532D" : "1F2937" }, line: { color: isAns ? C.green : "374151" }, rectRadius: 0.05 });
      s.addText((isAns ? "✓ " : "   ") + opt, { x: ox + 0.05, y: oy, w: 5.8, h: 0.25, fontSize: 9.5, color: isAns ? "#86EFAC" : C.midGrey, fontFace: "Calibri", valign: "middle" });
    });
    // Explanation
    s.addText("💡 " + mcq.exp, { x: 0.45, y: y + 1.35, w: 12.4, h: 0.55, fontSize: 9, color: C.accentYellow, fontFace: "Calibri", italic: true });
  });

  addFooter(s);
}

// ─────────────────────────────────────────────────────────────
// SLIDE 9: CASE-BASED MCQ — AMC STYLE
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.darkBg };
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 0.7, fill: { color: C.orange } });
  s.addText("CLINICAL CASE — AMC / NExT Style", { x: 0.3, y: 0.1, w: 10, h: 0.5, fontSize: 17, bold: true, color: C.white, fontFace: "Calibri", valign: "middle" });
  s.addText("Case Integration", { x: 10.5, y: 0.15, w: 2.5, h: 0.38, fontSize: 10, color: C.white, fontFace: "Calibri", align: "right" });

  // Case box
  s.addShape(pres.ShapeType.roundRect, { x: 0.25, y: 0.8, w: 12.8, h: 2.3, fill: { color: "1C1917" }, line: { color: C.orange, pt: 1 }, rectRadius: 0.1 });
  s.addText("CASE VIGNETTE", { x: 0.45, y: 0.88, w: 3, h: 0.3, fontSize: 10, bold: true, color: C.orange, fontFace: "Calibri", charSpacing: 2 });
  s.addText(
    "A 45-year-old man presents to the emergency department with:\n" +
    "• Severe headache and diaphoresis for 2 hours\n" +
    "• BP: 210/120 mmHg | HR: 112 bpm | Temp: 37.4°C\n" +
    "• Incidental finding of a right adrenal mass on recent CT\n" +
    "• Urinary VMA and metanephrines are elevated\n\n" +
    "He requires emergency blood pressure control before planned surgical resection.",
    { x: 0.45, y: 1.22, w: 12.3, h: 1.75, fontSize: 11, color: C.white, fontFace: "Calibri", valign: "top" }
  );

  // 3 questions
  const caseQs = [
    {
      q: "Case Q1: What is the FIRST drug to administer for BP control?",
      opts: ["A) Metoprolol IV", "B) Phentolamine IV", "C) Atenolol PO", "D) Prazosin PO"],
      ans: "B) Phentolamine IV",
      exp: "In phaeochromocytoma, always start with an α-blocker FIRST. Starting a β-blocker without α blockade causes paradoxical severe hypertension (unopposed α stimulation).",
    },
    {
      q: "Case Q2: Why must β-blockers NOT be given before α-blockade?",
      opts: ["A) β-blockers cause tachycardia in phaeochromocytoma", "B) Without β2 vasodilation, unopposed α1 causes severe vasoconstriction + hypertensive crisis", "C) β-blockers increase VMA levels", "D) β-blockers cause adrenal stimulation"],
      ans: "B) Without β2 vasodilation, unopposed α1 causes severe vasoconstriction + hypertensive crisis",
      exp: "Catecholamines from phaeochromocytoma activate both α and β receptors. β2 mediates vasodilation. If you block β2 first, α1 vasoconstriction is unopposed → BP spike.",
    },
    {
      q: "Case Q3: Preoperatively, which α-blocker is preferred for LONG-TERM preparation?",
      opts: ["A) Phentolamine", "B) Phenoxybenzamine", "C) Tamsulosin", "D) Yohimbine"],
      ans: "B) Phenoxybenzamine",
      exp: "Phenoxybenzamine is irreversible, non-selective α-blocker. Preferred for pre-op preparation (10–14 days) due to its long, stable action. Phentolamine is used for acute crises only.",
    },
  ];

  caseQs.forEach((cq, i) => {
    const y = 3.22 + i * 1.39;
    s.addShape(pres.ShapeType.roundRect, { x: 0.25, y, w: 12.8, h: 1.28, fill: { color: "111827" }, line: { color: "374151" }, rectRadius: 0.08 });
    s.addText(cq.q, { x: 0.45, y: y + 0.06, w: 12.3, h: 0.28, fontSize: 10, color: C.white, fontFace: "Calibri", bold: true });
    cq.opts.forEach((opt, j) => {
      const ox = 0.5 + (j % 2) * 6.2;
      const oy = y + 0.36 + Math.floor(j / 2) * 0.27;
      const isAns = opt === cq.ans;
      s.addShape(pres.ShapeType.roundRect, { x: ox, y: oy, w: 5.9, h: 0.25, fill: { color: isAns ? "14532D" : "1F2937" }, line: { color: isAns ? C.green : "374151" }, rectRadius: 0.05 });
      s.addText((isAns ? "✓ " : "   ") + opt, { x: ox + 0.05, y: oy, w: 5.8, h: 0.25, fontSize: 9, color: isAns ? "#86EFAC" : C.midGrey, fontFace: "Calibri", valign: "middle" });
    });
    s.addText("💡 " + cq.exp, { x: 0.45, y: y + 0.92, w: 12.3, h: 0.28, fontSize: 9, color: C.accentYellow, fontFace: "Calibri", italic: true });
  });
}

// ─────────────────────────────────────────────────────────────
// SLIDE 10: CLOSING / SUMMARY
// ─────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.darkBg };

  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 13.3, h: 7.5, fill: { color: C.darkBg } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 5.0, h: 7.5, fill: { color: "0F1B2D" } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 4.9, w: 13.3, h: 0.07, fill: { color: C.blue } });

  s.addText("What we\ncovered today", { x: 0.4, y: 0.5, w: 4.2, h: 1.2, fontSize: 24, bold: true, color: C.white, fontFace: "Calibri" });

  const summaryPoints = [
    ["SNS vs PNS", "Thoracolumbar vs Craniosacral | NA vs ACh"],
    ["Adrenergic Receptors", "α1, α2, β1, β2, β3 — locations & effects"],
    ["Muscarinic Receptors", "M1 (CNS), M2 (Heart), M3 (Everything else)"],
    ["Adrenergic Agonists", "Adrenaline → Salbutamol — selectivity spectrum"],
    ["Adrenergic Blockers", "Alpha (Prazosin, Tamsulosin) & Beta (Propranolol, Metoprolol)"],
    ["Cholinergic Drugs", "DUMBBELS mnemonic | Neostigmine | Atropine | Ipratropium"],
    ["Clinical MCQs", "BPH, Asthma, Phaeochromocytoma case worked through"],
  ];
  summaryPoints.forEach(([title, detail], i) => {
    const y = 1.85 + i * 0.68;
    s.addShape(pres.ShapeType.roundRect, { x: 0.25, y, w: 4.35, h: 0.58, fill: { color: "172033" }, line: { color: "1E3A5F" }, rectRadius: 0.07 });
    s.addText(`${i + 1}. ${title}`, { x: 0.4, y: y + 0.04, w: 4.1, h: 0.25, fontSize: 11, bold: true, color: C.accentYellow, fontFace: "Calibri" });
    s.addText(detail, { x: 0.4, y: y + 0.28, w: 4.1, h: 0.26, fontSize: 9.5, color: C.midGrey, fontFace: "Calibri" });
  });

  // Right side — next episode + subscribe CTA
  s.addText("Next Episode", { x: 5.4, y: 0.6, w: 7.5, h: 0.4, fontSize: 13, bold: true, color: C.blue, fontFace: "Calibri", charSpacing: 2 });
  s.addText("Cholinergic Pharmacology — Deep Dive\nOrganophosphate Poisoning & Myasthenia Gravis", {
    x: 5.4, y: 1.05, w: 7.5, h: 0.8, fontSize: 18, bold: true, color: C.white, fontFace: "Calibri"
  });

  s.addText("Before you go — try this:", { x: 5.4, y: 2.1, w: 7.5, h: 0.32, fontSize: 12, color: C.midGrey, fontFace: "Calibri" });

  const selfTest = [
    "Name 3 drugs that are CONTRAINDICATED in asthma — and why",
    "Explain why Tamsulosin is preferred over Prazosin for BPH",
    "In phaeochromocytoma crisis, what's the correct sequence of drug administration?",
  ];
  selfTest.forEach((q, i) => {
    s.addShape(pres.ShapeType.roundRect, { x: 5.4, y: 2.5 + i * 0.72, w: 7.5, h: 0.6, fill: { color: "111827" }, line: { color: C.blue, pt: 0.8 }, rectRadius: 0.08 });
    s.addText(`${i + 1}. ${q}`, { x: 5.6, y: 2.55 + i * 0.72, w: 7.1, h: 0.5, fontSize: 10.5, color: C.white, fontFace: "Calibri", valign: "middle" });
  });

  s.addShape(pres.ShapeType.roundRect, { x: 5.4, y: 4.75, w: 7.5, h: 0.85, fill: { color: C.blue }, rectRadius: 0.12 });
  s.addText("Like • Comment • Subscribe", { x: 5.4, y: 4.85, w: 7.5, h: 0.38, fontSize: 15, bold: true, color: C.white, fontFace: "Calibri", align: "center" });
  s.addText("Drop your doubts in the comments — I'll cover them next episode!", { x: 5.4, y: 5.2, w: 7.5, h: 0.32, fontSize: 10, color: "BFDBFE", fontFace: "Calibri", align: "center" });

  s.addText("MedSimplified", { x: 5.4, y: 5.75, w: 7.5, h: 0.35, fontSize: 13, bold: true, color: C.accentYellow, fontFace: "Calibri", align: "center" });
  s.addText("Making medicine make sense — for NEET PG, NExT & AMC aspirants", { x: 5.4, y: 6.12, w: 7.5, h: 0.28, fontSize: 10, color: C.midGrey, fontFace: "Calibri", align: "center", italic: true });
}

// ── WRITE ──────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/autonomic-pharma-ppt/Autonomic_Pharmacology_Ep01.pptx" })
  .then(() => console.log("✅ Done: Autonomic_Pharmacology_Ep01.pptx"))
  .catch(e => { console.error("❌ Error:", e); process.exit(1); });
Running Command

cd /home/daytona/workspace/autonomic-pharma-ppt && node build.js 2>&1

Your sample Episode 1 deck is ready:

Autonomic Pharmacology Ep01

Presentation · PPTX


What's inside (10 slides):

SlideContent
1Title slide — channel branding, why this topic, episode roadmap
2SNS vs PNS — side-by-side comparison with colour-coded cards
3Adrenergic receptor map — α1, α2, β1, β2, β3 with locations + clinical drug links
4Muscarinic receptors — M1/M2/M3 three-panel layout with drug examples
5Adrenergic agonists — selectivity spectrum + 8 drug cards
6Adrenergic antagonists — α-blockers + β-blockers comparison tables
7Cholinergic drugs — DUMBBELS mnemonic + agonists + anticholinergics
83 concept MCQs — NEET PG/NExT style with answers + explanations
9Clinical case — Phaeochromocytoma (AMC-style 3-question case)
10Summary + self-test questions + "subscribe" CTA

How to use this as your YouTube template:

  1. Record your screen while going through these slides — add your voice narration
  2. The dark MCQ slides work perfectly as a "pause and attempt" moment
  3. The case slide (Slide 9) mirrors exactly how AMC MCQ cases are structured
  4. Reuse this exact layout for every episode — just swap the content
For your next topic (e.g. β-lactam antibiotics, cardiac physiology), I can build it in the same format. Just say the word.
This is a shared conversation. Sign in to Orris to start your own chat.