:root{
  --primary:#2c3e50;
  --secondary:#3498db;
  --accent:#667eea;
  --bg:#f8f9fa;
  --text:#333333;
  --white:#ffffff;
  --header-height:76px;
}
/* Reset & base */
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:Segoe UI, Roboto, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;color:var(--text);background:var(--bg);line-height:1.8}
.body-padding, body{padding-top:var(--header-height)}
.container{max-width:1100px;margin:0 auto;padding:24px}

/* Header / Navigation */
.site-header{position:fixed;top:0;left:0;right:0;height:var(--header-height);background:linear-gradient(180deg,var(--white),rgba(255,255,255,0.95));box-shadow:0 1px 8px rgba(44,62,80,0.06);z-index:2000}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0;height:100%}
.brand{font-weight:700;color:var(--primary);text-decoration:none;font-size:1.1rem}
.nav{display:flex;gap:12px}
.nav a{color:var(--primary);text-decoration:none;padding:8px;border-radius:6px;transition:all .18s}
.nav a:hover{background:rgba(52,152,219,0.08)}
.nav a.active{background:var(--secondary);color:var(--white)}
.nav-toggle{display:none;background:transparent;border:0;font-size:1.3rem}

/* Hero */
.hero{background:linear-gradient(135deg,var(--secondary),var(--accent));color:var(--white);padding:48px 0;border-bottom-left-radius:8px;border-bottom-right-radius:8px}
.hero-inner{max-width:960px;margin:0 auto;text-align:center}
.hero-title{font-size:2.4rem;margin:0 0 8px}
.hero-sub{opacity:.95;margin:0 0 12px}
.hero-lead{max-width:780px;margin:0 auto 16px}
.hero-cta .btn{margin:0 6px}

/* Cards and grids */
.card{background:var(--white);padding:18px;border-radius:8px;box-shadow:0 6px 18px rgba(44,62,80,0.06);margin-bottom:16px}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:-36px}
.stat h3{margin:6px 0;font-size:1.6rem}
.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.team-member{text-align:center}
.avatar{width:56px;height:56px;border-radius:8px;background:var(--primary);color:var(--white);display:inline-flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:8px}

.quick-cards .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.link-card{display:block}

.pager{display:flex;justify-content:space-between;margin:18px 0}
.btn{display:inline-block;padding:10px 14px;border-radius:8px;background:transparent;border:1px solid rgba(44,62,80,0.08);color:var(--primary);text-decoration:none}
.btn.primary{background:var(--secondary);color:var(--white);border:0}

/* responsive */
@media (max-width:800px){
  .nav{position:fixed;right:12px;top:calc(var(--header-height) - 10px);background:var(--white);padding:12px;border-radius:8px;flex-direction:column;display:none;box-shadow:0 6px 20px rgba(0,0,0,.08)}
  .nav.show{display:flex}
  .nav-toggle{display:inline-block}
}

/* Problem Page Specific Styles */

.problem-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.problem-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.problem-hero .hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
}

/* Problem Statement Section */
.problem-statement-section {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.problem-card-large {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  max-width: 1100px;
  margin: 0 auto;
  border-left: 8px solid #e74c3c;
}

.problem-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.problem-card-large h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.problem-description, .problem-impact {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.problem-impact {
  background: #fff3cd;
  padding: 1.5rem;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  margin-top: 2rem;
}

/* Statistics Showcase */
.statistics-showcase {
  padding: 4rem 2rem;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.stats-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 5px solid #3498db;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.stat-card.stat-primary {
  border-top-color: #3498db;
}

.stat-card.stat-danger {
  border-top-color: #e74c3c;
}

.stat-card.stat-warning {
  border-top-color: #f39c12;
}

.stat-card.stat-info {
  border-top-color: #9b59b6;
}

.stat-card.stat-success {
  border-top-color: #27ae60;
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #555;
  font-weight: 600;
  margin-bottom: 1rem;
}

.stat-detail {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.6;
}

.stat-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-top: 1rem;
}

.stat-badge.danger {
  background: #ffebee;
  color: #c62828;
}

.stat-badge.warning {
  background: #fff3e0;
  color: #e65100;
}

/* Department Breakdown */
.department-breakdown {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.dept-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.dept-card:hover {
  transform: translateY(-10px);
}

.dept-card.highlight-card {
  border: 3px solid #e74c3c;
}

.dept-header {
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.dept-header.registrar { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);} 
.dept-header.finance { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);} 
.dept-header.academic { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);} 
.dept-header.it { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);} 
.dept-header.student { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);} 
.dept-header.international { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);} 

