/* =============================================
   THRIVE CONSULTS — custom.css
   Brand overrides, dark header/footer,
   mega menu, WhatsApp button, spacing fixes.
   All overrides here — no inline styles anywhere.
   ============================================= */

/* =============================================
   GLOBAL — Prevent horizontal scroll
   Root cause: 100vw mega panels, Bootstrap row
   gutters, fixed mobile nav element widths.
   overflow-x: hidden is the safety net.
   ============================================= */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
#wrapper {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
/* Contain Bootstrap row negative margins */
.row {
  --bs-gutter-x: 1.5rem;
}
/* Ensure no element bleeds past viewport */
img, video, iframe, canvas, svg {
  max-width: 100%;
}
/* Tables that could overflow on mobile */
table {
  max-width: 100%;
}
.table-responsive,
.overflow-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* =============================================
   CANVAS VARIABLE OVERRIDES
   ============================================= */
:root {
  --cnvs-themecolor:     #24db8d;
  --cnvs-themecolor-rgb: 36, 219, 141;
  --cnvs-primary-font:   'Montserrat', sans-serif;
  --cnvs-body-font:      'Google Sans', 'Open Sans', 'Roboto', sans-serif;
  --thrive-primary:      #0e2a4a;
  --thrive-accent:       #24db8d;
}

/* =============================================
   DARK HEADER — Force on every page
   Overrides .transparent-header and .floating-header
   (Source: 05-template-map.md Header CSS Overrides)
   ============================================= */
#header,
#header.transparent-header,
#header.floating-header,
#header.sticky-header,
#header.transparent-header.sticky-header {
  background-color: #0e2a4a !important;
  border-bottom: none;
  box-shadow: 0 2px 20px rgba(14, 42, 74, 0.15);
  /* Override Canvas --cnvs-contrast-900 (#212529) so hamburger lines
     and any other contrast-derived colours inside the header are white */
  --cnvs-contrast-900: #ffffff;
}
#header-wrap {
  background-color: #0e2a4a !important;
  border-bottom: none !important;
}
/* Trigger div — flex so hamburger and label sit side by side.
   .cnvs-hamburger and .menu-trigger-label both inherit color from here. */
#header .primary-menu-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  cursor: pointer;
}
.menu-trigger-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  line-height: 1;
  user-select: none;
}
.is-expanded-menu #header.transparent-header:not(.sticky-header) #header-wrap {
  border-bottom: none !important;
}

/* =============================================
   LOGO SIZE
   ============================================= */
#logo img {
  max-height: 65px;
  width: auto;
}

/* =============================================
   NAV LINKS — White on dark header
   ============================================= */
#primary-menu > ul > li > a.menu-link > div,
.menu-container > .menu-item > .menu-link > div {
  color: #ffffff;
}
#primary-menu > ul > li:hover > a.menu-link > div,
#primary-menu > ul > li.current > a.menu-link > div,
.menu-container > .menu-item:hover > .menu-link > div,
.menu-container > .menu-item.current > .menu-link > div {
  color: #24db8d;
}
/* Sub-menu indicator arrow colour */
.menu-container > .menu-item > .menu-link div > i.sub-menu-indicator {
  color: rgba(255, 255, 255, 0.6);
}
.menu-container > .menu-item:hover > .menu-link div > i.sub-menu-indicator {
  color: #24db8d;
}

/* =============================================
   HAMBURGER BUTTON
   style.css uses background-color: currentColor on the inner
   spans. The currentColor chain breaks somewhere (Bootstrap
   button reset or Canvas specificity), so we override the
   background-color directly. Size override also applied here.
   ============================================= */
.cnvs-hamburger {
  --cnvs-hamburger-size: 22px;
}
#header .cnvs-hamburger-inner,
#header .cnvs-hamburger-inner::before,
#header .cnvs-hamburger-inner::after {
  background-color: #ffffff !important;
}

/* =============================================
   HEADER LINE — remove separator line that
   appears on sticky in Canvas
   ============================================= */
.is-expanded-menu .sticky-header #header-wrap {
  border-bottom: none !important;
}

/* =============================================
   CTA BUTTON — "Book a Free Session"
   ============================================= */
.btn-thrive-cta {
  background-color: #24db8d !important;
  color: #0e2a4a !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  border: none !important;
  padding: 10px 24px !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background-color 0.2s ease,
              transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.2s ease;
}
.btn-thrive-cta:hover {
  background-color: #1ab873 !important;
  color: #0e2a4a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36, 219, 141, 0.25);
}
.btn-thrive-cta:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn-thrive-cta:focus-visible {
  outline: 3px solid rgba(36, 219, 141, 0.5);
  outline-offset: 2px;
}

/* =============================================
   MEGA MENU — Custom Thrive structure
   (Source: 05-template-map.md Mega Menu CSS Notes)
   ============================================= */

/* Panel base */
.mega-menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  background-color: #fff;
  border-top: 3px solid #24db8d;
  box-shadow: 0 8px 32px rgba(14, 42, 74, 0.12);
  z-index: 400;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
/* Show state — triggered by JS adding .is-open or by hover */
.is-expanded-menu .mega-menu-parent:hover > .mega-menu-panel,
.mega-menu-panel.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Two-column layout (Services, Industries) */
.mega-menu-panel.two-col {
  align-items: stretch;
}
.mega-menu-panel.two-col .mega-col-left {
  flex: 0 0 60%;
  max-width: 60%;
  padding: 2rem 2.5rem;
}
.mega-menu-panel.two-col .mega-col-right {
  flex: 0 0 40%;
  max-width: 40%;
  padding: 2rem 2rem;
}

/* Three-column layout (More) */
.mega-menu-panel.three-col {
  align-items: flex-start;
}
.mega-menu-panel.three-col .mega-col {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 2rem 2rem;
}
.mega-menu-panel.three-col .mega-col:not(:first-child) {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

/* Dark panel (right column on Services and Industries) */
.mega-col-right.dark-panel {
  background-color: #091d35;
}
.dark-panel h4,
.dark-panel p {
  color: rgba(255, 255, 255, 0.85);
}
.dark-panel h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}
.dark-panel p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}
.dark-panel .btn-panel-cta {
  display: inline-block;
  background-color: #24db8d;
  color: #0e2a4a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 50px;
  transition: background-color 0.2s ease,
              transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dark-panel .btn-panel-cta:hover {
  background-color: #1ab873;
  transform: translateY(-2px);
}
.dark-panel .panel-secondary-link {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}
.dark-panel .panel-secondary-link:hover {
  color: #24db8d;
}

/* Mega menu service / industry links */
.mega-service-item,
.mega-industry-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.15s ease;
  margin-bottom: 0.25rem;
}
.mega-service-item:hover,
.mega-industry-item:hover {
  background-color: rgba(14, 42, 74, 0.05);
}
.mega-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(36, 219, 141, 0.12);
  border-radius: 8px;
  color: #24db8d;
  font-size: 1rem;
}
.mega-service-item:hover .mega-item-icon,
.mega-industry-item:hover .mega-item-icon {
  background-color: #24db8d;
  color: #0e2a4a;
}
.mega-item-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #111827;
  margin-bottom: 0.1rem;
}
.mega-item-text span {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.4;
}
.mega-service-item:hover .mega-item-text strong,
.mega-industry-item:hover .mega-item-text strong {
  color: #0e2a4a;
}

