/* ============================================================
   page-digital-twin.css — Styles specific to digital_twin.html
   ============================================================ */

/* Hero override: shift slightly up to fill space under cluster navbar */
.hero-section {
  transform: translateY(-10px);
  padding-top: 0 !important;
  min-height: 350px !important;
}

/* Increase body offset to account for 150px navbar */
body.has-cluster-navbar {
  padding-top: 160px !important;
}

/* ── Insights & Resources Section ────────────────────────── */
.insights-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 80px 20px;
}

.insights-container {
  max-width: 1200px;
  margin: 0 auto;
}

.insights-description {
  max-width: 800px;
  margin: 0 auto;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* ── Insight Cards ────────────────────────────────────────── */
.insight-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  border: 2px solid transparent;
}

.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.insight-card-header {
  padding: 30px 25px;
  text-align: center;
  position: relative;
}

.insight-card-header.crisis {
  background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
}

.insight-card-header.materials {
  background: linear-gradient(135deg, #06a77d 0%, #05c896 100%);
}

.insight-card-header.evolution {
  background: linear-gradient(135deg, #5e239d 0%, #b70468 100%);
}

.insight-card-header.reports {
  background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
}

.insight-card:hover .insight-card-header.crisis {
  background: linear-gradient(135deg, #ff6b35 0%, #d63a00 100%);
}

.insight-card:hover .insight-card-header.materials {
  background: linear-gradient(135deg, #05c896 0%, #047d5f 100%);
}

.insight-card:hover .insight-card-header.evolution {
  background: linear-gradient(135deg, #b70468 0%, #7d024a 100%);
}

.insight-card:hover .insight-card-header.reports {
  background: linear-gradient(135deg, #00a0dc 0%, #0077b5 100%);
}

.insight-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
  display: block;
}

.insight-icon svg {
  width: 70px;
  height: 70px;
  fill: white;
  stroke: white;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.insight-card-title {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.insight-card-body {
  padding: 25px;
}

.insight-card-description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── Badges ───────────────────────────────────────────────── */
.insight-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

.badge-crisis {
  background: rgba(255, 107, 53, 0.15);
  color: #d63a00;
}

.badge-materials {
  background: rgba(6, 167, 125, 0.15);
  color: #047d5f;
}

.badge-evolution {
  background: rgba(94, 35, 157, 0.15);
  color: #5e239d;
}

.badge-reports {
  background: rgba(0, 119, 181, 0.15);
  color: #005885;
}
