body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global fix for section left/right padding consistency across all resolutions (1000px–1600px and beyond) */

.max-w-7xl {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .max-w-7xl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) and (max-width: 1600px) {
  section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Prevent grid children from overflowing their column and breaking the right-side padding */
section .grid > div {
  min-width: 0;
}

/* Ensure the visual mockup card never bleeds past its column or the section padding */
section .grid .relative.bg-slate-50 {
  overflow: hidden;
  box-sizing: border-box;
}

/* Prevent horizontal scroll/overflow caused by scaled images, glow blur, or wide fixed-width children */
body,
html {
  overflow-x: hidden;
}

section.w-full {
  overflow-x: hidden;
}

/* Ensure image never exceeds its container at any resolution */
section img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.b2bsms-pagination .pagination-link-wrap a,
.b2bsms-pagination .pagination-link-wrap span {
  min-width: 44px;
}

.b2bsms-pagination .pagination-link-wrap .current {
  background: #dcfce7;
  border-color: #22c55e;
  color: #166534;
  box-shadow: 0 8px 24px -12px rgba(22, 163, 74, 0.75);
}

.b2bsms-pagination .pagination-link-wrap a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -16px rgba(22, 163, 74, 0.75);
}

.single-post-content {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #475569;
}

.single-post-content p {
  margin: 0 0 1.25rem;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
  margin: 2rem 0 1rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.3;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.3rem;
  margin: 0 0 1.25rem;
}

.single-post-content li {
  margin-bottom: 0.6rem;
}

.single-post-content a {
  color: #16a34a;
  text-decoration: underline;
}

.single-post-content blockquote {
  border-left: 4px solid #22c55e;
  padding-left: 1rem;
  margin: 1.75rem 0;
  color: #0f172a;
  font-style: italic;
}

.single-post-content .wp-block-image,
.single-post-content img {
  margin: 2rem 0;
  border-radius: 20px;
  box-shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.35);
}

.single-post-content .wp-block-image img {
  width: 100%;
  height: auto;
}
.md\:py-20 {
  padding-top: 35px !important;
  padding-bottom: 35px !important;
}
.lg\:py-20 {
  padding-top: 35px !important;
  padding-bottom: 35px !important;
}
.py-20 {
  padding-top: 35px !important;
  padding-bottom: 35px !important;
}
.glass-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.text-balance {
  text-wrap: balance;
}

/* Base styles for scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}

/* Details/Summary overrides */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] summary ~ * {
  animation: sweep 0.3s ease-in-out;
}
@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px;
  }
  100% {
    opacity: 1;
    margin-top: 0px;
  }
}
details[open] summary .chev {
  transform: rotate(180deg);
}

.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    theme("colors.brand.200"),
    theme("colors.brand.500"),
    theme("colors.brand.200")
  );
  z-index: 0;
}
@media (min-width: 1024px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.menu-item a:hover {
  color: #16a34a;
}

/* coming soon */
.b2bsms-coming-soon-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.b2bsms-coming-soon-card {
  width: min(100%, 720px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  padding: 40px 32px;
  text-align: center;
}
.b2bsms-coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: var(--brand-dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.b2bsms-coming-soon-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
  animation: pulse 1.6s infinite;
}
.b2bsms-coming-soon-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 16px;
}
.b2bsms-coming-soon-copy {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 auto 24px;
  max-width: 620px;
}
.b2bsms-coming-soon-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 12px;
}
.b2bsms-coming-soon-form input {
  min-width: min(100%, 320px);
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 1rem;
  outline: none;
}
.b2bsms-coming-soon-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16);
}
.b2bsms-coming-soon-form button {
  border: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.b2bsms-coming-soon-form button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.b2bsms-coming-soon-note {
  font-size: 0.95rem;
  color: #64748b;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}
@media (max-width: 640px) {
  .b2bsms-coming-soon-card {
    padding: 28px 20px;
  }
  .b2bsms-coming-soon-form {
    flex-direction: column;
  }
  .b2bsms-coming-soon-form input,
  .b2bsms-coming-soon-form button {
    width: 100%;
  }
}

/* header design */
.header-logo {
  height: 90px;
  width: 100%;
}
/* Sticky Header */

#siteHeader{
    position:fixed;
    top:0;
    left:0;
    right:0;
    width:100%;
    z-index:9999;
    transition:all .3s ease;
}

.header-scrolled{
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}

/* Prevent content hiding behind the header */
body{
    padding-top:112px;
}

/* WordPress Admin Bar */
.admin-bar #siteHeader{
    top:32px;
}

