.namaaly-scope,
.namaaly-scope button,
.namaaly-scope input,
.namaaly-scope textarea,
.namaaly-scope select {
  font-family: 'Inter', sans-serif;
}

/* =========================================================
   NAMAALY — GLOBAL STYLESHEET (assets/css/style.css)
   Loaded on every page via header.php.
   Built on top of Bootstrap 5 (grid, container, buttons).
   Every rule is scoped under .namaaly-scope so it can never
   leak onto / clash with styles outside this template.
   Page-specific styles live in assets/css/index.css.
   ========================================================= */

.namaaly-scope,
.namaaly-scope *,
.namaaly-scope button,
.namaaly-scope input,
.namaaly-scope textarea,
.namaaly-scope select {
  font-family: 'Inter', sans-serif;
}

.namaaly-scope {
  --navy: #24292E;
  --navy-deep: #111316;
  --sand: #EAF7F2;
  --paper: #FFFFFF;
  --ink: #16181B;
  --teal: #16A177;
  --teal-deep:#16A177;
  --copper: #16A177;
  --copper-deep: #16A177;
  --copper-glow: rgba(11, 110, 79, .35);
  --red: #16A177;
  --red-deep: #0F7F5E;
  --red-glow: rgba(22, 161, 119, .35);
  --line: rgba(22, 24, 27, 0.14);
  --line-strong: rgba(22, 24, 27, 0.26);
  --display: 'Inter', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'Inter', sans-serif;

  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.namaaly-scope html {
  scroll-behavior: smooth;
}

.namaaly-scope img {
  max-width: 100%;
  display: block;
}

.namaaly-scope a {
  color: inherit;
  text-decoration: none;
}

.namaaly-scope .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 7px 15px;
  border-radius: 30px;
  background: rgba(22, 161, 119, .07);
  border: 1px solid rgba(22, 161, 119, .18);
}

.namaaly-scope .eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.namaaly-scope h1,
.namaaly-scope h2,
.namaaly-scope h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.namaaly-scope h2 {
  font-size: clamp(26px, 3vw, 30px);
}

/* ---- Buttons (color skin on top of Bootstrap's .btn) ---- */
.namaaly-scope .btn {
  border-radius: 7px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: .15s ease;
}

.namaaly-scope .btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.namaaly-scope .btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px var(--red-glow);
}

.namaaly-scope .btn-outline {
  border: 1px solid var(--line-strong);
  color: #fff;
  background: var(--copper);
}

/* .namaaly-scope .btn-outline:hover {
  border-color: var(--navy);
  background: rgba(22, 24, 27, .05);
  transform: translateY(-2px);
  color: var(--teal-deep);
} */

.namaaly-scope .btn-teal {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.namaaly-scope .btn-teal:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-2px);
}

/* ---- Top bar ---- */
.namaaly-scope .topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .72);
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 8px 0;
}

.namaaly-scope .topbar-contacts {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.namaaly-scope .topbar a {
  color: rgba(255, 255, 255, .72);
  transition: color .2s ease;
}

.namaaly-scope .topbar a:hover {
  color: #fff;
}

.namaaly-scope .topbar i {
  color: var(--copper);
  margin-right: 4px;
}

/* ---- Nav ---- */
.namaaly-scope header.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
}

.namaaly-scope .logo {
  display: inline-flex;
  align-items: center;
}

.namaaly-scope .logo-img {
  height: auto;
  width: 200px;
  max-width: none;
}

.namaaly-scope .navlinks a {
  color: var(--navy);
  opacity: .82;
  font-weight: 500;
  position: relative;
}

.namaaly-scope .navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .25s ease;
}

.namaaly-scope .navlinks a:hover {
  opacity: 1;
}

.namaaly-scope .navlinks a:hover::after {
  width: 50%;
}

/* ---- ERPNext mega menu (desktop, hover-triggered) ---- */
.namaaly-scope .nav-item-mega {
  padding-bottom: 16px;
  margin-bottom: -16px;
}

.namaaly-scope .nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.namaaly-scope .nav-mega-trigger i {
  font-size: 10px;
  transition: transform .25s ease;
}

.namaaly-scope .nav-item-mega:hover .nav-mega-trigger i,
.namaaly-scope .nav-item-mega:focus-within .nav-mega-trigger i,
.namaaly-scope .nav-item-mega.mega-active .nav-mega-trigger i {
  transform: rotate(180deg);
}

.namaaly-scope .mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 50px -14px rgba(17, 19, 22, .18);
  padding: 36px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .3, 1), visibility .22s ease;
  z-index: 60;
}

.namaaly-scope .nav-item-mega:hover .mega-menu,
.namaaly-scope .nav-item-mega:focus-within .mega-menu,
.namaaly-scope .nav-item-mega.mega-active .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.namaaly-scope .mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 48px;
  position: relative;
}

.namaaly-scope .mega-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.namaaly-scope .mega-col-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}

.namaaly-scope .mega-item {
  display: block;
  padding: 7px 0;
  border-radius: 6px;
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color .18s ease, transform .18s ease;
  opacity: 1;
}

.namaaly-scope .mega-feature {
  h4 {
    font-size: 18px;
    color: var(--teal-deep);
  }

  p {
    font-size: 15px;
  }
}

.namaaly-scope .mega-item:hover {
  color: var(--teal-deep);
  transform: translateX(3px);
}

