/* ============================================================
   SAIF SEO — Shared Navigation Styles
   Copied from homepage design exactly.
   ============================================================ */

/* ── Nav shell ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(14px);
  background: rgba(20,18,22,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled {
  border-bottom-color: #2a272d;
  background: rgba(13,12,15,.85);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}

/* ── Logo ── */
.logo {
  font-family: 'Manrope', monospace;
  font-weight: 800; letter-spacing: .08em; font-size: 18px;
  display: flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none;
}

/* ── Desktop nav links row ── */
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px; font-weight: 600; color: #a1a1aa;
}
.nav-links a {
  transition: color .25s ease;
  text-decoration: none; color: inherit;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #a7e54d; }

/* ── Desktop CTA ── */
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ── Services dropdown wrap ── */
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 5px;
  cursor: pointer;
}
.nav-item > a .chev {
  width: 14px; height: 14px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
  flex-shrink: 0;
}
.nav-item:hover > a .chev { transform: rotate(180deg); }
.nav-item > a.active { color: #a7e54d; }

/* ── Dropdown panel ── */
.dropdown {
  position: absolute; top: calc(100% + 2px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 300px;
  background: #201e23;
  border: 1px solid #3a363f;
  border-radius: 16px;
  padding:14px 8px 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s cubic-bezier(.2,.7,.2,1),
              transform .25s cubic-bezier(.2,.7,.2,1),
              visibility .25s;
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.nav-item:hover .dropdown {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Arrow tip on dropdown */
.dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #201e23;
  border-left: 1px solid #3a363f;
  border-top: 1px solid #3a363f;
}

/* ADD this new rule to nav.css */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  background: transparent;
  z-index: 99;
  pointer-events: none;
  display: block;
}

.nav-item:hover::after {
  pointer-events: auto;
}

/* Header row inside dropdown */
.drop-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #808080;
}
.drop-footer a {
  font-size: 11px; font-weight: 700; color: #a7e54d;
  display: flex; align-items: center; gap: 4px;
  letter-spacing: .06em; text-decoration: none;
  transition: gap .2s ease;
}
.drop-footer a:hover { gap: 8px; }

.drop-divider { height: 1px; background: #2a272d; margin: 4px 6px; }

/* Dropdown service items */
.drop-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  transition: background .2s ease;
  text-decoration: none;
}
.drop-item:hover { background: rgba(167,229,77,.08); }
.drop-item.active { background: rgba(167,229,77,.06); }

.drop-icon {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: rgba(167,229,77,.1);
  border: 1px solid rgba(167,229,77,.15);
  display: grid; place-items: center; color: #a7e54d;
  margin-top: 1px;
}
.drop-icon svg { width: 16px; height: 16px; }

.drop-title {
  font-size: 13px; font-weight: 700; color: #fff;
  display: block; line-height: 1.2;
}
.drop-item.active .drop-title { color: #a7e54d; }
.drop-desc {
  font-size: 12px; color: #808080; margin-top: 3px;
  display: block; line-height: 1.4;
}

/* ── Hamburger button ── */
.mobile-toggle {
  display: none;
  width: 40px; height: 40px; padding: 0; border-radius: 10px;
  border: none; background: none; cursor: pointer; color: #fff;
  transition: background .3s ease; position: relative;
  align-items: center; justify-content: center;
}
.mobile-toggle:hover { background: #1a181d; }
.icon-bar {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  position: absolute; left: 9px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              opacity .25s ease, top .35s cubic-bezier(.2,.7,.2,1);
}
.icon-bar:nth-child(1) { top: 12px; }
.icon-bar:nth-child(2) { top: 19px; }
.icon-bar:nth-child(3) { top: 26px; }
.mobile-toggle.open .icon-bar:nth-child(1) { top: 19px; transform: rotate(45deg); }
.mobile-toggle.open .icon-bar:nth-child(2) { opacity: 0; transform: translateX(6px); }
.mobile-toggle.open .icon-bar:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ── Mobile dropdown panel ── */
.mobile-menu {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1);
  background: rgba(10,9,12,.97);
  border-top: 1px solid transparent;
  backdrop-filter: blur(20px);
}
.mobile-menu.open {
  grid-template-rows: 1fr;
  border-top-color: #2a272d;
}
.mobile-menu-inner { overflow: hidden; }
.mobile-menu-body {
  padding: 16px clamp(20px,4vw,56px) 28px;
  display: flex; flex-direction: column;
}

/* Mobile plain links */
.mob-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 0;
  font-size: 16px; font-weight: 600; color: #a1a1aa;
  text-decoration: none; background: none; border: none;
  font-family: inherit; cursor: pointer;
  border-bottom: 1px solid #1e1c21;
  transition: color .25s ease, padding-left .3s ease;
}
.mob-link:hover { color: #fff; padding-left: 6px; }
.mob-link.active { color: #a7e54d; }
.mob-link-arr {
  font-size: 18px; color: #3a363f;
  transition: color .25s ease, transform .3s ease;
}
.mob-link:hover .mob-link-arr { color: #a7e54d; transform: translateX(4px); }

/* Mobile services accordion */
.mob-services-wrap { border-bottom: 1px solid #1e1c21; }
.mob-services-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 0; border-bottom: none;
  font-family: inherit; font-weight: 600; font-size: 16px; color: #a1a1aa;
  background: none; border: none; cursor: pointer;
  transition: color .25s ease;
}
.mob-services-btn:hover { color: #fff; }
.mob-services-btn.active { color: #a7e54d; }
.mob-chevron {
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.mob-services-btn.open .mob-chevron { transform: rotate(180deg); }

.mob-services-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.2,.7,.2,1);
}
.mob-services-panel.open { grid-template-rows: 1fr; }
.mob-services-panel > * { overflow: hidden; }

/* Mobile service links with icon + desc style */
.mob-service-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0 11px 16px;
  font-size: 15px; font-weight: 500; color: #808080;
  text-decoration: none;
  border-top: 1px solid #1a1820;
  transition: color .25s ease, padding-left .3s ease;
}
.mob-service-link:hover { color: #fff; padding-left: 22px; }
.mob-service-link.active { color: #a7e54d; }
.msl-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #3a363f; flex-shrink: 0;
  transition: background .25s ease;
}
.mob-service-link:hover .msl-dot,
.mob-service-link.active .msl-dot { background: #a7e54d; }

/* Mobile CTA */
.mob-cta-wrap { margin-top: 20px; }
.mob-cta-wrap .btn { width: 100%; justify-content: center; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .mobile-toggle { display: flex; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ── Shared button styles ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: .01em;
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              background .35s cubic-bezier(.2,.7,.2,1),
              color .35s cubic-bezier(.2,.7,.2,1),
              box-shadow .35s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap; text-decoration: none;
  font-family: inherit; border: none; cursor: pointer;
}
.btn-primary {
  background: #a7e54d; color: #0f1a05;
  box-shadow: 0 10px 30px -10px rgba(167,229,77,.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(167,229,77,.7);
}
.btn .arr { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================
   SERVICES LIST SECTION — matches homepage .help-list exactly
   ============================================================ */
.srv-section { padding: clamp(36px,5vw,64px) 0; position: relative; }
.srv-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .22em; font-weight: 700;
  color: #a7e54d; text-transform: uppercase;
}
.srv-eyebrow::before { content: ''; width: 28px; height: 1px; background: #a7e54d; }
.srv-heading {
  font-size: clamp(28px,3.8vw,48px); line-height: 1.08;
  text-transform: uppercase; letter-spacing: -.01em;
  color: #fff; margin: 16px 0 0; font-weight: 700;
}

.srv-list { margin-top: 20px; border-top: 1px solid #2a272d; }

.srv-item {
  position: relative; display: grid;
  grid-template-columns: 80px 1fr 1.2fr 40px;
  align-items: center; gap: 28px;
  padding: 28px 12px; border-bottom: 1px solid #2a272d;
  text-decoration: none; color: inherit;
  transition: background .5s cubic-bezier(.2,.7,.2,1),
              padding .5s cubic-bezier(.2,.7,.2,1);
  cursor: pointer; overflow: hidden;
}
@media (max-width: 760px) {
  .srv-item { grid-template-columns: 50px 1fr 30px; }
  .srv-item .srv-item-desc { grid-column: 1 / -1; padding-left: 78px; }
}
.srv-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(167,229,77,.14), transparent 55%);
  transform: translateX(-100%);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.srv-item:hover::before { transform: translateX(0); }
.srv-item:hover { padding-left: 28px; padding-right: 28px; }

.srv-item-num {
  position: relative; z-index: 1;
  font-family: 'Manrope', monospace; font-weight: 700;
  font-size: 22px; color: #808080;
  transition: color .45s ease, letter-spacing .45s ease;
}
.srv-item:hover .srv-item-num { color: #a7e54d; letter-spacing: .05em; }

.srv-item-body { position: relative; z-index: 1; }
.srv-item-title {
  font-size: clamp(20px,2vw,28px); font-weight: 700; color: #fff;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  letter-spacing: -.01em;
}
.srv-item:hover .srv-item-title { transform: translateX(8px); }
.srv-item-desc { color: #a1a1aa; font-size: 15px; }

.srv-item-arr {
  position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #3a363f; color: #fff;
  display: grid; place-items: center;
  transition: background .45s ease, color .45s ease,
              border-color .45s ease, transform .45s ease;
}
.srv-item:hover .srv-item-arr {
  background: #a7e54d; color: #0f1a05;
  border-color: #a7e54d; transform: rotate(-45deg) scale(1.08);
}

.srv-cta {
  margin-top: 36px; display: flex; justify-content: center;
}