@media (max-width:782px){

    .admin-bar #siteHeader{
        top:46px;
    }
    #mobileMenuPanel{
      z-index: 9999;
    }

}

/* ============================================
   Main navigation dropdowns
   ============================================ */
#siteHeader {
  transition:
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    padding 0.3s ease;
}

#siteHeader.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#siteHeader.scrolled .h-20 {
  height: 4.5rem;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.25rem;
  position: relative;
}

.sub-menu {
  list-style: none;
  z-index: 60;
}
.sub-menu li {
  list-style: none;
}

/* ============================================
   DESKTOP dropdown design
   ============================================ */
@media (min-width: 1024px) {
  .menu-item-has-children > a::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    right: 0.25rem;
    bottom: -2px;
    height: 2px;
    background: #16a34a;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .menu-item-has-children:hover > a::before,
  .menu-item-has-children.open > a::before {
    transform: scaleX(1);
  }

  .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    margin-top: -3px;
    transition:
      transform 0.25s ease,
      border-color 0.25s ease;
  }

  .menu-item-has-children:hover > a::after,
  .menu-item-has-children.open > a::after {
    transform: rotate(-135deg);
    margin-top: 3px;
    border-color: #16a34a;
  }

  /* Invisible bridge so hover never breaks between link and dropdown */
  .menu-item-has-children::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
  }

  /* Dropdown panel - centered under parent link (FIXED: was left:100%) */
  .sub-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 260px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    box-shadow:
      0 30px 60px -18px rgba(15, 23, 42, 0.2),
      0 8px 16px -8px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-6px) scale(0.97);
    transform-origin: top center;
    transition:
      opacity 0.2s ease,
      transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.2s;
  }

  .sub-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid rgba(15, 23, 42, 0.07);
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 3px;
  }

  .menu-item-has-children:hover > .sub-menu,
  .menu-item-has-children:focus-within > .sub-menu,
  .menu-item-has-children.open > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .sub-menu li {
    position: relative;
  }

  .sub-menu a {
    display: flex;
    align-items: center;
    padding: 0.7rem 0.85rem 0.7rem 1.1rem;
    border-radius: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 14.5px;
    white-space: nowrap;
    position: relative;
    transition:
      background-color 0.18s ease,
      color 0.18s ease;
  }

  .sub-menu a::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    height: 0;
    width: 3px;
    border-radius: 3px;
    background: #16a34a;
    transform: translateY(-50%);
    transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .sub-menu a:hover,
  .sub-menu a:focus {
    background: #f0fdf4;
    color: #15803d;
  }

  .sub-menu a:hover::before,
  .sub-menu a:focus::before {
    height: 60%;
  }

  .sub-menu li.sub-menu-divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.07);
    margin: 6px 6px;
  }
}

/* ============================================
   MOBILE dropdown accordion (inside offcanvas)
   ============================================ */
@media (max-width: 1023px) {
  .menu-item-has-children > a {
    width: 100%;
    justify-content: space-between;
  }

  .menu-item-has-children > a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #16a34a;
    border-bottom: 2px solid #16a34a;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }

  .menu-item-has-children.open > a::after {
    transform: rotate(-135deg);
  }

  .sub-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0 6px 1.1rem;
    padding-left: 0.75rem;
    border-left: 2px dashed rgba(22, 163, 74, 0.25);
  }

  .menu-item-has-children.open > .sub-menu {
    display: flex;
  }

  .sub-menu a {
    padding: 0.55rem 0.5rem;
    color: #64748b;
    font-weight: 500;
    font-size: 14.5px;
    border-radius: 8px;
    transition:
      background-color 0.15s ease,
      color 0.15s ease;
  }

  .sub-menu a:hover,
  .sub-menu a:focus {
    color: #16a34a;
    background: #f0fdf4;
  }
}

/* ============================================
   MOBILE OFFCANVAS design
   ============================================ */
/* ============================================
   MOBILE OFFCANVAS design — redesigned
   ============================================ */

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
  background: #ffffff;
}

.offcanvas-header .header-logo {
  height: 44px;
  width: auto;
}