/* Three-col (More) column headings and links */
.mega-col-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.mega-col-desc {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}
.mega-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-col-links li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  border-radius: 4px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.mega-col-links li a:hover {
  background-color: rgba(14, 42, 74, 0.05);
  color: #0e2a4a;
}
.mega-col-links li a i {
  color: #24db8d;
  font-size: 0.8rem;
}

/* Mega menu — position offset relative to header */
.is-expanded-menu .mega-menu-parent {
  position: static;
}

/* =============================================
   MOBILE NAV — Works with Canvas JS natively
   Canvas toggles d-block on .menu-container,
   adds primary-menu-trigger-active to trigger div,
   primary-menu-active to nav, primary-menu-open to body.
   We style those states — we do not replicate the JS.
   ============================================= */
@media (max-width: 991px) {

  /* Lock scroll when menu is open */
  body.primary-menu-open {
    overflow: hidden !important;
  }

  /* Style the menu container when Canvas opens it with d-block */
  .primary-menu-active .menu-container,
  .menu-container.d-block {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #0e2a4a !important;
    z-index: 9998 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 80px 24px 60px !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Nav items — vertical stack */
  .menu-container.d-block .menu-item {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    border-top: none !important;
    width: 100%;
    display: block;
  }

  .menu-container.d-block .menu-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 0 !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
  }

  .menu-container.d-block .menu-link > div {
    color: #ffffff !important;
  }

  .menu-container.d-block .menu-link:hover > div,
  .menu-container.d-block .menu-item.current .menu-link > div {
    color: #24db8d !important;
  }

  /* Hide all sub-menus and mega menus on mobile (collapsed state) */
  .menu-container.d-block .mega-menu-content,
  .menu-container.d-block .mega-menu-panel,
  .menu-container.d-block .sub-menu-container {
    display: none !important;
    position: static !important;
    box-shadow: none !important;
  }

  /* Accordion open state — beats the rule above via higher specificity + !important */
  .menu-container.d-block .mega-menu-panel.is-open {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    padding: 4px 0 12px !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Stack columns full-width inside open accordion panel */
  .menu-container.d-block .mega-menu-panel.is-open .mega-col-left,
  .menu-container.d-block .mega-menu-panel.is-open .mega-col-right,
  .menu-container.d-block .mega-menu-panel.is-open .mega-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 8px 0 !important;
    border-left: none !important;
    border-top: none !important;
  }

  /* Mobile text colours for service/industry links on dark overlay */
  .menu-container.d-block .mega-menu-panel.is-open .mega-item-text strong {
    color: #ffffff !important;
  }
  .menu-container.d-block .mega-menu-panel.is-open .mega-item-text span {
    color: rgba(255, 255, 255, 0.6) !important;
  }
  .menu-container.d-block .mega-menu-panel.is-open .mega-item-icon {
    color: #24db8d !important;
    background-color: rgba(36, 219, 141, 0.12) !important;
  }
  .menu-container.d-block .mega-menu-panel.is-open .mega-service-item:hover,
  .menu-container.d-block .mega-menu-panel.is-open .mega-industry-item:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
  }

  /* Three-col (More) accordion text colours */
  .menu-container.d-block .mega-menu-panel.is-open .mega-col-heading {
    color: #ffffff !important;
  }
  .menu-container.d-block .mega-menu-panel.is-open .mega-col-desc {
    color: rgba(255, 255, 255, 0.5) !important;
  }
  .menu-container.d-block .mega-menu-panel.is-open .mega-col-links li a {
    color: rgba(255, 255, 255, 0.85) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
  }
  .menu-container.d-block .mega-menu-panel.is-open .mega-col-links li a:hover {
    color: #24db8d !important;
    background-color: transparent !important;
  }
  .menu-container.d-block .mega-menu-panel.is-open .mega-col-links li a i {
    color: #24db8d !important;
  }

  /* Hide dark promo panels inside accordion */
  .menu-container.d-block .dark-panel {
    display: none !important;
  }

  /* Chevron rotates when parent is expanded */
  .mega-menu-parent .menu-link[aria-expanded="true"] .sub-menu-indicator {
    display: inline-block;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
  }
  .mega-menu-parent .menu-link .sub-menu-indicator {
    transition: transform 0.2s ease;
  }

  /* Mobile-only CTA at bottom of nav */
  .nav-cta-mobile {
    display: block !important;
    margin-top: 24px;
    border-bottom: none !important;
    padding-top: 8px;
  }

  /* Hide desktop CTA button on mobile */
  .header-misc {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .header-misc {
    display: flex !important;
  }
  .nav-cta-mobile {
    display: none !important;
  }
}

/* Particles — mobile suppression (required safety net) */
@media (max-width: 768px) {
  #particles-line canvas,
  .particles-js-canvas-el {
    display: none !important;
  }
}

/* =============================================
   DARK FOOTER
   ============================================= */
#footer {
  background-color: #0e2a4a !important;
  color: rgba(255, 255, 255, 0.75);
  border: none !important;
}
#footer .footer-widgets-wrap {
  padding: 5rem 0;
}
#footer .widget_links li a {
  color: rgba(255, 255, 255, 0.65) !important;
}
#footer .widget_links li a:hover {
  color: #24db8d !important;
}
#footer .widget_links:not(.widget-li-noicon) li::before {
  color: rgba(36, 219, 141, 0.5);
}
#footer .line,
#footer .line.line-sm {
  border-top-color: rgba(255, 255, 255, 0.1);
}
#footer .widget > h4 {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
}
/* Footer logo in column 4 */
.footer-logo {
  max-height: 40px;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
}
/* Footer contact list — column 4 */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact-item i {
  color: #24db8d;
  font-size: 1rem;
  flex-shrink: 0;
}
a.footer-contact-item:hover {
  color: #24db8d;
}
/* Social icons row in column 4 */
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* Social icons in footer */
#footer .social-icon {
  --cnvs-socialicon-border-color: rgba(255,255,255,0.2);
  --cnvs-socialicon-color: rgba(255,255,255,0.7);
  background-color: rgba(255,255,255,0.07);
}
#footer .social-icon:hover {
  border-color: transparent;
}

