/* Landing page (about.html) styled to match https://bhvi.org/ (measured 2026-11-05).
   Loaded after about.min.css, so it overrides the primes theme, which uses !important
   in many places; the !important rules here answer those. */

:root {
  --bhvi-navy: #023059;           /* menu bar */
  --bhvi-navy-line: #104371;      /* rule under the menu bar */
  --bhvi-hover: #8bb9c9;          /* hover and current menu item */
  --bhvi-text: #3f3f40;           /* body copy and headings */
  --bhvi-button: #4baabf;
  --bhvi-button-hover: #3e9aae;
  --bhvi-footer: #3f3f40;
  --bhvi-copyright-bar: #282828;
  --bhvi-copyright: #8b8b8b;
}

/* ---- Layout and type ---- */

/* bhvi.org's content column is 1200px wide; bootstrap's is 1140px */
@media (min-width: 1260px) {
  .container { width: 1230px; }
}

/* the theme adds 0.32px letter spacing everywhere; bhvi.org uses none */
body, body * { letter-spacing: normal; }

body, p, .productbox span, .description {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--bhvi-text);
}

/* section titles ("Features", "Video Walkthroughs"): bhvi.org's large heading */
h3 {
  font-family: Poppins, sans-serif !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  text-transform: uppercase;
  color: var(--bhvi-text);
}

/* item titles: a step below the section titles; the footer headings are set below */
h4, .features-box4 h4, .productbox h5 {   /* .features-box4 h4 to beat the theme's rule for it */
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: var(--bhvi-text);
}

/* ---- Menu bar ---- */

/* the same size before and after scrolling, so nothing moves; only the colour changes */
.navbar-default.menu-top {
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid transparent;
}
.navbar-default.menu-top.menu-shrink {
  background-color: var(--bhvi-navy);
  border-bottom-color: var(--bhvi-navy-line);
}
@media (max-width: 767px) {   /* phones: the theme makes the bar grey there */
  .navbar-default.menu-top,
  .navbar-default.menu-shrink,
  .navbar-default.menu-top .navbar-collapse {
    background-color: var(--bhvi-navy) !important;
    border-color: var(--bhvi-navy-line);
  }
}

/* bhvi.org's logo file at its size there: 170 x 53, 30px from the top of the bar */
.navbar-header img {
  width: 170px !important;
  height: 53px !important;
  max-width: none;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .locale-chooser,
.navbar-default .locale-chooser a {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
/* not :focus, which kept a clicked item lit as well as the current section */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
  color: var(--bhvi-hover) !important;
  background: transparent;
}

.navbar-default .navbar-nav > li > a.btn-top-white { border-radius: 10px; }

/* ---- Hero ---- */

/* a navy tint in the theme's dark overlay (was 65% black), to tie it to the bar */
#home .inner-bg { background-color: rgba(1, 26, 50, 0.72); }

/* "Try now": bhvi.org's "Read more" button, with a gentle darkening on hover */
.top-button .btn-top,
.top-button .btn-top:focus {
  font-family: Poppins, sans-serif;
  font-size: 17px !important;
  font-weight: 400;
  line-height: 17px;
  color: #fff !important;
  background: var(--bhvi-button) !important;
  border: 0 !important;
  border-radius: 10px;
  padding: 20px;
  height: auto !important;   /* the theme fixes it at 52px, which pushed the text low */
  transition: background-color 0.3s;
}
.top-button .btn-top:hover {
  color: #fff !important;
  background: var(--bhvi-button-hover) !important;
  border: 0 !important;
}

/* ---- Intro ---- */

/* The intro, the features and the footer share one text width: 60px in from each
   side of the content on wide screens, 30px from the screen edge on phones. */
.col-sm-10.features { margin-top: 20px; }
@media (min-width: 992px) {
  .col-sm-10.features {
    width: 100%;
    margin-left: 0;
    padding-left: 60px;
    padding-right: 90px;   /* this column sits 30px right of the others (nested containers) */
  }
}
@media (max-width: 991px) {
  .col-sm-10.features p { padding-left: 0; padding-right: 0; }
}

/* the browser and WebGL boxes under the intro */
.features-box4 { padding-top: 0; }

/* ---- Features ---- */

.productbox > div:first-child { display: none; }   /* the icons */
.productbox { padding-left: 0; }

/* Rows of two, so each pair shares a top line: the theme's two columns step aside
   (display: contents) and their items go into one grid. Only the feature list's own
   row: the video section and footer are nested inside the same container. */
@media (min-width: 992px) {
  .product-bg2 > .container > .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    align-items: start;
    padding: 0 75px;   /* the 60px inset, plus the row's -15px margin */
  }
  .product-bg2 > .container > .row::before,
  .product-bg2 > .container > .row::after { display: none; }   /* bootstrap's clearfix */
  .product-bg2 > .container > .row > div { display: contents; }
  .product-bg2 > .container > .row > div:first-child > .productbox { grid-column: 1; }
  .product-bg2 > .container > .row > div:last-child > .productbox  { grid-column: 2; }
  .product-bg2 > .container > .row > div > .productbox:nth-child(1) { grid-row: 1; }
  .product-bg2 > .container > .row > div > .productbox:nth-child(2) { grid-row: 2; }
  .product-bg2 > .container > .row > div > .productbox:nth-child(3) { grid-row: 3; }
}
@media (max-width: 991px) {
  .product-bg2 > .container > .row { padding-left: 15px; padding-right: 15px; }
}

/* ---- Footer: spacing from bhvi.org (80px top and bottom, 20px under headings) ---- */

#contact, #contact .inner-contact { background-color: var(--bhvi-footer); }
#contact .inner-contact { padding-top: 80px; padding-bottom: 40px; }
#contact .col-sm-12.contact { display: none; }        /* an empty first row */
#contact .contact-address { padding-bottom: 40px; }   /* between the two rows */
#contact i.fa { display: none; }                      /* the icons */

#contact h4 {
  margin: 0 0 20px;
  padding: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 23px;
  text-transform: uppercase;
  color: #fff;
}
#contact p, #contact span, #contact a {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  color: #fff;
}
#contact p, #contact p a, #contact p span {
  font-size: 15px;
  line-height: 22.5px;
}
#contact p { margin: 0; }
#contact .col-sm-4 p + p { margin-top: 10px; }   /* contact lines, like bhvi.org's "Explore" links */
#contact a:hover, #contact a:focus { color: var(--bhvi-hover) !important; text-decoration: none; }

@media (min-width: 992px) {
  #contact .contact-address.col-sm-7 { padding-left: 75px; }
  #contact .contact-address.col-sm-4 { padding-right: 75px; }
}
@media (max-width: 991px) {
  #contact .inner-contact .row { padding-left: 15px; padding-right: 15px; }
}
@media (max-width: 767px) {
  #contact img { margin-left: auto; margin-right: auto; }   /* centred like the text */
}

/* ---- Copyright bar: 83px tall, Poppins 15px medium grey, left-aligned ---- */

#footer2 {
  background-color: var(--bhvi-copyright-bar);
  padding-top: 30px;
  padding-bottom: 30px;
}
#footer2 .copyright,
#footer2 .copyright a,
#footer2 .copyright span {
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  color: var(--bhvi-copyright);
  text-align: left;
}
#footer2 .copyright a:hover { color: var(--bhvi-hover) !important; text-decoration: none; }
