/* ============================================================
   NOVAMESH SOLUTIONS - DESIGN SYSTEM
   ============================================================ */
:root {
  /* Brand Colors - Purple/Violet Theme */
  --dark: #1a1a2e;
  --dark2: #252440;
  --dark3: #2d2b55;
  --green: #667eea;
  --green-bold: #764ba2;
  --green-xbold: #5a4fcf;
  --green-light: #f0e6ff;
  --green-mid: #d4c4f0;
  --cream: #f8f7ff;
  --white: #FFFFFF;
  --text: #1a1a2e;
  --text2: #4a4868;
  --text3: #7a7896;
  --border: #e8e4f3;
  --border2: #d4c4f0;
  /* Aliases for legacy references */
  --purple: #667eea;
  --purple-bold: #764ba2;
  --purple-light: #f0e6ff;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(102, 126, 234, .06), 0 1px 2px rgba(118, 75, 162, .04);
  --shadow-md: 0 4px 16px rgba(102, 126, 234, .08), 0 2px 6px rgba(118, 75, 162, .04);
  --shadow-lg: 0 12px 40px rgba(102, 126, 234, .12), 0 4px 12px rgba(118, 75, 162, .06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

textarea {
  resize: none !important;
}

/* Premium Scrollbar Redesign */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.5);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section {
  padding: var(--space-xl) 0;
}

.section--alt {
  background: var(--cream);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-bold);
  display: block;
  margin-bottom: .5rem;
}

.eyebrow--light {
  color: var(--green);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: .75rem;
}

.section-title--light {
  color: #fff;
}

.section-title em {
  color: var(--green);
  font-style: normal;
}

.section-sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.section-sub--light {
  color: rgba(255, 255, 255, 0.7);
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--r-md);
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  text-decoration: none;
}

.btn--dark {
  background: var(--dark);
  color: #fff;
}

.btn--dark:hover {
  background: var(--dark2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: var(--green-bold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border2);
}

.btn--outline:hover {
  border-color: var(--dark);
  background: var(--cream);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 12px 28px;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Tags / Pills */
.tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--green-light);
  color: var(--green-bold);
}

.tag--dark {
  background: var(--dark3);
  color: var(--green);
}

.tag--border {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text2);
}

/* ============================================================
   NAVIGATION - Premium Design
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.4s ease;
  overflow: visible;
}

/* Add top padding to body so content isn't hidden under fixed nav */
body {
  padding-top: 36px;
}

/* But hero pages should NOT have that padding - hero handles it */
body.has-hero {
  padding-top: 0;
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
  padding: 0 3rem;
}

/* Nav links - centered absolutely */
.nav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Logo - left column, aligned left */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
  justify-self: start;
  overflow: visible;
}

/* Logo image - novamesh_logo_transparent.png */
.nav__logo-img {
  height: 110px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.2s ease;
  /* Allow logo to visually overflow the 72px nav bar */
  position: relative;
  z-index: 201;
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.85;
}

/* Fallback text logo */
.nav__logo-fallback {
  display: flex;
  align-items: center;
}

.nav__logo-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.nav__logo:hover .nav__logo-mark {
  transform: rotate(-6deg) scale(1.05);
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav__logo-name span {
  background: linear-gradient(135deg, var(--green), var(--green-bold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text3);
  line-height: 1;
}

/* Nav links - center column, perfectly centered */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.15s ease, background 0.15s ease;
  position: relative;
}

.nav__link:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bold) 100%);
}

.nav__link--active {
  color: #fff;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bold) 100%);
}

/* CTA button - right column, aligned right */
.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.nav__cta {
  margin-left: 14px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-bold);
  margin-bottom: 1.5rem;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero__h1 em {
  color: var(--green);
  font-style: normal;
}

.hero__sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 460px;
}

.hero__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__avatars {
  display: flex;
}

.hero__av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  margin-right: -8px;
}

.hero__proof-text {
  font-size: 15px;
  color: var(--text2);
}

.hero__proof-text strong {
  color: var(--text);
  font-weight: 500;
}

/* Hero Visual Panel */
.hero__visual {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}

.hv__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.hv__header-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.hv__live {
  font-size: 14px;
  font-weight: 500;
  background: var(--green-light);
  color: var(--green-bold);
  padding: 3px 10px;
  border-radius: 20px;
}

.hv__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .9rem;
}

.hv__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.hv__name {
  font-size: 14px;
  color: var(--text2);
}

.hv__pct {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.hv__bar {
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}

.hv__fill {
  height: 100%;
  border-radius: 3px;
  background: var(--green);
}

.hv__complete .hv__fill {
  background: var(--dark);
}

.hv__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hv__stat {
  background: var(--green-light);
  border-radius: var(--r-sm);
  padding: .7rem;
  text-align: center;
}

.hv__stat-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--green-bold);
}

.hv__stat-lbl {
  font-size: 14px;
  color: var(--text3);
}

/* ============================================================
   HERO TERMINAL - Premium Coding Animation
   ============================================================ */
.hero-terminal {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(24px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  font-family: var(--font-mono);
  color: #e2e8f0;
  z-index: 10;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

.terminal-body {
  padding: 20px;
  font-size: 13px;
  line-height: 1.6;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.2), transparent);
}

.code-kw {
  color: #c678dd;
  font-weight: 700;
}

/* Keyword */
.code-fn {
  color: #61afef;
}

/* Function */
.code-str {
  color: #98c379;
}

/* String */
.code-var {
  color: #e06c75;
}

