/*!
 * HBH Precision - Modern UI layer (Bootstrap 3 compatible)
 * Replace the old "Business Casual" look with a clean, premium industrial theme.
 */

 :root {
    --bg: #0b1220;
    --bg2: #0f1b33;
    --panel: rgba(255, 255, 255, 0.92);
    --text: #0f172a;
    --muted: #475569;
    --white: #ffffff;
    --line: rgba(2, 6, 23, 0.10);
    --shadow: 0 18px 50px rgba(2, 6, 23, 0.18);
    --shadow2: 0 10px 30px rgba(2, 6, 23, 0.14);
    --radius: 16px;
    --radius2: 22px;
    --brand: #2f6bff;
    --brand2: #00d4ff;
    --brand3: #7c3aed;
  }
  
/* Inline SVG icons (replaces Font Awesome) */
.hbh-ico {
    display: inline-flex;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
  }
  
  .hbh-ico svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: block;
  }
  
  .hbh-ico-right {
    margin-right: 0;
    margin-left: 10px;
  }

  html, body {
    height: 100%;
  }
  
  body.hbh {
    font-family: "Inter", "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fb;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 74px; /* space for fixed navbar */
  }

  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-family: "Space Grotesk", "Inter", "Open Sans", sans-serif;
    letter-spacing: -0.02em;
  }
  
  a { color: var(--brand); }
  a:hover { color: #1f4fe0; text-decoration: none; }
  
  /* Navbar */
  .hbh-nav.navbar {
    border: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
  }
  
  .hbh-nav .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.2px;
  }
  
  .hbh-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .hbh-logo {
    height: 28px;      /* adjust if you want bigger/smaller */
    width: auto;
    display: block;
  }
  
  .hbh-brand-text {
    line-height: 1;
  }
  
  .hbh-nav .navbar-nav > li > a {
    font-weight: 600;
    color: rgba(15, 23, 42, 0.78);
    letter-spacing: 0;
  }
  
  .hbh-nav .navbar-nav > li > a:hover {
    color: rgba(15, 23, 42, 1);
  }
  
  
  /* Hero */
  .hbh-hero {
    position: relative;
    padding: 56px 0 52px;
    overflow: hidden;
  }
  
  .hbh-hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(800px 300px at 15% 20%, rgba(47, 107, 255, 0.22), transparent 70%),
      radial-gradient(700px 240px at 85% 18%, rgba(0, 212, 255, 0.18), transparent 65%),
      radial-gradient(900px 360px at 40% 95%, rgba(124, 58, 237, 0.14), transparent 70%),
      linear-gradient(180deg, #0b1220 0%, #0f1b33 60%, rgba(15, 27, 51, 0) 100%);
    transform: translateZ(0);
  }
  
  .hbh-hero .container {
    position: relative;
    z-index: 2;
  }
  
  .hbh-hero-row {
    display: flex;
    align-items: center;
  }
  
  .hbh-kicker {
    margin-bottom: 14px;
  }
  
  .pill {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    margin-right: 8px;
    margin-bottom: 8px;
  }
  
  .pill i { margin-right: 6px; opacity: 0.92; }
  .pill-muted { background: rgba(255,255,255,0.08); }
  
  .hbh-hero-title {
    color: var(--white);
    font-size: 44px;
    line-height: 1.08;
    margin: 0 0 14px;
  }
  
  .hbh-hero-title .accent {
    background: linear-gradient(90deg, var(--brand2), var(--brand));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .hbh-hero-subtitle {
    color: rgba(255,255,255,0.78);
    font-size: 16px;
    line-height: 1.7;
    max-width: 780px;
    margin-bottom: 22px;
  }
  
  .hbh-hero-actions {
    margin: 6px 0 18px;
  }
  
  .btn {
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0;
    border: 0;
  }
  
  .btn-primary {
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    box-shadow: 0 12px 28px rgba(47, 107, 255, 0.22);
  }
  
  .btn-primary:hover {
    filter: brightness(1.03);
  }
  
  .btn-ghost {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
  }
  
  .btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,1);
  }
  
  .btn-light {
    background: #ffffff;
    color: #0b1220;
    box-shadow: 0 10px 24px rgba(2,6,23,0.18);
  }
  
  .btn-light:hover { filter: brightness(0.98); }
  
  .hbh-stats {
    display: flex;
    gap: 18px;
    margin-top: 8px;
    flex-wrap: wrap;
  }
  
  .stat {
    min-width: 160px;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
  }
  
  .stat-value {
    color: rgba(255,255,255,0.95);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .stat-label {
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    font-weight: 600;
  }
  
  .hbh-hero-media {
    position: relative;
    border-radius: var(--radius2);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
  }
  
  .hero-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.01);
  }
  
  .hero-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(11, 18, 32, 0.62);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    font-size: 12px;
  }
  
  .hero-badge i { margin-right: 6px; color: var(--brand2); }
  
  /* Sections */
  .hbh-section {
    padding: 58px 0;
  }
  
  .hbh-section-muted {
    background: #f1f5ff;
    border-top: 1px solid rgba(2, 6, 23, 0.05);
    border-bottom: 1px solid rgba(2, 6, 23, 0.05);
  }
  
  .hbh-section-head {
    margin-bottom: 26px;
  }
  
  .hbh-section-head h2 {
    font-size: 28px;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
  }
  
  .hbh-section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
  }
  
  /* Cards */
  .hbh-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow2);
    height: 100%;
  }
  
  .hbh-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(47,107,255,0.16), rgba(0,212,255,0.16));
    border: 1px solid rgba(47,107,255,0.18);
    margin-bottom: 12px;
  }
  
  .hbh-card-icon i {
    color: #1f4fe0;
    font-size: 18px;
  }
  
  .hbh-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
  }
  
  .hbh-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
  }
  
  /* Steps */
  .hbh-steps {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow2);
    overflow: hidden;
  }
  
  .step {
    display: flex;
    gap: 14px;
    padding: 18px 18px;
    border-bottom: 1px solid rgba(2,6,23,0.06);
  }
  
  .step:last-child { border-bottom: 0; }
  
  .step-num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(47,107,255,0.16), rgba(0,212,255,0.16));
    border: 1px solid rgba(47,107,255,0.18);
    color: #1f4fe0;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .step-title {
    font-weight: 800;
    margin-bottom: 3px;
  }
  
  .step-text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
  }
  
  .hbh-note {
    margin-top: 12px;
    color: rgba(15, 23, 42, 0.70);
    font-size: 13px;
  }
  .hbh-note i { margin-right: 6px; }
  
  /* Photos */
  .hbh-photo {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow2);
    margin-bottom: 18px;
  }
  
  .hbh-photo img { width: 100%; height: auto; display: block; }
  
  /* CTA */
  .hbh-cta {
    background: linear-gradient(90deg, #0b1220, #0f1b33);
    color: var(--white);
  }
  
  .hbh-cta h2 {
    margin-top: 0;
    color: var(--white);
  }
  
  .hbh-cta p {
    color: rgba(255,255,255,0.78);
    margin: 0;
    line-height: 1.7;
  }
  
  /* Footer */
  .hbh-footer {
    padding: 34px 0;
    background: #0b1220;
    color: rgba(255,255,255,0.78);
  }
  
  .footer-title {
    font-weight: 800;
    color: rgba(255,255,255,0.95);
    margin-bottom: 4px;
  }
  
  .footer-sub {
    color: rgba(255,255,255,0.70);
  }
  
  .footer-links a {
    margin-left: 14px;
    color: rgba(255,255,255,0.80);
    font-weight: 700;
    font-size: 12px;
  }
  .footer-links a:hover { color: rgba(255,255,255,0.95); }
  
  .copyright {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.60);
  }
  
  /* Responsive */
  @media (max-width: 991px) {
    .hbh-hero-title { font-size: 36px; }
    .hbh-hero-row { display: block; }
    .hbh-hero-media { margin-top: 18px; }
  }
  
  @media (max-width: 767px) {
    body.hbh { padding-top: 58px; }
    .hbh-hero { padding: 42px 0 44px; }
    .hbh-hero-title { font-size: 30px; }
    .stat { min-width: 140px; }
  }
  