:root {
  --bg: #050505;
  --bg-alt: #0e0e0e;
  --accent: #9bcc58;
  --accent-soft: rgba(155, 204, 88, 0.12);
  --text: #fafafa;
  --text-muted: #a8a8a8;
  --border-subtle: rgba(255, 255, 255, 0.06);

  --mouse-x: 0;
  --mouse-y: 0;
  --glow-intensity: 0;
  --zone: 0;
  --radius: 900px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(
    circle at calc(50% + var(--mouse-x) * 120px)
      calc(50% + var(--mouse-y) * 120px),
    rgba(155, 204, 88, 0.12),
    #000 60%
  );
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* No scroll on home page (desktop) */
body.home-page {
  overflow: hidden;
}

/* Subtle noise overlay */
.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: soft-light;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* Layout basics */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.2rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
  background: radial-gradient(
    circle at top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.3) 40%,
    transparent 100%
  );
  border-bottom: 1px solid var(--border-subtle);
}

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

.logo img {
  height: 36px;
  width: auto;
  display: block;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover img {
  filter: drop-shadow(0 0 10px rgba(155, 204, 88, 0.7));
  transform: scale(1.04);
}

.logo span {
  color: var(--accent);
}

/* Desktop nav */
.main-nav {
  display: flex;
  gap: 0.9rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(155, 204, 88, 0.4),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  color: var(--text);
  border-color: rgba(155, 204, 88, 0.4);
  background: rgba(155, 204, 88, 0.04);
  transform: translateY(-1px);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link.active {
  color: var(--accent);
  border-color: rgba(155, 204, 88, 0.65);
  background: rgba(155, 204, 88, 0.06);
}

/* Hamburger base – hidden on desktop */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: none; /* desktop: hidden */
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger "X" animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero section */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 6.5rem 5vw 7rem; /* extra bottom for logos */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  text-transform: uppercase;
  max-width: 650px;
}

/* Base hero word styling */
.hero-title .hero-word {
  display: inline-block;
  margin-right: 0.28em;
  position: relative;
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.19, 1, 0.22, 1),
    color 0.28s ease,
    text-shadow 0.28s ease,
    letter-spacing 0.28s ease;
  will-change: transform;
  animation: wordFloat 5s ease-in-out infinite;
  overflow: visible;
}

/* Glitch layers on hero words */
.hero-title .hero-word::before,
.hero-title .hero-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}

.hero-title .hero-word::before {
  text-shadow: -2px 0 rgba(155, 204, 88, 0.85);
}

.hero-title .hero-word::after {
  text-shadow: 2px 0 rgba(0, 255, 160, 0.7);
}

/* Glitch animation trigger */
.hero-title .hero-word:hover::before,
.hero-title .hero-word:hover::after {
  opacity: 1;
  animation: glitchSlice 0.35s steps(2, end);
}

.hero-title .hero-word:nth-child(odd) {
  animation-delay: 0.4s;
}

.hero-title .hero-word:nth-child(even) {
  animation-delay: 1.1s;
}

.hero-title .hero-word:hover {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(155, 204, 88, 0.9);
  transform: translate3d(0, -0.12em, 0) scale(1.08) rotate(-1deg);
  letter-spacing: 0.03em;
}

.hero-word--magnet {
  text-shadow: 0 0 26px rgba(155, 204, 88, 1);
  transform: scale(1.12) translate3d(0, -0.18em, 0);
}

.hero-subtitle {
  margin-top: 1.4rem;
  color: var(--text-muted);
  max-width: 440px;
  font-size: 0.95rem;
}

.hero-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(155, 204, 88, 0.65);
  background: radial-gradient(
    circle at top left,
    rgba(155, 204, 88, 0.25),
    rgba(155, 204, 88, 0.04)
  );
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.hero-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 40%,
    transparent 80%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease-out;
}

.hero-cta:hover::after {
  transform: translateX(120%);
}

.hero-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

/* Hover zones – change background mood when cursor enters */
.hover-zone {
  position: absolute;
  z-index: 1;
  pointer-events: auto;
}

.hover-zone--top-left {
  inset: 0 50% 50% 0;
}
.hover-zone--top-right {
  inset: 0 0 50% 50%;
}
.hover-zone--bottom-left {
  inset: 50% 50% 0 0;
}
.hover-zone--bottom-right {
  inset: 50% 0 0 50%;
}

/* Orbs / floating shapes */
.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.75;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle,
    rgba(155, 204, 88, 0.5),
    transparent 60%
  );
  transform-origin: center;
}

