/* Premium services archive revamp for /services/ and /ar/services/. */
body.post-type-archive-services {
  overflow-x: hidden;
}
body.post-type-archive-services *,
body.post-type-archive-services *::before,
body.post-type-archive-services *::after {
  box-sizing: border-box;
}
.nw-services-page {
  --nw-dark: #071f2d;
  --nw-dark-2: #112b37;
  --nw-teal: #23c8bf;
  --nw-orange: #f4a261;
  --nw-ink: #132b37;
  --nw-muted: #5a6d78;
  color: var(--nw-ink);
  background: #fff;
}
.nw-services-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 13px;
  border-radius: 999px;
  color: #14aaa1;
  background: rgba(35,200,191,.12);
  border: 1px solid rgba(35,200,191,.28);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
  line-height: 1.35;
}
body.rtl .nw-services-kicker { letter-spacing: 0; }
.nw-services-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(54px, 8vw, 92px) 0 clamp(96px, 9vw, 128px);
  color: #fff;
  background:
    radial-gradient(circle at 13% 14%, rgba(35,200,191,.25), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(244,162,97,.18), transparent 30%),
    linear-gradient(135deg, #061c2a 0%, #0a3442 51%, #24303b 100%);
}
.nw-services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 56% 22%, #000 0%, transparent 70%);
}
.nw-services-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(42px);
  z-index: -1;
}
body.rtl .nw-services-hero::after { right: auto; left: 8%; }
.nw-services-hero .waveWrapper { pointer-events: none; }
.nw-services-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .76fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}
.nw-services-hero__copy h1 {
  margin: 17px 0 18px;
  max-width: 820px;
  color: #fff;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 950;
  text-shadow: 0 18px 45px rgba(0,0,0,.24);
}
body.rtl .nw-services-hero__copy h1 {
  line-height: 1.17;
  letter-spacing: -.012em;
}
.nw-services-hero__copy p {
  max-width: 690px;
  color: rgba(255,255,255,.84);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
}
.nw-services-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}
.nw-services-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.88);
  font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: 5px;
}
.nw-services-text-link:hover { color: var(--nw-teal); text-decoration: none; }
.nw-services-hero__panel {
  position: relative;
  min-height: 420px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 45% 40%, rgba(35,200,191,.22), transparent 43%),
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 32px 85px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.nw-services-hero__panel::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px solid rgba(35,200,191,.26);
  box-shadow: inset 0 0 60px rgba(35,200,191,.14);
}
.nw-services-hero__panel::after {
  content: "\f10b";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: FontAwesome;
  font-size: 130px;
  color: rgba(255,255,255,.09);
}
.nw-services-orbit-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: rgba(5, 26, 38, .76);
  border: 1px solid rgba(35,200,191,.24);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  font-weight: 900;
}
.nw-services-orbit-card i {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  color: #05202c;
  background: linear-gradient(135deg, var(--nw-teal), #a7fff9);
}
.nw-services-orbit-card--ai { top: 42px; left: 34px; }
.nw-services-orbit-card--mobile { top: 122px; right: 34px; }
.nw-services-orbit-card--web { bottom: 118px; left: 52px; }
.nw-services-orbit-card--platforms { bottom: 42px; right: 40px; }
body.rtl .nw-services-orbit-card--ai { left: auto; right: 34px; }
body.rtl .nw-services-orbit-card--mobile { right: auto; left: 34px; }
body.rtl .nw-services-orbit-card--web { left: auto; right: 52px; }
body.rtl .nw-services-orbit-card--platforms { right: auto; left: 40px; }
.nw-services-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 0 20px;
  margin-top: -48px;
  pointer-events: none;
}
.admin-bar .nw-services-nav { top: 32px; }
.nw-services-nav__inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(35,200,191,.16);
  box-shadow: 0 20px 60px rgba(12,42,55,.13);
  backdrop-filter: blur(12px);
}
.nw-services-nav__inner a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--nw-ink);
  background: #f7fbfb;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease;
}
.nw-services-nav__inner a i { color: #16aaa2; }
.nw-services-nav__inner a:hover {
  transform: translateY(-3px);
  color: #fff;
  background: linear-gradient(135deg, #0d3442, #18b9af);
  box-shadow: 0 18px 35px rgba(35,200,191,.18);
}
.nw-services-nav__inner a:hover i { color: #fff; }
.nw-services-groups {
  padding: clamp(38px, 6vw, 70px) 0 clamp(56px, 7vw, 86px);
  background:
    radial-gradient(circle at 8% 16%, rgba(35,200,191,.1), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}
.nw-service-group {
  padding: clamp(28px, 5vw, 46px);
  border-radius: 34px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(19,43,55,.08);
  box-shadow: 0 24px 70px rgba(19,43,55,.08);
}
.nw-service-group + .nw-service-group { margin-top: 34px; }
.nw-service-group__head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}
.nw-service-group__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #0d3442, #23c8bf);
  box-shadow: 0 18px 40px rgba(35,200,191,.22);
  font-size: 28px;
}
.nw-service-group h2 {
  margin: 12px 0 10px;
  color: var(--nw-ink);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.06;
}
body.rtl .nw-service-group h2 { letter-spacing: -.01em; line-height: 1.18; }
.nw-service-group__head p {
  max-width: 860px;
  margin: 0;
  color: var(--nw-muted);
  font-size: 16px;
  line-height: 1.78;
}
.nw-service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.nw-service-card {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(19,43,55,.08);
  box-shadow: 0 16px 40px rgba(19,43,55,.065);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.nw-service-card::before {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(35,200,191,.14), rgba(244,162,97,.17));
}
body.rtl .nw-service-card::before { right: auto; left: -44px; }
.nw-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35,200,191,.35);
  box-shadow: 0 28px 62px rgba(19,43,55,.12);
}
.nw-service-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #0b3342;
  background: rgba(35,200,191,.13);
  font-size: 18px;
}
.nw-service-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  color: var(--nw-ink);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.26;
}
.nw-service-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--nw-muted);
  font-size: 14px;
  line-height: 1.65;
}
.nw-service-card__link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #118f88;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}
.nw-service-card__link:hover { color: var(--nw-orange); text-decoration: none; }
.nw-services-process {
  padding: clamp(58px, 7vw, 90px) 0;
  background: #fff;
}
.nw-services-process__card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: 36px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(35,200,191,.22), transparent 32%),
    linear-gradient(135deg, #071f2d, #25323d);
  box-shadow: 0 30px 85px rgba(19,43,55,.18);
  overflow: hidden;
}
.nw-services-process__card .nw-services-kicker { color: #79fff7; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.nw-services-process__card h2 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 950;
  line-height: 1.06;
}
.nw-services-process__card p { color: rgba(255,255,255,.78); line-height: 1.78; margin: 0; }
.nw-services-process__card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nw-services-process__card li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-weight: 900;
}
.nw-services-process__card li span {
  color: #f9b06a;
  font-weight: 950;
}
.nw-services-cta {
  padding: 0 0 clamp(70px, 8vw, 110px);
  background: linear-gradient(180deg, #fff 0%, #f6fbfb 100%);
}
.nw-services-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(35,200,191,.13), rgba(244,162,97,.16));
  border: 1px solid rgba(35,200,191,.18);
}
.nw-services-cta__inner h2 {
  margin: 0 0 8px;
  color: var(--nw-ink);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 950;
  line-height: 1.1;
}
.nw-services-cta__inner p { margin: 0; color: var(--nw-muted); line-height: 1.7; }
@media (max-width: 1199px) {
  .nw-service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .nw-services-hero { padding-top: 44px; }
  .nw-services-hero__grid { grid-template-columns: 1fr; }
  .nw-services-hero__panel { min-height: 330px; }
  .nw-services-nav { position: relative; top: auto; margin-top: -46px; }
  .admin-bar .nw-services-nav { top: auto; }
  .nw-services-nav__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-services-process__card { grid-template-columns: 1fr; }
  .nw-services-cta__inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 767px) {
  .nw-services-hero { padding: 34px 0 86px; }
  .nw-services-hero__copy h1 { font-size: clamp(32px, 10vw, 42px); }
  .nw-services-hero__actions .btn-g { width: 100%; justify-content: center; }
  .nw-services-text-link { margin-inline: auto; }
  .nw-services-hero__panel { display: grid; grid-template-columns: 1fr; gap: 10px; min-height: 0; padding: 18px; }
  .nw-services-hero__panel::before,
  .nw-services-hero__panel::after { display: none; }
  .nw-services-orbit-card,
  .nw-services-orbit-card--ai,
  .nw-services-orbit-card--mobile,
  .nw-services-orbit-card--web,
  .nw-services-orbit-card--platforms,
  body.rtl .nw-services-orbit-card--ai,
  body.rtl .nw-services-orbit-card--mobile,
  body.rtl .nw-services-orbit-card--web,
  body.rtl .nw-services-orbit-card--platforms {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
  }
  .nw-services-nav__inner { display: flex; overflow-x: auto; gap: 10px; padding: 10px; scroll-snap-type: x mandatory; }
  .nw-services-nav__inner a { flex: 0 0 78%; scroll-snap-align: start; justify-content: flex-start; text-align: start; }
  .nw-service-group { padding: 22px; border-radius: 28px; }
  .nw-service-group__head { grid-template-columns: 1fr; gap: 14px; }
  .nw-service-group__icon { width: 62px; height: 62px; border-radius: 20px; }
  .nw-service-card-grid { grid-template-columns: 1fr; gap: 14px; }
  .nw-service-card { min-height: 0; padding: 20px; border-radius: 22px; }
  .nw-services-process__card { padding: 26px; border-radius: 30px; }
  .nw-services-cta__inner { border-radius: 28px; }
  .nw-services-cta__inner .btn-g { width: 100%; justify-content: center; }
}
@media (max-width: 575px) {
  .nw-services-kicker { font-size: 10px; padding: 6px 10px; }
  .nw-services-nav__inner a { flex-basis: 84%; }
  .nw-service-group h2,
  .nw-services-process__card h2,
  .nw-services-cta__inner h2 { font-size: clamp(27px, 8vw, 34px); }
}