/* staggered fade/slide-in for each item once the menu opens */
.namaaly-scope .mega-item {
  animation: nexMegaIn .32s cubic-bezier(.2, .8, .3, 1) both;
  animation-play-state: paused;
}

.namaaly-scope .nav-item-mega:hover .mega-item,
.namaaly-scope .nav-item-mega:focus-within .mega-item,
.namaaly-scope .nav-item-mega.mega-active .mega-item {
  animation-play-state: running;
}

.namaaly-scope .mega-item:nth-child(1) {
  animation-delay: .04s;
}

.namaaly-scope .mega-item:nth-child(2) {
  animation-delay: .09s;
}

.namaaly-scope .mega-item:nth-child(3) {
  animation-delay: .14s;
}

@keyframes nexMegaIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(prefers-reduced-motion:reduce) {

  .namaaly-scope .mega-menu,
  .namaaly-scope .mega-item,
  .namaaly-scope .nav-mega-trigger i {
    transition: none;
    animation: none;
  }
}

/* Force the mega-menu closed while the page is actively scrolling so it
   doesn't hang open, mis-tracking the sticky nav, under the cursor. */
.namaaly-scope.mega-scrolling .mega-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.namaaly-scope .nav-cta .btn i {
  transition: transform .25s ease;
}

.namaaly-scope .nav-cta .btn:hover i.bi-whatsapp {
  transform: scale(1.15) rotate(-6deg);
}

.namaaly-scope .nav-cta .btn:hover i.bi-calendar2-check {
  transform: scale(1.1);
}

/* ---- Hamburger toggle ---- */
.namaaly-scope .hamburger {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.namaaly-scope .hamburger span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.namaaly-scope .hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.namaaly-scope .hamburger.active span:nth-child(2) {
  opacity: 0;
}

.namaaly-scope .hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile off-canvas menu ---- */
.namaaly-scope .mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 19, 22, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 90;
}

.namaaly-scope .mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.namaaly-scope .mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 340px);
  background: var(--paper);
  z-index: 95;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.25, .8, .3, 1);
  box-shadow: -14px 0 40px rgba(17, 19, 22, .2);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.namaaly-scope .mobile-menu.open {
  transform: translateX(0);
}

.namaaly-scope .mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.namaaly-scope .mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 16px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.namaaly-scope .mobile-menu-close:hover {
  background: var(--sand);
  transform: rotate(90deg);
}

.namaaly-scope .mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 14px 10px;
}

.namaaly-scope .mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
  border-radius: 10px;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}

.namaaly-scope .mobile-menu-links a i {
  color: var(--copper);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.namaaly-scope .mobile-menu-links a:hover,
.namaaly-scope .mobile-menu-links a:active {
  background: var(--sand);
  color: var(--teal-deep);
  transform: translateX(4px);
}

/* ---- Mobile ERPNext accordion submenu ---- */
.namaaly-scope .mobile-submenu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease;
}

.namaaly-scope .mobile-submenu-toggle span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.namaaly-scope .mobile-submenu-toggle i:not(.toggle-caret) {
  color: var(--copper);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.namaaly-scope .mobile-submenu-toggle:hover {
  background: var(--sand);
}

.namaaly-scope .toggle-caret {
  font-size: 12px;
  transition: transform .25s ease;
  color: rgba(26, 31, 43, .5);
}

.namaaly-scope .mobile-submenu-toggle[aria-expanded="true"] .toggle-caret {
  transform: rotate(180deg);
}

.namaaly-scope .mobile-submenu-panel {
  overflow: hidden;
  height: 0;
  transition: height .3s ease;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  margin-left: 22px;
}

.namaaly-scope .mobile-submenu-label {
  display: block;
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  padding: 14px 12px 4px;
}

.namaaly-scope .mobile-submenu-label:first-child {
  padding-top: 10px;
}

.namaaly-scope .mobile-submenu-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  color: rgba(26, 31, 43, .75);
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}

.namaaly-scope .mobile-submenu-panel a i {
  color: var(--teal-deep);
  font-size: 12px;
}

.namaaly-scope .mobile-submenu-panel a:hover {
  background: var(--sand);
  color: var(--teal-deep);
}

.namaaly-scope .mobile-menu-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 20px 20px;
}

.namaaly-scope .mobile-menu-ctas .btn {
  width: 100%;
  justify-content: center;
}

.namaaly-scope .mobile-menu-contact {
  margin-top: auto;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
}

.namaaly-scope .mobile-menu-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(26, 31, 43, .68);
}

.namaaly-scope .mobile-menu-contact i {
  color: var(--copper);
}

body.menu-open {
  overflow: hidden;
}

@media(max-width:767.98px) {
  .namaaly-scope .topbar-contacts span {
    display: none;
  }

  .namaaly-scope .topbar .container {
    justify-content: center;
  }
}

/* ---- Section generic ---- */
.namaaly-scope section {
  padding: 3rem 0;
}

.namaaly-scope .section-head {
  max-width: 750px;
  margin-bottom: 20px;
}

.namaaly-scope .section-head p {
  color: rgba(26, 31, 43, .7);
  font-size: 16px;
  margin-top: 12px;
}

.namaaly-scope .alt-bg {
  background: var(--sand);
}

