@charset "UTF-8";
/* ==========================================================================
   HEC - Hayward Environmental Consulting - portal theme (layout B / Bootstrap 5)
   Modeled on hechayward.com (reviewed Oct 2026)
   Upload: /css_themes/CSS_hec.css   (images in /css_themes/hec/)
   Overrides tokens + a few selectors from /assets/css/portal_theme_b.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');

/* Palette (site)
   navy     #00306e   "Request A Quote" / "Call Now" buttons, logo
   sky      #2ea3f2   logo rule, accents
   grey     #f6f6f6   top bar + footer, #3d3d3d footer bottom bar */
:root {
  --portal-primary: #00306e;
  --portal-primary-hover: #002252;
  --portal-primary-soft: #e6edf6;
  --portal-soft-bg: #f6f6f6;
  --portal-text: #111;
  --portal-text-2: #444;
  --portal-font: "Open Sans", Helvetica, Arial, sans-serif;
  --portal-radius: 0;
  --portal-radius-sm: 0;
  --portal-logo-max-height: 56px;
}

body { font-weight: 500; }
h1, h2, h3, h4 { color: #00306e; font-weight: 700; }
.cat-header h2 { text-transform: uppercase; }

/* ---------- Buttons: square, bold uppercase (Divi buttons; navy <-> white swap) ---------- */
.btn { font-weight: 700; text-transform: uppercase; border-radius: 0; transition: all .3s; }
.btn-primary {
  --bs-btn-bg: #00306e; --bs-btn-border-color: #00306e; --bs-btn-color: #fff;
  --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #00306e; --bs-btn-hover-color: #00306e;
  --bs-btn-active-bg: #e6edf6; --bs-btn-active-border-color: #00306e; --bs-btn-active-color: #00306e;
  box-shadow: none;
}
.course-cta .btn-ghost,
.btn-info {
  --bs-btn-bg: #fff; --bs-btn-color: #00306e; --bs-btn-border-color: #00306e;
  --bs-btn-hover-bg: #00306e; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #00306e;
  --bs-btn-active-bg: #002252; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #002252;
}

/* ---------- Logo ---------- */
.site-brand {
  width: 122px; height: 56px;
  background: url(/css_themes/hec/HEC-Logo.png) left center / contain no-repeat;
}
.site-brand img { display: none; }
.site-brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 575.98px) { .site-brand { width: 96px; height: 44px; } }

/* ---------- Header: white, black uppercase menu ---------- */
.site-header { background: #fff; border-top: 6px solid #f6f6f6; border-bottom: 1px solid #e5e5e5; }
.site-nav .nav-link { color: #000; font-weight: 600; text-transform: uppercase; }
.site-nav .nav-link:hover { color: #2ea3f2; background: transparent; }
.site-nav .nav-link.active,
.site-nav .nav-item.active > .nav-link { color: #fff; background: #00306e; }

/* ---------- Hero: navy with the sky-blue rule ---------- */
.hero-b,
.page-hero { background: linear-gradient(180deg, #00306e 0%, #001f49 100%); border-bottom: 4px solid #2ea3f2; }
.hero-title, .page-hero h1 { color: #fff; font-weight: 700; text-transform: uppercase; }
.hero-eyebrow { color: #fff; background: rgba(46, 163, 242, .25); border-color: rgba(46, 163, 242, .7); }

/* ---------- Footer: light grey with the dark bottom bar ---------- */
.site-footer { background: #f6f6f6; border-top: 1px solid #e5e5e5; color: #444; padding-bottom: 0; }
.site-footer a { color: #00306e; }
.site-footer a:hover { color: #2ea3f2; }
.site-footer-name, .site-footer-heading { color: #00306e; }
.site-footer-copy {
  margin-top: 2rem; padding: 1rem 0; border-top: 0; color: rgba(255, 255, 255, .7);
  background: #3d3d3d; box-shadow: 0 0 0 100vmax #3d3d3d; clip-path: inset(0 -100vmax);
}
