/* ── INDUSTRY COLOR PALETTES ── */
.industry-retail {
  --card-bg-from: #052010;
  --card-bg-to: #071e18;
  --border-from: #0d7a4a;
  --border-to: #10b981;
  --accent-primary: #6ee7b7;
  --accent-secondary: #10b981;
  --text-primary: #ffffff;
  --text-secondary: #7ac8a0;
  --text-muted: #3a6a4a;
  --bar-fill: #0d7a4a;
  --bar-fill-alt: #10b981;
  --badge-bg: rgba(13, 122, 74, 0.25);
  --progress-stroke: #6ee7b7;
}

.industry-logistics {
  --card-bg-from: #0e1e38;
  --card-bg-to: #0a1a30;
  --border-from: #1d6fb8;
  --border-to: #0891b2;
  --accent-primary: #fbbf24;
  --accent-secondary: #60a5fa;
  --text-primary: #ffffff;
  --text-secondary: #7ab0d8;
  --text-muted: #3a5a7a;
  --bar-fill: #1d6fb8;
  --bar-fill-alt: #fbbf24;
  --badge-bg: rgba(29, 111, 184, 0.25);
  --progress-stroke: #fbbf24;
}

.industry-professional {
  --card-bg-from: #18106a;
  --card-bg-to: #120e40;
  --border-from: #7c3aed;
  --border-to: #a78bfa;
  --accent-primary: #c4b5fd;
  --accent-secondary: #a78bfa;
  --text-primary: #ffffff;
  --text-secondary: #9888d8;
  --text-muted: #5a4a8a;
  --bar-fill: #7c3aed;
  --bar-fill-alt: #a78bfa;
  --badge-bg: rgba(124, 58, 237, 0.25);
  --progress-stroke: #c4b5fd;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-eyebrow.light {
  color: rgba(255, 255, 255, 0.6);
}

.section-eyebrow.light::before {
  background: rgba(255, 255, 255, 0.4);
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 em {
  font-style: italic;
  color: var(--blue);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb-sep {
  color: var(--border);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--blue);
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--blue);
  transition: background 0.2s;
}

.btn-outline:hover {
  background: var(--blue-light);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition:
    background 0.2s,
    border-color 0.2s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  padding: 148px 6vw 90px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 47px,
    var(--blue-mid) 47px,
    var(--blue-mid) 48px
  );
  opacity: 0.22;
  pointer-events: none;
}

.page-hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

.hero-img {
  width: 100%;
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  z-index: 5;
}

.hero-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-hero h1 {
  margin-bottom: 1.25rem;
}

.page-hero-lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Service quick-nav pills */
.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 4.5rem;
}

.service-nav a {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  background: var(--white);
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.service-nav a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

/* ── SERVICES OVERVIEW GRID ───────────────────────────────── */
.overview-section {
  padding: 5rem 6vw;
  background: var(--white);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 3rem;
}

.overview-card {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.22s;
  text-decoration: none;
  display: block;
  position: relative;
}

.overview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #4a90d9);
  opacity: 0;
  transition: opacity 0.25s;
}

.overview-card:hover {
  background: var(--blue-light);
}

.overview-card:hover::before {
  opacity: 1;
}

.overview-card:nth-child(3n) {
  border-right: none;
}

.overview-card:nth-child(n + 4) {
  border-bottom: none;
}

.ov-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--blue-mid);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.22s;
}

.overview-card:hover .ov-num {
  color: var(--blue);
}

.ov-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.overview-card.industry-retail .ov-icon {
  color: var(--accent-primary);
  background: var(--card-bg-to);
}

.overview-card.industry-logistics .ov-icon {
  color: var(--accent-primary);
  background: var(--card-bg-to);
}

.overview-card.industry-professional .ov-icon {
  color: var(--accent-primary);
  background: var(--card-bg-to);
}

.ov-icon svg {
  width: 22px;
  height: 22px;
}

.ov-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.ov-desc {
  font-size: 0.858rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
}

.ov-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.2s;
}

.overview-card:hover .ov-link {
  opacity: 1;
}

