/* style.css - PRIPS Modern & Responsive */

:root {
  --primary: #1e4a6b;
  --primary-dark: #0f2f44;
  --secondary: #e28c2e;
  --accent: #2c7a47;
  --light-bg: #f8fafc;
  --gray-bg: #f1f5f9;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.5;
  background: white;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
}
.logo i { margin-right: 8px; color: var(--secondary); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--secondary);
}
.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0a2a3b 0%, #124152 100%);
  color: white;
  padding: 4rem 0 5rem;
  position: relative;
}
.hero-content { text-align: center; }
.hero-badge {
  background: var(--secondary);
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.hero-stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0 2rem;
}
.hero-stat {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}
.hero-stat span {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}
.hero-quote {
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}
.alt-bg {
  background-color: var(--gray-bg);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--text-muted);
}

/* Cards impact */
.impact-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.card {
  background: white;
  border-radius: 1.5rem;
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 200px;
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md);}
.impact-card .big-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
}
.highlight {
  background: var(--primary);
  color: white;
}
.highlight .big-number { color: var(--secondary);}
.impact-card i { font-size: 2rem; margin-bottom: 1rem;}

/* Table */
.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-table th, .data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}
.total-row {
  background: #fef9e6;
  font-weight: 700;
}
.stats-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

/* Key figures grid */
.key-figures-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.fig-item {
  background: white;
  border-radius: 2rem;
  padding: 0.8rem 1.5rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.fig-item i { margin-right: 8px; color: var(--secondary);}
.fig-item strong { font-size: 1.3rem; margin-right: 5px;}

/* Axes Grid */
.axes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.axis-card {
  background: white;
  border-radius: 1.2rem;
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
}
.axis-card i { font-size: 2rem; color: var(--primary); margin-bottom: 1rem;}
.axis-card h3 { margin-bottom: 0.5rem;}

/* Chart container */
.chart-container {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
}
.chart-note {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 0.8rem;
  color: var(--text-muted);
}

/* Finance summary */
.finance-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.finance-card {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
}
.finance-card .amount {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
  margin: 0.5rem 0;
}
.highlight-gap {
  background: #fff1f0;
  border: 1px solid #fecaca;
}
.badge {
  background: #dc2626;
  color: white;
  border-radius: 40px;
  padding: 0.2rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
}
.callout {
  background: #e6f2ef;
  border-left: 6px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-top: 1.5rem;
}

/* Sector grid */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.sector-card {
  background: white;
  border-radius: 1.2rem;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.sector-card i { font-size: 2rem; color: var(--primary-dark); margin-bottom: 0.5rem;}
.sector-card h3 { margin-bottom: 0.5rem;}
.sector-badge {
  display: inline-block;
  margin-top: 0.8rem;
  background: var(--gray-bg);
  padding: 0.2rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.centered-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Coordination */
.coord-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.coord-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
}
.principles-box {
  background: var(--primary);
  color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1rem;
  text-align: center;
}

/* Timeline */
.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}
.timeline-item {
  background: white;
  flex: 1;
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.timeline-item span {
  font-weight: 800;
  background: var(--secondary);
  padding: 0.2rem 1rem;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 0.8rem;
  color: white;
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2rem 0;
  font-size: 0.85rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    background: white;
    width: 100%;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero h1 { font-size: 2rem; }
  .hero-stats-grid { gap: 1rem; }
  .finance-summary { flex-direction: column; }
  .timeline { flex-direction: column; }
  .footer-content { flex-direction: column; text-align: center; }
}