/* ===== THEME VARIJABLE ===== */
:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #2563eb;
  --shadow: 0 12px 28px rgba(0,0,0,.12);
}

[data-theme="dark"] {
  --bg: #0f172a;
  --panel: #1e293b;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --shadow: none;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
}

/* ===== HEADER ===== */
.header {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
  margin-bottom: 35px;
}

.header h1 {
  font-size: 3.8rem;
  margin: 0;
}

.header a {
  text-decoration: none;
  color: var(--accent);
  font-size: 1.1rem;
}

/* ===== GRID ===== */
.grid {
  padding: 30px;
}

.org-card {
  background: var(--panel);
  border-radius: 22px;
  height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all .2s ease;
  box-shadow: var(--shadow);
}

.org-card:hover {
  transform: scale(1.05);
  background: var(--accent);
  color: #ffffff;
}

.org-card span {
  font-size: 154px;
  margin-bottom: 12px;
  color: var(--accent);
}

.org-card:hover span {
  color: #ffffff;
}

.org-card h5 {
  margin: 0;
  font-size: 3.1rem;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--muted);
}