/* ---- Footer ---- */
.namaaly-scope footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .68);
  padding: 64px 0 28px;
  font-size: 13.5px;
  position: relative;
  border-top: 3px solid transparent;
  background-image: linear-gradient(var(--navy-deep), var(--navy-deep)), linear-gradient(90deg, var(--red), var(--copper) 55%, var(--red));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.namaaly-scope .foot-logo {
  margin-bottom: 14px;
}

.namaaly-scope .foot-logo-img {
  height: 38px;
  width: auto;
  max-width: none;
}

.namaaly-scope .foot-col h5 {
  /* font-family: var(--mono); */
  font-size: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 16px;
}

.namaaly-scope .foot-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .7);
  padding: 5px 0;
  transition: color .2s ease, transform .2s ease;
  font-size: 15px;
}

.namaaly-scope .foot-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.namaaly-scope .foot-col a i,
.namaaly-scope footer>.container i {
  color: var(--copper);
}

.namaaly-scope .foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}


.namaaly-scope .foot-grid p {
  font-size: 15px;
  line-height: 20px;
}

/* =========================================================
   ICON SYSTEM
   Shared look for every Bootstrap Icon used across sections:
   soft circular badge, gentle hover lift/scale, and a
   staggered pop-in that rides along with .reveal.
   ========================================================= */
.namaaly-scope .icon-badge,
.namaaly-scope .cap-icon,
.namaaly-scope .work-icon,
.namaaly-scope .tier-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(22, 24, 27, .07);
  color: var(--teal-deep);
  border: 1px solid rgba(22, 24, 27, .14);
  font-size: 20px;
  margin-bottom: 16px;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}

/* Hero / dark-navy context: swap to a gold glass badge so icons actually
   read against the blue-on-blue background instead of disappearing into it */
.namaaly-scope .icon-badge {
  background: rgba(11, 110, 79, .14);
  color: var(--copper);
  border-color: rgba(11, 110, 79, .35);
}

.namaaly-scope .industry-card:hover .icon-badge {
  transform: scale(1.12) rotate(-4deg);
  background: rgba(11, 110, 79, .24);
  border-color: var(--copper);
}

.namaaly-scope .cap-card:hover .cap-icon,
.namaaly-scope .work-card:hover .work-icon {
  transform: scale(1.12) rotate(-4deg);
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.namaaly-scope .tier:hover .tier-icon {
  transform: scale(1.12) rotate(-4deg);
}

.namaaly-scope .tier.popular .tier-icon {
  background: rgba(11, 110, 79, .16);
  border-color: rgba(11, 110, 79, .4);
  color: var(--copper);
}

.namaaly-scope .stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(22, 24, 27, .07);
  border: 1px solid rgba(22, 24, 27, .14);
  font-size: 19px;
  color: var(--teal-deep);
  margin-bottom: 12px;
  transition: transform .3s ease;
}

.namaaly-scope .stat:hover .stat-icon {
  transform: translateY(-4px) scale(1.1);
}

.namaaly-scope .ind-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(22, 24, 27, .07);
  border: 1px solid rgba(22, 24, 27, .14);
  font-size: 20px;
  color: var(--teal-deep);
  margin-bottom: 12px;
  transition: transform .3s ease, color .3s ease, border-color .3s ease;
}

.namaaly-scope .ind-card:hover .ind-icon {
  transform: scale(1.15) rotate(-5deg);
  color: var(--copper-deep);
  border-color: rgba(11, 110, 79, .5);
  background: rgba(11, 110, 79, .12);
}

.namaaly-scope .p-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(22, 24, 27, .07);
  border: 1px solid rgba(22, 24, 27, .14);
  font-size: 18px;
  color: var(--teal-deep);
  margin: 2px 0 12px;
  transition: transform .3s ease;
}

.namaaly-scope .process-step:hover .p-icon {
  transform: translateX(4px) scale(1.08);
}

.namaaly-scope .proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--pacc, var(--copper)) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--pacc, var(--copper)) 40%, transparent);
  font-size: 20px;
  color: var(--pacc, var(--copper));
  margin-bottom: 12px;
  position: relative;
  transition: transform .3s ease;
}

.namaaly-scope .proof-card:hover .proof-icon {
  transform: rotate(-8deg) scale(1.12);
  background: color-mix(in srgb, var(--pacc, var(--copper)) 26%, transparent);
}

.namaaly-scope .calc-includes i,
.namaaly-scope table.compare td.win i,
.namaaly-scope .work-perks .perk i {
  color: var(--teal-deep);
  margin-right: 6px;
}

.namaaly-scope table.compare td.win i {
  color: var(--teal-deep);
}

.namaaly-scope .mod-item h4 i,
.namaaly-scope .mod-col-label i {
  color: var(--copper);
  margin-right: 6px;
}

.namaaly-scope .badge-popular i {
  margin-right: 4px;
  font-size: 10px;
}

.namaaly-scope .btn i {
  font-size: .95em;
}

