/* ===============================
   Global / Base
   =============================== */
:root {
  --brand: #003d7a;
  --brand-dark: #002952;
  --brand-light: #0056b3;
  --text: #333;
  --bg: #f8f9fa;
  --card-bg: #fff;
  --muted: #555;
  --shadow-1: 0 4px 12px rgba(0, 61, 122, 0.08);
  --shadow-2: 0 8px 24px rgba(0, 61, 122, 0.15);
  --shadow-hover: 0 12px 32px rgba(0, 61, 122, 0.2);

  /* fixed element heights */
  --banner-h: 32px;
  --header-h: 72px;
  --nav-h: 25px;

  /* default stack offset; JS will overwrite with the real measured value */
  --stack-offset: calc(var(--banner-h) + var(--header-h) + var(--nav-h));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  height: 100%;
  scroll-padding-top: calc(var(--stack-offset) + 12px);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: max(var(--stack-offset), calc(var(--header-h) + var(--nav-h) + var(--banner-h)));
}

main { flex: 1 1 auto; }
main > *:first-child { margin-top: 0; }

/* ===============================
   Motion (header/nav reveal)
   =============================== */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===============================
   Top Banner (at very top)
   =============================== */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  padding: 0 20px;
  font-size: 0.8rem;
  font-weight: bold; 
  z-index: 1060;
  line-height: 1;
  animation: fadeSlideDown .35s ease-out both;
  overflow: hidden;
}
.top-banner span,
.top-banner a {
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #fcff46;
  text-decoration: none;
}

.top-banner a:hover { 
  color: #ffec99; 
}

/* ===============================
   Header (fixed below banner)
   =============================== */
.site-header {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  width: 100%;
  height: var(--header-h);
  background-color: var(--brand);
  color: #fff;
  z-index: 1050;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  will-change: opacity, transform;
  animation: fadeSlideDown .45s ease-out .05s both;
}
.header-content {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}
.logo {
  display: block;
  height: calc(var(--header-h) - 0px);
  width: auto;
  margin-left: 0;
}

/* ===============================
   Nav Bar (gradient + animated hover)
   =============================== */
.nav-bar {
  position: fixed;
  top: calc(var(--banner-h) + var(--header-h));
  left: 0;
  width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0px;
  padding: 0;
  gap: 40px;
  background: linear-gradient(to bottom, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  z-index: 1025;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08) inset;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  will-change: opacity, transform;
  animation: fadeSlideDown .5s ease-out .1s both;
}

.nav-bar a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0;
  margin: 0;
  line-height: 1;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-bar a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 80%;
  height: 2px;
  background-color: rgba(255,255,255,0.8);
  transition: transform 0.3s ease;
}

.nav-bar a:hover {
  color: #ffec99;
  text-shadow: 0 0 6px rgba(255,255,255,0.4);
}

.nav-bar a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-bar a.active::after {
  transform: translateX(-50%) scaleX(1);
  background-color: #ffcc00;
}

/* ===============================
   Hamburger Menu Button (Mobile Only)
   =============================== */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1060;
  margin-right: 0;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ===============================
   Universal Page Layout
   =============================== */
.page {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}
.page--narrow { max-width: 800px; }
.page--wide   { max-width: 1200px; }

.page-header { margin-bottom: 24px; text-align: center; }
.page-header h1, .page-header h2 { margin: 0 0 8px; }

.page-lead {
  margin: 0 auto 24px;
  line-height: 1.6;
  max-width: 70ch;
  color: var(--muted);
}

.section { margin-block: 32px; }
.section--tight  { margin-block: 16px; }
.section--loose  { margin-block: 48px; }

/* ===============================
   Services
   =============================== */