/* Variable/Constant */
.code-cmt {
  color: #7f848e;
  font-style: italic;
  opacity: 0.8;
}

/* Comment */

.typing-cursor {
  color: var(--green);
  font-weight: 900;
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes float-terminal {

  0%,
  100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0);
  }

  50% {
    transform: perspective(1000px) rotateY(-4deg) rotateX(1deg) translateY(-15px);
  }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--dark);
  padding: 2rem 0;
}

.stats-strip__inner {
  display: flex;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.stats-strip__item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: .75rem 1rem;
  border-right: 1px solid var(--dark3);
}

.stats-strip__item:last-child {
  border-right: none;
}

.stats-strip__num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--green);
  display: block;
}

.stats-strip__label {
  font-size: 14px;
  color: var(--text3);
}

/* ============================================================
   TRUSTED BY - Marquee Animation
   ============================================================ */
.trusted {
  padding: 0;
  border-bottom: 1px solid var(--border);
  height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.trusted__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.trusted__label {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text3);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Marquee Container */
.trusted__marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Marquee Track */
.trusted__track {
  display: flex;
  align-items: center;
  gap: 8rem;
  animation: marquee-scroll 90s linear infinite;
  white-space: nowrap;
}

.trusted__track:hover {
  animation-play-state: paused;
}

/* Individual Logo Items */
.trusted__logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 0 4rem;
}

.trusted__logo-item:hover {
  opacity: 1;
  transform: scale(1.08);
}

.trusted__logo-img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s ease;
}

.trusted__logo-item:hover .trusted__logo-img {
  filter: grayscale(0);
}

/* Marquee Animation */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Duplicate content for seamless loop */
.trusted__track--duplicate {
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* DEVELOPER NOTE: Replace .logo-placeholder with real <img> tags */
.logo-placeholder {
  height: 22px;
  border-radius: 4px;
  background: var(--border);
  opacity: .55;
  display: block;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: default;
}

.service-card:hover {
  border-color: var(--green);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15), 0 10px 20px rgba(118, 75, 162, 0.1);
}

.service-card.card-animated {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card.card-animated:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2), 0 15px 30px rgba(118, 75, 162, 0.15);
}

.service-card.card-animated:hover .service-card__icon {
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  transform: scale(1.1);
}

.service-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green-bold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 5px;
}

.service-card__desc {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 10px;
}

.service-card__tech {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text3);
}

/* ============================================================
   FEATURED WORK (Homepage - 3 projects)
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.featured-grid .case-card:first-child {
  grid-column: 1 / -1;
}

/* ============================================================
   CASE STUDY CARD (used on homepage + portfolio page)
   ============================================================ */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  box-shadow: 0 20px 40px rgba(102, 126, 234, .15);
  transform: translateY(-8px);
  border-color: rgba(102, 126, 234, .3);
}

/* Thumbnail - DEVELOPER NOTE: replace background-color with actual screenshot */
.case-card__thumb {
  width: 100%;
  height: 240px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.case-card:hover .case-card__thumb img {
  transform: scale(1.05);
}

/* Placeholder screen when no screenshot yet */
.case-card__thumb-placeholder {
  width: 78%;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.thumb-bar {
  height: 22px;
  background: var(--cream);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-bottom: 1px solid var(--border);
}

.thumb-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border2);
}

.thumb-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.thumb-line {
  height: 5px;
  border-radius: 2px;
  background: var(--border);
}

.thumb-accent {
  height: 5px;
  border-radius: 2px;
  background: var(--green-light);
}

.thumb-block {
  height: 30px;
  border-radius: 6px;
  background: var(--green-light);
}

/* Large card thumb is taller */
.case-card--large .case-card__thumb {
  height: 300px;
}

.case-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.case-card__tags .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  background: var(--green-light);
  color: var(--green-bold);
  border-radius: 20px;
  border: none;
  font-weight: 600;
}

.case-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: .75rem;
  line-height: 1.35;
}

.case-card__desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.case-card__metrics {
  display: flex;
  gap: 1.25rem;
}

.case-card__metric-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--green-bold);
  display: block;
}

.case-card__metric-lbl {
  font-size: 14px;
  color: var(--text3);
  font-family: var(--font-mono);
}

.case-hero__meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.case-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.case-hero__meta-label {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--text3);
  text-transform: uppercase;
}

.case-hero__meta-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.case-stat-card {
  background: linear-gradient(145deg, var(--dark2), var(--dark3));
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(118, 75, 162, .3);
  position: relative;
  overflow: hidden;
}

.case-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  background: linear-gradient(135deg, var(--green), var(--green-bold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

.case-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text3);
  margin-top: 6px;
  display: block;
}

/* ============================================================
   CASE STUDY EXPANSION - BEFORE/AFTER BUSINESS VALUE
   ============================================================ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 1.5rem;
}

.ba-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ba-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .1);
}

.ba-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.ba-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 700;
}

.ba-label.before {
  background: linear-gradient(135deg, #FEE2E2, #FECACA);
  color: #991B1B;
  border: 1px solid #FECACA;
}

.ba-label.after {
  background: var(--green-light);
  color: var(--green-bold);
  border: 1px solid var(--green-mid);
}

.ba-label.after::after {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
}

.ba-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ba-col ul li {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  padding: 14px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.ba-col ul li:last-child {
  border-bottom: none;
}

.ba-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ba-col:first-child ul li::before {
  background: #FCA5A5;
}

.ba-col:last-child ul li::before {
  background: linear-gradient(135deg, var(--green), var(--green-bold));
}

/* ============================================================
   CASE STUDY CARD - IMPROVED UI
   ============================================================ */
