/* ═══════════════════════════════════════════════════════════
   DMART MBA PRESENTATION — CORPORATE STYLESHEET
   Color Palette: Navy #0D1B3E | Blue #1A56DB | Gold #F59E0B
   Accent: Teal #0891B2 | Green #059669 | Red #DC2626
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0D1B3E;
  --navy2:   #162447;
  --blue:    #1A56DB;
  --blue2:   #1E40AF;
  --gold:    #F59E0B;
  --teal:    #0891B2;
  --green:   #059669;
  --red:     #DC2626;
  --purple:  #7C3AED;
  --orange:  #EA580C;
  --gray:    #6B7280;
  --light:   #F8FAFC;
  --white:   #FFFFFF;
  --border:  #E2E8F0;
  --text:    #1E293B;
  --muted:   #64748B;
  --slide-w: 1280px;
  --slide-h: 720px;
}

html, body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: var(--text);
}

/* ── SLIDE BASE ─────────────────────────────────────────── */
.slide {
  width: var(--slide-w);
  min-height: var(--slide-h);
  margin: 0 auto 40px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 36px 48px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  page-break-after: always;
}

/* ── SLIDE HEADER ───────────────────────────────────────── */
.slide-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-shrink: 0;
}
.slide-number {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.slide-title-text {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  flex: 1;
}
.header-line {
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 50%, transparent 100%);
  border-radius: 2px;
  margin-bottom: 0;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: none;
}
.slide-header::after {
  content: '';
  position: absolute;
  left: 48px; right: 48px;
  top: 88px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 40%, transparent 100%);
  border-radius: 2px;
}

/* ── TITLE SLIDE ────────────────────────────────────────── */
.slide-title {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 50%, #1a3a6e 100%);
  padding: 0;
  justify-content: center;
  align-items: center;
}
.title-bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(26,86,219,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(8,145,178,0.2) 0%, transparent 50%);
}
.title-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 60px 80px;
  width: 100%;
}
.title-badge {
  display: inline-block;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.sub-title {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.title-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 28px;
}
.title-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  border-radius: 2px;
  margin: 0 auto 28px;
}
.title-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.meta-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.meta-value {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.title-accent-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--teal));
}

/* ── AGENDA SLIDE ───────────────────────────────────────── */
.slide-agenda { background: var(--light); }
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
}
.agenda-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.2s;
}
.agenda-item:hover { box-shadow: 0 4px 16px rgba(26,86,219,0.12); }
.agenda-num {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}
.agenda-text { display: flex; flex-direction: column; gap: 3px; }
.agenda-text strong { font-size: 13px; font-weight: 700; color: var(--navy); }
.agenda-text span { font-size: 11px; color: var(--muted); }

/* ── TWO COLUMN LAYOUT ──────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  flex: 1;
}
.col-left, .col-right { display: flex; flex-direction: column; }

/* ── THREE COLUMN ───────────────────────────────────────── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  flex: 1;
}

/* ── INFO BLOCKS ────────────────────────────────────────── */
.info-block { }
.block-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bullet-list li {
  font-size: 12.5px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.bullet-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 10px;
  top: 2px;
}