.offcanvas-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.offcanvas-close:hover {
  background: #fef2f2;
  color: #dc2626;
  transform: rotate(90deg);
}

.offcanvas-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px 20px 24px;
  background: #ffffff;
}

.offcanvas-nav {
  position: relative;
}

.offcanvas-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  border-left: 2px solid #e2e8f0;
  padding-left: 16px;
}

.offcanvas-menu-list > li {
  position: relative;
  list-style: none;
}

/* dot marker on the connector line */
.offcanvas-menu-list > li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
  z-index: 1;
}

.offcanvas-menu-list > li:hover::before,
.offcanvas-menu-list > li.open::before {
  border-color: #16a34a;
  background: #16a34a;
  transform: scale(1.2);
}

.offcanvas-menu-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #1e293b;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.offcanvas-menu-list > li > a:hover,
.offcanvas-menu-list > li > a:focus {
  background: #f0fdf4;
  color: #16a34a;
}

.offcanvas-menu-list > li.open > a {
  color: #16a34a;
  background: #f0fdf4;
}

/* submenu items nested inside offcanvas accordion */
.offcanvas-menu-list .sub-menu a {
  font-size: 14.5px;
  font-weight: 500;
  color: #64748b;
}

.offcanvas-menu-list .sub-menu a:hover {
  color: #16a34a;
  background: #f0fdf4;
}

.offcanvas-footer {
  flex-shrink: 0;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 -10px 24px -14px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
}

.offcanvas-link-signin {
  text-align: center;
  font-weight: 600;
  font-size: 14.5px;
  color: #475569;
  padding: 8px;
  transition: color 0.18s ease;
}
.offcanvas-link-signin:hover {
  color: #16a34a;
}

.offcanvas-btn-outline {
  text-align: center;
  padding: 13px;
  border-radius: 12px;
  border: 1.5px solid #16a34a;
  color: #16a34a;
  font-weight: 700;
  font-size: 14.5px;
  transition: background-color 0.18s ease;
}
.offcanvas-btn-outline:hover {
  background: #f0fdf4;
}

.offcanvas-btn-solid {
  text-align: center;
  padding: 13px;
  border-radius: 12px;
  background: #16a34a;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 10px 20px -8px rgba(22, 163, 74, 0.5);
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
.offcanvas-btn-solid:hover {
  background: #15803d;
  transform: translateY(-1px);
}
/* Heading Styles for Custom WYSIWYG Content */

.custom-wysiwyg-content h1 {
  font-size: 2.25rem; /* 36px */
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.custom-wysiwyg-content h2 {
  font-size: 1.65rem; /* ~26px */
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-top: 10px;
  margin-bottom: 10px;
  border-top: 1px solid #f1f5f9;
}

.custom-wysiwyg-content h3 {
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.015em;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.custom-wysiwyg-content h4 {
  font-size: 1.1rem; /* ~18px */
  font-weight: 700;
  color: #334155;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.custom-wysiwyg-content h5 {
  font-size: 0.975rem; /* ~15.5px */
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.custom-wysiwyg-content h6 {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

/* Remove top margin & border for the very first heading in the content block */
.custom-wysiwyg-content > h1:first-child,
.custom-wysiwyg-content > h2:first-child,
.custom-wysiwyg-content > h3:first-child,
.custom-wysiwyg-content > h4:first-child,
.custom-wysiwyg-content > h5:first-child,
.custom-wysiwyg-content > h6:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.custom-wysiwyg-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.custom-wysiwyg-content p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}
.custom-wysiwyg-content strong {
  color: #0f172a;
  font-weight: 600;
}
.custom-wysiwyg-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}
.custom-wysiwyg-content ul li {
  color: #475569;
  margin-bottom: 0.35rem;
  line-height: 1.6;
}
.custom-wysiwyg-content a {
  color: #38a64f;
  font-weight: 600;
  text-decoration: none;
}
.custom-wysiwyg-content a:hover {
  text-decoration: underline;
}
/* Style Blockquotes into Callout Boxes */
.custom-wysiwyg-content blockquote {
  background-color: #f8fafc;
  border-left: 4px solid #38a64f;
  padding: 1rem 1.25rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.25rem 0;
}
.custom-wysiwyg-content blockquote p {
  color: #334155;
  font-weight: 500;
  margin-bottom: 0;
}
