:root {
  --bg: #f5f5f5;
  --text: #333;
  --card: #fff;
  --primary: #1e3c72;
  --secondary: #2a5298;
}

body.dark {
  --bg: #121212;
  --text: #eee;
  --card: #1e1e1e;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, system-ui, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

header.header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
}

header.header h1 {
  margin: 0;
  font-size: 2.5em;
}

header.header p {
  margin: 10px 0 20px 0;
  font-size: 1.2em;
}

header.header button {
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  border: none;
  border-radius: 20px;
  background: #fff;
  color: var(--secondary);
  margin-top: 10px;
}

main.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

section.map-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

#map {
  flex: 1 1 600px;
  height: 500px;
  border-radius: 12px;
  border: 1px solid #ccc;
}

.stats {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* KEY LINE */
  padding: 22px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Each stat = one horizontal row */
.stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats div:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Label */
.stats div strong {
  flex: 1;
  font-size: 0.95em;
  color: var(--text);
}

/* Value */
.stats div span {
  font-size: 1.15em;
  font-weight: bold;
  color: var(--text);
  white-space: nowrap;
}

/* Icon (left side) */
.stats div::before {
  font-size: 1.3em;
}

/* Individual icons */
.stats div:nth-child(1)::before { content: "⚡"; }
.stats div:nth-child(2)::before { content: "🛫"; }
.stats div:nth-child(3)::before { content: "🗺️"; }
.stats div:nth-child(4)::before { content: "📍"; }

section.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h2 {
  margin-top: 0;
}

h2.section-title {
  margin-top: 60px;
  font-size: 2em;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 10px;
}

p {
  margin-bottom: 20px;
}

ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.subtext {
  font-size: 0.85em;
  opacity: 0.75;
  margin: 6px 0 12px;
}

.why-no-pass {
  margin-top: 12px;
  font-size: 0.85em;
  opacity: 0.85;
}

.why-no-pass summary {
  cursor: pointer;
  font-weight: 600;
}

.why-no-pass ul {
  margin-left: 18px;
}




footer.footer {
  text-align: center;
  padding: 20px;
  background: var(--primary);
  color: white;
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.9;
}

body.dark .card,
body.dark .stats {
  background: var(--card);
  color: var(--text);
}

@media(max-width: 800px){
  section.map-section, section.info-section {
    flex-direction: column;
  }
}

