:root {
  --primary-color: #0b3d91;
  --secondary-color: #1a1a1a;
  --accent-color: #f1f5f9;
  --text-color: #333;
  --light-gray: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--accent-color);
}

header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--primary-color);
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
}

section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--light-gray);
}

section:last-child {
  border-bottom: none;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #4a5568;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #072b6b;
}

.footer {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 3rem 2rem;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer h4 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: #cbd5e0;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #4a5568;
  color: #cbd5e0;
}

/* Forms */
form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
}

label {
  font-weight: 600;
  color: var(--secondary-color);
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1);
}

button {
  cursor: pointer;
  border: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.img-placeholder {
  width: 100%;
  height: 400px;
  background-color: #cbd5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  font-weight: bold;
  border-radius: 8px;
  margin-bottom: 2rem;
  background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
}

.hero {
  text-align: center;
  padding: 6rem 0;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 8px 8px 0 0;
  margin: -2rem -2rem 4rem -2rem;
}

.hero h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero p {
  color: #e2e8f0;
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}