.card-thumb-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s ease;
}

.project-card:hover .card-thumb-img {
  transform: scale(1.05);
}

/* ============================================================
   PROCESS PAGE - IMPROVED STICKY TIMELINE
   ============================================================ */
.process-timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s;
}

.process-timeline-item:hover,
.process-timeline-item.active {
  background: var(--green-light);
}

.process-timeline-item.active .process-num {
  background: var(--green) !important;
  color: #fff !important;
  border-color: var(--green) !important;
}

/* ============================================================
   HERO WIDGET - IMPROVED STATS BOTTOM
   ============================================================ */
.hv__stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}

.hv__stat-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-bold);
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   INDUSTRIES - IMPROVED 4-COL RICH CARDS
   ============================================================ */
.industries-grid--4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .industries-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .industries-grid--4col {
    grid-template-columns: 1fr 1fr;
  }
}

.industry-item--rich {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.25rem;
  text-align: left;
  cursor: default;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-item--rich:hover {
  border-color: var(--green);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.industry-item--rich .industry-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 4px;
  transition: background .2s;
}

.industry-item--rich:hover .industry-item__icon {
  background: var(--green-mid);
}

.industry-item--rich .industry-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green-bold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-item--rich .industry-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.industry-item__desc {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.5;
}

/* ============================================================
   PROCESS CARDS - DARK SECTION (homepage)
   ============================================================ */
.process-card-dark {
  background: #1e1e2f;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

.process-card-dark:hover {
  background: #252545;
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.process-card-dark--active {
  background: var(--dark3);
  position: relative;
}

.process-card-dark--active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
}

.process-card-dark__num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--green);
  letter-spacing: .1em;
}

.process-card-dark__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(102, 126, 234, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

.process-card-dark__icon svg {
  width: 22px;
  height: 22px;
}

.process-card-dark__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

.process-card-dark__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  flex: 1;
}

.process-card-dark__time {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .process-card-dark {
    padding: 1.5rem;
  }
}

@media (max-width: 700px) {
  .process-card-dark {
    padding: 1.25rem;
  }
}

/* ================================================================
   COLORFUL GRADIENT HERO - Webency Style
   ================================================================ */

.hero-gradient {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(10, 8, 30, 0.82) 0%, rgba(26, 10, 46, 0.78) 40%, rgba(10, 20, 50, 0.80) 100%),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 2rem 80px;
}

/* 3D perspective grid floor */
.hero-gradient::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background-image:
    linear-gradient(rgba(102, 126, 234, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 126, 234, 0.18) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(60deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Glowing scan line */
.hero-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.6), transparent);
  animation: scan-line 6s linear infinite;
  z-index: 2;
}

@keyframes scan-line {
  0% {
    top: 0%;
    left: -60%;
  }

  100% {
    top: 100%;
    left: 160%;
  }
}

/* Animated Circles - now glow orbs */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float-circle 18s ease-in-out infinite;
  z-index: 1;
}

.hero-circle-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #667eea, #764ba2);
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}

.hero-circle-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #4facfe, #00f2fe);
  top: 15%;
  right: -80px;
  animation-delay: -6s;
}

.hero-circle-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #f093fb, #f5576c);
  bottom: 15%;
  left: 8%;
  animation-delay: -12s;
}

.hero-circle-4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #5f27cd, #341f97);
  bottom: -120px;
  right: 15%;
  animation-delay: -9s;
}

@keyframes float-circle {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(40px, -40px) scale(1.12);
  }

  50% {
    transform: translate(-25px, 25px) scale(0.88);
  }

  75% {
    transform: translate(25px, 40px) scale(1.06);
  }
}

/* Floating particles */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.7);
  animation: particle-float linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes particle-float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-120vh) translateX(40px) scale(0.4);
    opacity: 0;
  }
}

.hero-gradient__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-gradient__content {
  color: #fff;
  animation: hero-fade-up 0.5s ease both;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-gradient__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(102, 126, 234, 0.15);
  border-radius: 30px;
  border: 1px solid rgba(102, 126, 234, 0.4);
  color: #a78bfa;
  animation: hero-fade-up 1s 0.1s ease both;
}

.hero-gradient__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px #a78bfa;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero-gradient__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 78px);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 60px rgba(102, 126, 234, 0.3);
  animation: hero-fade-up 1s 0.2s ease both;
}

.hero-gradient__title em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa, #60a5fa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-gradient__subtitle {
  font-size: 18px;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 2.75rem;
  color: rgba(255, 255, 255, 0.72);
  animation: hero-fade-up 1s 0.3s ease both;
}

.hero-gradient__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: hero-fade-up 1s 0.4s ease both;
}

/* Button Variants */
.btn--white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: #fff;
  color: #764ba2;
  font-weight: 600;
  font-size: 15px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 25px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn--outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 30px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-3px);
}

/* Gradient Button for Nav */
.btn--gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bold) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
  letter-spacing: 0.01em;
}

.btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
  background: linear-gradient(135deg, #7a8ff5 0%, #8a5ab8 100%);
}

/* Logo images - kept for fallback */
.nav__logo-img {
  height: 72px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  object-position: left center;
  position: relative;
  z-index: 201;
}

/* ============================================================
   TRANSPARENT NAV - over colorful hero
   ============================================================ */

/* Normal nav (scrolled / non-hero pages): white background, logo as-is */
.nav:not(.nav--transparent) .nav__logo-img {
  filter: none;
  /* logo shows in its original colors on white nav */
}