.dept-header h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.dept-percentage {
  font-size: 2rem;
  font-weight: bold;
  opacity: 0.9;
}

.dept-body {
  padding: 1.5rem;
}

.dept-requests {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.dept-types {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.alert-badge {
  background: #ffebee;
  color: #c62828;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 1rem;
  display: inline-block;
}

/* Critical Issues */
.critical-issues {
  padding: 4rem 2rem;
  background: white;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.issue-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-left: 8px solid #3498db;
  position: relative;
}

.issue-card.issue-red { border-left-color: #e74c3c; }
.issue-card.issue-orange { border-left-color: #f39c12; }
.issue-card.issue-purple { border-left-color: #9b59b6; }
.issue-card.issue-blue { border-left-color: #3498db; }

.issue-number {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.issue-card h3 { color: #2c3e50; font-size: 1.4rem; margin-bottom: 1rem; }

.issue-stats { display:flex; flex-wrap:wrap; gap:0.8rem; margin-bottom:1.5rem; }
.issue-stat-item { background:#f8f9fa; padding:0.5rem 1rem; border-radius:20px; font-size:0.9rem; color:#555; font-weight:600; }

/* Stakeholders Section */
.stakeholders-section { padding:4rem 2rem; background:#f8f9fa; }
.stakeholder-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(350px,1fr)); gap:2.5rem; max-width:1400px; margin:0 auto; }
.stakeholder-card { background:white; padding:2.5rem; border-radius:20px; box-shadow:0 10px 30px rgba(0,0,0,0.1); transition:transform 0.3s, box-shadow 0.3s; border-top:5px solid #3498db; }
.stakeholder-card:hover { transform:translateY(-10px); box-shadow:0 15px 40px rgba(0,0,0,0.15); }
.stakeholder-avatar { font-size:4rem; text-align:center; margin-bottom:1rem; }
.stakeholder-card h3 { color:#2c3e50; font-size:1.5rem; text-align:center; margin-bottom:0.5rem; }
.stakeholder-role { text-align:center; color:#3498db; font-weight:600; font-size:0.95rem; margin-bottom:2rem; text-transform:uppercase; letter-spacing:1px; }
.pain-points h4 { color:#555; font-size:1.1rem; margin-bottom:1rem; padding-bottom:0.5rem; border-bottom:2px solid #e0e0e0; }
.pain-points ul { list-style:none; padding:0; }
.pain-points ul li { padding:0.8rem; margin:0.5rem 0; background:#f8f9fa; border-radius:8px; display:flex; align-items:flex-start; gap:0.8rem; color:#555; line-height:1.6; }
.pain-icon { font-size:1.3rem; flex-shrink:0; }
.stakeholder-impact { background:#fff3cd; padding:1rem; border-radius:8px; border-left:4px solid #ffc107; font-size:0.95rem; color:#856404; }

/* Root Cause Section */
.root-cause-section { padding:4rem 2rem; background:white; }
.root-causes { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:2rem; max-width:1400px; margin:0 auto; }
.cause-card { background:linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%); padding:2rem; border-radius:15px; text-align:center; box-shadow:0 5px 20px rgba(0,0,0,0.1); transition:transform 0.3s; }
.cause-card:hover { transform:translateY(-5px); }
.cause-icon { font-size:3.5rem; margin-bottom:1rem; }
.cause-card h3 { color:#2c3e50; font-size:1.3rem; margin-bottom:1rem; }
.cause-card p { color:#555; line-height:1.7; }

/* Impact Summary */
.impact-summary { padding:4rem 2rem; background:#f8f9fa; }
.impact-box { background:white; padding:3rem; border-radius:20px; box-shadow:0 10px 40px rgba(0,0,0,0.1); max-width:1000px; margin:0 auto; border-left:8px solid #e74c3c; }
.impact-box h2 { color:#2c3e50; font-size:2.5rem; text-align:center; margin-bottom:2rem; }
.impact-content { color:#555; }
.impact-statement { font-size:1.2rem; line-height:1.9; text-align:center; margin-bottom:2rem; color:#2c3e50; }
.impact-statement strong { color:#e74c3c; font-weight:700; }
.impact-highlights { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1.5rem; margin:2rem 0; }
.impact-item { background:#f8f9fa; padding:1.5rem; border-radius:10px; display:flex; flex-direction:column; gap:0.5rem; border-left:4px solid #e74c3c; }
.impact-label { font-weight:600; color:#2c3e50; font-size:0.95rem; }
.impact-value { font-size:1.2rem; font-weight:bold; color:#e74c3c; }
.impact-conclusion { font-size:1.15rem; line-height:1.9; text-align:center; margin-top:2rem; padding:1.5rem; background:#e3f2fd; border-radius:10px; border-left:4px solid #2196f3; }
.impact-conclusion strong { color:#1976d2; }

/* Responsive Design for Problem Page */
@media (max-width: 1024px) {
  .stats-grid-large { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .issues-grid { grid-template-columns: 1fr; }
  .stakeholder-cards { grid-template-columns: 1fr; }
}

/* Two-column layout for Problem page */
.problem-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; max-width: 1200px; margin: 0 auto; padding: 24px; }
.problem-main { min-width: 0; }
.problem-aside { }
.problem-aside .sticky { position: sticky; top: 92px; background: #fff; padding: 18px; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

.summary-stats { display: grid; gap: 8px; margin-top: 12px; }
.summary-stats .stat { font-weight: 700; color: #2c3e50; }
.summary-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .problem-layout { grid-template-columns: 1fr; padding: 12px; }
  .problem-aside .sticky { position: static; top: auto; margin-top: 18px; }
}

/* small utility for compact detail panes */
.details-pane summary { cursor: pointer; font-weight:600; }
.details-pane[open] .summary-meta { opacity: 0.9; }

/* Research Page Styles */

.research-hero {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.research-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Research Overview */
.research-overview {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.overview-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  border-top: 6px solid #4facfe;
}

.overview-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.overview-card h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.overview-card p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #555;
}

/* Industry Context */
.industry-context-section {
  padding: 4rem 2rem;
  background: white;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.context-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.context-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.context-card.card-primary {
  border-top: 5px solid #3498db;
}

.context-card.card-success {
  border-top: 5px solid #27ae60;
}

.context-card.card-info {
  border-top: 5px solid #9b59b6;
}

.context-card.card-warning {
  border-top: 5px solid #f39c12;
}

.context-header {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.context-icon {
  font-size: 3rem;
}

.context-header h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin: 0;
}

.context-body {
  padding: 0 2rem 2rem 2rem;
}

.stat-highlight {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
}

.context-body p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.source-tag {
  background: #e3f2fd;
  color: #1976d2;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}

/* Academic Research Timeline */
.academic-research {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.research-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.research-timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3498db 0%, #9b59b6 100%);
}

.research-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.research-year {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  flex-shrink: 0;
  z-index: 2;
}

.research-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  flex: 1;
  border-left: 5px solid #3498db;
}

.research-content h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.research-authors {
  color: #666;
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.research-findings {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.research-findings h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.research-findings ul {
  list-style: none;
  padding: 0;
}

.research-findings ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.research-findings ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

.research-impact {
  background: #fff3cd;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
  font-size: 0.95rem;
  color: #856404;
}

.research-impact strong {
  color: #533f03;
}

/* Benchmark Cards */
.supporting-data {
  padding: 4rem 2rem;
  background: white;
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.benchmark-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-top: 5px solid #3498db;
}

.benchmark-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.benchmark-card h3 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.benchmark-comparison {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.benchmark-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.benchmark-row:last-child {
  border-bottom: none;
}

.benchmark-label {
  color: #555;
  font-weight: 600;
}

.benchmark-value {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.95rem;
}

.benchmark-value.good {
  background: #e8f5e9;
  color: #2e7d32;
}

.benchmark-value.bad {
  background: #fff3e0;
  color: #e65100;
}

.benchmark-value.critical {
  background: #ffebee;
  color: #c62828;
}

.benchmark-insight {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Key Takeaways */
.key-takeaways {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.takeaway-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  border-left: 5px solid #3498db;
  transition: transform 0.3s;
}

.takeaway-card:hover {
  transform: translateY(-5px);
}

.takeaway-number {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.takeaway-card h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.takeaway-card p {
  color: #555;
  line-height: 1.8;
}

/* Application Section */
.application-section {
  padding: 4rem 2rem;
  background: white;
}

.application-box {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 3rem;
  border-radius: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.application-box h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.application-intro {
  text-align: center;
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 3rem;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.application-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.app-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.application-item h4 {
  color: #2c3e50;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.application-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive for Research Page */
@media (max-width: 1024px) {
  .context-grid,
  .benchmark-grid,
  .takeaways-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
    
  .research-timeline::before {
    left: 50px;
  }
}

/* Problem layout improvements - two column on desktop to reduce vertical scroll */
.problem-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items:start; max-width:1400px; margin:0 auto; }
.problem-main { min-width:0; }
.problem-aside { position:relative; }
.problem-aside .sticky { position: sticky; top: 88px; background: white; padding: 1.5rem; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

/* Problem page spacing alignment */
.problem-statement-section,
.statistics-showcase { padding: 3rem 2rem; }
.problem-statement-section .problem-card-large { margin: 0 auto 24px; }
.statistics-showcase .container { padding-top: 0; }
.problem-layout { margin-top: 0; }

/* Collapse long lists into details for better compactness */
details.pane { background: #fff; padding: 1rem; border-radius: 10px; margin-bottom: 1rem; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
details.pane summary { cursor: pointer; font-weight:600; outline:none; }

/* Research context card source button */
.source-btn { display:inline-block; margin-top: 0.8rem; padding:0.4rem 0.9rem; border-radius:18px; background:#e3f2fd; color:#1976d2; text-decoration:none; font-weight:700; opacity:0; transform:translateY(6px); transition:all .18s; }
.context-card:hover .source-btn, .context-card:focus-within .source-btn { opacity:1; transform:translateY(0); }

/* Make images and cards more compact on smaller screens */
@media (max-width: 1024px) {
  .problem-layout { grid-template-columns: 1fr; }
  .problem-aside .sticky { position: static; }
}



@media (max-width: 768px) {
  .problem-hero h1 { font-size: 2rem; }
  .problem-hero .hero-subtitle { font-size: 1.1rem; }
  .section-title { font-size: 2rem; }
  .stats-grid-large, .department-grid, .root-causes { grid-template-columns: 1fr; }
  .impact-highlights { grid-template-columns: 1fr; }
  .problem-card-large, .impact-box { padding: 2rem 1.5rem; }
  .stat-value { font-size: 2rem; }
}

/* User requested research mobile tweaks */
@media (max-width: 768px) {
  .research-hero h1 { font-size: 2rem; }

  .context-grid,
  .benchmark-grid,
  .takeaways-grid,
  .application-grid { grid-template-columns: 1fr; }

  .research-item { flex-direction: column; align-items: center; }

  .research-timeline::before { display: none; }

  .research-year { width: 80px; height: 80px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .problem-hero h1 { font-size: 1.75rem; }
  .stat-icon { font-size: 2.5rem; }
  .stat-value { font-size: 1.75rem; }
  .stakeholder-avatar { font-size: 3rem; }
  .cause-icon { font-size: 3rem; }
}

/* Footer */
.site-footer{padding:18px 0;background:transparent;color:#666}

/* Back to top */
#backToTop{position:fixed;right:18px;bottom:18px;border-radius:50%;width:44px;height:44px;border:0;background:var(--secondary);color:var(--white);display:none;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(36,111,172,0.2)}

/* Accessibility & small tweaks */
h1,h2,h3{color:var(--primary)}
h1{font-size:2rem}
h2{font-size:1.4rem}
p,li{font-size:1.05rem}
.muted{color:#666;font-size:.95rem}

/* Smooth in-page transitions */
html{scroll-behavior:smooth}

/* KPI cards */
.kpi-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:900px){.kpi-cards{grid-template-columns:1fr}}

/* subtle hover */
.card:hover{transform:translateY(-4px);transition:transform .18s}

/* Page card & header visuals - shared enhancements for Solution/Dashboard/Ethics/Lessons */
.section-card { background: linear-gradient(180deg, #ffffff, #fbfdff); padding: 1.6rem; border-radius: 12px; box-shadow: 0 14px 40px rgba(16,36,64,0.06); margin-bottom: 1.25rem; border: 1px solid rgba(44,62,80,0.04); }
.section-card h2 { display:flex;align-items:center;gap:10px;font-size:1.2rem }
.section-card h2 .emoji { font-size:1.35rem }

/* dashboard specific */
.btn-dashboard-launch{background:linear-gradient(90deg,#667eea,#764ba2);color:#fff;padding:12px 18px;border-radius:10px;border:0;display:inline-block;text-decoration:none}
.btn-dashboard-launch:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(102,126,234,0.18)}

.copy-btn{background:#eef6ff;border:0;padding:6px 10px;border-radius:8px;margin-left:8px;cursor:pointer}
.copy-btn:hover{background:#e0efff}

.screenshot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-top:16px}
.screenshot-item .screenshot-placeholder{background:#f6f8fa;border-radius:8px;padding:20px;min-height:120px;display:flex;align-items:center;justify-content:center;border:1px dashed rgba(44,62,80,0.04)}

/* small accent for lists */
.card ul li::marker{color:var(--secondary)}
.card ol li::marker{color:var(--secondary)}

/* subtle accent for h1 on pages */
.container > h1 { display:flex; align-items:center; gap:14px; margin: 28px 0; }
.container > h1 .page-emoji{font-size:1.5rem}

/* Team Section Enhancements */
.team-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.team-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #3498db;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.member-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.team-member h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.team-member .role {
  color: #3498db;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.team-member .description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Dashboard Preview Section */
.dashboard-preview {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.dashboard-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.dashboard-card {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 0 auto 3rem;
}

.dashboard-card h3 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.credentials-box {
  background: #f0f4f8;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
  border-left: 4px solid #3498db;
}

.credentials-box h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.credential-item {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.credential-item code {
  background: white;
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  color: #e74c3c;
  font-family: 'Courier New', monospace;
  margin-left: 0.5rem;
}

.dashboard-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.features-highlight {
  max-width: 1000px;
  margin: 0 auto;
}

.features-highlight h4 {
  text-align: center;
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
}

/* Dashboard Access Hero */
.dashboard-access-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 2rem;
}

.hero-subtitle {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.access-card {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.access-content h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.access-content p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.login-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.login-info h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.cred-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 0.8rem;
  background: white;
  border-radius: 8px;
}

.cred-row .label {
  font-weight: bold;
  color: #2c3e50;
  min-width: 100px;
}

.cred-row .value {
  font-family: 'Courier New', monospace;
  color: #e74c3c;
  flex: 1;
}

.copy-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.copy-btn:hover {
  background: #2980b9;
}

.btn-dashboard-launch {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-dashboard-launch:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

/* Dashboard Screenshots */
.dashboard-screenshots {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.dashboard-screenshots h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.screenshot-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.screenshot-item h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.screenshot-placeholder {
  background: #e9ecef;
  border: 2px dashed #adb5bd;
  border-radius: 8px;
  padding: 3rem 1rem;
  text-align: center;
  color: #6c757d;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-placeholder img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Charter Page Specific Styles */

.page-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}

/* Charter Header */
.charter-header {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 3rem;
  border-radius: 15px;
  margin-bottom: 3rem;
}

.charter-header h2 {
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-left: 4px solid #3498db;
}

.info-card h4 {
  color: #3498db;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Stakeholder Section */
.stakeholder-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  margin-top: 2rem;
}

.sponsor-card {
  background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sponsor-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.sponsor-card p {
  margin: 0.5rem 0;
}

.stakeholders-list {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stakeholders-list h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.stakeholders-list ul {
  list-style: none;
  padding: 0;
}

.stakeholders-list ul li {
  padding: 0.8rem;
  margin: 0.5rem 0;
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  border-radius: 5px;
}

/* References Section */
.references-section {
  background: #f8f9fa;
  padding: 4rem 2rem;
}

.references-section h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.references-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.reference-categories {
  max-width: 1000px;
  margin: 0 auto;
}

.reference-category {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-left: 5px solid #3498db;
}

.reference-category h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.reference-list {
  padding-left: 2rem;
}

.reference-list li {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #555;
}

.reference-list em {
  color: #2c3e50;
  font-style: italic;
}

.reference-list a {
  color: #3498db;
  text-decoration: none;
  word-break: break-word;
}

.reference-list a:hover {
  text-decoration: underline;
  color: #2980b9;
}

/* --- Appended Solution page styles (user provided) --- */
.solution-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.solution-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Solution Overview */
.solution-overview {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.solution-intro-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  max-width: 1100px;
  margin: 0 auto;
  border-top: 6px solid #667eea;
}

.solution-intro-card h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.intro-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}

.intro-text strong {
  color: #667eea;
}

.solution-stats-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.mini-stat {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  border-left: 4px solid #667eea;
}

.mini-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.mini-label {
  display: block;
  color: #2c3e50;
  font-weight: 600;
  font-size: 0.95rem;
}

.solution-components { padding: 4rem 2rem; background: white; }
.components-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap:2rem; max-width:1400px; margin:0 auto; }
.component-card { background:white; padding:2.5rem; border-radius:15px; box-shadow:0 10px 30px rgba(0,0,0,0.1); transition:transform .3s, box-shadow .3s; border-top:5px solid #3498db }
.component-card:hover { transform: translateY(-10px); box-shadow:0 15px 40px rgba(0,0,0,0.15); }
.component-icon{font-size:3.5rem;text-align:center;margin-bottom:1rem}
.feature-tag{ background:#e8f5e9;color:#2e7d32;padding:0.4rem 0.8rem;border-radius:15px;font-size:0.85rem;font-weight:600; }

@media (max-width: 768px) {
  .solution-hero h1{ font-size:2rem }
  .solution-stats-mini, .outcomes-columns { grid-template-columns:1fr }
}

/* Ethics Page Styles */
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.ethics-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-top: 5px solid #667eea;
}

.ethics-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.ethics-card .card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ethics-card .emoji {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.ethics-card h2 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin: 0;
  flex: 1;
}

.ethics-card p,
.ethics-card ul {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0;
}

.ethics-card ul {
  list-style: none;
  padding: 0;
}

.ethics-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.ethics-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .ethics-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .ethics-grid {
    grid-template-columns: 1fr;
  }
}

/* Lessons Page Styles */
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.lessons-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-top: 5px solid #764ba2;
}

.lessons-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.lessons-card .card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lessons-card .emoji {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.lessons-card h2 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin: 0;
  flex: 1;
}

.lessons-card p,
.lessons-card ul {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0;
}

.lessons-card ul {
  list-style: none;
  padding: 0;
}

.lessons-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.lessons-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #764ba2;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .lessons-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .lessons-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero section inside main.container */
main.container > .solution-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0;
  margin: 0 -2rem 3rem -2rem;
  text-align: center;
}

main.container > .solution-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

main.container > .solution-hero .page-emoji {
  font-size: 2.5rem;
}

main.container > .solution-hero .hero-sub {
  font-size: 1.2rem;
  opacity: 0.95;
  margin: 0;
}

@media (max-width: 768px) {
  main.container > .solution-hero {
    padding: 2rem 0;
    margin: 0 -1.5rem 2rem -1.5rem;
  }
  
  main.container > .solution-hero h1 {
    font-size: 1.8rem;
  }
}