@keyframes nexIconPop {
  0% {
    opacity: 0;
    transform: scale(.4) rotate(-8deg);
  }

  60% {
    opacity: 1;
    transform: scale(1.12) rotate(2deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.namaaly-scope .reveal.in-view .icon-badge,
.namaaly-scope .reveal.in-view .cap-icon,
.namaaly-scope .reveal.in-view .work-icon,
.namaaly-scope .reveal.in-view .tier-icon,
.namaaly-scope .reveal.in-view .stat-icon,
.namaaly-scope .reveal.in-view .ind-icon,
.namaaly-scope .reveal.in-view .p-icon,
.namaaly-scope .reveal.in-view .proof-icon {
  animation: nexIconPop .5s ease both;
  animation-delay: .15s;
}

@keyframes nexFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.namaaly-scope .bi-whatsapp {
  display: inline-block;
  animation: nexFloat 2.6s ease-in-out infinite;
}

@keyframes nexBadgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 var(--red-glow);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(22, 161, 119, 0);
  }
}

.namaaly-scope .badge-popular {
  animation: nexBadgePulse 2.2s ease-in-out infinite;
}

@media(prefers-reduced-motion:reduce) {

  .namaaly-scope .bi-whatsapp,
  .namaaly-scope .badge-popular {
    animation: none;
  }

  .namaaly-scope .reveal.in-view .icon-badge,
  .namaaly-scope .reveal.in-view .cap-icon,
  .namaaly-scope .reveal.in-view .work-icon,
  .namaaly-scope .reveal.in-view .tier-icon,
  .namaaly-scope .reveal.in-view .stat-icon,
  .namaaly-scope .reveal.in-view .ind-icon,
  .namaaly-scope .reveal.in-view .p-icon,
  .namaaly-scope .reveal.in-view .proof-icon {
    animation: none;
  }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
.namaaly-scope .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.namaaly-scope .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes nexFadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.namaaly-scope .anim-hero {
  animation: nexFadeInUp .7s ease both;
}

.namaaly-scope .anim-d1 {
  animation-delay: .08s;
}

.namaaly-scope .anim-d2 {
  animation-delay: .16s;
}

.namaaly-scope .anim-d3 {
  animation-delay: .24s;
}

.namaaly-scope .anim-d4 {
  animation-delay: .32s;
}

@media(prefers-reduced-motion:reduce) {

  .namaaly-scope .reveal,
  .namaaly-scope .anim-hero {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   PREMIUM REFRESH
   Bigger, more confident type scale + richer icon tiles so the
   whole page reads less "flat template" and more premium/agency.
   ========================================================= */

/* ---- Type scale bump (body copy was reading too small) ---- */
.namaaly-scope {
  font-size: 16.5px;
}

.namaaly-scope .section-head p {
  font-size: 17px;
}

.namaaly-scope .industry-card p,
.namaaly-scope .mod-item p,
.namaaly-scope .ind-card p,
.namaaly-scope .cap-card p,
.namaaly-scope .work-card p,
.namaaly-scope .process-step p,
.namaaly-scope .proof-card p,
.namaaly-scope .compare-card p,
.namaaly-scope .guarantee-row p {
  font-size: 15px;
}

.namaaly-scope .calc-includes li,
.namaaly-scope .tier-includes li,
.namaaly-scope .module-row,
.namaaly-scope table.compare {
  font-size: 15px;
}

.namaaly-scope .mod-item h4 {
  font-size: 16.5px;
}

.namaaly-scope .cap-card h3 {
  font-size: 19px;
}

.namaaly-scope .ind-card h4,
.namaaly-scope .work-card h4 {
  font-size: 17.5px;
}

.namaaly-scope .process-step h4 {
  font-size: 18px;
}

.namaaly-scope .navlinks a {
  font-size: 15.5px;
}

.namaaly-scope .btn {
  padding: 12px 22px;
  font-size: 15px;
}

/* ---- Icon tiles: bigger, with a soft gradient + lifted shadow so
   they read as premium badges instead of small flat color chips ---- */
.namaaly-scope .icon-badge,
.namaaly-scope .cap-icon,
.namaaly-scope .work-icon,
.namaaly-scope .tier-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 30px;
  background: linear-gradient(135deg, rgba(11, 110, 79, .24), rgba(11, 110, 79, .08));
  box-shadow: 0 10px 24px -10px rgba(11, 110, 79, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
  border-color: rgba(11, 110, 79, .4);
}

.namaaly-scope .stat-icon {
  width: 60px;
  height: 60px;
  font-size: 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22, 24, 27, .13), rgba(22, 24, 27, .04));
  box-shadow: 0 10px 22px -10px rgba(22, 24, 27, .4), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.namaaly-scope .ind-icon {
  width: 56px;
  height: 56px;
  font-size: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22, 24, 27, .13), rgba(22, 24, 27, .04));
  box-shadow: 0 10px 22px -10px rgba(22, 24, 27, .4), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.namaaly-scope .p-icon {
  width: 52px;
  height: 52px;
  font-size: 22px;
  border-radius: 14px;
}

.namaaly-scope .proof-icon {
  width: 56px;
  height: 56px;
  font-size: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 110, 79, .26), rgba(11, 110, 79, .1));
  box-shadow: 0 10px 22px -10px rgba(11, 110, 79, .5), inset 0 1px 0 rgba(255, 255, 255, .3);
}

/* ---- Banner entrance: left / right / center, instead of everything
   just fading up the same way ---- */