/* =============================================
   COPYRIGHTS BAR
   ============================================= */
#copyrights {
  background-color: #091d35 !important;
  background-size: cover;
  color: rgba(255, 255, 255, 0.5) !important;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
#copyrights a {
  color: rgba(255, 255, 255, 0.5);
}
#copyrights a:hover {
  color: #24db8d;
}
.copyright-links {
  color: rgba(255, 255, 255, 0.4);
}
.copyright-links a {
  color: rgba(255, 255, 255, 0.4);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.copyright-links a:hover {
  color: #24db8d;
}
.copyrights-menu a {
  color: rgba(255, 255, 255, 0.5);
}
.copyrights-menu a:hover {
  color: #24db8d;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   Fixed bottom-right, every page
   ============================================= */
#whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #24db8d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(36, 219, 141, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
#whatsapp-float i {
  font-size: 28px;
  color: #0e2a4a;
  line-height: 1;
}
#whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(36, 219, 141, 0.5);
}
#whatsapp-float:active {
  transform: translateY(0);
}
#whatsapp-float:focus-visible {
  outline: 3px solid rgba(36, 219, 141, 0.5);
  outline-offset: 3px;
}

#problem {
  margin-top: -30px;
}

/* =============================================
   HERO SECTION — Pure CSS gradient
   ============================================= */

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle glow drift for the radial overlay */
@keyframes heroGlow {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, 4%) scale(1.05); }
}

/* Hero section — background image with brand dark overlay */
#hero {
  background-image:
    linear-gradient(rgba(14, 42, 74, 0.75), rgba(14, 42, 74, 0.75)),
    url('/assets/images/homehero-bg.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 700px;
}

/* Subtle green accent glow on top of image overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 55%, rgba(36, 219, 141, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(36, 219, 141, 0.05) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* SVG wave separator — anchored to bottom of hero
   Source: Canvas demos/cleaner/cleaner.css .svg-separator */
.svg-separator {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  z-index: 3;
  line-height: 0;
}
.svg-separator > div {
  display: block;
  line-height: 0;
}
.svg-separator svg {
  display: block;
  width: 100%;
}

/* Particles canvas */
#particles-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Content layer above overlay, glow, and particles */
.hero-inner {
  position: relative;
  z-index: 4;
} 

.vertical-middle {
  padding: 150px 0 250px;
}

/* Section immediately below hero — must be white for SVG wave transition */
#challenges {
  background-color: #ffffff;
}

/* Headline */
.hero-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease both;
}

/* Gradient text — "Without You." */
.hero-gradient-text {
  background: linear-gradient(135deg, #24db8d, #1ab873);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub-headline */
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.15s;
}

/* CTA button group */
.hero-ctas {
  animation: fadeInUp 1s ease both;
  animation-delay: 0.3s;
}

/* Stack CTAs on mobile */
@media (max-width: 575px) {
  .hero-ctas .button {
    display: block;
    width: 100%;
    margin-right: 0 !important;
  }
}

/* =============================================
   SPACING COLLISION FIXES
   ============================================= */
/* Hero → Trust Bar: no gap between sections */
#hero + #trust-bar {
  margin-top: 0;
}


/* Services Grid → B.E.E.P.: clean separation */
#services + #beep-callout {
  margin-top: 0;
}

/* Blog Carousel → Counter: prevent compressed gap */
#blog-section { margin-bottom: 0; }
#counter { margin-top: 0; }

/* Counter → Bottom CTA: explicit breathing room */
#cta { padding-top: 80px; }

/* =============================================
   ABOUT PAGE — Growth card + Timeline
   (demo-seo-about.html pattern)
   ============================================= */

/* Growth card — matches Canvas demo-seo-about.html */
.card-seo-about { max-width: 900px; }

/* mw-md — generic max-width container */
.mw-md { max-width: 900px; }

/* =============================================
   CHALLENGES SECTION — Card layout and icon
   Source: Canvas .feature-box + .fbox-center
   (Canvas style.css lines 23932–24204)
   ============================================= */

/* Base feature-box: flex row by default in Canvas.
   .fbox-center overrides to column + centred. */
.feature-box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

/* fbox-center: column layout, centred, text-align centre */
.fbox-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* fbox-img wrapper: full-width so it doesn't collapse */
.fbox-img {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Challenge icon wrap — circular container for the BI icon */
.challenge-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(36, 219, 141, 0.12);
  border: 2px solid rgba(36, 219, 141, 0.30);
  flex-shrink: 0;
}

/* Bootstrap Icon inside challenge card — 2.5rem (40px) */
.challenge-icon-wrap .bi {
  font-size: 2.5rem;
  line-height: 1;
  color: #24db8d;
}

/* Challenge number — accent colour prefix */
.challenge-num {
  color: #24db8d;
  font-weight: 700;
  margin-right: 0.25rem;
}

/* Ensure Bootstrap Icons render at large size in service cards */
.fbox-image .bi { display: block; }

/* =============================================
   HERO DIAGONAL — Dark diagonal banner
   Source: Canvas demos/cleaner/cleaner.css
   Image: /assets/images/section.jpg
   Used on #challenges dark problem-statement block
   ============================================= */

/* Relative positioning so ::before is contained */
.hero-diagonal {
  position: relative;
  padding: 100px 0;
  margin-top: 100px;
}

/* Diagonal clipped background — image + brand dark overlay */
.hero-diagonal::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  -webkit-clip-path: polygon(0 9%, 100% 0%, 100% 91%, 0 100%);
  clip-path: polygon(0 9%, 100% 0%, 100% 91%, 0 100%);
  background-image:
    linear-gradient(rgba(14, 42, 74, 0.80), rgba(9, 29, 53, 0.88)),
    url('/assets/images/section.jpg');
  background-position: center center;
  background-size: cover;
  z-index: 0;
}

/* Content sits above the ::before pseudo-element */
.hero-diagonal > * {
  position: relative;
  z-index: 1;
}

/* Inner container max-width — moved from inline style */
.hero-diagonal-inner {
  max-width: 760px;
}

