<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Choosing the Right Development Approach</title>
<style>
  @page { size: A4 landscape; margin: 10mm; }
  body { font-family: 'Segoe UI', Arial, sans-serif; margin: 0; padding: 15px; background: #f8f9fa; color: #333; font-size: 11px; }
  .container { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
  
  /* Header */
  .header { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #1a365d; padding-bottom: 10px; margin-bottom: 15px; }
  .title-area h1 { margin: 0; color: #1a365d; font-size: 20px; text-transform: uppercase; }
  .title-area p { margin: 3px 0 0; color: #4a5568; font-style: italic; font-size: 11px; }
  .student-info { text-align: right; background: #ebf8ff; padding: 8px 12px; border-left: 4px solid #3182ce; border-radius: 4px; }
  .student-info div { margin-bottom: 2px; font-weight: bold; color: #2b6cb0; }

  /* Table */
  table { width: 100%; border-collapse: collapse; margin-bottom: 15px; font-size: 10.5px; }
  th, td { border: 1px solid #cbd5e0; padding: 6px 8px; text-align: left; vertical-align: top; }
  th { background-color: #2b6cb0; color: white; text-align: center; font-size: 11px; }
  th span { display: block; font-size: 9px; font-weight: normal; opacity: 0.9; }
  tr:nth-child(even) { background-color: #f7fafc; }
  
  .badge { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
  .green { background-color: #38a169; }
  .yellow { background-color: #d69e2e; }
  .red { background-color: #e53e3e; }

  /* Grid Section */
  .grid { display: grid; grid-template-columns: 2fr 1.2fr 1.5fr; gap: 12px; }
  .card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
  .card-title { font-weight: bold; color: #2c5282; border-bottom: 2px solid #bee3f8; padding-bottom: 4px; margin-bottom: 8px; font-size: 12px; }
  
  ul { margin: 0; padding-left: 15px; }
  li { margin-bottom: 4px; }

  /* Highlight Box */
  .recommendation { background: #fefcbf; border: 1px solid #faf089; border-left: 5px solid #d69e2e; padding: 10px; border-radius: 4px; margin-top: 10px; }
  .recommendation h4 { margin: 0 0 5px; color: #744210; font-size: 12px; }
  
  .checklist { list-style: none; padding-left: 0; }
  .checklist li::before { content: "☐ "; font-weight: bold; color: #4a5568; }
</style>
</head>
<body>

<div class="container">
  <!-- Header Section -->
  <div class="header">
    <div class="title-area">
      <h1>Choosing the Right Development Approach</h1>
      <p>Different contexts call for different scenarios. Use this framework to find the best fit for your project.</p>
    </div>
    <div class="student-info">
      <div>Student: Mohammed Abdullah Khalid Ali</div>
      <div>Project: Smart Hospital Management System</div>
    </div>
  </div>

  <!-- Matrix Table -->
  <table>
    <thead>
      <tr>
        <th style="width: 20%;">Factor <span>(What to consider)</span></th>
        <th style="width: 20%;">Predictive <span>(Plan-driven)</span></th>
        <th style="width: 20%;">Iterative <span>(Incremental start)</span></th>
        <th style="width: 20%;">Agile <span>(Adaptive)</span></th>
        <th style="width: 20%;">Hybrid <span>(Tailored mix)</span></th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><b>Requirement Stability</b></td>
        <td><span class="badge green"></span>High / Well-defined</td>
        <td><span class="badge yellow"></span>Moderate / Expected change</td>
        <td><span class="badge red"></span>Low / Likely to evolve</td>
        <td><span class="badge green"></span>Mix / Core stable</td>
      </tr>
      <tr>
        <td><b>Urgency</b></td>
        <td><span class="badge red"></span>Lower / Longer upfront plan</td>
        <td><span class="badge yellow"></span>Medium / Early increments</td>
        <td><span class="badge green"></span>High / Frequent delivery</td>
        <td><span class="badge green"></span>High / Phased value</td>
      </tr>
      <tr>
        <td><b>User Availability</b></td>
        <td><span class="badge red"></span>Limited / Key milestones</td>
        <td><span class="badge yellow"></span>Periodic involvement</td>
        <td><span class="badge green"></span>High / Continuous collab</td>
        <td><span class="badge yellow"></span>Mixed / Regular for core</td>
      </tr>
      <tr>
        <td><b>Regulatory Pressure</b></td>
        <td><span class="badge green"></span>High / Upfront docu</td>
        <td><span class="badge yellow"></span>Moderate / Track cycles</td>
        <td><span class="badge red"></span>Lower / Extra governance</td>
        <td><span class="badge green"></span>High / Plan for compliance</td>
      </tr>
      <tr>
        <td><b>Technical Uncertainty</b></td>
        <td><span class="badge red"></span>Low / Proven technology</td>
        <td><span class="badge yellow"></span>Moderate maturity</td>
        <td><span class="badge green"></span>High / Explore & adapt</td>
        <td><span class="badge green"></span>Mixed / Risk scale based</td>
      </tr>
      <tr>
        <td><b>Team Maturity</b></td>
        <td><span class="badge red"></span>Needs strong planning</td>
        <td><span class="badge yellow"></span>Moderate maturity</td>
        <td><span class="badge green"></span>High / Self-organizing</td>
        <td><span class="badge yellow"></span>Mixed / Structured + Agile</td>
      </tr>
      <tr>
        <td><b>Integration Complexity</b></td>
        <td><span class="badge green"></span>High / Plan upfront</td>
        <td><span class="badge yellow"></span>Moderate / Incremental</td>
        <td><span class="badge red"></span>Lower / Simpler scope</td>
        <td><span class="badge green"></span>High / Phased integration</td>
      </tr>
      <tr>
        <td><b>Delivery Risk</b></td>
        <td><span class="badge green"></span>Lower / Controlled</td>
        <td><span class="badge yellow"></span>Moderate / Managed cycles</td>
        <td><span class="badge red"></span>Higher / Embrace change</td>
        <td><span class="badge green"></span>Lower / Balance control</td>
      </tr>
    </tbody>
  </table>

  <!-- Bottom Grid -->
  <div class="grid">
    <!-- Box 1: Worked Example -->
    <div class="card">
      <div class="card-title">Worked Example: Smart Hospital Platform</div>
      <b>Context Highlights:</b>
      <ul>
        <li>Strict adherence to medical compliance and patient data privacy.</li>
        <li>Complex integration with legacy EHR databases and medical devices.</li>
        <li>Urgency for patient-facing mobile features (booking, telemedicine).</li>
      </ul>
      <br>
      <b>Analysis:</b>
      <ul>
        <li>A stable core infrastructure with evolving user app requirements.</li>
        <li>Early value delivery needed alongside strict regulatory compliance.</li>
      </ul>
    </div>

    <!-- Box 2: Assessment & Recommendation -->
    <div class="card">
      <div class="card-title">Approach Assessment</div>
      <ul>
        <li><b>Predictive alone:</b> Too rigid, delays mobile app feature delivery.</li>
        <li><b>Agile alone:</b> Risky for compliance, data security, and core integration.</li>
      </ul>
      
      <div class="recommendation">
        <h4>Recommended Approach: HYBRID</h4>
        <p style="margin:0;"><i>"Plan the foundation. Deliver value iteratively. Stay agile where it matters."</i></p>
        <ul style="margin-top:5px;">
          <li><b>Predictive:</b> Core DB, security & compliance.</li>
          <li><b>Agile:</b> Mobile app & patient portal.</li>
        </ul>
      </div>
    </div>

    <!-- Box 3: Questions -->
    <div class="card">
      <div class="card-title">Analyst's Questions</div>
      <p style="margin-top:0; font-size:10px; color:#666;">Checklist for stakeholder conversations:</p>
      <ul class="checklist">
        <li>How clear/stable are requirements for privacy & medical security?</li>
        <li>How quickly is value needed for patient services?</li>
        <li>Are users (doctors/patients) available for continuous feedback?</li>
        <li>Are there strict regulatory compliance rules?</li>
        <li>How complex are integrations with existing hospital EHR systems?</li>
      </ul>
    </div>
  </div>
</div>

</body>
</html>
