:root {
  --primary: #0b5ed7;
  --secondary: #0d6efd;
  --accent: #f8f9fa;
  --dark: #212529;
  --light: #ffffff;

  /* Safeandcertified accent */
  --brand-orange: #f97316;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  scroll-padding-top: 70px;
}

header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 3rem 1.5rem;
}

header .container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  gap: 1.5rem;
}

header h1 {
  font-size: 2.4rem;
  line-height: 1.2;
}

header p {
  font-size: 1.1rem;
  max-width: 900px;
}

.cta-primary {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

section {
  padding: 3rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: auto;
}

section h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

section p {
  margin-bottom: 1rem;
  max-width: 800px;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.cta-section {
  background: #f1f4f8;
  text-align: center;
}

.cta-section p {
  margin: 1rem auto 2rem;
}

footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2rem 1.5rem;
}

footer .container {
  display: grid;
  gap: 1rem;
}

footer a {
  color: #e2e8f0;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  header h1 {
    font-size: 2.8rem;
  }
}
/* =========================
   SITE NAVIGATION
========================= */

.site-nav {
  background: #ffffff;
  border-bottom: 2px solid var(--brand-orange);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

  position: sticky;
  top: 0;
  z-index: 1000;
}

/* =========================
   NAV BUTTON LINKS
========================= */

.nav-btn {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  color: var(--dark);
  background: transparent;
  transition: 
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.nav-btn:hover {
  background: rgba(249, 115, 22, 0.08);
  color: var(--brand-orange);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.35);
  transform: translateY(-1px);
}


.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--dark);
}

.nav-links a:hover {
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

.nav-cta {
  background: var(--brand-orange);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #ea580c;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}