/* Text colour — Canvas .dark variables not loaded; set explicitly */
.dark.hero-diagonal h2,
.dark.hero-diagonal .h1,
.dark.hero-diagonal .h2 {
  color: #ffffff;
}
.dark.hero-diagonal span,
.dark.hero-diagonal p,
.dark.hero-diagonal .lead {
  color: rgba(255, 255, 255, 0.82);
}

/* Story timeline — vertical spine with left/right entries */
.story-timeline {
  position: relative;
}
.story-timeline-line {
  display: none;
}
@media (min-width: 768px) {
  .story-timeline-line {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
    transform: translateX(-50%);
    z-index: 0;
  }
}
.story-timeline-dots {
  display: none;
}
@media (min-width: 768px) {
  .story-timeline-dots {
    display: flex;
    flex: 0 0 auto;
    width: 30px;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.4rem;
    position: relative;
    z-index: 1;
  }
  .story-timeline-dots::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #24db8d;
    border: 3px solid #0e2a4a;
    box-shadow: 0 0 0 2px #24db8d;
    flex-shrink: 0;
  }
}

/* =============================================
   GHOST BUTTON (Hero + Bottom CTA secondary)
   ============================================= */
.btn-thrive-ghost {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.5) !important;
  font-weight: 700;
  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease,
              transform 0.2s ease;
}
.btn-thrive-ghost:hover {
  background-color: rgba(255,255,255,0.1) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}
.btn-thrive-ghost:focus-visible {
  outline: 3px solid #24db8d;
  outline-offset: 3px;
}
.btn-thrive-ghost:active {
  transform: translateY(0);
}

/* On light backgrounds, ghost button uses navy */
.cta-section .btn-thrive-ghost {
  color: #0e2a4a !important;
  border-color: rgba(14,42,74,0.35) !important;
}
.cta-section .btn-thrive-ghost:hover {
  background-color: rgba(14,42,74,0.06) !important;
  border-color: #0e2a4a !important;
}

/* =============================================
   OUTLINE BUTTON (Blog section CTA)
   ============================================= */
.btn-thrive-outline {
  background-color: transparent !important;
  color: #0e2a4a !important;
  border: 2px solid #0e2a4a !important;
  font-weight: 700;
  transition: background-color 0.2s ease,
              color 0.2s ease,
              transform 0.2s ease;
}
.btn-thrive-outline:hover {
  background-color: #0e2a4a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}
.btn-thrive-outline:focus-visible {
  outline: 3px solid #24db8d;
  outline-offset: 3px;
}
.btn-thrive-outline:active {
  transform: translateY(0);
}

/* =============================================
   OWL CAROUSEL CSS
   Source: extracted from Canvas bundle
   ============================================= */
.owl-carousel { display: none; width: 100%; -webkit-tap-highlight-color: transparent; position: relative; z-index: 1; }
.owl-carousel .owl-stage { position: relative; -ms-touch-action: pan-Y; touch-action: manipulation; -moz-backface-visibility: hidden; }
.owl-carousel .owl-stage:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.owl-carousel .owl-stage-outer { position: relative; overflow: hidden; -webkit-transform: translate3d(0px, 0px, 0px); }
.owl-carousel .owl-wrapper, .owl-carousel .owl-item { -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); }
.owl-carousel .owl-item { position: relative; min-height: 1px; float: left; -webkit-backface-visibility: hidden; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.owl-carousel .owl-item img { display: block; width: 100%; }
.owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled { display: none; }
.owl-carousel .owl-nav .owl-prev, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-dot { cursor: pointer; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next, .owl-carousel button.owl-dot { background: none; color: inherit; border: none; padding: 0 !important; font: inherit; }
.owl-carousel.owl-loaded { display: block; }
.owl-carousel.owl-loading { opacity: 0; display: block; }
.owl-carousel.owl-hidden { opacity: 0; }
.owl-carousel.owl-refresh .owl-item { visibility: hidden; }
.owl-carousel.owl-drag .owl-item { -ms-touch-action: pan-y; touch-action: pan-y; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.owl-carousel.owl-grab { cursor: move; cursor: grab; }
.owl-carousel.owl-rtl { direction: rtl; }
.owl-carousel.owl-rtl .owl-item { float: right; }
.no-js .owl-carousel { display: block; }
.owl-carousel .animated { animation-duration: 1000ms; animation-fill-mode: both; }
.owl-carousel .owl-animated-in { z-index: 0; }
.owl-carousel .owl-animated-out { z-index: 1; }
.owl-carousel .fadeOut { animation-name: fadeOut; }
@keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }
.owl-height { transition: height 500ms ease-in-out; }
.owl-carousel .owl-item .owl-lazy { opacity: 0; transition: opacity 400ms ease; }
.owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]) { max-height: 0; }
.owl-carousel .owl-item img.owl-lazy { transform-style: preserve-3d; }
.owl-carousel .owl-video-wrapper { position: relative; height: 100%; background: #000; }
.owl-carousel .owl-video-play-icon { position: absolute; height: 80px; width: 80px; left: 50%; top: 50%; -webkit-backface-visibility: hidden; transform: translate(-50%, -50%); }
.owl-theme .owl-nav { margin-top: 10px; text-align: center; -webkit-tap-highlight-color: transparent; }
.owl-theme .owl-nav [class*='owl-'] { color: #FFF; font-size: 14px; margin: 5px; padding: 4px 7px; background: #D6D6D6; display: inline-block; cursor: pointer; border-radius: 3px; }
.owl-theme .owl-nav [class*='owl-']:hover { background: #869791; color: #FFF; text-decoration: none; }
.owl-theme .owl-nav .disabled { opacity: 0.5; cursor: default; }
.owl-theme .owl-nav.disabled + .owl-dots { margin-top: 10px; }
.owl-theme .owl-dots { text-align: center; -webkit-tap-highlight-color: transparent; }
.owl-theme .owl-dots .owl-dot { display: inline-block; zoom: 1; }
.owl-theme .owl-dots .owl-dot span { width: 10px; height: 10px; margin: 5px 7px; background: #D6D6D6; display: block; -webkit-backface-visibility: visible; transition: opacity 200ms ease; border-radius: 30px; }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background: #869791; }


/* =============================================
   PAGE TITLE — Dark section (inner pages)
   Source: page-title-dark.html pattern
   ============================================= */
.page-title {
  position: relative;
  padding: 6rem 0 4rem;
  background-color: #0e2a4a;
  background-size: cover;
  background-position: center;
}
.page-title-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 42, 74, 0.82);
  z-index: 1;
}
.page-title-inner {
  position: relative;
  z-index: 2;
}
.page-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.page-title-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.75rem;
  max-width: 700px;
}
.page-title-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 0;
}
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.breadcrumb-item a:hover {
  color: #24db8d;
}
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 768px) {
  .page-title { padding: 5rem 0 3rem; }
  .page-title-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Page title backgrounds — per page (no inline styles) */
.page-title-services      { background-image: url('/brand_assets/images/services-hero.jpg'); }
.page-title-strategic-hr  { background-image: url('/brand_assets/images/services/hr-hero.jpg'); }
.page-title-diagnostics   { background-image: url('/brand_assets/images/services/diagnostics-hero.jpg'); }
.page-title-operations    { background-image: none; background-color: #0e2a4a; }
.page-title-sales         { background-image: url('/brand_assets/images/services/sales-hero.jpg'); }
.page-title-cx            { background-image: url('/brand_assets/images/services/cx-hero.jpg'); }
.page-title-digital       { background-image: url('/brand_assets/images/services/digital-hero.jpg'); }
.page-title-contact       { background-image: url('/brand_assets/images/contact-hero.jpg'); }

/* =============================================
   SECTION LABEL + HEADING BLOCK (shared)
   ============================================= */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #24db8d;
  margin-bottom: 0.5rem;
}
.heading-block {
  margin-bottom: 3rem;
}
.heading-block h2,
.heading-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}
.heading-block.center {
  text-align: center;
}
.heading-block p {
  color: #374151;
  max-width: 640px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* =============================================
   SERVICE CARDS — services.html grid
   Source: block-content-featured-boxes-4.html
   ============================================= */
.service-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(14, 42, 74, 0.08),
              0 24px 48px rgba(14, 42, 74, 0.12);
  border-color: rgba(36, 219, 141, 0.3);
  color: inherit;
  text-decoration: none;
}
.service-card:focus-visible {
  outline: 3px solid #24db8d;
  outline-offset: 3px;
}
.service-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(36, 219, 141, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #0e2a4a;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.service-card:hover .service-card-icon {
  background: #24db8d;
  color: #0e2a4a;
}
.service-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.service-card-summary {
  font-size: 0.925rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.service-card-offerings {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}
.service-card-offerings li {
  font-size: 0.8rem;
  color: #6b7280;
  padding: 0.2rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.service-card-offerings li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #24db8d;
}
.service-card-cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0e2a4a;
  transition: color 0.2s ease, gap 0.2s ease;
  gap: 0.25rem;
}
.service-card:hover .service-card-cta {
  color: #24db8d;
  gap: 0.5rem;
}