/* ── KPI CARDS ──────────────────────────────────────────── */
.kpi-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kpi-card {
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.kpi-blue  { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); border: 1px solid #BFDBFE; }
.kpi-green { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); border: 1px solid #A7F3D0; }
.kpi-orange{ background: linear-gradient(135deg, #FFF7ED, #FED7AA); border: 1px solid #FDBA74; }
.kpi-purple{ background: linear-gradient(135deg, #F5F3FF, #EDE9FE); border: 1px solid #DDD6FE; }
.kpi-icon  { font-size: 20px; }
.kpi-value { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 800; color: var(--navy); }
.kpi-label { font-size: 10px; color: var(--muted); font-weight: 500; }

/* ── TAGS ───────────────────────────────────────────────── */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--blue2);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── DATA TABLES ────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}
.data-table thead tr {
  background: var(--navy);
}
.data-table thead th {
  color: var(--white);
  font-weight: 600;
  padding: 8px 10px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.3px;
}
.data-table tbody tr:nth-child(even) { background: #F8FAFC; }
.data-table tbody tr:hover { background: #EFF6FF; }
.data-table tbody td {
  padding: 7px 10px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compact-table .data-table thead th,
.compact-table .data-table tbody td { padding: 5px 8px; font-size: 11px; }
.compact-table { }
.highlight-row td { background: #FFF7ED !important; }
.highlight-row-blue td { background: #EFF6FF !important; }
.highlight-cell { font-weight: 700; color: var(--blue2); }
.pos { color: var(--green); font-weight: 600; }

/* ── BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
}
.badge-red    { background: #FEE2E2; color: var(--red); }
.badge-blue   { background: #DBEAFE; color: var(--blue2); }
.badge-gray   { background: #F1F5F9; color: var(--gray); }
.badge-orange { background: #FED7AA; color: var(--orange); }
.badge-green  { background: #D1FAE5; color: var(--green); }

/* ── INSIGHT BOX ────────────────────────────────────────── */
.insight-box {
  background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
}
.conclusion-box {
  background: linear-gradient(135deg, #0D1B3E, #162447);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}
.conclusion-box strong { color: var(--gold); }

/* ── LEADER CARDS ───────────────────────────────────────── */
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.leader-avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}
.leader-name { font-size: 13px; font-weight: 700; color: var(--navy); }
.leader-title { font-size: 10px; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.leader-points {
  list-style: none;
  text-align: left;
  width: 100%;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.leader-points li {
  font-size: 11px;
  color: var(--text);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.leader-points li::before {
  content: '•';
  position: absolute; left: 0;
  color: var(--blue);
}

/* ── GOVERNANCE BAR ─────────────────────────────────────── */
.governance-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
  background: var(--navy);
  border-radius: 10px;
  padding: 14px 20px;
}
.gov-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}
.gov-icon { font-size: 18px; }
.gov-item strong { font-size: 11px; color: var(--white); }
.gov-item span { font-size: 10px; color: rgba(255,255,255,0.55); }

/* ── PESTLE GRID ────────────────────────────────────────── */
.pestle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pestle-card {
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.4;
}
.pestle-letter {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.p-card   { background: #EFF6FF; } .p-card .pestle-letter { color: var(--blue); }
.e-card   { background: #ECFDF5; } .e-card .pestle-letter { color: var(--green); }
.s-card   { background: #FFF7ED; } .s-card .pestle-letter { color: var(--orange); }
.t-card   { background: #F5F3FF; } .t-card .pestle-letter { color: var(--purple); }
.l-card   { background: #FEF2F2; } .l-card .pestle-letter { color: var(--red); }
.env-card { background: #F0FDF4; } .env-card .pestle-letter { color: #16A34A; }
.pestle-content strong { font-size: 11px; font-weight: 700; display: block; margin-bottom: 2px; }

/* ── CHART CONTAINERS ───────────────────────────────────── */
.chart-container { position: relative; height: 220px; width: 100%; }
.chart-container-sm { position: relative; height: 180px; width: 100%; }

/* ── METRIC CARDS ───────────────────────────────────────── */
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.metric-val { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 800; color: var(--navy); }
.metric-lbl { font-size: 10px; color: var(--muted); margin-top: 2px; }
.metric-trend { font-size: 10px; font-weight: 600; margin-top: 4px; }
.stable { color: var(--green); }
.down   { color: var(--orange); }

/* ── COST COMPARE BARS ──────────────────────────────────── */
.cost-compare { display: flex; flex-direction: column; gap: 8px; }
.compare-item { display: flex; align-items: center; gap: 8px; }
.compare-label { font-size: 10px; color: var(--muted); width: 130px; flex-shrink: 0; }
.compare-bar { flex: 1; height: 10px; background: #E2E8F0; border-radius: 5px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 5px; }
.bar-blue { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.bar-gray { background: #94A3B8; }
.compare-pct { font-size: 10px; font-weight: 700; color: var(--navy); width: 30px; }

/* ── RATIO LAYOUT ───────────────────────────────────────── */
.ratio-layout { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ratio-section { }
.ratio-category {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
}
.liq  { background: #DBEAFE; color: var(--blue2); }
.prof { background: #D1FAE5; color: #065F46; }
.solv { background: #FEF3C7; color: #92400E; }
.ratio-chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
  align-items: center;
}
.ratio-chart-wrap { }
.ratio-summary { display: flex; flex-direction: column; gap: 8px; }
.summary-pill {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
}
.summary-pill.green  { background: #D1FAE5; color: #065F46; }
.summary-pill.blue   { background: #DBEAFE; color: var(--blue2); }
.summary-pill.orange { background: #FED7AA; color: #9A3412; }

/* ── DEVELOPMENT CARDS ──────────────────────────────────── */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
}
.dev-card {
  border-radius: 10px;
  padding: 16px;
  border: 1px solid transparent;
}
.dev-card h4 { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.dev-card ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.dev-card ul li { font-size: 11px; padding-left: 12px; position: relative; line-height: 1.4; }
.dev-card ul li::before { content: '›'; position: absolute; left: 0; font-weight: 700; }
.dev-icon { font-size: 22px; margin-bottom: 6px; }
.dev-blue   { background: #EFF6FF; border-color: #BFDBFE; } .dev-blue h4 { color: var(--blue2); } .dev-blue li::before { color: var(--blue); }
.dev-green  { background: #ECFDF5; border-color: #A7F3D0; } .dev-green h4 { color: #065F46; } .dev-green li::before { color: var(--green); }
.dev-orange { background: #FFF7ED; border-color: #FDBA74; } .dev-orange h4 { color: #9A3412; } .dev-orange li::before { color: var(--orange); }
.dev-purple { background: #F5F3FF; border-color: #DDD6FE; } .dev-purple h4 { color: #5B21B6; } .dev-purple li::before { color: var(--purple); }
.dev-red    { background: #FEF2F2; border-color: #FECACA; } .dev-red h4 { color: #991B1B; } .dev-red li::before { color: var(--red); }
.dev-teal   { background: #F0FDFA; border-color: #99F6E4; } .dev-teal h4 { color: #134E4A; } .dev-teal li::before { color: var(--teal); }

/* ── ADVANTAGE LIST ─────────────────────────────────────── */
.advantage-list { display: flex; flex-direction: column; gap: 10px; }
.adv-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--light);
  border-radius: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--blue);
}
.adv-num {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}
.adv-text { font-size: 11.5px; color: var(--text); line-height: 1.5; }

/* ── FINDINGS ───────────────────────────────────────────── */
.finding-list { display: flex; flex-direction: column; gap: 8px; }
.finding-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.finding-icon { font-size: 12px; flex-shrink: 0; margin-top: 2px; }

/* ── OUTLOOK GRID ───────────────────────────────────────── */
.outlook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.outlook-item {
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.5;
}
.out-icon { font-size: 18px; flex-shrink: 0; }
.positive { background: #ECFDF5; border: 1px solid #A7F3D0; }
.positive strong { color: #065F46; }
.risk { background: #FEF2F2; border: 1px solid #FECACA; }
.risk strong { color: #991B1B; }

/* ── SUGGESTIONS ────────────────────────────────────────── */
.suggestions-layout { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.sugg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
}
.sugg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  position: relative;
  transition: box-shadow 0.2s;
}
.sugg-card:hover { box-shadow: 0 4px 20px rgba(26,86,219,0.12); }
.sugg-num {
  position: absolute;
  top: 12px; right: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.08;
  line-height: 1;
}
.sugg-icon { font-size: 24px; margin-bottom: 8px; }
.sugg-card h4 { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.sugg-card p { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* ── THANK YOU BAR ──────────────────────────────────────── */
.thankyou-bar {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ty-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}
.ty-sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.ty-right { text-align: right; }
.ty-info { font-size: 11.5px; color: rgba(255,255,255,0.75); margin-bottom: 3px; }

/* ── UTILITIES ──────────────────────────────────────────── */
.mt-5  { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mb-5  { margin-bottom: 5px; }
.mb-10 { margin-bottom: 10px; }

/* ── PRINT / PDF ────────────────────────────────────────── */
@media print {
  body { background: white; }
  .slide {
    margin: 0;
    box-shadow: none;
    page-break-after: always;
    break-after: page;
  }
}