.services { background: #fff; padding: 40px 20px; text-align: center; }
.services h2 {  text-align: center; font-size: 2rem; margin-bottom: 20px; margin-top: 0px; color: var(--brand); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: stretch;
}

/* Service wrapper contains card + its details */
.service-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card, .service {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-1);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 180px; /* Ensures consistent height */
  width: 100%;
}
.service-card:hover, .service:hover { 
  transform: translateY(-5px); 
  box-shadow: var(--shadow-hover); 
}
.service-card.active {
  border-color: var(--brand);
  box-shadow: var(--shadow-2);
}
.service-card h3, .service h3 { 
  font-size: 1.2rem; 
  color: var(--brand); 
  margin-bottom: 10px; 
  flex-shrink: 0; /* Prevent title from shrinking */
}
.service-card p, .service p { 
  color: #555; 
  font-size: 1rem; 
  line-height: 1.6; 
  margin-bottom: 0;
  flex-grow: 1; /* Allow text to fill available space */
}
.highlight { border: 2px solid #ff9900; background: #fffbe6; }
.cta-button {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 30px;
  transition: background .3s;
  cursor: pointer;
  border: none;
  min-height: 44px;
}
.cta-button:hover { background: var(--brand-dark); }

/* ===============================
   Why Choose Us
   =============================== */
.why-choose-us { background: #fff; padding: 40px 20px; text-align: center; }
.why-choose-us h2 { font-size: 2rem; margin-bottom: 20px; color: var(--brand); }
.benefits {
  background: #f8f9fa;
  padding: 40px 20px;
  text-align: center;
}
.benefits h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 0;
  color: var(--brand);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.benefit-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-1);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.benefit-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.benefit-icon { width: 50px; height: 50px; margin-bottom: 15px; object-fit: contain; }
.benefit-item h3 { font-size: 1.2rem; color: var(--brand); margin-bottom: 10px; }
.benefit-item p { color: #555; font-size: 1rem; line-height: 1.6; }

/* ===============================
   About
   =============================== */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.team-member {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-1);
  flex: 1 1 250px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-member img {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.info-card {
  background: var(--card-bg);
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  box-shadow: var(--shadow-1);
  padding: 20px;
}
.info-card h3 { margin: 0 0 8px; }
.info-card p { margin: 0; line-height: 1.6; }

/* ===============================
   Contact – 3-column grid
   =============================== */
.page-contact { padding-inline: 0; } 
.contact-section { padding: 20px 20px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 540px) 1fr;
  column-gap: 32px;
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 20px;
}
.contact-info-inline {
  grid-column: 1;
  justify-self: end;
  width: 230px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  text-align: left;
}
.contact-info-inline p { margin: 6px 0; }
.contact-info-inline a { color: var(--brand); text-decoration: none; }
.contact-info-inline a:hover { text-decoration: underline; }
#contactForm {
  grid-column: 2;
  justify-self: center;
  width: 100%;
  max-width: 540px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: grid;
  gap: 12px;
}
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  line-height: 1.4;
  background: #fff;
}
#contactForm textarea { resize: vertical; min-height: 140px; }
#contactForm button {
  background: var(--brand);
  color: #fff;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  min-height: 48px;
}
#contactForm button:hover { background: var(--brand-dark); }
.contact-spacer { grid-column: 3; }

/* ===============================
   Footer (with matching animated links)
   =============================== */
footer {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 24px 16px;
  margin-top: auto;
  width: 100%;
  max-width: none;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
footer p {
  margin: 6px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
footer a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin: 0 10px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
footer a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%;
  height: 1.5px;
  background-color: rgba(255, 204, 0, 0.8);
  transition: transform 0.3s ease;
}
footer a:hover {
  color: #ffec99;
  text-shadow: 0 0 6px rgba(255,255,255,0.4);
}
footer a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ===============================
   Testimonials
   =============================== */
.section-title { text-align: center; margin: 0 0 16px; color: var(--brand); }
.t-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  padding: 0;
  margin: 0;
  transition: transform .45s ease;
}
.t-card { margin: 0; width: 100%; box-sizing: border-box; }
.t-carousel { overflow: hidden; padding: 16px 44px; position: relative; }
.t-quote { font-size: 1.05rem; line-height: 1.6; color: #333; }
.t-meta { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #eef3f8; }
.t-name { font-weight: 700; color: var(--brand-dark); }
.t-role { color: #666; font-size: .95rem; }
.t-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: #fff; border: 1px solid #e6e8eb; box-shadow: var(--shadow-1);
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  font-size: 20px; line-height: 1; color: #333;
}
.t-prev { left: 8px; }
.t-next { right: 8px; }
.t-nav:hover { box-shadow: var(--shadow-2); }
.t-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; background: #cbd3dc; border: none; cursor: pointer; }
.t-dot[aria-selected="true"] { background: var(--brand); }

/* ===============================
   Get Started (depth + motion)
   =============================== */
#get-started {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: clip;
  --overlay: rgba(0, 51, 102, 0.85);
}
#get-started .bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    url('images/blueprint-bg.jpg') center/cover no-repeat;
  will-change: transform;
  transform: translateY(0);
  transition: transform 0.2s ease-out;
  z-index: 0;
}
#get-started .content {
  position: relative;
  z-index: 1;
  padding: 100px 20px;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }
#get-started .cta {
  display: inline-block;
  background: #fff;
  color: var(--brand-dark);
  padding: 14px 36px;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: transform .15s ease, box-shadow .2s ease;
  min-height: 48px;
}
#get-started .cta:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.25); }

.cta-link-button {
  background: #fff;
  color: var(--brand-dark);
  padding: 14px 36px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  box-shadow: var(--shadow-2);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  min-height: 48px;
}
.cta-link-button:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ===============================
   HERO – Split Layout (B2B)
   =============================== */
.hero--split { background: var(--bg); }
.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero__copy h1 { margin: 0 0 10px; text-align: left; }
.hero__copy p  { margin: 0 0 20px; color: var(--muted); text-align: left; margin-bottom: 14px; }
.hero .cta-button { margin-bottom: 18px; margin-top: 14px; }

.trust-list {
  list-style: none;
  padding: 0; margin: 0;
  max-width: 520px; text-align: left;
  display: grid; gap: 8px;
}
.trust-list--compact li {
  position: relative; padding-left: 26px;
  line-height: 1.45; font-size: 15px; margin-top: -4px;
}
.trust-list--compact li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px;
  background: var(--brand);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.55 17.05 4.5 12l1.4-1.4 3.65 3.65 8.6-8.6L19.5 7l-9.95 10.05Z"/></svg>') no-repeat 50% 50% / contain;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.55 17.05 4.5 12l1.4-1.4 3.65 3.65 8.6-8.6L19.5 7l-9.95 10.05Z"/></svg>') no-repeat 50% 50% / contain;
  opacity: .95;
}

.hero__image {
  min-height: 440px;
  border-radius: 16px;
  background: url("images/background permit.png") center/cover no-repeat;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  position: relative;
}
.hero__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,.08), rgba(0,0,0,.22));
  border-radius: inherit;
}