/* =============================================
   B.E.E.P. CALLOUT — services.html #start-here
   Source: block-content-promo-3.html
   ============================================= */
.beep-callout-section {
  background: linear-gradient(135deg, #0e2a4a 0%, #091d35 100%);
  position: relative;
  overflow: hidden;
}
.beep-callout-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(36, 219, 141, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.beep-callout-badge {
  display: inline-block;
  background: rgba(36, 219, 141, 0.15);
  color: #24db8d;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.beep-callout-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1rem;
}
.beep-callout-body {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.beep-callout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

/* =============================================
   CTA SECTION — shared bottom CTA
   ============================================= */
.cta-section {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}
.cta-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 0.75rem;
}
.cta-body {
  color: #374151;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* =============================================
   SERVICE INTRO ICON BLOCK — sub-pages
   ============================================= */
.service-intro-icon-block {
  width: 100%;
  max-width: 320px;
  height: 280px;
  background: linear-gradient(135deg, #0e2a4a 0%, #091d35 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: #24db8d;
  box-shadow: 0 8px 16px rgba(14, 42, 74, 0.15),
              0 32px 64px rgba(14, 42, 74, 0.1);
  margin: 0 auto;
}
.service-intro-body p {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.service-intro-body p:last-child {
  margin-bottom: 0;
}

/* =============================================
   OFFERINGS GRID — service sub-pages
   Source: block-content-featured-boxes-4.html
   ============================================= */
.offerings-section {
  background: #f8fafc;
}
.offering-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  border: 1px solid #e5e7eb;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
}
.offering-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04),
              0 16px 32px rgba(0, 0, 0, 0.08);
}
.offering-card-featured {
  border-color: rgba(36, 219, 141, 0.4);
  background: linear-gradient(135deg, #f0fdf9 0%, #ffffff 100%);
}
.offering-icon {
  width: 52px;
  height: 52px;
  background: rgba(36, 219, 141, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #0e2a4a;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.offering-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 0.75rem;
}
.offering-card p {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 0;
}
.offering-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #0e2a4a;
  margin-top: 1rem;
  transition: color 0.2s ease, gap 0.2s ease;
  text-decoration: none;
}
.offering-learn-more:hover {
  color: #24db8d;
  gap: 0.5rem;
}

/* =============================================
   WHO IT'S FOR — checklist section
   Source: block-content-faqs-1.html adapted
   ============================================= */
.who-for-section {
  background: #0e2a4a;
}
.who-for-section .section-label {
  color: rgba(36, 219, 141, 0.85);
}
.who-for-section .heading-block h2,
.who-for-section .heading-block h3 {
  color: #ffffff;
}
.who-for-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.who-for-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 0.75rem;
  transition: background-color 0.2s ease;
}
.who-for-list li:hover {
  background: rgba(36, 219, 141, 0.1);
}
.who-for-list li i {
  color: #24db8d;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.who-for-list li span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =============================================
   PROCESS STEPS
   Source: block-content-steps-horizontal.html
   ============================================= */
.process-section {
  background: #f8fafc;
}
.process-steps {
  position: relative;
}
.process-step {
  text-align: center;
  padding: 0 1rem;
}
.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #0e2a4a;
  color: #24db8d;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  flex-shrink: 0;
}
.process-step h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.65;
}
@media (max-width: 767px) {
  .process-step { margin-bottom: 1.5rem; }
}

/* =============================================
   TESTIMONIAL SECTION — shared
   Source: block-content-testimonials.html
   ============================================= */
.testimonial-section {
  background: #ffffff;
}
.testimonial-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid #e5e7eb;
  position: relative;
}
.testimonial-quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: #24db8d;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
  display: block;
}
.testimonial-text {
  font-size: 1.1rem;
  color: #111827;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-author-info strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
}
.testimonial-author-info span {
  font-size: 0.82rem;
  color: #6b7280;
}

/* =============================================
   PRICING SECTION — business-diagnostics.html
   Source: block-content-pricing-3.html
   ============================================= */