.orb--one {
  width: 32vmin;
  height: 32vmin;
  top: 8%;
  right: 12%;
  animation: orbDrift 14s ease-in-out infinite;
}
.orb--two {
  width: 26vmin;
  height: 26vmin;
  bottom: -4%;
  left: 10%;
  animation: orbDrift 18s ease-in-out infinite reverse;
}
.orb--three {
  width: 40vmin;
  height: 40vmin;
  bottom: 10%;
  right: -10%;
  animation: orbDrift 22s ease-in-out infinite;
}

/* Clients – marquee row */
.clients {
  position: relative;
  z-index: 2;
  padding: 0 5vw 3.2rem;
  background: linear-gradient(to bottom, transparent, #020202 26%, #000 100%);
  border-top: 1px solid var(--border-subtle);
}

.clients-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.clients-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1rem;
}

/* viewport for scrolling logos */
.clients-scroller {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* moving strip of logos – desktop default */
.clients-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 3rem;
  animation: clientsMarquee 32s linear infinite;
  will-change: transform;
}

/* pause marquee on hover (desktop) */
.clients-track:hover {
  animation-play-state: paused;
}

/* marquee animation – desktop */
@keyframes clientsMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile-specific marquee animation – full width */
@keyframes clientsMarqueeMobile {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* logo pill */
.client-logo {
  flex: 0 0 auto;
  min-width: 110px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* logo image size */
.client-logo img {
  display: block;
  max-height: 42px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

/* hover effects */
.client-logo:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(155, 204, 88, 0.6);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
}

.client-logo:hover img {
  filter: grayscale(0.2);
  opacity: 1;
}

/* pin bar to bottom on home page (desktop/tablet) */
.home-page .clients {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 1.8rem;
  padding-top: 1.2rem;
  background: linear-gradient(
    to bottom,
    transparent,
    #020202 45%,
    #000 100%
  );
}

/* About / content pages */
.content {
  padding: 6.5rem 5vw 4rem;
  position: relative;
  z-index: 1;
}

.page-hero {
  margin-bottom: 3rem;
}

.page-hero-inner {
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.page-hero h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.8rem;
}

.card {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.5rem;
  background: radial-gradient(
    circle at top left,
    rgba(155, 204, 88, 0.06),
    rgba(10, 10, 10, 0.95)
  );
}

.card h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section {
  margin-bottom: 3.4rem;
}

.section-header {
  margin-bottom: 1.6rem;
}

.section-header h2 {
  margin: 0.2rem 0 0;
  font-size: 1.4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.service-card {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.4rem;
  background: rgba(7, 7, 7, 0.95);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(155, 204, 88, 0.35),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 204, 88, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  background: rgba(7, 7, 7, 1);
}

.service-card:hover::before {
  opacity: 0.6;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.section--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.split-card {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  padding: 1.6rem 1.7rem;
  background: linear-gradient(
    135deg,
    rgba(8, 8, 8, 0.96),
    rgba(14, 14, 14, 0.98)
  );
}

.split-card h2 {
  margin-top: 0;
}

.split-card p {
  color: var(--text-muted);
}

/* Animations */
@keyframes orbDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(40px, -40px, 0) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate3d(-20px, 40px, 0) scale(0.95);
    opacity: 0.7;
  }
}

@keyframes wordFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Glitch keyframes */
@keyframes glitchSlice {
  0% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
  }
  20% {
    transform: translate(-3px, -2px);
    clip-path: inset(0 0 55% 0);
  }
  40% {
    transform: translate(3px, 2px);
    clip-path: inset(45% 0 0 0);
  }
  60% {
    transform: translate(-2px, 1px);
    clip-path: inset(10% 0 40% 0);
  }
  80% {
    transform: translate(2px, -1px);
    clip-path: inset(0 0 30% 0);
  }
  100% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}

/* === ABOUT PAGE BACKGROUND (TEAM) === */
body.about-page {
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(155, 204, 88, 0.22) 0%,
      rgba(155, 204, 88, 0.06) 32%,
      rgba(0, 0, 0, 0.96) 70%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 1) 65%
    );
}

/* tighten content on about page if needed */
.about-page .content {
  max-width: 1180px;
  margin: 0 auto;
}

/* === TEAM SECTION === */

.team-section .section-header {
  margin-bottom: 2.8rem;
}

.team-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 0.7rem;
}

.team-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
}

/* grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

/* cards */
.team-card {
  position: relative;
  border-radius: 1.4rem;
  padding: 1.6rem 1.4rem 1.5rem;
  background: radial-gradient(
      circle at top left,
      rgba(155, 204, 88, 0.18),
      transparent 55%
    ),
    rgba(6, 6, 6, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(155, 204, 88, 0.2), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0, 255, 190, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(155, 204, 88, 0.7);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(155, 204, 88, 0.35);
  background: radial-gradient(
      circle at top,
      rgba(155, 204, 88, 0.13),
      transparent 50%
    ),
    rgba(10, 10, 10, 0.98);
}

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

/* top row */
.team-top-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  background: conic-gradient(
    from 140deg,
    rgba(155, 204, 88, 0.2),
    rgba(0, 255, 190, 0.4),
    rgba(155, 204, 88, 0.9),
    rgba(155, 204, 88, 0.2)
  );
  opacity: 0.85;
  filter: blur(0.5px);
}

.avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #050505;
  background: #111;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-main {
  flex: 1;
  min-width: 0;
}

.team-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.team-role {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

/* tags */
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.team-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

/* bio & footer */
.team-bio {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0.4rem 0 0.9rem;
}

.team-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.team-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.9;
}

.team-location-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  box-shadow: 0 0 10px rgba(155, 204, 88, 0.8);
}

/* socials */
.team-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.social-link {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text-muted);
  background: rgba(10, 10, 10, 0.9);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.social-link--linkedin:hover {
  background: rgba(10, 102, 194, 0.25);
  border-color: rgba(10, 102, 194, 0.8);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(10, 102, 194, 0.7);
  transform: translateY(-1px);
}

.social-link--instagram:hover {
  background: radial-gradient(circle at 30% 30%, #ffdc80, #f56040, #bc2a8d);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(188, 42, 141, 0.75);
  transform: translateY(-1px);
}

/* responsive tweak */
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}



/* === SERVICES PAGE CANVAS (NO-SCROLL DESKTOP) === */

/* lock desktop scroll just for services page
body.services-page {
  overflow: hidden;
} */

/* allow normal scrolling on mobile */
@media (max-width: 768px) {
  body.services-page {
    overflow: auto;
  }
}

.services-main {
  min-height: 100vh;
  padding: 6.5rem 6vw 3rem;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* top text block */
.services-hero-copy {
  max-width: 520px;
}

.services-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.services-title span {
  color: var(--accent);
}

.services-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 0.6rem;
}

