
body { font-family: 'Inter', Arial, sans-serif; margin: 0; color: #333; padding-top: 140px; font-size: 20px; line-height: 1.7; }
header { background: #fff; border-bottom: 1px solid #eee; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 40px 36px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .logo { max-height: 80px; }
.brand .wordmark { font-size: 30px; font-weight: 800; color: #333; }
nav { display: flex; }
nav a { margin-left: 36px; text-decoration: none; color: #333; font-weight: 700; font-size: 20px; line-height: 1.6; }
nav .cta { background: #0066CC; color: #fff; padding: 14px 28px; border-radius: 8px; font-weight: 800; font-size: 20px; }
.hamburger { display: none; font-size: 30px; background: none; border: none; cursor: pointer; }

.hero { padding: 140px 20px; text-align: center; background: linear-gradient(to bottom, #e6f4f7, #ffffff); }
.hero h1 { font-weight: 800; font-size: 52px; color: #111; line-height: 1.2; }
.section { padding: 80px 20px; }
.section.alt { background: #fafafa; }
.section .kicker { text-align: center; font-size: 18px; color: #009688; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.section h2 { text-align: center; color: #000000; font-weight: 800; font-size: 36px; margin-bottom: 20px; }
.section h3 { color: #333; text-align: center; font-size: 24px; font-weight: 700; }
.lede { text-align: center; font-size: 20px; max-width: 780px; margin: 0 auto; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; text-decoration: none; font-size: 18px; }
.btn-primary { background: #0066CC; color: #fff; font-weight: 800; }
.btn-ghost { border: 2px solid #0066CC; color: #0066CC; font-weight: 800; }
.grid { display: grid; gap: 28px; margin-top: 28px; }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: #fff; padding: 28px; border-radius: 12px; box-shadow: 0 3px 10px rgba(0,0,0,0.1); text-align: center; font-size: 19px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer { background: #111; color: #fff; text-align: center; padding: 28px; font-size: 18px; }
.footer a { color: #fff; text-decoration: none; margin: 0 8px; font-size: 18px; }
.footer a:hover { text-decoration: underline; }

/* Responsive slide-down menu */
@media (max-width: 768px) {
  body { padding-top: 100px; font-size: 18px; }
  .navbar { padding: 20px; }
  .brand .logo { max-height: 55px; }
  .brand .wordmark { font-size: 22px; }
  .hamburger { display: block; }
  nav { 
    display: none; 
    flex-direction: column; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: #fff; 
    border-top: 1px solid #eee; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
  }
  nav.open { display: flex; }
  nav a { margin: 12px 0; font-size: 18px; text-align: center; }
  nav .cta { margin: 12px auto; }
  .hero { padding: 100px 20px; }
  .hero h1 { font-size: 36px; }
  .section h2 { font-size: 28px; }
  .section h3 { font-size: 20px; }
}


/* === Header & Nav (centered desktop, pill Contact) === */
.navbar { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px 36px; }
.brand img { max-height: 110px; width: auto; height: auto; display: block; }
nav { display: flex; gap: 36px; justify-content: center; align-items: center; }
nav a { margin-left: 0; }
nav .cta { background: transparent !important; color: #007B8F !important; border: 2px solid #007B8F; padding: 10px 28px; border-radius: 999px; font-weight: 800; transition: all .2s ease-in-out; }
nav .cta:hover { background: #007B8F !important; color: #fff !important; box-shadow: 0 3px 8px rgba(0,123,143,.3); }

/* CTA hierarchy */
.btn-primary { background: #FFD633; color: #111 !important; border: none; }
.btn-primary:hover { background: #E6C200; color: #000 !important; }
.btn-contact { background: transparent; color: #007B8F !important; border: 2px solid #007B8F; }
.btn-contact:hover { background: #007B8F; color: #fff !important; }

/* Explore Solutions teal ghost link */
a.btn.btn-ghost[href="#solutions"], .btn-ghost[href="#solutions"] { color: #007B8F !important; border-bottom: 2px solid #007B8F; }
a.btn.btn-ghost[href="#solutions"]:hover, .btn-ghost[href="#solutions"]:hover { color: #005F6D !important; border-bottom-color: #005F6D; }

/* Anchor offset */
section[id], [id][data-anchor], h1[id], h2[id], h3[id] { scroll-margin-top: 140px; }
html { scroll-behavior: smooth; }

/* Mobile compact header & slide-down nav */
@media (max-width: 768px) {
  .navbar { flex-direction: row; justify-content: space-between; align-items: center; gap: 0; padding: 10px 16px; }
  .brand img { max-height: 48px; }
  .hamburger { display: block; font-size: 28px; background: none; border: none; cursor: pointer; }
  nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: #fff; border-top: 1px solid #eee; box-shadow: 0 4px 12px rgba(0,0,0,.08); flex-direction: column; align-items: center; padding: 10px 16px; z-index: 999; }
  nav.open { display: flex; }
  nav a { margin: 10px 0 !important; font-size: 18px; line-height: 1.6; text-align: center; }
  nav .cta { margin: 6px 0; }
  section[id], [id][data-anchor], h1[id], h2[id], h3[id] { scroll-margin-top: 80px; }
}

/* Solutions grid: force 4 columns on large screens */
@media (min-width: 1100px) {
  #solutions .grid.cols-3 { grid-template-columns: repeat(4, minmax(240px, 1fr)); }
}


/* --- Anchor offset for fixed/sticky headers on policy pages --- */
:target { scroll-margin-top: 140px; }
@media (max-width: 768px) {
  :target { scroll-margin-top: 100px; }
}


/* Sticky navbar so it doesn't overlap content on page load */
.navbar { position: sticky; top: 0; z-index: 999; background: #fff; }


/* === Desktop header: logo left, nav right === */
.hamburger { display: none; } /* default hidden; shown via mobile media query */
.navbar { position: sticky; top: 0; z-index: 999; background: #fff; }

@media (min-width: 769px) {
  .navbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 36px !important;
    gap: 20px !important;
  }
  .brand { display: flex; align-items: center; }
  .brand img { max-height: 90px; width: auto; height: auto; }
  nav { display: flex !important; justify-content: flex-end !important; align-items: center !important; gap: 28px !important; }
}

/* Keep existing compact mobile menu */
@media (max-width: 768px) {
  .hamburger { display: block; font-size: 28px; background: none; border: none; cursor: pointer; }
  .brand img { max-height: 48px; }
}


/* === Desktop: logo left, nav centered === */
@media (min-width: 769px) {
  .navbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 18px 36px !important;
    gap: 20px !important;
  }
  .brand { display: flex; align-items: center; }
  .brand img { max-height: 90px; width: auto; height: auto; }
  /* Center the nav block across the header while brand stays on the left */
  nav {
    display: flex !important;
    gap: 28px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important; /* auto margins center this block in a flex row */
  }
}
