@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Work+Sans:wght@300;400;500;600&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Work Sans", "Segoe UI", sans-serif;
}

h1, h2, h3, h4, .font-display {
  font-family: "Sora", "Segoe UI", sans-serif;
}

/* subtle grain overlay used on dark navy sections for depth without photography */
.grain-overlay {
  position: relative;
  isolation: isolate;
}
.grain-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.grain-overlay > * {
  position: relative;
  z-index: 1;
}

/* divider rule used under section headings, mirrors the accent-underline motif */
.section-divider {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2678a8, #4796c4);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-up {
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* icon-box used for phone/email contact chips, mirrors reference's circular framed icon style */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
a:hover .icon-chip,
a:focus-visible .icon-chip {
  transform: scale(1.08);
}

/* mobile nav */
#mobile-nav {
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-nav.open {
  max-height: 480px;
  opacity: 1;
}

/* header elevation appears only after scroll, kept subtle and color-tinted per design guardrails */
#site-header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
#site-header.scrolled {
  box-shadow: 0 1px 2px rgba(11, 44, 70, 0.06), 0 8px 24px -10px rgba(11, 44, 70, 0.18);
}

/* service / value cards: flat by default, gentle lift + tinted shadow only on hover (never a baseline shadow-md) */
.lift-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lift-card:hover,
.lift-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(11, 44, 70, 0.08), 0 20px 32px -16px rgba(11, 44, 70, 0.22);
}

/* active nav state, driven by WordPress's own current-menu-item class */
.primary-nav .current-menu-item > a {
  color: #2678a8;
}

/* focus-visible ring, brand-tinted, applied globally to interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #4796c4;
  outline-offset: 2px;
}

.max-w-content{  max-width: 1340px !important; }
.margin-auto{ margin:auto; }
.custom-logo{ max-width: 230px; transition:all 0.3s ease; }
#site-header.scrolled .custom-logo{ max-width:200px; }