.pricing-section {
  background: #f8fafc;
}
.pricing-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14, 42, 74, 0.1);
}
.pricing-card-featured {
  border-color: #24db8d;
  box-shadow: 0 4px 8px rgba(36, 219, 141, 0.1),
              0 16px 32px rgba(36, 219, 141, 0.08);
  position: relative;
}
.pricing-card-badge {
  background: #24db8d;
  color: #0e2a4a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  text-align: center;
}
.pricing-card-header {
  padding: 1.75rem 1.75rem 0;
}
.pricing-card-header h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111827;
  margin-bottom: 0.25rem;
}
.pricing-tag {
  font-size: 0.8rem;
  color: #6b7280;
}
.pricing-card-price {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid #e5e7eb;
}
.pricing-amount {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #0e2a4a;
  letter-spacing: -0.03em;
}
.pricing-free {
  color: #24db8d;
}
.pricing-card-body {
  padding: 1.5rem 1.75rem;
  flex-grow: 1;
}
.pricing-card-body p {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  padding: 0.35rem 0;
}
.pricing-features li i {
  color: #24db8d;
  font-size: 1rem;
  flex-shrink: 0;
}
.pricing-card-footer {
  padding: 1.25rem 1.75rem 1.75rem;
}
.pricing-note {
  font-size: 0.875rem;
}

/* =============================================
   B.E.E.P. INLINE CALLOUT — diagnostics page
   ============================================= */
.beep-inline-callout {
  background: #0e2a4a;
}
.beep-inline-callout .section-label {
  color: rgba(36, 219, 141, 0.85);
}
.beep-inline-callout h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.beep-inline-callout p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* =============================================
   ERP SECTION — operational-systems.html
   ============================================= */
.erp-section {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.erp-features-grid {
  background: #0e2a4a;
  border-radius: 16px;
  overflow: hidden;
}
.erp-features-col {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.erp-investment-block {
  padding: 2rem;
}
.erp-col-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #24db8d;
  margin-bottom: 1rem;
}
.erp-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.erp-features-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.35rem 0;
}
.erp-features-list li i {
  color: #24db8d;
  flex-shrink: 0;
}
.erp-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.erp-pricing-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.1rem;
}
.erp-pricing-list li:last-child {
  border-bottom: none;
}
.erp-tier-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  grid-column: 1;
  grid-row: 1;
}
.erp-tier-sub {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.5);
  grid-column: 1;
  grid-row: 2;
}
.erp-tier-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #24db8d;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  white-space: nowrap;
}

/* =============================================
   CX FRAMEWORK STAGES — customer-service-systems.html
   ============================================= */
.cx-framework-section {
  background: #0e2a4a;
}
.cx-framework-section .section-label {
  color: rgba(36, 219, 141, 0.85);
}
.cx-framework-section h2 {
  color: #ffffff;
}
.cx-stages {
  margin-top: 2rem;
}
.cx-stage {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.cx-stage:last-child {
  border-right: none;
}
.cx-stage-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(36, 219, 141, 0.15);
  color: #24db8d;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
}
.cx-stage h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.cx-stage p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}
@media (max-width: 991px) {
  .cx-stage { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 1rem; }
  .cx-stage:last-child { border-bottom: none; }
}

/* =============================================
   CONTACT PAGE — option cards
   Source: block-content-featured-boxes-1.html
   ============================================= */
.contact-option-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14, 42, 74, 0.1);
}
.contact-option-primary {
  border-color: rgba(36, 219, 141, 0.4);
  background: linear-gradient(135deg, #f0fdf9 0%, #ffffff 100%);
}
.contact-option-icon {
  width: 56px;
  height: 56px;
  background: rgba(36, 219, 141, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #0e2a4a;
  margin-bottom: 1.25rem;
}
.contact-option-icon-wa {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  font-size: 1.75rem;
}
.contact-option-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
  margin-bottom: 0.25rem;
}
.contact-option-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #24db8d;
  background: rgba(36, 219, 141, 0.1);
  border-radius: 50px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.75rem;
}
.contact-option-card p {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.contact-option-card .button {
  margin-top: auto;
  text-align: center;
}

/* =============================================
   INQUIRY FORM — contact.html
   Source: demo-seo-contact.html form section
   ============================================= */
.inquiry-form-section {
  background: #f8fafc;
}
.contact-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #e5e7eb;
}
.form-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #374151;
  margin-bottom: 0.4rem;
}
.required-mark {
  color: #ef4444;
  margin-left: 2px;
}
.contact-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.925rem;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Google Sans', 'Open Sans', 'Roboto', sans-serif;
  appearance: none;
  -webkit-appearance: none;
}
.contact-input:focus {
  outline: none;
  border-color: #24db8d;
  box-shadow: 0 0 0 3px rgba(36, 219, 141, 0.15);
}
.contact-input::placeholder {
  color: #9ca3af;
}
.contact-textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-submit-form {
  width: 100%;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
}
.form-success-message {
  background: #f0fdf9;
  border: 1px solid rgba(36, 219, 141, 0.4);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: #111827;
  font-size: 1rem;
  line-height: 1.65;
}
.form-success-message a {
  color: #0e2a4a;
  font-weight: 700;
  text-decoration: underline;
}
.form-success-message a:hover {
  color: #24db8d;
}

/* =============================================
   LOCATION STRIP — contact.html
   Source: block-contact-1.html
   ============================================= */
.location-section {
  background: #ffffff;
}
.location-item {
  text-align: center;
  padding: 1.5rem;
}
.location-item-icon {
  width: 52px;
  height: 52px;
  background: rgba(14, 42, 74, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #0e2a4a;
  margin: 0 auto 1rem;
}
.location-item h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 0.35rem;
}
.location-item p {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 0;
}
.location-item a {
  color: #0e2a4a;
  transition: color 0.2s ease;
}
.location-item a:hover {
  color: #24db8d;
}

/* =============================================
   COUNTER SECTION — about.html (shared)
   ============================================= */
.counter-section {
  background: #0e2a4a;
}
.counter-section .counter-title {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}
.counter-section .counter-number {
  color: #24db8d;
}

/* =============================================
   PAGE TITLE BACKGROUNDS — industry and tools pages
   ============================================= */
