/* ===== Colors ===== */
:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-card: #ffffff;
}

/* ===== Body ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
}

/* ===== Container ===== */
.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* ===== Section ===== */
.section {
  padding: 20px 20px;
  /* reduced space */
}

.section-bg-alt {
  background: var(--color-bg-alt);
}

/* ===== Text ===== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-muted {
  color: var(--color-muted);
}

/* ===== Headings ===== */
h1,
h2,
h3 {
  margin-bottom: 5px;
}

/* ===== Grid ===== */
.grid {
  display: grid;
  gap: 20px;
}

.md-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ===== Cards ===== */
.card {
  background: var(--color-card);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* ===== Buttons ===== */
.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* ===== Flex ===== */
.flex {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

/* ===== Spacing ===== */
.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 15px;
}

.mb-8 {
  margin-bottom: 25px;
}

.mb-12 {
  margin-bottom: 35px;
}

.mt-8 {
  margin-top: 25px;
}

.mt-12 {
  margin-top: 35px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .md-grid-2 {
    grid-template-columns: 1fr;
  }

  .flex {
    flex-direction: column;
    align-items: center;
  }
}

/* Header / Navbar */
.site-header {
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
  background: white;
}

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

.logo a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 22px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-primary);
}

/* Footer */
.site-footer {
  padding: 25px 0;
  margin-top: 30px;
}

.card:hover {
  transform: translateY(-4px);
  transition: 0.3s;
}

.section-bg-alt {
  padding: 10px 20px;
}

.section-bg-alt h2 {
  margin-top: 0;
}