/* Transparent nav over hero: fully transparent, blends into hero */
.nav--transparent {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Logo on transparent nav: keep original colors - no filter */
.nav--transparent .nav__logo-img {
  filter: none;
}

/* Fallback text logo on transparent nav */
.nav--transparent .nav__logo-name {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.nav--transparent .nav__logo-name span {
  background: linear-gradient(135deg, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav--transparent .nav__logo-sub {
  color: rgba(255, 255, 255, 0.6);
}

.nav--transparent .nav__link {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nav--transparent .nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  text-shadow: none;
}

.nav--transparent .nav__link--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.nav--transparent .btn--gradient {
  background: linear-gradient(135deg, var(--green), var(--green-bold));
  border: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.nav--transparent .btn--gradient:hover {
  background: linear-gradient(135deg, #7a8ff5, #8a5ab8);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(102, 126, 234, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-gradient {
    padding: 100px 1.5rem 60px;
    min-height: auto;
  }

  .hero-circle {
    filter: blur(40px);
    opacity: 0.4;
  }

  .hero-circle-1 {
    width: 200px;
    height: 200px;
  }

  .hero-circle-2 {
    width: 150px;
    height: 150px;
  }

  .hero-circle-3 {
    width: 120px;
    height: 120px;
  }

  .hero-circle-4 {
    width: 180px;
    height: 180px;
  }
}

/* ================================================================
   NEW DESIGN SYSTEM - 3D Elements & Modern Styling
   ================================================================ */

/* 3D Card Effects */
.card-3d {
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-3d:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 30px 60px rgba(102, 126, 234, 0.15), 0 15px 30px rgba(118, 75, 162, 0.1);
}

/* Card Animated - Hover lift effect */
.card-animated {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-animated:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.12), 0 10px 20px rgba(118, 75, 162, 0.08);
}

.card-animated:hover .case-card__thumb img {
  transform: scale(1.05);
}

.case-card__thumb img {
  transition: transform 0.4s ease;
}

.case-card__btn {
  width: 100%;
  background: linear-gradient(135deg, var(--green), var(--green-bold));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s ease;
  margin-top: auto;
}

.case-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, .35);
}

/* Gradient Backgrounds */
.gradient-bg {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--dark3) 100%);
}

.gradient-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bold) 100%);
}

.gradient-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  overflow: hidden;
}

/* Floating Animation */
@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.05);
  }
}

@keyframes float-reverse {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(118, 75, 162, 0.6);
  }
}

.animate-float {
  animation: float 20s ease-in-out infinite;
}

.animate-float-reverse {
  animation: float-reverse 25s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Circular Elements */
.circle-decoration {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(90deg, var(--green) 0%, var(--green-bold) 50%, var(--green-xbold) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stats-item {
  text-align: center;
  padding: 1rem;
}

.stats-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stats-label {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-top-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  font-weight: 500;
}

/* Modern Testimonials */
.testimonials-section {
  padding: 5rem 0;
  background: var(--cream);
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px rgba(28, 33, 24, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(28, 33, 24, 0.12);
  border-color: var(--green);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-light);
}

.testimonial-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--dark);
  margin: 0 0 4px;
}

.testimonial-info span {
  font-size: 15px;
  color: var(--text3);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  font-style: italic;
}

/* Team Section with Circular Images */
.team-section-new {
  padding: 5rem 0;
  background: var(--white);
}

/* Trusted section stacked layout */
.trusted__inner--stacked {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.trusted__inner--stacked .trusted__label {
  margin-bottom: 0.5rem;
}

.trusted__inner--stacked .trusted__marquee {
  width: 100%;
  max-width: 1000px;
}

/* Centered grid for <=4 team members */
.team-grid-new {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Marquee layout for >4 team members */
.team-grid-new.marquee {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow: hidden;
  max-width: 100%;
  padding: 0;
}

.team-grid-new.marquee .team-track {
  display: flex;
  gap: 2rem;
  animation: team-marquee 45s linear infinite;
  padding: 0 1rem;
}

.team-grid-new.marquee:hover .team-track {
  animation-play-state: paused;
}

@keyframes team-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.team-card-new {
  text-align: center;
  position: relative;
}

.team-image-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(28, 33, 24, 0.15);
  transition: all 0.4s ease;
}

.team-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(102, 126, 234, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.team-image-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 60px rgba(118, 75, 162, 0.25);
}

.team-image-wrapper:hover::before {
  opacity: 1;
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-social {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.team-image-wrapper:hover .team-social {
  opacity: 1;
  bottom: 25px;
}

.team-social a {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-social a:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
}

.team-card-new h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--dark);
  margin: 0 0 4px;
}

.team-card-new span {
  font-size: 14px;
  color: var(--green);
}

/* News/Blog Section */
.news-section {
  padding: 5rem 0;
  background: var(--cream);
}

.news-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(28, 33, 24, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(28, 33, 24, 0.12);
}

.news-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-date {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--green), var(--green-bold));
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.news-content {
  padding: 1.5rem;
}

.news-meta {
  display: flex;
  gap: 1rem;
  font-size: 14px;
  color: var(--text3);
  margin-bottom: 0.75rem;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--dark);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.news-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: var(--green);
  gap: 10px;
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bold) 50%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.contact-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.contact-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  color: #fff;
  margin-bottom: 1rem;
}

