
/* ── CSS Variables ── */
:root {
  --BG: #f5f8ff;
  --orange-10: #FFEDE7;
  --orange-100: #fe4f0d;
  --gray-100: #1c2436;
  --gray-80: rgba(28, 36, 54, .72);
  --gray-7: #eef2fb;
  --navy-100: #0b1a3d;
  --blue: #028ece;
  --white: #ffffff;
  --white-80: #ccd3e6;
  --shadow: 0 16px 46px rgba(16, 40, 100, .10);
  --shadow-lg: 0 26px 64px rgba(16, 40, 100, .16);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; padding: 0; margin: 0; border: 0; }
ul, li { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; }
h1,h2,h3,h4,h5,h6 {font-weight: inherit; margin: 0;}
h1 { font-size: 44px; }
h2 { font-size: 36px; }
h3 { font-size: 17px; }
h4 { font-size: 15px; }
h5, h6 { font-size: 14px; }

body {
  font-family: "Poppins", sans-serif;
  background: var(--BG);
  color: var(--gray-100);
  margin-top: 70px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: 100%; padding: 0; margin: 0 auto; }
.accent { color: var(--blue); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  width: 100%;
  background-color: #fff;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(11, 26, 61, .06);
  z-index: 97;
}
.nav__logo-links-container { padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.nav__logo-wrap { display: flex; align-items: center; cursor: pointer; }
.logo { width: 155px; height: 35px; }
.flex-center { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 20px; }
.nav__link {
  position: relative;
  color: var(--gray-80);
  font-size: 13.5px; font-weight: 500; line-height: 32px;
  transition: color .2s ease;
  white-space: nowrap;
}
.nav__link:not(.button)::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--blue);
  transition: width .25s ease;
}
.nav__link:not(.button):hover::after { width: 100%; }
.nav__link:hover { color: var(--blue); }

/* Nav Button (Orange Pill) */
.nav .button {
  border-radius: 100px;
  background: linear-gradient(135deg, var(--orange-100), #e0450b);
  padding: 0 6px 0 20px;
  height: 46px;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; align-items: center; gap: 10px;
}
.nav .button .button__text { color: #fff; font-size: 14px; letter-spacing: .06em; font-weight: 700; margin: 0; text-transform: uppercase; }
.nav .button .button__arrow { width: 34px; height: 34px; border-radius: 50%; background: #fff; filter: none; padding: 7px; box-sizing: border-box; flex-shrink: 0; }
.nav .active-page { text-decoration-line: underline; }

/* Mobile Menu Button */
.nav__menu {
  display: none; position: relative; z-index: 99;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; padding: 10px;
  background: none; border: 0; border-radius: 8px; -webkit-appearance: none; appearance: none;
}
.nav__menu span { display: block; width: 24px; height: 2px; background-color: var(--gray-100); border-radius: 8px; margin-bottom: 5px; transition: .3s; }
.nav__menu span:last-child { margin: 0; }
.nav .menu-animated span:first-child { transform-origin: bottom left; transform: rotate(45deg) translate(-1px,-2px); width: 24px; }
.nav .menu-animated span:nth-child(2) { opacity: 0; }
.nav .menu-animated span:last-child { transform-origin: bottom left; transform: rotate(-45deg) translate(1px,2px); width: 24px; }

/* ── DROPDOWN MEGA MENU ── */
.dropdown { position: relative; }
.dropdown-content {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-12px) scale(0.97); max-height: calc(100vh - 80px); overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(11, 26, 61, .16);
  border: 1px solid rgba(11, 26, 61, .05);
  padding: 24px;
  z-index: 100;
  display: flex; gap: 28px;
  opacity: 0; visibility: hidden;
  transform-origin: top left;
  transition: opacity .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1), visibility .25s;
  pointer-events: none;
}
.dropdown::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0;
  height: 10px; z-index: 99;
}
.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.mega-menu .column { display: flex; flex-direction: column; gap: 2px; width: 220px; flex: none; }