@keyframes nexSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-46px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nexSlideRight {
  from {
    opacity: 0;
    transform: translateX(46px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nexZoomIn {
  from {
    opacity: 0;
    transform: scale(.93) translateY(6px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.namaaly-scope .anim-left {
  animation: nexSlideLeft .85s cubic-bezier(.2, .8, .2, 1) both;
}

.namaaly-scope .anim-right {
  animation: nexSlideRight .85s cubic-bezier(.2, .8, .2, 1) both;
}

.namaaly-scope .anim-center {
  animation: nexZoomIn .85s cubic-bezier(.2, .8, .2, 1) both;
}

@media(prefers-reduced-motion:reduce) {

  .namaaly-scope .anim-left,
  .namaaly-scope .anim-right,
  .namaaly-scope .anim-center {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .namaaly-scope .navlinks a {
    font-size: 12.5px !important;
  }
    .namaaly-scope .btn {
    padding: 7px 7px;
    font-size: 12.5px;
  }

  .namaaly-scope .logo-img {
    height: auto;
    width: 130px;
    max-width: none;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .namaaly-scope .navlinks a {
    font-size: 14.5px !important;
  }

  .namaaly-scope .btn {
    padding: 12px 12px;
    font-size: 14.5px;
  }

  .namaaly-scope .logo-img {
    height: auto;
    width: 160px;
    max-width: none;
  }
}
/* =========================================================
   GLOBAL FOOTER — shared across every page
   ========================================================= */
.ref-footer {
  width: 100%;
  background: #07111f;
  color: rgba(255,255,255,.72);
  padding: 3.5rem 0 0;
  border-top: 3px solid #16A177;
  font-size: 13.5px;
  overflow: hidden;
}

.ref-footer .container {
  width: 100%;
}

.ref-footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1.05fr) minmax(0,.8fr) minmax(0,1.1fr);
  gap: 3rem;
  padding-bottom: 3rem;
}

.ref-footer-logo-wrap { margin-bottom: 1.25rem; }
.ref-footer-logo-img { width: 12.5rem; max-width: 100%; height: auto; display: block; }

.ref-footer-brand > p {
  font-size: 15.3px;
  line-height: 1.75;
  color: rgba(255,255,255,.75);
  margin: 0 0 1.25rem;
  max-width: 22rem;
}

.ref-footer-contact-lines { display:flex; flex-direction:column; gap:.8rem; }
.ref-footer-contact-lines a,
.ref-footer-col a {
  color: rgba(255,255,255,.72);
  text-decoration:none;
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  line-height:1.5;
  transition:color .2s ease, transform .2s ease;
}
.ref-footer-contact-lines a:hover,
.ref-footer-col a:hover { color:#fff; transform:translateX(2px); }

.ref-footer i { color:#16A177; font-size:16px; flex:0 0 auto; }
.ref-footer-contact-lines a:nth-child(2) i,
.ref-footer-contact p:last-child i { color:#16b47e; }

.ref-footer-col h5 {
  color:#fff;
  font-size:16px;
  font-weight:700;
  letter-spacing:.08em;
  margin:0 0 1.25rem;
  position:relative;
  padding-bottom:.7rem;
}
.ref-footer-col h5::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:2.25rem;
  height:2px;
  background:#16A177;
}
.ref-footer-col a { margin-bottom:.7rem; font-size:14.5px; }

.ref-footer-contact p {
  font-size:14.5px;
  line-height:1.7;
  color:rgba(255,255,255,.72);
  display:flex;
  gap:.7rem;
  margin:0 0 1.2rem;
}
.ref-footer-contact p i { margin-top:3px; }

.ref-footer-bottom {
  min-height:4.5rem;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  color:rgba(255,255,255,.62);
  font-size:13.5px;
}
.ref-socials { display:flex; align-items:center; gap:.8rem; }
.ref-socials a { color:#fff; text-decoration:none; font-size:18px; }
.ref-socials span { width:1px; height:20px; background:rgba(255,255,255,.18); }

@media (max-width:1199.98px) {
  .ref-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2.25rem 2.5rem; }
}

@media (max-width:767.98px) {
  .ref-footer { padding-top:2.75rem; }
  .ref-footer-grid { grid-template-columns:1fr; gap:2rem; padding-bottom:2rem; }
  .ref-footer-logo-img { width:10.5rem; }
  .ref-footer-brand > p { font-size:14.5px; max-width:none; }
  .ref-footer-col h5 { font-size:15px; margin-bottom:1rem; }
  .ref-footer-col a,
  .ref-footer-contact p { font-size:14px; }
  .ref-footer-contact-lines { gap:.65rem; }
  .ref-footer-bottom {
    min-height:0;
    padding:1.15rem 0;
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =========================================================
   HEADER CTA SKIN — MATCH BANNER BUTTONS
   UI only
   ========================================================= */
.namaaly-scope .nav-cta .btn.btn-outline {
  background: linear-gradient(135deg, #0f7f5e 0%, #16a177 100%) !important;
  border: 1px solid #0f7f5e !important;
  color: #fff !important;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.namaaly-scope .nav-cta .btn.btn-primary {
  background: #fff !important;
  border: 1px solid #d52b47 !important;
  color: #273142 !important;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.namaaly-scope .nav-cta .btn.btn-outline:hover {
  background: linear-gradient(135deg, #0c6d51 0%, #0f8f69 100%) !important;
  border-color: #0c6d51 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15,127,94,.18);
}

.namaaly-scope .nav-cta .btn.btn-primary:hover {
  background: #fff7f8 !important;
  border-color: #ce1737 !important;
  color: #273142 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(213,43,71,.10);
}

.namaaly-scope .nav-cta .btn i {
  font-weight: 500 !important;
}

/* =========================================================
   GLOBAL TEXT LEGIBILITY — COMMON SITE UI
   Keep icons untouched; increase only small textual UI.
   ========================================================= */
.namaaly-scope .navlinks a,
.namaaly-scope .nav-mega-trigger,
.namaaly-scope .mega-item,
.namaaly-scope .mobile-menu-ctas .btn,
.namaaly-scope .nav-cta .btn {
  font-size: 15px !important;
}

.namaaly-scope .industry-card p,
.namaaly-scope .mod-item p,
.namaaly-scope .ind-card p,
.namaaly-scope .cap-card p,
.namaaly-scope .work-card p,
.namaaly-scope .proof-card p,
.namaaly-scope .compare-card p {
  font-size: 14px !important;
  line-height: 1.55;
}

.namaaly-scope .ref-footer-col a,
.namaaly-scope .ref-footer-contact p,
.namaaly-scope .ref-footer-brand > p {
  font-size: 15px !important;
}

@media (max-width: 767.98px) {
  .namaaly-scope .navlinks a,
  .namaaly-scope .nav-mega-trigger,
  .namaaly-scope .mega-item,
  .namaaly-scope .mobile-menu-ctas .btn,
  .namaaly-scope .nav-cta .btn {
    font-size: 14px !important;
  }

  .namaaly-scope .industry-card p,
  .namaaly-scope .mod-item p,
  .namaaly-scope .ind-card p,
  .namaaly-scope .cap-card p,
  .namaaly-scope .work-card p,
  .namaaly-scope .proof-card p,
  .namaaly-scope .compare-card p {
    font-size: 13.5px !important;
  }
}

/* =========================================================
   HEADER RESPONSIVE FIX — 992px TO 1399px
   Keep header on ONE ROW. Do not allow logo/nav/CTA wrapping.
   Existing desktop button colors/skin remain unchanged.
   ========================================================= */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .namaaly-scope header.nav {
    padding: 13px 0;
  }

  .namaaly-scope header.nav > .container {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .namaaly-scope .logo {
    flex: 0 0 auto;
  }

  .namaaly-scope .logo-img {
    width: 125px !important;
    max-width: 125px !important;
  }

  .namaaly-scope .navlinks {
    flex: 1 1 auto;
    min-width: 0;
    gap: 13px !important;
    justify-content: center;
    white-space: nowrap;
  }

  .namaaly-scope .navlinks a,
  .namaaly-scope .nav-mega-trigger {
    font-size: 12.5px !important;
    white-space: nowrap;
  }

  .namaaly-scope .nav-cta {
    flex: 0 0 auto;
    gap: 5px !important;
    white-space: nowrap;
  }

  .namaaly-scope .nav-cta .btn {
    min-height: 44px !important;
    height: 44px;
    padding: 0 11px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }

  .namaaly-scope .nav-cta .btn i {
    font-size: 13px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .namaaly-scope header.nav > .container {
    flex-wrap: nowrap !important;
    gap: 16px !important;
  }

  .namaaly-scope .logo-img {
    width: 155px !important;
    max-width: 155px !important;
  }

  .namaaly-scope .navlinks {
    flex: 1 1 auto;
    min-width: 0;
    gap: 18px !important;
    justify-content: center;
    white-space: nowrap;
  }

  .namaaly-scope .navlinks a,
  .namaaly-scope .nav-mega-trigger {
    font-size: 14px !important;
    white-space: nowrap;
  }

  .namaaly-scope .nav-cta {
    flex: 0 0 auto;
    gap: 6px !important;
    white-space: nowrap;
  }

  .namaaly-scope .nav-cta .btn {
    min-height: 46px !important;
    height: 46px;
    padding: 0 15px !important;
    font-size: 13.5px !important;
    white-space: nowrap;
  }
}

/* Large desktop: always keep the complete header in one row. */
@media (min-width: 1400px) {
  .namaaly-scope header.nav > .container {
    flex-wrap: nowrap !important;
  }

  .namaaly-scope .navlinks,
  .namaaly-scope .nav-cta {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* =========================================================
   FINAL HORIZONTAL OVERFLOW SAFETY + HEADER WIDTH FIX
   Prevent any section/decorative animation from creating a
   page-level horizontal scrollbar while keeping inner sliders/tables usable.
   ========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.namaaly-scope {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.namaaly-scope *,
.namaaly-scope *::before,
.namaaly-scope *::after {
  box-sizing: border-box;
}

/* Header must never wrap between 992px and desktop widths. */
.namaaly-scope header.nav > .container {
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap !important;
}

.namaaly-scope .logo {
  flex: 0 0 auto !important;
  min-width: 0;
}

.namaaly-scope .navlinks {
  min-width: 0;
}

.namaaly-scope .nav-cta {
  flex: 0 0 auto !important;
  min-width: 0;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .namaaly-scope header.nav {
    padding: 12px 0;
  }

  .namaaly-scope header.nav > .container {
    gap: 8px !important;
  }

  .namaaly-scope .logo-img {
    width: 112px !important;
    max-width: 112px !important;
  }

  .namaaly-scope .navlinks {
    gap: 9px !important;
    justify-content: center;
    flex: 1 1 auto !important;
  }

  .namaaly-scope .navlinks a,
  .namaaly-scope .nav-mega-trigger {
    font-size: 11.5px !important;
    white-space: nowrap;
  }

  .namaaly-scope .nav-cta {
    gap: 4px !important;
  }

  .namaaly-scope .nav-cta .btn {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 8px !important;
    font-size: 10.8px !important;
    gap: 5px !important;
    white-space: nowrap;
  }

  .namaaly-scope .nav-cta .btn i {
    font-size: 12px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .namaaly-scope header.nav > .container {
    gap: 12px !important;
  }

  .namaaly-scope .logo-img {
    width: 142px !important;
    max-width: 142px !important;
  }

  .namaaly-scope .navlinks {
    gap: 13px !important;
    flex: 1 1 auto !important;
  }

  .namaaly-scope .navlinks a,
  .namaaly-scope .nav-mega-trigger {
    font-size: 13px !important;
    white-space: nowrap;
  }

  .namaaly-scope .nav-cta {
    gap: 5px !important;
  }

  .namaaly-scope .nav-cta .btn {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 11px !important;
    font-size: 12.5px !important;
    white-space: nowrap;
  }
}

@media (min-width: 1400px) {
  .namaaly-scope header.nav > .container {
    gap: 18px !important;
  }

  .namaaly-scope .navlinks {
    flex: 1 1 auto !important;
  }
}

/* Decorative visuals can extend outside their own box, but never outside
   the page viewport. */
.namaaly-scope .hero-banner,
.namaaly-scope .connected-departments-section,
.namaaly-scope .platform-modules-section,
.namaaly-scope .one-platform-workflow {
  max-width: 100%;
}

/* =========================================================
   HEADER NAV ALIGNMENT FIX
   Keep ERPNext dropdown trigger perfectly level with all
   other desktop navigation items.
   ========================================================= */
@media (min-width: 992px) {
  .namaaly-scope .navlinks {
    display: flex !important;
    align-items: center !important;
    height: 100%;
  }

  .namaaly-scope .navlinks > a,
  .namaaly-scope .navlinks > .nav-item-mega {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .namaaly-scope .navlinks > a {
    line-height: 1.2 !important;
  }

  .namaaly-scope .navlinks > .nav-item-mega {
    position: static !important;
    padding-bottom: 0 !important;
  }

  .namaaly-scope .nav-mega-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .namaaly-scope .nav-mega-trigger i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    position: relative !important;
    top: 0 !important;
  }
}

/* =========================================================
   MOBILE / TABLET READABILITY — FINAL OVERRIDE
   Keep desktop typography unchanged; improve small screens.
   ========================================================= */
@media (max-width: 991.98px) {
  .namaaly-scope,
  .namaaly-scope body {
    font-size: 16px;
  }

  .namaaly-scope p {
    font-size: 15.5px !important;
    line-height: 1.58 !important;
  }

  .namaaly-scope li {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .namaaly-scope small {
    font-size: 13px !important;
  }
}

@media (max-width: 767.98px) {
  .namaaly-scope p {
    font-size: 15.5px !important;
    line-height: 1.58 !important;
  }

  .namaaly-scope li {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .namaaly-scope .cd-item p,
  .namaaly-scope .connected-departments-copy p,
  .namaaly-scope .one-platform-copy p,
  .namaaly-scope .one-platform-card p,
  .namaaly-scope .op-flow-caption p {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
  }
}

/* =========================================================
   FINAL MOBILE / TABLET HEADER LOGO SIZE
   Keep the existing desktop header unchanged.
   ========================================================= */
@media (min-width: 768px) and (max-width: 991.98px) {
  .namaaly-scope .logo-img {
    width: 145px !important;
    max-width: 145px !important;
    height: auto !important;
  }
}

@media (max-width: 767.98px) {
  .namaaly-scope .logo-img {
    width: 125px !important;
    max-width: 125px !important;
    height: auto !important;
  }
}


/* =========================================================
   MEGA MENU FINAL SPACING + LINK CLEANUP
   ========================================================= */
.namaaly-scope .mega-menu-inner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 64px;
  align-items: start;
}

.namaaly-scope .mega-col {
  min-width: 0;
  gap: 6px;
}

.namaaly-scope .mega-col-title {
  margin-bottom: 12px;
}

.namaaly-scope .mega-item {
  font-size: 15px !important;
  line-height: 1.45;
  padding: 6px 0;
}

.namaaly-scope .mega-feature {
  max-width: 250px;
  padding-left: 8px;
}

.namaaly-scope .mega-feature h4 {
  font-size: 16px !important;
  line-height: 1.25;
  margin-bottom: 8px;
}

.namaaly-scope .mega-feature p {
  font-size: 13.5px !important;
  line-height: 1.5;
  margin-bottom: 8px;
}

.namaaly-scope .mega-feature .mega-item {
  font-size: 14px !important;
  padding: 4px 0;
}

.namaaly-scope .mobile-submenu-description {
  margin: 0 0 8px;
  padding: 0 0 4px 27px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-dark);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .namaaly-scope .mega-menu {
    padding: 28px 0;
  }
  .namaaly-scope .mega-menu-inner {
    column-gap: 30px;
  }
  .namaaly-scope .mega-item {
    font-size: 13.5px !important;
  }
  .namaaly-scope .mega-feature {
    max-width: 210px;
  }
}

@media (min-width: 1200px) {
  .namaaly-scope .mega-menu-inner {
    column-gap: 58px;
  }
}

@media (max-width: 991.98px) {
  .namaaly-scope .mega-menu {
    display: none;
  }
}

/* =========================================================
   MEGA MENU — FINAL 4TH COLUMN VISIBILITY FIX
   ========================================================= */
.namaaly-scope .mega-menu-inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.namaaly-scope .mega-col {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.namaaly-scope .mega-feature {
  width: 100%;
  max-width: 100% !important;
  min-width: 0;
  padding-left: 0;
  box-sizing: border-box;
  overflow: visible;
}

.namaaly-scope .mega-feature h4,
.namaaly-scope .mega-feature p,
.namaaly-scope .mega-feature .mega-item {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  box-sizing: border-box;
}

.namaaly-scope .mega-feature p {
  width: 100%;
}

@media (min-width: 992px) {
  .namaaly-scope .mega-menu-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .namaaly-scope .mega-menu-inner {
    column-gap: 24px;
  }
}

@media (min-width: 1200px) {
  .namaaly-scope .mega-menu-inner {
    column-gap: 42px;
  }
}

/* =========================================================
   PREMIUM FAQ ACCORDION — shared across all pages
   Content unchanged; visual/interaction only.
   ========================================================= */
.namaaly-scope .faq-list {
  display: grid;
  gap: 12px;
  border: 0;
}

.namaaly-scope .faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15,110,92,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 28px rgba(26,31,43,.055);
  padding: 0 !important;
  transition: border-color .3s ease, box-shadow .35s ease, transform .35s ease;
}

.namaaly-scope .faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(15,110,92,.28);
  box-shadow: 0 14px 34px rgba(26,31,43,.09);
}

.namaaly-scope .faq-item.active {
  border-color: rgba(15,110,92,.34);
  box-shadow: 0 16px 38px rgba(15,110,92,.10);
}

.namaaly-scope .faq-item h3 {
  position: relative;
  margin: 0 !important;
  padding: 21px 68px 21px 22px !important;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy, #1a1f2b);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.namaaly-scope .faq-item h3 i {
  flex: 0 0 auto;
  color: var(--teal-deep, #0f6e5c);
  font-size: 15px;
  transition: transform .35s ease;
}

.namaaly-scope .faq-item h3::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(15,110,92,.18);
  border-radius: 50%;
  color: var(--teal-deep, #0f6e5c);
  background: #f4faf8;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .3s ease, color .3s ease;
}

.namaaly-scope .faq-item.active h3::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
  color: #fff;
  background: var(--teal-deep, #0f6e5c);
}

.namaaly-scope .faq-item p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0 !important;
  padding: 0 68px 0 48px !important;
  color: rgba(26,31,43,.68);
  font-size: 14.5px;
  line-height: 1.75;
  transition: max-height .42s cubic-bezier(.22,1,.36,1), opacity .28s ease, padding .42s ease;
}

.namaaly-scope .faq-item.active p {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 22px !important;
}

.namaaly-scope .faq-item.active h3 i {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .namaaly-scope .faq-item h3 {
    padding: 18px 58px 18px 18px !important;
    font-size: 15px;
  }
  .namaaly-scope .faq-item p {
    padding-left: 44px !important;
    padding-right: 52px !important;
    font-size: 14px;
  }
  .namaaly-scope .faq-item.active p {
    padding-bottom: 18px !important;
  }
}


/* =========================================================
   GLOBAL GREEN BRAND OVERRIDES — all non-home pages
   Keep Bootstrap utility classes aligned with the Namaaly green palette.
   ========================================================= */
.namaaly-scope .btn-danger,
.namaaly-scope .btn-success {
  --bs-btn-bg: #16A177;
  --bs-btn-border-color: #16A177;
  --bs-btn-hover-bg: #0F7F5E;
  --bs-btn-hover-border-color: #0F7F5E;
  --bs-btn-active-bg: #0F7F5E;
  --bs-btn-active-border-color: #0F7F5E;
  background-color: #16A177;
  border-color: #16A177;
  color: #fff;
}
.namaaly-scope .text-danger { color: #16A177 !important; }
.namaaly-scope .bg-danger { background-color: #16A177 !important; }
.namaaly-scope .border-danger { border-color: #16A177 !important; }

/* =========================================================
   MEGA MENU — CLEAN CONTAINER PANEL
   Keep the dropdown visually contained instead of full-width.
   ========================================================= */
.namaaly-scope .mega-menu {
  left: 50%;
  right: auto;
  width: min(1180px, calc(100vw - 48px));
  max-width: 1180px;
  box-sizing: border-box;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  transform: translate(-50%, 6px);
}

.namaaly-scope .nav-item-mega:hover .mega-menu,
.namaaly-scope .nav-item-mega:focus-within .mega-menu,
.namaaly-scope .nav-item-mega.mega-active .mega-menu {
  transform: translate(-50%, 0);
}

.namaaly-scope .mega-menu-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .namaaly-scope .mega-menu {
    width: min(960px, calc(100vw - 32px));
    padding: 28px 28px;
  }
}

@media (max-width: 991.98px) {
  .namaaly-scope .mega-menu {
    width: auto;
    max-width: none;
    border-radius: 0;
  }
}