.contact-cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-cta-phone {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-cta-phone .icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-cta-phone span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-cta-phone strong {
  display: block;
  font-size: 20px;
  color: #fff;
}

.contact-form-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.contact-form-box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group-modern {
  margin-bottom: 1rem;
}

.form-group-modern label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group-modern input,
.form-group-modern textarea,
.form-group-modern select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  transition: all 0.3s ease;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group-modern textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn-modern {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--green), var(--green-bold));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.submit-btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(118, 75, 162, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .team-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cta-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .team-grid-new {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Section Header Styles */
.section-header-modern {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 8px 16px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 30px;
  border: 1px solid rgba(118, 75, 162, 0.2);
}

.section-title-modern {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title-modern em {
  color: var(--green);
  font-style: normal;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
}

/* View All Button */
.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--border);
  border-radius: 30px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 3rem;
}

.view-all-btn:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  gap: 12px;
}


/* ================================================================
   SERVICES BENTO GRID - Top 1% UI
   ================================================================ */

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* All cards same size - no span overrides */
.svc-bento--large {
  grid-column: span 1;
}

/* Medium cards */
.svc-bento {
  grid-column: span 1;
}

/* Small cards */
.svc-bento--sm {
  grid-column: span 1;
}

.svc-bento {
  position: relative;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  cursor: pointer;
}

.svc-bento:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Color variants */
.svc-bento--dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.svc-bento--dark::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.svc-bento--dark2 {
  background: #111827;
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.svc-bento--accent {
  background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
  color: #fff;
  box-shadow: 0 10px 25px rgba(67, 56, 202, 0.2);
}

.svc-bento--gradient {
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.svc-bento--gradient::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.svc-bento--light {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--dark);
  border: 1px solid var(--border);
}

.svc-bento--light2 {
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  color: var(--dark);
  border: 1px solid var(--border);
}

.svc-bento--purple {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #4c1d95;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.svc-bento--warm {
  background: linear-gradient(135deg, #fffaf5 0%, #fff7ed 100%);
  color: #9a3412;
  border: 1px solid rgba(249, 115, 22, 0.1);
}

.svc-bento--teal {
  background: linear-gradient(135deg, #f4fbf9 0%, #f0fdfa 100%);
  color: #0f766e;
  border: 1px solid rgba(20, 184, 166, 0.1);
}

.svc-bento__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.5;
  font-weight: 600;
}

.svc-bento__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.svc-bento:hover .svc-bento__icon {
  transform: scale(1.1) rotate(-5deg);
}

.svc-bento--dark .svc-bento__icon,
.svc-bento--dark2 .svc-bento__icon,
.svc-bento--gradient .svc-bento__icon {
  background: rgba(255, 255, 255, 0.1);
}

.svc-bento--accent .svc-bento__icon {
  background: rgba(255, 255, 255, 0.2);
}

.svc-bento--light .svc-bento__icon,
.svc-bento--light2 .svc-bento__icon {
  background: var(--green-light);
}

.svc-bento--purple .svc-bento__icon {
  background: rgba(118, 75, 162, 0.12);
}

.svc-bento--warm .svc-bento__icon {
  background: rgba(255, 150, 50, 0.12);
}

.svc-bento--teal .svc-bento__icon {
  background: rgba(0, 188, 212, 0.12);
}

.svc-bento__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-bento--dark .svc-bento__icon svg,
.svc-bento--dark2 .svc-bento__icon svg,
.svc-bento--accent .svc-bento__icon svg,
.svc-bento--gradient .svc-bento__icon svg {
  stroke: #fff;
}

.svc-bento--light .svc-bento__icon svg,
.svc-bento--light2 .svc-bento__icon svg {
  stroke: var(--green-bold);
}

.svc-bento--purple .svc-bento__icon svg {
  stroke: #764ba2;
}

.svc-bento--warm .svc-bento__icon svg {
  stroke: #e07020;
}

.svc-bento--teal .svc-bento__icon svg {
  stroke: #0097a7;
}

.svc-bento__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: auto;
}

.svc-bento--sm .svc-bento__name {
  font-size: 17px;
}

.svc-bento--dark .svc-bento__name,
.svc-bento--dark2 .svc-bento__name,
.svc-bento--accent .svc-bento__name,
.svc-bento--gradient .svc-bento__name {
  color: #fff;
}

.svc-bento--light .svc-bento__name,
.svc-bento--light2 .svc-bento__name,
.svc-bento--purple .svc-bento__name,
.svc-bento--warm .svc-bento__name,
.svc-bento--teal .svc-bento__name {
  color: var(--dark);
}

.svc-bento__desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
}

.svc-bento--dark .svc-bento__desc,
.svc-bento--dark2 .svc-bento__desc,
.svc-bento--accent .svc-bento__desc,
.svc-bento--gradient .svc-bento__desc {
  color: rgba(255, 255, 255, 0.75);
}

.svc-bento--light .svc-bento__desc,
.svc-bento--light2 .svc-bento__desc {
  color: var(--text2);
}

.svc-bento__tech {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.55;
}

.svc-bento--dark .svc-bento__tech,
.svc-bento--dark2 .svc-bento__tech,
.svc-bento--accent .svc-bento__tech,
.svc-bento--gradient .svc-bento__tech {
  color: rgba(255, 255, 255, 0.6);
}

/* Arrows hidden - clean card design */
.svc-bento__arrow {
  display: none;
}

@media (max-width: 1024px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-bento--large,
  .svc-bento,
  .svc-bento--sm {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-bento--large,
  .svc-bento,
  .svc-bento--sm {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .services-bento {
    grid-template-columns: 1fr;
  }

  .svc-bento--large,
  .svc-bento,
  .svc-bento--sm {
    grid-column: span 1;
  }
}

/* ================================================================
   OUR WORK SHOWCASE - Top 1% UI
   ================================================================ */

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.work-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  display: block;
  text-decoration: none;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, border-color 0.3s ease;
  position: relative;
}

.work-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--accent, #667eea);
  border-color: var(--accent, #667eea);
}

.work-card__thumb {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--bg, #f0e6ff);
}

.work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}