.roi, .expedite-keywords {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ===============================
   Home Quote Section
   =============================== */
.quote-section {
  background:#fff;
  border-top:1px solid #e8eaef;
  border-bottom:1px solid #e8eaef;
  padding: 40px 20px 48px;
}
.quote-inner { max-width: 1100px; margin: 0 auto; }
.quote-section h2 {
  margin: 0 0 6px;
  color: var(--brand);
  text-align: center;
}
.quote-lead { text-align: center; color:#586174; margin: 0 0 20px; }
.quote-form {
  max-width: 760px;
  margin: 0 auto;
  background:#fff;
  border:1px solid #e6e9ef;
  border-radius:12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 18px;
  display: grid; gap: 12px;
}
.quote-form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #cfd6df;
  font-size: 16px; line-height: 1.4;
  background: #fff;
}
.quote-form textarea { min-height: 120px; resize: vertical; }
.quote-submit {
  background: var(--brand); color:#fff; border:0;
  border-radius:10px; padding: 12px 18px; font-weight:700; cursor:pointer;
  min-height: 48px;
}
.quote-submit:hover { background: var(--brand-dark); }
.quote-micro { margin: 6px 0 0; color:#586174; font-size:.95rem; text-align:center; }
.quote-form .hp { position:absolute; left:-9999px; opacity:0; }
.cta-micro {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ===============================
   Who We Work With
   =============================== */
.audience-section {
  background:#fff;
  padding: 32px 20px 40px;
  border-top: 1px solid #e8eaef;
  border-bottom: 1px solid #e8eaef;
}
.audience-inner { max-width: 1100px; margin: 0 auto; }
.audience-section h2 {
  margin: 0 0 6px;
  color: var(--brand);
  text-align: center;
}
.audience-lead { text-align: center; color:#586174; margin: 0 0 18px; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.audience-card {
  background: var(--card-bg);
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  border-color: #d7dbe0;
}
.audience-card h3 {
  margin: 10px 0 6px;
  color: var(--brand);
  font-size: 1.05rem;
}
.audience-card p {
  margin: 0; color: #555; font-size: .98rem; line-height: 1.5;
}
.ai-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--brand);
  background: #eef3f8;
  border-radius: 8px;
}

/* ===============================
   Service Details (reveal)
   =============================== */
.service-details {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 400ms ease, transform 400ms ease;
  will-change: opacity, transform;
  background: #f8fafc;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}
.service-details.sd-reveal {
  opacity: 1;
  transform: translateY(0);
}
.service-details__inner {
  display: block;
}
.service-details__inner img {
  display: none;
}
.service-details__content h3 {
  color: var(--brand);
  margin-bottom: 12px;
}
.service-details__content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-details__content ul {
  padding-left: 20px;
  color: #555;
}
.service-details__content li {
  margin-bottom: 6px;
}
.service-details__content ul {
  padding-left: 20px;
}
.service-card.active {
  border: 2px solid var(--brand);
  background: #f0f7ff;
}

.site-main .container > h2 {
  text-align: center;
  margin: 40px 0 20px;
}
.site-main .container > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
  color: #555;
  line-height: 1.6;
}
.trust-strip {
  background: #f0f4f8;
  padding: 16px 20px;
  text-align: center;
  border-top: 1px solid #e6e9ef;
  border-bottom: 1px solid #e6e9ef;
}
.trust-strip p {
  margin: 0;
  color: #586174;
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ===============================
   HAMBURGER MENU STYLES
   =============================== */

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 16px;
  margin-left: auto;
  z-index: 1100;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger animation when active */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* ===============================
   Floating Phone Button
   =============================== */
/* ===============================
   Social Media Bar (Bottom)
   =============================== */
.social-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: linear-gradient(to right, #003d7a 0%, #0056b3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 900;
  box-shadow: 0 -2px 8px rgba(0, 61, 122, 0.2);
  padding: 0 20px;
}

.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-bar a:hover {
  background: rgba(255, 204, 0, 0.2);
  transform: scale(1.1);
}

.social-bar svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* Phone button in social bar - gold highlight */
.social-bar .phone-btn {
  background: linear-gradient(135deg, #ffcc00 0%, #ffa500 100%);
}

.social-bar .phone-btn:hover {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  transform: scale(1.15);
}

.social-bar .phone-btn svg {
  fill: #003d7a;
}

/* Email button styling */
.social-bar .email-btn {
  background: rgba(255, 204, 0, 0.15);
}

.social-bar .email-btn:hover {
  background: rgba(255, 204, 0, 0.3);
}

/* Add padding to body to account for social bar */
body {
  padding-bottom: 64px;
}

/* Move Tawk chat widget above social bar */
iframe[title*="chat widget"],
.tawk-min-container,
#tawk-bubble-container {
  bottom: 90px !important;
}

/* Mobile: Move Tawk higher above social bar */
@media (max-width: 768px) {
  iframe[title*="chat"],
  iframe[src*="tawk"],
  .tawk-min-container,
  #tawk-bubble-container,
  .tawk-button-circle,
  div[class*="tawk"],
  .widget-visible iframe {
    bottom: 85px !important;
    margin-bottom: 0 !important;
  }
}

/* ===============================
   MOBILE RESPONSIVE STYLES
   =============================== */

/* Tablet breakpoint */
@media (max-width: 1000px) {
  .audience-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }
  
  .hero__image {
    order: -1;
    min-height: 320px;
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  :root {
    --banner-h: 28px;
    --header-h: 60px;
    --nav-h: 0; /* Nav is overlay, doesn't take vertical space */
  }
  
  /* Adjust body padding for mobile - banner + header (nav is overlay) */
  body {
    padding-top: calc(var(--banner-h) + var(--header-h));
  }
  
  /* Show hamburger on mobile */
  .hamburger {
    display: flex;
  }
  
  /* Top Banner Mobile - at very top, thinner */
  .top-banner {
    top: 0;
    height: var(--banner-h);
    font-size: 0.75rem;
  }
  
  .top-banner span,
  .top-banner a {
    font-size: 0.75rem;
  }
  
  /* Header Mobile - below banner */
  .site-header {
    top: var(--banner-h);
    margin-bottom: 0;
  }
  
  .logo {
    height: 50px;
    margin-left: 10px;
  }
  
  /* Mobile Navigation - Hidden by default, slides in from right */
  .nav-bar {
    display: flex;
    position: fixed;
    top: calc(var(--banner-h) + var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - var(--banner-h) - var(--header-h));
    
    /* Override desktop nav styling */
    box-shadow: none;
    border-bottom: none;
    
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    gap: 20px;
    
    background: linear-gradient(to bottom, var(--brand) 0%, var(--brand-dark) 100%);
    
    /* Hidden by default - slide from right */
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1020;
  }
  
  /* Show navigation when open */
  .nav-bar.nav-open {
    transform: translateX(0);
    visibility: visible;
  }
  
  /* Navigation links in mobile menu */
  .nav-bar a {
    font-size: 1.3rem;
    padding: 14px 24px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    border-radius: 8px;
    transition: background 0.2s ease;
    white-space: nowrap;
  }
  
  .nav-bar a:hover,
  .nav-bar a:focus {
    background: rgba(255, 255, 255, 0.15);
  }
  
  .nav-bar a::after {
    display: none; /* Remove underline animation on mobile */
  }
  
  /* Backdrop overlay when menu is open */
  .nav-bar.nav-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    animation: fadeIn 0.3s ease;
  }
  
  /* Typography Mobile */
  h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .services h2,
  .why-choose-us h2,
  .audience-section h2,
  .quote-section h2 {
    font-size: 1.6rem;
  }
  
  /* Page Spacing Mobile */
  .page {
    padding: 0 16px;
    margin: 24px auto;
  }
  
  /* Hero Mobile */
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 24px 16px;
    gap: 24px;
  }
  
  .hero__copy h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  
  .hero__copy p {
    font-size: 0.95rem;
  }
  
  .hero__image {
    min-height: 240px;
    order: -1;
  }
  
  .trust-list--compact li {
    font-size: 0.9rem;
    padding-left: 24px;
  }
  
  .trust-list--compact li::before {
    width: 16px;
    height: 16px;
  }
  
  /* Services Mobile */
  .services {
    padding: 32px 16px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-card {
    padding: 18px;
  }
  
  .service-details__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Benefits Mobile */
  .why-choose-us {
    padding: 32px 16px;
  }
  
  .benefits {
    padding: 32px 16px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Quote Form Mobile */
  .quote-section {
    padding: 32px 16px;
  }
  
  .quote-form {
    padding: 16px;
  }
  
  .quote-form .row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    font-size: 16px; /* Prevents iOS zoom */
  }
  
  /* Audience Section Mobile */
  .audience-section {
    padding: 32px 16px;
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  /* Contact Form Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }
  
  .contact-info-inline {
    order: 1;
    grid-column: 1;
    justify-self: center;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  
  #contactForm {
    order: 2;
    grid-column: 1;
    max-width: 100%;
    padding: 20px;
  }
  
  .contact-spacer {
    display: none;
  }
  
  /* Get Started Mobile */
  #get-started .content {
    padding: 60px 20px;
  }
  
  #get-started h2 {
    font-size: 1.6rem;
  }
  
  #get-started p {
    font-size: 1rem;
  }
  
  /* Buttons Mobile */
  .cta-button,
  .quote-submit,
  .cta-link-button,
  #get-started .cta,
  #contactForm button {
    padding: 14px 28px;
    font-size: 1rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Team Mobile */
  .team {
    flex-direction: column;
    align-items: center;
  }
  
  .team-member {
    flex: 1 1 100%;
    max-width: 400px;
  }
  
  /* Info Grid Mobile */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Testimonials Mobile */
  .t-carousel {
    padding: 12px 40px 56px;
  }
  
  .t-quote {
    font-size: 1rem;
  }
  
  .t-nav {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: 8px;
    transform: none;
  }
  
  .t-prev {
    left: 8px;
  }
  
  .t-next {
    right: 8px;
  }
  
  /* Footer Mobile */
  footer {
    padding: 20px 10px;
  }
  
  footer a {
    display: inline-block;
    margin: 6px 8px;
    font-size: 0.9rem;
  }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
  .hero__copy h1 {
    font-size: 1.4rem;
  }
  
  .services h2,
  .why-choose-us h2,
  .audience-section h2,
  .quote-section h2 {
    font-size: 1.4rem;
  }
  
  #get-started h2 {
    font-size: 1.4rem;
  }
  
  .cta-button,
  .quote-submit {
    font-size: 0.95rem;
    padding: 12px 24px;
  }
  
  .quote-form {
    padding: 12px;
  }
  
  #contactForm {
    padding: 16px;
  }
}

/* Landscape mobile fix */
@media (max-width: 900px) and (orientation: landscape) {
  .hero__image {
    min-height: 200px;
  }
  
  #get-started .content {
    padding: 40px 20px;
  }
}

/* Animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .top-banner, 
  .site-header, 
  .nav-bar { 
    animation: none !important; 
  }
  
  .t-track, 
  #get-started .bg, 
  .reveal,
  .service-details,
  .hamburger-line,
  .nav-bar { 
    transition: none !important; 
  }
  
  .reveal {
    opacity: 1;
    transform: none;
  }
  
  @keyframes fadeIn {
    from, to { opacity: 1; }
  }
}