:root {
  --navy: #0b2a4a;
  --navy-2: #1e3a5f;
  --ink: #0f172a;
  --muted: #475569;
  --b: #e2e8f0;
  --bg: #ffffff;
}

/* ────────────────
   GLOBAL STYLES
──────────────── */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

/* ────────────────
   HEADER & NAV
──────────────── */
header {
  background: #fff;
  border-bottom: 1px solid var(--b);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

nav a {
  color: var(--ink);
  text-decoration: none;
  margin: 0 0.75rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a.brand {
  font-weight: 700;
  font-size: 1.1rem;
}

nav a:hover {
  color: var(--navy);
}

/* ────────────────
   HERO SECTION
──────────────── */
.hero {
  padding: 5rem 1rem;
  text-align: center;
  background: linear-gradient(to bottom, #fff, #f8fafc);
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.6rem;
  color: var(--navy);
}

.hero p {
  max-width: 760px;
  margin: 0.5rem auto 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ────────────────
   SECTIONS
──────────────── */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1rem;
}

h2 {
  font-size: 1.8rem;
  margin: 0 0 1rem;
  color: var(--navy);
}

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

.card {
  border: 1px solid var(--b);
  border-radius: 14px;
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

/* ────────────────
   BUTTONS
──────────────── */
.btn {
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  font-weight: 500;
}

.btn:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
}

/* ────────────────
   BREADCRUMB NAV
──────────────── */
.breadcrumb {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 1rem 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--b);
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--navy-2);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--muted);
}

/* ────────────────
   CONTACT SECTION
──────────────── */
.contact-section {
  background: linear-gradient(to bottom, var(--navy-2), var(--navy));
  color: #fff;
  padding: 4rem 1rem;
}

.contact-section h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.9rem;
}

.contact-card {
  background: #fff;
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--b);
}

label {
  display: block;
  font-weight: 500;
  margin: 0.75rem 0 0.25rem;
  color: var(--ink);
}

input,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--b);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy-2);
  box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.1);
}

button {
  background: var(--navy);
  border: none;
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

button:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
}

.success-message {
  color: #065f46;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

.direct {
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
}

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

.direct a:hover {
  text-decoration: underline;
}

/* ────────────────
   FOOTER
──────────────── */
footer {
  background: #fff;
  border-top: 1px solid var(--b);
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

footer p {
  margin: 0.3rem 0;
  line-height: 1.5;
}

footer a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* ────────────────
   ARTICLE STYLING
──────────────── */
.article-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--b);
  padding: 0;
  margin: 0;
}

.article-content {
  max-width: 760px;
  margin: 3rem auto 5rem;
  padding: 0 1rem;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}

.article-content h1 {
  font-size: 2rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.article-content .meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  display: block;
}

.article-content p {
  margin-bottom: 1.4rem;
}

.article-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 1rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content strong {
  color: var(--navy-2);
}

.article-content em {
  font-style: italic;
  color: var(--muted);
}

.article-content .nav-links {
  margin-top: 2.5rem;
  border-top: 1px solid var(--b);
  padding-top: 1.5rem;
}

.article-content .nav-links a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.article-content .nav-links a:hover {
  color: var(--navy-2);
  text-decoration: underline;
}