.page-title-industries   { background-image: url('/brand_assets/images/industries-hero.jpg'); }
.page-title-traders      { background-image: url('/brand_assets/images/industries/traders-hero.jpg'); }
.page-title-realestate   { background-image: url('/brand_assets/images/industries/realestate-hero.jpg'); }
.page-title-manufacturing { background-image: url('/brand_assets/images/industries/manufacturing-hero.jpg'); }
.page-title-supermarkets { background-image: url('/brand_assets/images/industries/supermarkets-hero.jpg'); }
/* BEEP page: solid dark — no image, keeps focus on quiz */
.page-title-beep         { background-image: none; background-color: #0e2a4a; }

/* =============================================
   INDUSTRIES OVERVIEW — industries.html
   Source: block-content-featured-boxes-3.html
   ============================================= */
.industries-intro-body p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.industries-grid-section {
  background: #f8fafc;
}

.industry-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  display: flex;
  gap: 1.25rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(14, 42, 74, 0.08),
              0 24px 48px rgba(14, 42, 74, 0.12);
  border-color: rgba(36, 219, 141, 0.3);
}
.industry-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(36, 219, 141, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #0e2a4a;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.industry-card:hover .industry-card-icon {
  background: #24db8d;
  color: #0e2a4a;
}
.industry-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.industry-card-body p {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.industry-card-stat {
  font-size: 0.8rem !important;
  color: #6b7280 !important;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border-radius: 6px;
  border-left: 3px solid #24db8d;
  margin-bottom: 1rem !important;
}
.industry-card-stat i {
  color: #24db8d;
  flex-shrink: 0;
  margin-top: 1px;
}
.industry-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0e2a4a;
  text-decoration: none;
  border-bottom: 2px solid rgba(14, 42, 74, 0.2);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.industry-card-cta:hover {
  color: #24db8d;
  border-color: #24db8d;
}

/* Not-listed section */
.not-listed-section {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}
.not-listed-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 1rem;
}
.lead-copy {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

/* =============================================
   INDUSTRY SUB-PAGES — shared components
   All four industry landing pages
   ============================================= */

/* Body copy — pain points section */
.industry-body-copy p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.industry-body-copy strong {
  color: #111827;
}

/* Services grid — block-content-featured-boxes-3.html pattern */
.industry-services-section {
  background: #f8fafc;
}
.industry-service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  display: flex;
  gap: 1.25rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.industry-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(14, 42, 74, 0.08),
              0 24px 48px rgba(14, 42, 74, 0.12);
  border-color: rgba(36, 219, 141, 0.3);
}
.industry-service-card-featured {
  border-color: rgba(36, 219, 141, 0.35);
  background: linear-gradient(135deg, #f0fdf9 0%, #ffffff 60%);
}
.industry-service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(36, 219, 141, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #0e2a4a;
  transition: background-color 0.2s ease;
}
.industry-service-card:hover .industry-service-icon {
  background: #24db8d;
}
.industry-service-icon-featured {
  background: rgba(36, 219, 141, 0.2);
}
.industry-service-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #24db8d;
  background: rgba(36, 219, 141, 0.1);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.5rem;
}
.industry-service-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.industry-service-card p {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.industry-service-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #0e2a4a;
  margin-bottom: 0.75rem !important;
}
.industry-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0e2a4a;
  text-decoration: none;
  border-bottom: 2px solid rgba(14, 42, 74, 0.2);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.industry-service-link:hover {
  color: #24db8d;
  border-color: #24db8d;
}

/* Apprenticeship block — traders page */
.apprenticeship-section {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.apprenticeship-stats-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.apprenticeship-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.apprenticeship-stat-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(36, 219, 141, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #24db8d;
}
.apprenticeship-stat strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #111827;
  margin-bottom: 0.15rem;
}
.apprenticeship-stat span {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Process steps — shared across industry pages */
.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
}
.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(36, 219, 141, 0.1);
  border: 2px solid rgba(36, 219, 141, 0.3);
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #24db8d;
  margin: 0 auto 1rem;
}
.process-step h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  margin-bottom: 0.65rem;
}
.process-step p {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Testimonial card — shared across industry pages */
.testimonial-section {
  background: #f8fafc;
}
.industry-testimonial-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}
.industry-testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: rgba(36, 219, 141, 0.3);
  font-family: Georgia, serif;
  margin-bottom: 0.75rem;
}
.industry-testimonial-card blockquote {
  border: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.industry-testimonial-card blockquote p {
  font-size: 1.05rem;
  color: #111827;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 0;
}
.industry-testimonial-attr strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 0.15rem;
}
.industry-testimonial-attr span {
  font-size: 0.82rem;
  color: #6b7280;
}

/* Client name strip — real estate, manufacturing, supermarkets */
.social-proof-section {
  background: #ffffff;
}
.client-name-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 auto 1rem;
  max-width: 600px;
}
.client-name-item {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #6b7280;
  padding: 0.5rem 1.5rem;
}
.client-name-divider {
  width: 1px;
  height: 24px;
  background: #e5e7eb;
}
.client-strip-body {
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
}

/* ERP feature list — industry pages (flex, not ul)
   Note: different from erp-features-list on operational-systems.html which is a dark <ul> */
.industry-erp-feature-item,
.erp-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 0.6rem;
}
.erp-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(36, 219, 141, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #24db8d;
}
.erp-feature-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #111827;
}
.erp-feature-item span {
  font-size: 0.78rem;
  color: #6b7280;
}
.erp-features-compact .erp-feature-item {
  padding: 0.65rem 0.85rem;
}
.erp-features-compact .erp-feature-item strong {
  font-size: 0.8rem;
}

/* B.E.E.P. callout — industry pages */
.beep-callout-section {
  background: #0e2a4a;
}
.beep-callout-section .section-label {
  color: rgba(36, 219, 141, 0.85);
}
.beep-callout-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1rem;
}
.beep-callout-section .lead-copy {
  color: rgba(255, 255, 255, 0.75);
}

/* CTA section — shared dark promo block */
.cta-section.dark {
  background: #091d35;
}
.cta-section.dark h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.cta-section.dark p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   B.E.E.P. DIAGNOSTIC PAGE — tools/beep-diagnostic.html
   ============================================= */