.work-card:hover .work-card__thumb img {
  transform: scale(1.06);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card:hover .work-card__overlay {
  opacity: 1;
}

.work-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.work-card:hover .work-card__cta {
  transform: translateY(0);
}

.work-card__body {
  padding: 1.75rem;
}

.work-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, var(--green-bold));
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.work-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.work-card__desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .work-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .work-showcase {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   CASE STUDY CARDS - REDESIGNED (case-studies.php)
   ================================================================ */

/* Improved project card */
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
  border-color: var(--green);
  transform: translateY(-6px);
}

.card-num {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text3);
  border-bottom: 1px solid var(--border);
}

.card-num-val {
  background: var(--green-light);
  color: var(--green-bold);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.card-thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-thumb-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .card-thumb-img {
  transform: scale(1.05);
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 1rem 1.25rem 0.5rem;
}

.ctag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--green-light);
  color: var(--green-bold);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.ctag-ind {
  background: var(--cream);
  color: var(--text3);
  border: 1px solid var(--border);
}

.card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  padding: 0.5rem 1.25rem 0.5rem;
}

.card-desc {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.7;
  padding: 0 1.25rem;
  flex: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--border);
  gap: 10px;
}

/* Redesigned case study button */
.card-footer .btn--primary,
.card-footer button.btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--green), var(--green-bold));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  white-space: nowrap;
}

.card-footer .btn--primary:hover,
.card-footer button.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
}

.card-live {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* Before/After cards redesign */
.ba-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ba-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.ba-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.ba-label.before {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.ba-label.after {
  background: var(--green-light);
  color: var(--green-bold);
  border: 1px solid var(--green-mid);
}

.ba-col ul li {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ba-col ul li:last-child {
  border-bottom: none;
}

.ba-col:first-child ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-size: 12px;
  font-weight: 700;
  top: 14px;
}

.ba-col:last-child ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-bold);
  font-size: 13px;
  font-weight: 700;
  top: 13px;
}

/* ================================================================
   NEWS CARD - category badge
   ================================================================ */
.news-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: var(--green-light);
  color: var(--green-bold);
  border-radius: 20px;
  font-weight: 600;
}

/* ================================================================
   BLOG PAGE - Redesigned with images
   ================================================================ */

.blog-card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-image .blog-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================================================
   ABOUT PAGE - Redesigned
   ================================================================ */

.about-timeline {
  position: relative;
  padding-left: 2rem;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--green-bold));
  border-radius: 2px;
}

.about-timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.about-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--green-light);
}

.about-timeline-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green-bold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.about-timeline-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

.about-timeline-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

/* Scroll reveal animation */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}


/* ================================================================
   UTILITY - btn-sm, btn-lg
   ================================================================ */

.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
}

.btn-lg {
  font-size: 16px;
  padding: 14px 32px;
}

/* ================================================================
   SERVICES GRID - 3 col fallback
   ================================================================ */

.services__grid--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .services__grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services__grid--3col {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   FEATURED GRID 3 - homepage fallback
   ================================================================ */

.featured-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .featured-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   TESTI CARD AVATAR
   ================================================================ */

.testi-card__avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  flex-shrink: 0;
}


/* ================================================================
   INDUSTRIES GRID - Redesigned with brand icons
   ================================================================ */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--industry-accent, rgba(102, 126, 234, 0.1)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.industry-card:hover::after {
  opacity: 1;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #f472b6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.14);
  border-color: rgba(102, 126, 234, 0.3);
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.industry-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.industry-card__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.2;
}

.industry-card__desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

.industry-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.industry-card__tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--green-light);
  color: var(--green-bold);
}

@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ================================================================
   TRUSTED PARTNERS - Text logo style
   ================================================================ */

.trusted__logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text3);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.trusted__logo-item:hover .trusted__logo-text {
  color: var(--dark);
}

/* Override base trusted height for text-based logos */
.trusted {
  height: auto;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trusted__inner--stacked {
  gap: 1rem;
}

.trusted__inner--stacked .trusted__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text3);
  margin-bottom: 0;
}

.trusted__inner--stacked .trusted__marquee {
  width: 100%;
  max-width: 100%;
  height: 44px;
}

/* ============================================================
   ADMIN FORM STYLES - login.php and admin pages
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  outline: none;
}

.form-input:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.form-input::placeholder {
  color: var(--text3);
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7896' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 1px 5px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bold) 100%);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
  letter-spacing: 0.01em;
}

.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.45);
  background: linear-gradient(135deg, #7a8ff5 0%, #8a5ab8 100%);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   HERO TECH OBJECTS - badges, code snippets, device card
   ============================================================ */

/* Floating tech icon badges */
.hero-tech-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 30px;
  padding: 8px 14px 8px 10px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: badge-float 6s ease-in-out infinite;
  z-index: 3;
  cursor: default;
  transition: background 0.2s, border-color 0.2s;
}

.hero-tech-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(167, 139, 250, 0.4);
}

@keyframes badge-float {

  0%,
  100% {
    transform: translateY(0px) rotate(-1deg);
  }

  33% {
    transform: translateY(-10px) rotate(1deg);
  }

  66% {
    transform: translateY(5px) rotate(-0.5deg);
  }
}

