:root {
  /* Main color palette for the site */
  --primary: #6495ED;
  --primary-dark: #0041C2;
  --accent: #82CAFF;
  --bg: #f5f7ff;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #5f6c7b;
  --border: #dde3f0;
  --shadow: 0 10px 25px rgba(47, 93, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header and navigation styling */
.site-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo a {
  color: var(--white);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

/* Hero section styling */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 6rem 0;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #dbe6ff;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Buttons used in the site */
.btn {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

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

.btn.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn:hover {
  transform: translateY(-1px);
}

/* General section spacing */
.section {
  padding: 4rem 0;
}

.alt-bg {
  background: #edf3ff;
}

.page-section {
  min-height: 60vh;
}

h1, h2, h3 {
  color: var(--primary-dark);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

p, li {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Card layout styling */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card,
.content-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.resource-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

/* Footer styling */
.site-footer {
  background: #0f172a;
  color: #dfe6f5;
  padding: 1.5rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Mobile responsive layout */
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  .nav-links {
    justify-content: center;
  }

  .hero {
    padding: 4.5rem 0;
  }
}
