:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-primary: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

body.dark {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #334155;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  transition: background-color 0.2s, color 0.2s;
}

/* Card Hover Effects */
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Fade in animation */
.fade {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

input, textarea, select {
  font-family: inherit;
}
/* Fix header logo size globally across all subpages */
header .logo img {
  height: 32px !important;
  width: auto !important;
  max-width: none !important;
}

header .logo a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}
/* Global Header & Logo Fixes for All Pages */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 5%;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

header .logo img {
  height: 32px !important;
  width: auto !important;
  max-width: none !important;
}

header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

header nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}

header nav a:hover {
  color: var(--text-primary);
}