.services-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* main canvas with lines + rows */
.services-canvas {
  flex: 1;
  position: relative;
  border-radius: 1.8rem;
  padding: 1.4rem 2.2rem 1.6rem;
  margin-top: 0.6rem;
  background: radial-gradient(
      circle at top left,
      rgba(155, 204, 88, 0.12),
      transparent 65%
    ),
    rgba(5, 5, 5, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* background wavy lines */
.services-lines {
  position: absolute;
  inset: 8% 3% 22% 3%;
  z-index: 1;
  opacity: 0.10;
  pointer-events: none;
}

.services-lines svg {
  width: 100%;
  height: 100%;
}

.services-lines path {
  fill: none;
  stroke: rgba(155, 204, 88, 0.9);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.5s ease-out;
}

/* rows aligned roughly with lines */
.services-rows {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.2rem; /* ← adjust spacing */
  padding: 1.2rem 0;
}

/* staggered reveal */
.service-row:nth-child(1) { transition-delay: 0.25s; }
.service-row:nth-child(2) { transition-delay: 0.35s; }
.service-row:nth-child(3) { transition-delay: 0.45s; }
.service-row:nth-child(4) { transition-delay: 0.55s; }
.service-row:nth-child(5) { transition-delay: 0.65s; }

.service-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 150px;
}

.service-label h2 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* pencil-ish icon node */
.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(155, 204, 88, 0.6);
  background:
    radial-gradient(circle at 30% 20%, rgba(155, 204, 88, 0.22), transparent 70%),
    rgba(7, 7, 7, 0.98);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 0 14px rgba(155, 204, 88, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* text side */
.service-details {
  flex: 1;
  min-width: 0;
}

.service-details p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tags span {
  font-size: 0.78rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

/* inline CTA at bottom of canvas */
.services-cta-inline {
  position: static;              /* no longer overlaying rows */
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.services-canvas {
  flex: 1;
  position: relative;
  border-radius: 1.8rem;
  padding: 1.4rem 2.2rem 2.4rem;  /* was 1.6rem at bottom */
  margin-top: 0.6rem;
  background: radial-gradient(
      circle at top left,
      rgba(155, 204, 88, 0.12),
      transparent 65%
    ),
    rgba(5, 5, 5, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}


.services-cta-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* reuse button styles you already have, plus: */
.cta-whatsapp {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(37, 211, 102, 0.18);   /* soft green like LinkedIn soft blue */
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.25s;
}

.cta-whatsapp:hover {
  background: rgba(37, 211, 102, 0.28);
  border-color: rgba(37, 211, 102, 0.7);
  color: #fff;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.5);
}


.cta-linkedin {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.25s;
}
.cta-linkedin:hover {
  background: rgba(10,102,194,0.25);
  border-color: rgba(10,102,194,0.6);
  color: #fff;
  box-shadow: 0 0 18px rgba(10,102,194,0.5);
}

/* ANIMATION TRIGGER: when body has .services-animate */
body.services-animate .services-lines path {
  stroke-dashoffset: 0;
}

body.services-animate .service-row {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile / tablet adjustments */
@media (max-width: 900px) {
  .services-main {
    padding: 6rem 5vw 4rem;
    gap: 1.4rem;
  }

  .services-canvas {
    padding: 1.2rem 1.4rem 2.8rem;
    border-radius: 1.4rem;
  }

  .services-lines {
    inset: 10% 4% 40% 4%;
  }

  .services-rows {
    grid-template-rows: none;
    gap: 1.3rem;
  }

  .service-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-label h2 {
    font-size: 0.95rem;
  }

  .services-cta-inline {
    position: static;
    margin-top: 1.4rem;
    padding-top: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
  }
}









/* === ABOUT INTRO (GOA + STORY) === */

.about-intro {
  margin-bottom: 3.5rem;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* IMAGE — TEXT side by side */
  gap: 3rem;
  align-items: center;
}

/* Image block */
.about-intro-figure {
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(
      circle at top left,
      rgba(155, 204, 88, 0.18),
      transparent 55%
    ),
    #050505;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
}

.about-intro-figure img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* optional caption (if needed later) */
.about-intro-figure figcaption {
  padding: 0.8rem 1.1rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Text side */
.about-intro-title,
.team-title { /* ensures title style matches your existing typography */
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
}

.about-intro-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 0.8rem;
  max-width: 580px;
}

/* Founders mini-list */
.founders-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.founder-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.96);
  font-size: 0.78rem;
}

.founder-name {
  font-weight: 500;
  color: var(--text);
}

.founder-role {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr; /* stack image above text */
    gap: 2rem;
  }

  .about-intro-figure img {
    height: 230px;
  }
}

@media (max-width: 540px) {
  .about-intro {
    margin-bottom: 2.6rem;
  }

  .founders-list {
    gap: 0.5rem;
  }

  .founder-pill {
    width: 100%;
    justify-content: space-between;
  }
}





/* Responsive tweaks & mobile nav */
@media (max-width: 768px) {
  /* allow scrolling on mobile home page */
  body.home-page {
    overflow-y: auto;
  }

  .main-header {
    padding-inline: 4vw;
  }

  /* show hamburger on mobile */
  .hamburger {
    display: block;
    margin-left: auto;
  }

  /* mobile dropdown nav */
  .main-nav {
    position: absolute;
    top: 58px;
    right: 5vw;
    background: rgba(0, 0, 0, 0.92);
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    gap: 0.9rem;
  }

  .main-nav.show {
    display: flex;
  }

  .hero {
    align-items: flex-start;
    padding-top: 6rem;
    min-height: auto;       /* don't force full viewport height */
    padding-bottom: 3.5rem; /* less empty space above "Trusted By" */
    scroll-margin-top: 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    max-width: none;
  }

  /* let clients sit in normal flow on mobile */
  .home-page .clients {
    position: static;
    padding-top: 1rem;
    padding-bottom: 2.4rem;
  }

  .clients {
    padding: 0 4vw 2.4rem;
  }

  .client-logo {
    min-width: auto;
    padding-inline: 0.9rem;
  }

  /* mobile marquee: faster, full width, no pause */
  .clients-track {
    animation: clientsMarqueeMobile 18s linear infinite;
    gap: 1.8rem;
  }

  .clients-track:hover {
    animation-play-state: running; /* override desktop pause on hover for mobile */
  }

  /* CTA touch feedback */
  .hero-cta:active {
    box-shadow: 0 0 14px rgba(155, 204, 88, 0.7);
    transform: scale(1.04);
  }
}

@media (max-width: 540px) {
  .main-nav {
    right: 4vw;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-inline: 4vw;
  }

  .content {
    padding-inline: 4vw;
  }
}