/* Explainer section */
.beep-explainer-section {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

/* B.E.E.P. pillars — explainer */
.beep-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.beep-pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}
.beep-pillar-letter {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: #0e2a4a;
  color: #24db8d;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beep-pillar strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #111827;
  margin-bottom: 0.1rem;
}
.beep-pillar span {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Quiz section */
.beep-quiz-section {
  background: #ffffff;
}

/* Steps — show/hide */
.beep-step { display: block; }
.beep-step[hidden] { display: none !important; }

/* Progress bar */
.beep-progress-wrap {
  margin-bottom: 1.75rem;
}
.beep-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.beep-category-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0e2a4a;
  background: rgba(36, 219, 141, 0.15);
  border-radius: 50px;
  padding: 0.2rem 0.75rem;
}
.beep-progress-bar-track {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.beep-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #24db8d, #1ab873);
  border-radius: 50px;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Question card */
.beep-question-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04),
              0 16px 32px rgba(0, 0, 0, 0.06);
}
.beep-question-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #111827;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Answer options */
.beep-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.beep-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease,
              background-color 0.15s ease,
              transform 0.15s ease;
  background: #ffffff;
  font-size: 0.95rem;
  color: #374151;
  font-family: 'Google Sans', 'Open Sans', 'Roboto', sans-serif;
  text-align: left;
  width: 100%;
}
.beep-option:hover {
  border-color: rgba(36, 219, 141, 0.5);
  background: rgba(36, 219, 141, 0.04);
  transform: translateX(4px);
}
.beep-option.selected {
  border-color: #24db8d;
  background: rgba(36, 219, 141, 0.08);
  color: #111827;
  font-weight: 600;
}
.beep-option-dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.beep-option.selected .beep-option-dot {
  border-color: #24db8d;
  background: #24db8d;
  box-shadow: inset 0 0 0 3px #ffffff;
}
.beep-option:focus-visible {
  outline: 3px solid rgba(36, 219, 141, 0.5);
  outline-offset: 2px;
}

/* Navigation buttons */
.beep-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.beep-btn-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* Lead capture card */
.beep-lead-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04),
              0 16px 32px rgba(0, 0, 0, 0.06);
}
.beep-lead-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 0.5rem;
}
.beep-lead-card p {
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}
.beep-privacy-note {
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Results display */
.beep-results-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: #0e2a4a;
  border-radius: 16px;
  flex-wrap: wrap;
}
.beep-score-ring-wrap {
  flex-shrink: 0;
  position: relative;
  width: 120px;
  height: 120px;
}
.beep-score-ring {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}
.beep-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 10;
}
.beep-ring-fill {
  fill: none;
  stroke: #24db8d;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.beep-score-ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.beep-score-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: #24db8d;
  line-height: 1;
}
.beep-score-denom {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.beep-results-intro h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.beep-results-intro p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Category result bars */
.beep-category-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.beep-cat-result {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.beep-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.beep-cat-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
}
.beep-cat-score-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}
.beep-cat-score-label.critical { color: #ef4444; }
.beep-cat-score-label.developing { color: #f59e0b; }
.beep-cat-score-label.strong { color: #10b981; }

.beep-cat-bar-track {
  width: 100%;
  height: 8px;
  background: #f3f4f6;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}
.beep-cat-bar-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 1s ease;
}
.beep-cat-bar-fill.critical   { background: #ef4444; }
.beep-cat-bar-fill.developing { background: #f59e0b; }
.beep-cat-bar-fill.strong     { background: #10b981; }

.beep-cat-summary {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Lowest-score recommendation card */
.beep-recommendation {
  background: linear-gradient(135deg, #0e2a4a 0%, #091d35 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.beep-recommendation h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.beep-recommendation-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #24db8d;
  background: rgba(36, 219, 141, 0.15);
  border-radius: 50px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.75rem;
}
.beep-recommendation p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* Post results CTA */
.beep-post-cta {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
}
.beep-post-cta h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #111827;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.beep-post-cta p {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .beep-results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .beep-question-card,
  .beep-lead-card {
    padding: 1.5rem;
  }
}

/* =============================================
   CONTACT PAGE — form error message
   Added for PHP mailer fetch() integration
   ============================================= */
.form-error-message {
  background: #fef2f2;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #7f1d1d;
  margin-top: 1rem;
  line-height: 1.6;
}
.form-error-message a {
  color: #0e2a4a;
  font-weight: 700;
  text-decoration: underline;
}
.form-error-message a:hover {
  color: #24db8d;
}
/* Disable state for submit button while sending */
.btn-submit-form:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* =============================================
   MOBILE-FIRST RESPONSIVE — 375px minimum target
   All breakpoints below 768px mobile-first.
   ============================================= */
@media (max-width: 767px) {

  /* Typography scale */
  h1, .h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  h2, .h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h3, .h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }
  p { font-size: 1rem; line-height: 1.7; }

  /* Hero headline — tighten minimum so it doesn't dominate on 375px screens.
     clamp(min, preferred, max): at 375px 6.5vw ≈ 24px which is < 1.65rem (26.4px),
     so the floor applies. Previously 2rem (32px) was the minimum — too large. */
  .hero-headline { font-size: clamp(1.65rem, 6.5vw, 2.5rem); }
  .hero-sub { font-size: 1rem; }

  /* Hero section — 700px fixed height exceeds viewport on short phones.
     Use min() so it caps at 90% of viewport height when that is smaller. */
  #hero {
    min-height: min(700px, 90vh);
  }

  /* hero-diagonal — 100px padding top and bottom + 100px margin-top is
     excessive. Reduce to 60px to match Canvas's 991px section padding. */
  .hero-diagonal {
    padding: 60px 0;
    margin-top: 60px;
  }
  .hero-diagonal::before {
    top: -30px;
    height: calc(100% + 60px);
  }

  /* Stack hero buttons vertically */
  .hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .hero-ctas .button {
    width: 100%;
    max-width: 320px;
    text-align: center;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Section padding */
  .section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .beep-section,
  .counter-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Ensure images do not overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Cards stack — add bottom margin between stacked cards */
  .col-md-4, .col-md-3, .col-lg-4, .col-lg-3 {
    margin-bottom: 1.25rem;
  }

  /* Footer columns */
  #footer .col-lg-3 {
    margin-bottom: 2rem;
  }
  #footer .footer-widgets-wrap {
    padding: 3rem 0 !important;
  }

  /* Contact forms — full width */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    width: 100%;
    max-width: 100%;
  }

  /* WhatsApp float — shift slightly up from browser nav bar */
  #whatsapp-float {
    bottom: 20px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  #whatsapp-float i {
    font-size: 22px;
  }

  /* Trust bar — stack cleanly */
  .trust-bar-items {
    gap: 4px 0;
  }
  .trust-item {
    padding: 8px 16px;
    min-width: 50%;
  }

  /* Page title heading scale on mobile */
  .page-title-content h1 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  /* About story image badge — prevent overflow */
  .about-img-badge {
    right: 0;
    bottom: -12px;
    padding: 14px 16px;
  }

  /* Counter numbers */
  .counter-number {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  /* CTA section buttons stack */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .button {
    width: 100%;
    max-width: 320px;
    text-align: center;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Heading block margins tighter on mobile */
  .heading-block {
    margin-bottom: 32px;
  }
  .heading-block h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* Overflow-safe tables and pre/code blocks */
  pre, code {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    max-width: 100%;
  }
}


/* cache-bust: 202604201042 */