.dropdown-content.mega-menu:not(.features-mega) { width: max-content; max-width: min(92vw, 760px); overflow: hidden; }
.dropdown-content.mega-menu:not(.features-mega) .inside { width: auto !important; min-width: 0; }
.mega-menu .inside { display: flex; gap: 6px; padding: 4px 6px; border-radius: 6px; transition: background .2s ease; align-items: flex-start; margin-bottom: 1px; }
.mega-menu .inside:hover { background: var(--gray-7); }
.mega-col-title { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(28,36,54,.45); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(28,36,54,.08); }
.mega-icon { width: 16px; height: 16px; min-width: 16px; border-radius: 4px; background: rgba(2,142,206,.08); display: flex; align-items: center; justify-content: center; color: #028ece; font-size: 8px; flex-shrink: 0; }
.mega-badge { display: none !important; }
.text1 { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 13px; color: var(--gray-100); text-decoration: none; display: block; margin-bottom: 1px; }
.text1:hover { color: var(--blue); }

/* Mobile Dropdown Menu */
.dropdown-menu { display: none; list-style: none; padding-left: 0; margin: 0; }
.dropdown-menu.show { display: block; }
.dropdown-menu li { padding: 5px 9px; }
.dropdown-menu li a { text-decoration: none; color: #000; }

/* ── BUTTONS ── */

.mega-menu .icon { width: 24px; height: 24px; min-width: 24px; margin-right: 4px; flex-shrink: 0; }
.mm-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 100px;
  font-weight: 700; font-size: 15px; letter-spacing: .03em; text-transform: uppercase;
  cursor: pointer; border: none;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.mm-btn:hover { transform: translateY(-2px); filter: brightness(1.03); }
.mm-btn i { transition: transform .2s ease; }
.mm-btn:hover i { transform: translateX(3px); }
.mm-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 32px rgba(2, 142, 206, .3); }
.mm-btn-orange {
  background: linear-gradient(135deg, var(--orange-100), #e0450b);
  color: #fff;
}
.mm-btn-orange i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--orange-100) !important;
  font-size: 16px !important;
  transition: transform .2s ease !important;
  transform: rotate(45deg) !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* ── FOOTER ── */
.footer { background-color: var(--navy-100); border-radius: 0; margin-top: 0px; color: #ccd3e6; padding: 59px 64px 54px; }
.footer, .footer * { box-sizing: border-box; }
.footer a { color: #ccd3e6; text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: #fff; }
.footer__top { display: flex; justify-content: space-between; padding: 0 0 40px; gap: 40px; }
.footer__about { flex: 1; }
.footer__about h3, .footer__contact-us h3, .footer__follow h3 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.footer__about p { color: #aab4c8; font-size: 14px; line-height: 1.7; }
.footer__contact-us { flex: 1.2; }
.footer__contact-us .address { color: #aab4c8; font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.footer__sales-support { display: flex; gap: 40px; }
.footer__sales-support h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.footer__sales-support .contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.footer__sales-support .contact-item svg { flex-shrink: 0; }
.footer__follow { flex: 0.6; display: flex; flex-direction: column; align-items: flex-start; }
.footer__follow h3 { text-align: left; }
.footer__social { display: flex; gap: 14px; margin-top: 6px; }
.footer__social a { transition: transform .2s ease; }
.footer__social a:hover { transform: translateY(-3px); }
.footer__social svg { width: 36px; height: 36px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 0; display: flex; justify-content: space-between; align-items: center; }
.footer__bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom-links a { font-size: 13px; color: #8a95aa; }
.footer__bottom-links a:hover { color: #fff; }
.footer__copyright { font-size: 13px; color: #8a95aa; }

.footer-top { background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-top a { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500; letter-spacing: .5px; }
.footer-top a:hover { color: #fff; }

/* ── MOBILE MENU (Backdrop + Slide) ── */
.menu-backdrop {
  width: 100%; height: 100vh; position: fixed; top: 0; left: 0; visibility: hidden;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  background: rgba(4, 17, 23, .35); z-index: 90;
}
.visible { visibility: visible; }
.visible .menu { top: 0; }
.menu {
  position: fixed; top: -100%; left: 0;
  background-color: #fff; z-index: 95;
  width: 100%; height: fit-content; max-height: 100vh; overflow-y: auto;
  display: flex; padding: 20px 16px 40px;
  flex-direction: column; align-items: center; gap: 32px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 20px 60px rgba(11, 26, 61, .15);
  transition: .4s ease-in;
}
.menu__list { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 70px; width: 100%; max-width: 400px; margin: 0 auto; }
.menu__link { padding: 12px 16px; color: var(--gray-100); font-size: 16px; font-weight: 500; line-height: 32px; width: 100%; text-align: left; border-radius: 10px; transition: background .2s ease; }
.menu__link:hover { background: var(--gray-7); }
.menu__link a { display: block; width: 100%; }
.menu__link .fa-chevron-down { margin-left: 6px; font-size: 12px; }
.dropdown-menu { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding-left: 16px; }
.dropdown-menu.show { max-height: 2000px; padding: 8px 0; }
.dropdown-menu li { padding: 8px 12px; text-align: left; }
.dropdown-menu li a { color: #1c2436; font-size: 14px; font-weight: 500; transition: color .2s ease; }
.dropdown-menu li a:hover { color: var(--blue); }
.dropdown-menu li.bt-group-label { padding: 10px 12px 4px; margin-top: 6px; border-top: 1px solid #eef1f6; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8a93a6; cursor: default; list-style: none; }
.dropdown-menu li.bt-group-label:hover { background: none; }

/* ── MEGA MENU — Features specific (dark text on white bg) ── */
.mega-menu:not(.features-mega) .text1 { color: var(--gray-100); }
.mega-menu:not(.features-mega) .text1:hover { color: var(--blue); }
.mega-menu:not(.features-mega) .mega-icon { width: 16px; height: 16px; min-width: 16px; border-radius: 4px; background: rgba(2,142,206,.08); display: flex; align-items: center; justify-content: center; color: #028ece; font-size: 8px; flex-shrink: 0; }
.mega-menu:not(.features-mega) .mega-col-title { color: rgba(28,36,54,.45); border-bottom: 1px solid rgba(28,36,54,.08); padding-bottom: 8px; margin-bottom: 12px; }

/* Home page feature cards — white stroke icons on blue bg */
.mm-feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mm-feature-icon i {
  color: #fff;
  font-size: 22px;
}

/* Business Types dropdown — dark text on white bg */
.dropdown:not(.dropdown.active) .dropdown-content .text1 { color: #1c2436; }
.dropdown:not(.dropdown.active) .dropdown-content .text1:hover { color: #2563eb; }
.dropdown:not(.dropdown.active) .dropdown-content .mega-col-title { color: rgba(28,36,54,.45); border-bottom: 1px solid rgba(28,36,54,.08); padding-bottom: 8px; margin-bottom: 12px; }
.dropdown:not(.dropdown.active) .dropdown-content .mega-icon { background: rgba(2,142,206,.08); color: #028ece; }

/* ══════════════════════════════════════════════════════════════
   FEATURES MEGA MENU — 100% Image Match
   ══════════════════════════════════════════════════════════════ */

.features-mega {
  width: 940px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,.14);
  border: 1px solid rgba(0,0,0,.04);
  display: flex;
  gap: 28px;
}

.features-mega .column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mega-col-title {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: none;
}

.features-mega .inside {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  margin-bottom: 1px;
  border-radius: 10px;
  transition: background .15s ease;
  cursor: pointer;
  text-decoration: none;
}

.features-mega .inside:hover {
  background: #f5f8ff;
}

.features-mega .mega-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: #eef4fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.features-mega .mega-icon svg {
  width: 20px;
  height: 20px;
  fill: #2563eb;
  stroke: none;
}

/* Font Awesome icons (features mega menu) */
.features-mega .mega-icon i {
  font-size: 20px;
  line-height: 1;
  color: #2563eb;
}
.features-mega .mega-icon .fa-stack {
  font-size: 10px;
  width: 20px;
  height: 20px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}
.features-mega .mega-icon .fa-stack .fa-stack-1x,
.features-mega .mega-icon .fa-stack .fa-stack-2x {
  line-height: 20px;
}
.features-mega .mega-icon .bell-wrap {
  position: relative;
  display: inline-flex;
}
.features-mega .mega-icon .bell-dot {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  border: 1.5px solid #eef4fd;
}

.features-mega .inside > div:last-child {
  flex: 1;
  min-width: 0;
}

.features-mega .text1 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: #1e293b;
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}

.features-mega .text1:hover {
  color: #2563eb;
}

.features-mega .mega-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

.mega-badge { display: none !important; }

/* Mobile responsive */
@media (max-width: 960px) {
  .features-mega {
    width: 100% !important;
    max-width: 100vw;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    padding: 20px !important;
  }
}

@media (max-width: 768px) {
  .features-mega {
    position: fixed !important;
    top: 60px !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;

    transform: none !important;
    border-radius: 0 !important;
    padding: 12px 16px !important;
    z-index: 1000 !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .features-mega .column {
    width: 100% !important;
  }
  .features-mega .mega-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
  .features-mega .mega-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  .features-mega .text1 {
    font-size: 13px !important;
  }
  .features-mega .mega-desc {
    font-size: 11.5px !important;
  }
}

@media (max-width: 480px) {
  .features-mega {
    padding: 8px 12px !important;
    gap: 12px !important;
  }
  .features-mega .inside {
    padding: 8px !important;
    gap: 10px !important;
  }
  .features-mega .mega-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 10px !important;
  }
  .features-mega .mega-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .features-mega .text1 {
    font-size: 12px !important;
  }
  .features-mega .mega-desc {
    font-size: 10.5px !important;
  }
}

/* Fix: ensure <a> inside mega-menu works as flex container */
a.mega-menu .inside,
.mega-menu a.inside { display: flex !important; align-items: flex-start; text-decoration: none !important; width: 100%; }
/*  deploy trigger Fri Aug 28 10:35:39 SLST 2026 */

@media (max-width: 1201px) {
  .nav__menu { display: flex !important; }
}

@media (max-width: 1201px) {
  .nav__list { display: none !important; }
  .nav__logo-links-container { padding: 10px 14px; }
}
@media (max-width: 480px) {
  .logo { width: 128px; height: 30px; }
  .nav .button { height: 40px; padding: 0 5px 0 14px; }
  .nav .button .button__text { font-size: 10.5px; }
  .nav .button .button__arrow { width: 30px; height: 30px; padding: 6px; }
}

@media (max-width: 900px) {
  div[style*="20px 24px 16px"],
  div[style*="40px 24px 36px"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding: 24px 18px !important;
  }
  div[style*="20px 24px 16px"] > div:first-child {
    flex-wrap: wrap !important;
    gap: 14px 20px !important;
  }
  div[style*="40px 24px 36px"] > div {
    width: 100% !important;
    flex: none !important;
  }
  div[style*="40px 24px 36px"] div[style*="display:flex; gap:40px"],
  div[style*="40px 24px 36px"] div[style*="display:flex;gap:40px"] {
    flex-wrap: wrap !important;
    gap: 18px !important;
  }
}

@media (max-width: 900px) {

  /* inline-styled heroes (sm-hero, lm-hero, mm-hero-custom...) bhi cover */
  section[style*="calc(-50vw"], header[style*="calc(-50vw"] {
    margin-left: 0 !important; margin-right: 0 !important; width: 100% !important;
    padding-left: 16px !important; padding-right: 16px !important;
  }
  .mm-hero { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }
  /* inline 2-col splits (fx-split etc.) mobile pe stack */
  .fx-split { grid-template-columns: 1fr !important; gap: 24px !important; }
  .fx-split > * { min-width: 0 !important; max-width: 100% !important; }
  /* inline-styled split grids (style*="grid-template-columns:1fr 1fr") stack + min-width fix */
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 28px !important; }
  div[style*="grid-template-columns:1fr 1fr"] > * { min-width: 0 !important; max-width: 100% !important; }
  /* inline repeat(3,1fr)/repeat(4,1fr)/repeat(2,1fr) mini-grids → 1 col mobile */
  div[style*="repeat(3,1fr)"], div[style*="repeat(4,1fr)"], div[style*="repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="repeat(3,1fr)"] > *, div[style*="repeat(4,1fr)"] > *, div[style*="repeat(2,1fr)"] > * { min-width: 0 !important; max-width: 100% !important; }
  /* inline nowrap flex rows (step pills etc.) → wrap */
  div[style*="flex-wrap:nowrap"] { flex-wrap: wrap !important; }
  div[style*="flex-wrap: nowrap"] { flex-wrap: wrap !important; }

  .pm-metric, .mm-stat { min-width: 0 !important; overflow-wrap: break-word; }
  .pm-metric-num { font-size: 32px !important; }
  .pm-metrics-grid, .pm-salary-grid, .nf-grid, .nf-two { min-width: 0 !important; }
  .pm-metrics-grid > *, .pm-salary-grid > *, .nf-grid > *, .nf-two > * { min-width: 0 !important; }

  .sm-hero h1, .nf-hero h1, .mm-hero .mm-h1 { overflow-wrap: break-word; min-width: 0 !important; max-width: 100% !important; }
  .sm-hero h1 { font-size: 30px !important; }
  .sm-hero-grid, .em-split { min-width: 0 !important; }
  .sm-hero-grid > *, .em-split > * { min-width: 0 !important; max-width: 100% !important; }
  .mm-hero-grid > * { min-width: 0; }
  .mm-hero-img, .mm-hero-grid img { max-width: 100%; height: auto; }
  .mm-feature-grid { grid-template-columns: 1fr !important; }
  .mm-type-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .mm-awards-stats { grid-template-columns: repeat(2, 1fr) !important; row-gap: 28px; }
  .mm-benefits, .mm-benefits.reverse { grid-template-columns: 1fr !important; }
  .mm-section { padding-left: 16px !important; padding-right: 16px !important; }
  .mm-section.grey { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }
  .mm-heading h2 { font-size: 26px; }
  .mm-hero { padding: 20px 16px !important; }
  .mm-hero .mm-h1 { font-size: 26px !important; }
  .testi-card { max-width: 88vw; }
  .testi-track-wrapper { overflow-x: hidden; }
}
@media (max-width: 480px) {
  .mm-type-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .mm-awards-stats { padding: 24px 12px !important; }
  .mm-stat h3 { font-size: 16px !important; }
  .clients-track img { height: 52px !important; }

  .nf-hero h1 { font-size: 30px !important; overflow-wrap: break-word; }
  .nf-hero-grid, .nf-hero-grid > * { min-width: 0 !important; max-width: 100% !important; }
}

@media (max-width: 760px) {
  /* Inline GRIDs — sab single column */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr;"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:repeat(2,1fr)"],
  div[style*="grid-template-columns: repeat(2, 1fr)"],
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns:1.15fr .85fr"],
  div[style*="grid-template-columns:.85fr 1.15fr"],
  div[style*="grid-template-columns:0.85fr 1.15fr"],
  div[style*="grid-template-columns:1.15fr 0.85fr"],
  div[style*="grid-template-columns:1.05fr .95fr"],
  div[style*="grid-template-columns:.95fr 1.05fr"],
  div[style*="grid-template-columns:repeat(auto-fit, minmax(280px,1fr))"],
  div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"],
  div[style*="grid-template-columns:repeat(auto-fit, minmax(240px,1fr))"],
  div[style*="grid-template-columns:repeat(auto-fit,minmax(240px,1fr))"],
  div[style*="grid-template-columns:repeat(auto-fit, minmax(220px,1fr))"] {
    grid-template-columns: 1fr !important;
  }
  /* 4-5 col grids — mobile pe 2 col (keeps cards readable) */
  div[style*="grid-template-columns:repeat(4,1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns:repeat(5,1fr)"],
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  div[style*="display:flex; justify-content:center; align-items:center; gap:10px; flex-wrap:nowrap"],
  div[style*="flex-wrap:nowrap"] {
    flex-wrap: wrap !important;
    justify-content: center !important;
    row-gap: 10px !important;
  }

  div[style*="gap:40px"] { gap: 22px !important; }
  div[style*="gap:32px"] { gap: 20px !important; }
  div[style*="gap:28px"] { gap: 18px !important; }
  div[style*="gap:24px"] { gap: 16px !important; }

  div[style*="padding:60px 24px"],
  div[style*="padding: 60px 24px"],
  div[style*="padding:70px 24px"],
  div[style*="padding:80px 40px"] {
    padding: 40px 16px !important;
  }

  div[style*="min-width:110px"],
  div[style*="min-width:140px"],
  div[style*="min-width:160px"],
  div[style*="width:232px"],
  div[style*="width: 232px"],
  div[style*="width:265px"],
  div[style*="width: 265px"],
  div[style*="max-width:1200px"],
  div[style*="max-width: 1200px"] {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  div[style*="display:grid"] > div,
  div[style*="display:grid"] > img {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  div[style*="flex:1.2"], div[style*="flex: 1.2"],
  div[style*="flex:1.4"], div[style*="flex: 1.4"],
  div[style*="flex:0.5"], div[style*="flex: 0.5"],
  div[style*="flex:0.6"], div[style*="flex: 0.6"] {
    flex: 1 1 100% !important;
  }

  table, pre { max-width: 100%; overflow-x: auto; display: block; }
}

.nf-table { display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
.nf-tablewrap { overflow-x: auto !important; }

@media (max-width: 760px) {
  .nf-grid, .nf-two, .pm-metrics-grid, .pm-salary-grid,
  div.nf-grid[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
  }
  .nf-grid > div, .nf-two > div {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  .nf-grid > div > div, .nf-two > div > div { min-width: 0 !important; max-width: 100% !important; flex: 1 1 0 !important; }
  .nf-grid h3, .nf-grid p, .nf-two h3, .nf-two p { overflow-wrap: anywhere; }
}

/* Phones: integration cards go single column so headings and copy stay readable */
@media (max-width: 600px) {
  .nf-grid,
  div.nf-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .nf-grid > div { padding: 20px 18px !important; }
  .nf-grid > div > div:first-child { flex: 0 0 40px !important; width: 40px !important; min-width: 40px !important; max-width: 40px !important; }
  .nf-grid h3,
  .nf-grid p { overflow-wrap: break-word !important; word-break: normal !important; hyphens: none !important; }
}

/* ═══ LOAD GLOBAL MOBILE FIXES LAST ═══ */
/* This import ensures mobile-fix.css overrides all inline styles & page-specific CSS */
@import url("css/mobile-fix.css");
