* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #222;
}

/* =====================================
   HERO SECTION
====================================== */

.hero {
  background: linear-gradient(135deg, #1d3557, #457b9d);
  color: white;
  padding: 70px 60px;
}

.hero-content {
  max-width: none;
}

.hero h1 {
  margin: 0;
  font-size: 35px;
  font-weight: bold;
}

.hero p {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
}

.hero-badges {
  margin-top: 32px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
}

/* =====================================
   MAIN CONTAINER
====================================== */

.container {
  max-width: 1450px;
  margin: 40px auto;
  padding: 0 20px;
}

/* =====================================
   CARDS
====================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.card h3 {
  margin-top: 0;
  color: #1d3557;
}

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

/* =====================================
   TABS
====================================== */

.tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.tab-button {
  padding: 14px 22px;
  border: none;
  border-radius: 10px;
  background: #dfe7f2;
  color: #1d3557;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-button:hover {
  background: #cad9ea;
}

.tab-button.active {
  background: #1d3557;
  color: white;
}

.tab-content {
  display: none;
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.tab-content.active {
  display: block;
}

/* =====================================
   TYPOGRAPHY
====================================== */

h2 {
  margin-top: 0;
  color: #1d3557;
}

.section-description {
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* =====================================
   CHART
====================================== */

.chart-wrapper {
  width: 100%;
  overflow-x: auto;
}

canvas {
  background: white;
}

/* =====================================
   TABLE
====================================== */

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
}

th,
td {
  border: 1px solid #e2e8f0;
  padding: 12px;
  font-size: 14px;
  text-align: left;
}

th {
  background: #f1f5f9;
  color: #1d3557;
}

tr:hover {
  background: #f8fafc;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =====================================
   FOOTER
====================================== */

.footer {
  margin-top: 60px;
  background: #1d3557;
  color: white;
  padding: 50px 20px 25px;
}

.footer-content {
  max-width: 1450px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* single unified item style */
.footer-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);

  white-space: normal;
  overflow-wrap: break-word;
}

/* links */
.footer a {
  color: #a8dadc;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(168, 218, 220, 0.35);
  transition: all 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

/* bottom bar */
.footer-bottom {
  max-width: 1450px;
  margin: 30px auto 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.2);

  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

/* responsive */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}