/* NHSEA custom styles
   Keep this file lightweight; Bootstrap handles most layout/utility needs.
*/

:root{
  --nhsea-primary: #0b5ed7;      /* Bootstrap primary default */
  --nhsea-primary-contrast: #ffffff;
  --nhsea-dark: #0a2540;         /* Deep navy tone for header */
}

/* Navbar */
.bg-nhsea {
  background: var(--nhsea-dark);
}

/* Section padding helper */
.section-pad {
  padding: 4rem 0;
}

/* Hero gradient */
header.bg-gradient {
  background: radial-gradient(1200px 600px at 10% -10%, rgba(13,110,253,.25), transparent 60%),
              radial-gradient(1200px 600px at 110% 10%, rgba(32,201,151,.18), transparent 60%),
              linear-gradient(180deg, #0a2540 0%, #0f2f58 35%, #123763 100%);
  color: #fff;
}

/* Make carousel slides use CSS backgrounds for easy swapping */
.bg-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-cover[style*="--bg"] { background-image: var(--bg); }

/* Card polish */
.card .stretched-link::after {
  position: absolute;
  inset: 0;
  content: "";
}

/* Reduce caption background glow for readability on images */
.carousel-caption {
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

/* Smooth scroll behavior for internal links (optional) */
html {
  scroll-behavior: smooth;
}

/* Forms: subtle rounding */
.form-control, .btn {
  border-radius: .6rem;
}

/* Footer link tone */
.link-secondary:hover {
  color: var(--nhsea-primary) !important;
}