/* Floating code snippet windows */
.hero-code-snippet {
  position: absolute;
  background: rgba(10, 8, 30, 0.75);
  border: 1px solid rgba(102, 126, 234, 0.25);
  border-radius: 10px;
  padding: 10px 14px 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 3;
  animation: snippet-float 8s ease-in-out infinite;
  max-width: 220px;
}

.hero-code-snippet:nth-child(odd) {
  animation-direction: alternate-reverse;
}

@keyframes snippet-float {

  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg);
  }

  50% {
    transform: translateY(-14px) rotate(0.5deg);
  }
}

.hero-code-snippet pre {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  white-space: pre;
}

/* Window dots */
.hcs__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

.hcs__dot--red {
  background: #ff5f57;
}

.hcs__dot--yellow {
  background: #febc2e;
}

.hcs__dot--green {
  background: #28c840;
}

/* Syntax colours */
.hcs-kw {
  color: #c084fc;
}

.hcs-fn {
  color: #60a5fa;
}

.hcs-str {
  color: #86efac;
}

.hcs-num {
  color: #fbbf24;
}

.hcs-cm {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

/* 3D floating device card */
.hero-device-card {
  position: absolute;
  width: 160px;
  background: rgba(15, 12, 40, 0.8);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 12px;
  padding: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 3;
  animation: device-float 7s ease-in-out infinite;
  transform-style: preserve-3d;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(102, 126, 234, 0.1);
}

@keyframes device-float {

  0%,
  100% {
    transform: translateY(0) rotateX(4deg) rotateY(-6deg);
  }

  50% {
    transform: translateY(-16px) rotateX(-2deg) rotateY(4deg);
  }
}

.hdc__screen {
  background: rgba(102, 126, 234, 0.08);
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(102, 126, 234, 0.15);
}

.hdc__bar {
  height: 6px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 3px;
  margin-bottom: 6px;
  animation: progress-bar 3s ease-in-out infinite;
}

@keyframes progress-bar {
  0% {
    width: 30%;
  }

  50% {
    width: 85%;
  }

  100% {
    width: 30%;
  }
}

.hdc__line {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  margin-bottom: 5px;
}

.hdc__block {
  height: 24px;
  background: rgba(102, 126, 234, 0.15);
  border-radius: 4px;
  margin-bottom: 5px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.hdc__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.hdc__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #86efac;
  font-weight: 600;
}

.hdc__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 6px #86efac;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Hide decorative objects on small screens */
@media (max-width: 900px) {

  .hero-tech-badge,
  .hero-code-snippet,
  .hero-device-card {
    display: none;
  }
}

/* ============================================================
   TRUSTED BY - Professional logo badge style
   ============================================================ */
.trusted {
  padding: 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.trusted__inner--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 2rem 0 1.5rem;
  max-width: 100%;
}

.trusted__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.trusted__label::before,
.trusted__label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border2);
}

/* Logo badge - icon + name pill */
.trusted__logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 12px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--white);
  color: var(--text2);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color .2s, box-shadow .2s, color .2s;
  cursor: default;
}

.trusted__logo-badge svg {
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity .2s;
  color: var(--green-bold);
}

.trusted__logo-item:hover .trusted__logo-badge {
  border-color: var(--green-mid);
  box-shadow: 0 2px 12px rgba(102, 126, 234, .1);
  color: var(--dark);
}

.trusted__logo-item:hover .trusted__logo-badge svg {
  opacity: 1;
}

/* ============================================================
   TRUSTED BY - Premium redesign with real brand logos
   ============================================================ */
.trusted {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}

.trusted__header {
  text-align: center;
  padding: 2rem 0 1.25rem;
}

.trusted__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text3);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.trusted__label::before,
.trusted__label::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2));
}

.trusted__label::after {
  background: linear-gradient(90deg, var(--border2), transparent);
}

.trusted__marquee-wrap {
  position: relative;
  padding-bottom: 1.75rem;
}

.trusted__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.trusted__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.trusted__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.trusted__marquee {
  overflow: hidden;
}

.trusted__track {
  display: flex;
  align-items: center;
  gap: 10rem;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

.trusted__track:hover {
  animation-play-state: paused;
}

.trusted__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5rem;
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
  filter: grayscale(1);
}

.trusted__logo-item:hover {
  opacity: 1;
  transform: scale(1.06);
  filter: grayscale(0);
}

/* ============================================================
   PARTNERS STRIP - Premium redesign
   ============================================================ */
.partners-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  overflow: hidden;
}

.partners-strip__label {
  text-align: center;
  margin-bottom: 1.5rem;
}

.partners-strip__label span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text3);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.partners-strip__label span::before,
.partners-strip__label span::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border2);
}

.partners-strip__track-wrap {
  position: relative;
  overflow: hidden;
}