/* ── SERVICE DETAIL SECTIONS ──────────────────────────────── */
.service-section {
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.service-section:nth-child(even) {
  background: var(--off-white);
}

.service-section:nth-child(odd) {
  background: var(--white);
}

.service-inner {
  padding: 5.5rem 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.service-section:nth-child(even) .service-inner {
  direction: rtl;
}

.service-section:nth-child(even) .service-inner > * {
  direction: ltr;
}

.service-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.service-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.service-content h2 {
  margin-bottom: 1rem;
}

.service-intro {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

/* Use cases block */
.use-cases-block {
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
}

.use-cases-block h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.use-case-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.use-case-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.55;
}

.use-case-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 6px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* Benefits & deliverables */
.bd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.bd-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 1.25rem 1.25rem;
  transition:
    border-color 0.22s,
    box-shadow 0.22s;
}

.service-section:nth-child(even) .bd-card {
  background: var(--white);
}

.bd-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(10, 79, 191, 0.07);
}

.bd-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.6rem;
}

.bd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.bd-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.bd-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.6;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 0.8rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid var(--blue);
  transition:
    background 0.2s,
    transform 0.15s;
}

.service-cta:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}

/* Service right panel (graphic/visual) */
.service-visual {
  position: sticky;
  top: 100px;
}

.service-graphic {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(10, 79, 191, 0.09);
}

/* Deliverables list */
.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
}

.deliverables-list li .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.deliverables-list li .check-icon svg {
  width: 11px;
  height: 11px;
}

/* Tabs for benefits/deliverables */
.tab-bar {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.25rem;
}

.tab-btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ── PROCESS SECTION ──────────────────────────────────────── */
.process-section {
  padding: 6rem 6vw;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-top: 3.5rem;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(10% + 15px);
  right: calc(10% + 15px);
  height: 1px;
  background: var(--blue);
  opacity: 0.18;
}

.process-step {
  padding: 0 1rem;
  text-align: center;
  position: relative;
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
  position: relative;
  z-index: 1;
  transition:
    background 0.25s,
    color 0.25s;
}

.process-step:hover .step-num {
  background: var(--blue);
  color: var(--white);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.65;
}

/* ── TECH STACK STRIP ─────────────────────────────────────── */
.tech-strip {
  background: var(--white);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.tech-strip-header {
  padding: 0 6vw;
  margin-bottom: 2.5rem;
}

.tech-marquee-outer {
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  background: var(--off-white);
}

.tech-marquee-outer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 80px;
  z-index: 2;
  background: linear-gradient(90deg, var(--off-white), transparent);
}

.tech-marquee-outer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80px;
  z-index: 2;
  background: linear-gradient(270deg, var(--off-white), transparent);
}

.tech-marquee {
  display: flex;
  gap: 1.25rem;
  animation: marquee 35s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
}

.tech-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── COMPARISON TABLE ─────────────────────────────────────── */
.compare-section {
  padding: 6rem 6vw;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.compare-table th {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  text-align: left;
}

.compare-table th:first-child {
  background: var(--blue-deeper);
}

.compare-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 300;
  border-bottom: 1px solid var(--border);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:nth-child(even) td {
  background: var(--off-white);
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text);
  font-size: 0.875rem;
}

.check-yes {
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
}

.check-partial {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* ── DARK CTA SECTION ─────────────────────────────────────── */
.dark-cta {
  background: var(--blue-deeper);
  padding: 6rem 6vw;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.dark-cta h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.dark-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.75;
}

.dark-cta-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (min-width: 1770px) {
  .hero-img img {
    width: 837.6px;
  }
}
@media (max-width: 1100px) {
  .hero-img {
    display: none;
  }

  .service-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr !important;
  }

  .service-visual {
    position: static;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-card:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .overview-card:nth-child(2n) {
    border-right: none;
  }

  .overview-card:nth-child(n + 5) {
    border-bottom: none;
  }

  .overview-card:nth-child(3),
  .overview-card:nth-child(4) {
    border-bottom: 1px solid var(--border);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .dark-cta {
    grid-template-columns: 1fr;
  }

  .dark-cta-right {
    flex-direction: row;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .bd-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .overview-stats {
    grid-template-columns: repeat(1, 1fr);
  }

  .stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-right {
    flex-direction: column;
  }
  
  
  /*added 20260414*/
  .nav-toggle {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }
  
  /*hide secondary nav*/
nav.service-nav {
  display: none !important;
  margin: 0;
  padding: 0;
}
    
  .page-hero-inner {
    margin-top: 0rem;
   }
   /*end added 20260414*/
   
   
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .overview-card:last-child {
    border-bottom: none !important;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .compare-table {
    font-size: 0.78rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.7rem 0.75rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dark-cta-right {
    flex-direction: column;
  }
  
  .nav-toggle {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }

  .service-nav {
    display: none;
    margin: 0;
    padding: 0;
  }
}
