html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* Hero — CSS background (reliable; no broken hotlink) */
.hero-section {
  min-height: 85vh;
  background-color: #1e3a8a;
  background-image:
    linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.92) 0%,
      rgba(29, 78, 216, 0.78) 45%,
      rgba(30, 58, 138, 0.9) 100%
    ),
    url("/images/hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.15) 0%,
    rgba(30, 58, 138, 0.35) 100%
  );
}

.live-pulse {
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: #1d4ed8;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #1e3a8a;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: #facc15;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a8a;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: background-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background-color: #ca8a04;
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 2px solid #fff;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  background-color: #fff;
  color: #1d4ed8;
}

.section-heading {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1e3a8a;
}

@media (min-width: 640px) {
  .section-heading {
    font-size: 2.25rem;
  }
}

.section-sub {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 1.125rem;
  color: #475569;
}

.card {
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  background-color: #fff;
  padding: 1.5rem;
  box-shadow: 0 4px 24px -4px rgba(29, 78, 216, 0.12);
}

.input-field {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background-color: #fff;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #1e293b;
}

.input-field:focus {
  outline: 2px solid #1d4ed8;
  outline-offset: 0;
  border-color: #1d4ed8;
}

.label-field {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #1d4ed8;
}

.nav-link-active {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d4ed8;
}

.prose-blog h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a8a;
}

.prose-blog h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e3a8a;
}

.prose-blog p {
  margin-top: 1rem;
  line-height: 1.75;
  color: #475569;
}

.prose-blog ul {
  margin-top: 1rem;
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #475569;
}

.prose-blog ul li {
  margin-top: 0.5rem;
}

.prose-blog a {
  color: #1d4ed8;
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
