:root {
  --navy: #0f2c59;
  --navy-dark: #091d3d;
  --navy-light: #17408a;
  --accent: #2563eb;
  --bg-soft: #f5f7fb;
  --text-muted: #5b6b82;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: #1c2b3a;
}

a {
  color: var(--navy-light);
}

/* ---------- Navbar ---------- */
.navbar-jhc {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 44, 89, 0.08);
}

.navbar-jhc .navbar-brand {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-jhc .navbar-brand .brand-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.navbar-jhc .nav-link {
  color: #2b3a4d;
  font-weight: 500;
  margin: 0 0.35rem;
}

.navbar-jhc .nav-link.active,
.navbar-jhc .nav-link:hover {
  color: var(--navy);
}

.btn-navy {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background-color: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
}

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--navy-dark);
  background-image: linear-gradient(120deg, rgba(9, 29, 61, 0.94), rgba(15, 44, 89, 0.86)),
    url("../images/hero-pattern.svg");
  background-repeat: no-repeat, repeat;
  background-size: cover, 32px 32px;
  background-position: center, center;
  color: #fff;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
}

.hero-illustration {
  animation: heroFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(9, 29, 61, 0.35));
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.cta-pattern {
  background-image: url("../images/hero-pattern.svg"), linear-gradient(180deg, var(--navy), var(--navy));
  background-repeat: repeat, no-repeat;
  background-size: 32px 32px, cover;
}

.hero h1 {
  font-weight: 800;
  font-size: 2.75rem;
}

.hero p.lead {
  color: #dbe4f5;
  max-width: 32rem;
}

.hero-stats {
  margin-top: 3rem;
}

.hero-stats .stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
  font-size: 0.85rem;
  color: #e7edf9;
  font-weight: 500;
}

/* ---------- Section titles ---------- */
.section-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
}

.section-title {
  color: var(--navy);
  font-weight: 700;
}

/* ---------- Cards ---------- */
.card-soft {
  background: var(--bg-soft);
  border: none;
  border-radius: 14px;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.job-card {
  border: 1px solid #e4e9f2;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.job-card:hover {
  box-shadow: 0 8px 24px rgba(15, 44, 89, 0.1);
  transform: translateY(-2px);
}

.job-card .job-title {
  color: var(--navy);
  font-weight: 700;
}

.job-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.job-meta i {
  color: var(--navy-light);
  margin-right: 0.3rem;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: #cdd8ec;
  padding: 3rem 0 1.5rem;
}

footer.site-footer a {
  color: #cdd8ec;
  text-decoration: none;
}

footer.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer.site-footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #93a2bd;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0;
}

.page-header h1 {
  font-weight: 700;
}

.page-header .breadcrumb-link {
  color: #cdd8ec;
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 14px;
  padding: 2rem;
}

.form-label {
  font-weight: 600;
  color: #2b3a4d;
}

.file-input-wrap {
  border: 2px dashed #c9d4e6;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-soft);
}

#cvFileName {
  font-weight: 600;
  color: var(--navy);
}

.status-badge-open {
  background: #e5f5ec;
  color: #1e8a4c;
}

.status-badge-closed {
  background: #fbe7e7;
  color: #c23b3b;
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: var(--navy-dark);
  color: #dbe4f5;
  padding: 1rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(9, 29, 61, 0.25);
  transform: translateY(0);
  animation: cookieSlideUp 0.35s ease-out;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 640px;
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