.partners-strip__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.partners-strip__fade--l {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.partners-strip__fade--r {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.partners-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1rem;
  animation: marquee-scroll 35s linear infinite;
}

.partners-strip__track:hover {
  animation-play-state: paused;
}

.partner-logo {
  padding: 0.5rem 1.2rem;
  flex-shrink: 0;
  opacity: 1;
  filter: none;
  transition: transform .3s ease, background-color .3s ease;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin: 0 5rem;
}

.partner-logo:hover {
  transform: translateY(-2px);
}

/* ── Individual brand pill styles ───────────────────────── */

/* AUTOCAR - solid crimson red */
.pl--autocar {
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.5px;
  color: #fff;
  background: #d8232a;
  padding: 6px 16px;
  border-radius: 4px;
  display: inline-block;
}

/* SKI-Planet - clean blue & white */
.pl--ski {
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 19px;
  color: #01539d;
  background: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid #e2e8f0;
}

.pl--ski em {
  color: #ff3b3b;
  font-style: normal;
}

/* ForRent - professional brand blue */
.pl--forrent {
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 19px;
  color: #fff;
  background: #005999;
  padding: 6px 16px;
  border-radius: 4px;
  display: inline-block;
}

/* tossdown - matching the provided logo */
.pl--toss {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 21px;
  color: #e91e63;
  background: #151515;
  padding: 6px 16px;
  border-radius: 4px;
  display: inline-block;
  letter-spacing: -0.01em;
}

/* ProiD - dark professional */
.pl--proid {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #1a1a2e;
  background: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  border: 1px solid #e2e8f0;
}

.pl--proid-i {
  color: #ef4444;
}

/* cnFashion.co - monochromatic luxury */
.pl--cnf {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 19px;
  color: #000;
  background: #fff;
  padding: 6px 16px;
  border-radius: 0;
  display: inline-block;
  border-bottom: 2px solid #000;
}

.pl--cnf em {
  font-style: italic;
  font-weight: 400;
}

/* Minnies - soft boutique */
.pl--minnies {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 21px;
  color: #9d174d;
  background: #fdf2f8;
  padding: 6px 16px;
  border-radius: 30px;
  display: inline-block;
  border: 1px solid #fbcfe8;
}

/* Playboox - muted purple */
.pl--play {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  background: #5b21b6;
  padding: 6px 16px;
  border-radius: 6px;
  display: inline-block;
}

.pl--cnf em {
  font-style: normal;
  background: linear-gradient(90deg, #fff, #ffe680);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Minnies - boutique rose gold */
.pl--minnies {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, #c97b8a 0%, #9e4d64 100%);
  padding: 8px 18px;
  border-radius: 8px;
  display: inline-block;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(201, 123, 138, .4);
}

/* Playboox - vibrant purple */
.pl--play {
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 8px 18px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(102, 126, 234, .45);
}

.pl--play em {
  font-style: normal;
  color: #e0d0ff;
}

/* Global fix for gaps before footer */
section:last-of-type,
.contact-cta-section,
.svc-cta,
.about-cta,
.pricing-cta,
.news-section,
.page-cta,
.blog-cta,
.related-section,
.article-body {
  padding-bottom: 40px !important;
}

.footer {
  margin-top: 0 !important;
  padding-top: 40px !important;
}

/* Ensure dark sections directly above footer have no bottom margin */
.page-cta+.footer,
.awards-strip+.footer,
.section--dark+.footer {
  border-top: none;
}

/* ============================================================
   RESPONSIVE ARCHITECTURE - Ultra-Responsive Overhaul
   ============================================================ */

/* Global Mobile Fixes */
html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Mobile Navigation Trigger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav__burger.active span {
  background: var(--dark);
}

.nav__burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Off-Canvas Mobile Menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 100px 24px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile__links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 40px;
}

.nav-mobile__link {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--dark) !important;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.nav-mobile__link:hover {
  color: var(--green) !important;
  padding-left: 10px;
}

.nav-mobile__footer {
  margin-top: auto;
  padding-bottom: 20px;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Media Queries */
@media (max-width: 1200px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__actions .btn {
    display: none;
  }

  .nav__inner {
    height: 80px;
  }

  .hero-terminal,
  .hero-code-snippet,
  .hero-tech-badge {
    display: none !important;
  }

  .hero-gradient__content {
    margin-left: 0 !important;
    width: 100% !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .process-cards-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .footer div[style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .services-premium-grid {
    grid-template-columns: 1fr !important;
  }

  .svc-card-premium {
    min-width: 0 !important;
  }

  .svc-card-premium>div {
    min-height: auto !important;
    padding: 30px !important;
  }

  .hero-gradient__title {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1.1 !important;
  }

  .hero-gradient__subtitle {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }

  .hero-gradient__btns {
    flex-direction: column;
    width: 100%;
    gap: 15px !important;
  }

  .hero-gradient__btns .btn {
    width: 100%;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    padding: 0 10px;
  }

  .industries-grid {
    grid-template-columns: 1fr !important;
  }

  .team-grid-new:not(.marquee) {
    grid-template-columns: 1fr !important;
  }

  .news-grid {
    grid-template-columns: 1fr !important;
  }

  .footer div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .footer img {
    height: 40px !important;
    width: auto !important;
  }

  .partners-strip__track {
    animation-duration: 20s;
  }

  .partner-logo {
    margin: 0 1.5rem;
  }

  section {
    padding: 80px 0 !important;
  }

  .section-title {
    font-size: 32px !important;
  }

  .eyebrow {
    font-size: 10px !important;
    letter-spacing: 3px !important;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .section {
    padding: 60px 0 !important;
  }

  .section-header-modern {
    margin-bottom: 40px !important;
    text-align: center;
  }

  .process-cards-container {
    grid-template-columns: 1fr !important;
  }

  .nav__logo-img {
    height: 50px !important;
  }

  .nav__inner {
    height: 60px !important;
  }

  .nav-mobile {
    padding-top: 80px;
  }

  .nav-mobile__link {
    font-size: 26px;
  }

  /* Fix for the contact sections shown in screenshot */
  div[style*="grid-template-columns:1.2fr 0.8fr"],
  div[style*="grid-template-columns:1fr 1.1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .hero-gradient {
    padding: 100px 0 60px !important;
  }

  .hero-gradient__title {
    font-size: 38px !important;
  }
}