:root {
  --bj-primary: #0d3bff;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Inter, Roboto, Arial, sans-serif;
}

.navbar .nav-link.active {
  font-weight: 600;
  color: #0d3bff !important;
}

.hero-swiper, .hero-swiper .swiper-slide {
  height: clamp(320px, 62vh, 640px);
}

.hero-swiper .swiper-slide {
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 32px 0;
}

.hero-card {
  max-width: 760px;
}

.gradient-bottom {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.15) 100%);
}

.feature-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: #eef2ff; color: #0d3bff;
}

.page-hero {
  position: relative;
  background-color: #0d3bff; /* fallback color */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: clamp(455px, 45vw, 655px); /* Responsive height for banners */
  display: flex;
  align-items: flex-end; /* Keep text at bottom */
  margin-bottom: 0;
  padding: 0;
}

.page-hero .container {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-hero--contact {
  /* Nudge focal point up slightly so key elements are centered in view */
  background-position: center 100%;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  text-shadow: 0 3px 16px rgba(0,0,0,0.20);
  font-size: 2.7rem;
}

.form-control, .form-select { border-radius: .6rem; }

.btn-primary { background-color: #0d3bff; border-color: #0d3bff; }

.brand-grid img { max-height: 64px; filter: grayscale(100%); opacity: .85; transition: .2s ease; }
.brand-grid img:hover { filter: grayscale(0%); opacity: 1; }

