/* ==========================================================================
   1. VARIABLES & THEME
   ========================================================================== */
:root {
  --bg: #0A0D12;
  --bg-panel: #12161F;
  --bg-panel-2: #171C27;
  --border: #242B3A;
  --text: #ECEFF4;
  --text-soft: #98A2B3;
  --text-dim: #6B7385;
  --accent1: #7C5CFF;
  --accent2: #00D9C0;
  --grad: linear-gradient(115deg, var(--accent1), var(--accent2));
  --radius: 10px;
}

:root[data-theme="light"] {
  --bg: #F5F6F9;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #EEF0F5;
  --border: #DCE0E9;
  --text: #12151C;
  --text-soft: #4A5163;
  --text-dim: #7A8194;
}

/* ==========================================================================
   2. BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* clip = scroll-container nahi banta, is liye position:sticky chalta hai */
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent1);
  color: #fff;
}

/* ==========================================================================
   3. TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
}

.mono {
  font-family: 'Outfit', sans-serif;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: var(--accent2);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--accent2);
  display: inline-block;
}

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 900px) {
  .wrap {
    padding: 0 44px;
  }
}

/* UI Overlays & Cursor Effects */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 9999;
  transition: width .1s linear;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, .14), rgba(0, 217, 192, .06) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity .3s;
  opacity: 0;
  filter: blur(10px);
}

.marquee-row2{margin-top:14px;}
.marquee-row2 .marquee{animation-direction:reverse;}
.marquee-row2 .wordmark{color:var(--text-dim);opacity:0.7;font-family:'Outfit', sans-serif;font-weight:400;font-size:0.85rem;}
#sparkCanvas{position:fixed;inset:0;width:100%;height:100%;z-index:40;pointer-events:none;mix-blend-mode:screen;}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.btn-grad {
  background: var(--grad);
  color: #0A0D12;
}

.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(124, 92, 255, .55);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent2);
  color: var(--accent2);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.84rem;
}

/* ── Header CTA buttons (Contact / Start a project): continuous
   rotating gradient glow-border — loops forever, scoped to .navcta
   only, doesn't touch any other .btn on the site. ── */
@property --navcta-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.navcta .btn {
  position: relative;
  z-index: 0;
}

/* Start a project — pulsing rotating glow halo behind the solid gradient fill */
.navcta .btn-grad::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: conic-gradient(from var(--navcta-angle), transparent 0deg, var(--accent2) 85deg, var(--accent1) 200deg, transparent 300deg);
  filter: blur(7px);
  z-index: -1;
  animation: navctaSpin 3.2s linear infinite, navctaPulse 2.1s ease-in-out infinite;
}

/* Contact — transparent fill, animated rotating gradient outline instead of a flat border */
.navcta .btn-outline {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg-panel), var(--bg-panel)) padding-box,
    conic-gradient(from var(--navcta-angle), var(--accent1), var(--accent2), var(--accent1)) border-box;
  animation: navctaSpin 3.2s linear infinite;
}
.navcta .btn-outline:hover {
  color: var(--accent2);
}

@keyframes navctaSpin {
  to { --navcta-angle: 360deg; }
}
@keyframes navctaPulse {
  0%, 100% { opacity: .55; filter: blur(6px); }
  50%      { opacity: 1;   filter: blur(10px); }
}

@media (prefers-reduced-motion: reduce) {
  .navcta .btn-grad::before,
  .navcta .btn-outline { animation: none; }
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  max-width: 20%;
}

.brand svg {
  width: 26px;
  height: 26px;
}

.navlinks {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 960px) {
  .navlinks {
    display: flex;
  }
}

.navitem {
  position: relative;
}

.navitem > a, .navitem > button, .navlinks > a {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: color .2s, background .2s;
}

.navitem > a:hover, .navitem > button:hover, .navitem.open > button, .navlinks > a:hover {
  color: var(--text);
  background: var(--bg-panel);
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .2s;
}

.navitem.open .caret {
  transform: rotate(225deg);
  margin-top: 3px;
}

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 560px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 6px 28px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}

.navitem.open .mega {
  display: grid;
}

.mega a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
  transition: background .15s, color .15s;
}

.mega a:hover {
  background: var(--bg-panel-2);
  color: var(--text);
}

.mega a b {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.mega a span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.navcta {
  display: none;
}

@media (min-width: 960px) {
  .navcta {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 1.6px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}

@media (min-width: 960px) {
  .burger {
    display: none;
  }
}

.burger.open span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

/* Mobile Menu */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

#mobileMenu.open {
  max-height: 80vh;
  overflow-y: auto;
}

#mobileMenu .wrap {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  gap: 4px;
}

#mobileMenu details {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

#mobileMenu summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
}

#mobileMenu summary::-webkit-details-marker {
  display: none;
}

#mobileMenu a {
  display: block;
  padding: 9px 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

#mobileMenu > .wrap > a {
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* ==========================================================================
   6. PAGE HERO & VISUALS
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 255, .28), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 217, 192, .18), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.4rem;
  line-height: 1.08;
  max-width: 820px;
}

@media (min-width: 640px) {
  .page-hero h1 {
    font-size: 3.4rem;
  }
}

@media (min-width: 1100px) {
  .page-hero h1 {
    font-size: 4.2rem;
  }
}

.page-hero p.lead {
  margin-top: 22px;
  max-width: 560px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.breadcrumb {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--text-dim);
}

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

/* Interactive Hero Layout & Floating Blocks */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
  }
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  opacity: 0;
  animation: heroVisualIn .8s ease 1.8s forwards;
}

@media (min-width: 980px) {
  .hero-visual {
    margin: 0 0 0 auto;
    max-width: 360px;
  }
}

@keyframes heroVisualIn {
  to {
    opacity: 1;
  }
}

#heroBurstCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.float-block {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  --px: 0px;
  --py: 0px;
  --r: 0deg;
  animation: floaty 7s ease-in-out infinite alternate;
}

.float-block svg {
  width: 30px;
  height: 30px;
}

.float-block:nth-child(odd) svg {
  stroke: var(--accent1);
}

.float-block:nth-child(even) svg {
  stroke: var(--accent2);
}

:root[data-theme="light"] .float-block {
  opacity: 0.65;
}

.fb1 { top: 14%; left: 6%; width: 64px; height: 64px; --r: -8deg; animation-delay: 0s; }
.fb2 { top: 8%; right: 14%; --r: 6deg; animation-delay: .6s; }
.fb3 { top: 46%; right: 5%; width: 66px; height: 66px; --r: -5deg; animation-delay: 1.1s; }
.fb4 { bottom: 10%; left: 11%; width: 88px; height: 88px; --r: 7deg; animation-delay: 1.6s; }
.fb5 { bottom: 20%; right: 20%; width: 58px; height: 58px; --r: -10deg; animation-delay: .3s; }
.fb6 { top: 66%; left: 24%; width: 56px; height: 56px; --r: 4deg; animation-delay: 2s; }
.fb7 { top: 20%; left: 42%; width: 50px; height: 50px; --r: -4deg; animation-delay: 1.4s; opacity: 0.35; }

@keyframes floaty {
  from {
    transform: translate(var(--px), var(--py)) rotate(var(--r));
  }
  to {
    transform: translate(var(--px), calc(var(--py) - 16px)) rotate(var(--r));
  }
}

@media (max-width: 900px) {
  .float-block {
    display: none;
  }
  .fb1, .fb4 {
    display: flex;
  }
}

.type-cursor {
  color: var(--accent2);
  font-weight: 400;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ==========================================================================
   7. SECTIONS & LAYOUT GRIDS
   ========================================================================== */
section {
  padding: 84px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

.kicker {
  max-width: 600px;
  margin-bottom: 52px;
}

.kicker h2 {
  font-size: 1.9rem;
}

@media (min-width: 700px) {
  .kicker h2 {
    font-size: 2.5rem;
  }
}

.kicker p {
  color: var(--text-soft);
  margin-top: 14px;
  line-height: 1.65;
}

/* Generic Grids */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1060px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 780px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   8. COMPONENTS & CARDS
   ========================================================================== */

/* Trust Marquee */
.trust {
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}

.marquee-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee {
  display: flex;
  width: max-content;
  gap: 60px;
  animation: scroll 30s linear infinite;
  align-items: center;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.wordmark {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 780px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--bg-panel);
  position: relative;
  overflow: hidden;
}

.stat-card b {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  display: block;
}

.stat-card span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

/* Standard Cards */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: var(--bg-panel);
  transition: border-color .2s, transform .2s;
}

.card:hover {
  border-color: var(--accent1);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  color: var(--text-soft);
}

/* Icon Tile */
.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-tile svg {
  width: 22px;
  height: 22px;
  stroke: #0A0D12;
}

/* Case Study Cards */
.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}

.case-card:hover {
  border-color: var(--accent2);
  transform: translateY(-3px);
}

.case-art {
  aspect-ratio: 16 / 10;
  background: var(--bg-panel-2);
}

.case-art svg {
  width: 100%;
  height: 100%;
}

.case-body {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-cat {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--accent2);
  margin-bottom: 10px;
}

.case-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.case-body p {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.metric-row {
  display: flex;
  gap: 22px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.metric b {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
}

.metric span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Process Steps */
.step-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.step-row:last-child {
  border-bottom: none;
}

@media (min-width: 780px) {
  .step-row {
    grid-template-columns: 70px 220px 1fr;
    gap: 30px;
    align-items: start;
  }
}

.step-n {
  font-family: 'Outfit', sans-serif;
  color: var(--accent1);
  font-size: 0.95rem;
}

.step-row h3 {
  font-size: 1.35rem;
}

.step-row p {
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 560px;
  font-size: 0.95rem;
}

/* Awards Strip */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 700px) {
  .awards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.award-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-panel);
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.award-card b {
  display: block;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  border-bottom: none;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124, 92, 255, .18), transparent 60%);
  pointer-events: none;
}

.cta-banner .wrap {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 2rem;
  max-width: 680px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .cta-banner h2 {
    font-size: 2.8rem;
  }
}

.cta-banner p {
  color: var(--text-soft);
  margin-top: 16px;
}

.cta-banner .hero-cta {
  justify-content: center;
  margin-top: 32px;
}

/* Contact Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
  }
}

.contact-info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-panel);
  margin-bottom: 16px;
}

.contact-info-card h6 {
  font-size: 16px; font-weight: 500; margin: 16px 0;
}

.contact-info-card .contact-add-info {
  display: flex; margin-bottom: 8px;
}

.contact-info-card b {
  font-family: 'Outfit', sans-serif;
  margin-bottom: 4px; margin-right: 10px;
}

.contact-info-card span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}

input, textarea, select {
  width: 100%;
  background: var(--bg-panel);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent1);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.thankyou {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
  background: var(--bg-panel);
}

.thankyou h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.thankyou p {
  color: var(--text-soft);
}

/* Blog List */
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 26px;
  transition: border-color .2s, transform .2s;
}

.blog-card:hover {
  border-color: var(--accent1);
  transform: translateY(-3px);
}

.blog-cat {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  color: var(--accent2);
  margin-bottom: 12px;
  display: block;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent2);
}

/* Careers */
.role-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.role-row:last-child {
  border-bottom: none;
}

.role-row h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.role-row span {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--bg-panel);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Industries */
.industry-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-panel);
  transition: border-color .2s;
}

.industry-card:hover {
  border-color: var(--accent2);
}

.industry-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.industry-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}










.approach-wrap{
  position:relative;
  /* height:500vh; */
  background:var(--bg);
}
.approach-pin{
  position:relative;
  height:100vh;
  min-height:820px;
  width:100%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.approach-bg-text{
  font-size:clamp(60px, 14vw, 220px);
  font-weight:800;
  letter-spacing:-2px;
  color:var(--text);
  line-height:1;
  text-transform:uppercase;
  user-select:none;
  white-space:nowrap;
}
.approach-box{
  position:absolute;
  width:min(260px, 70vw);
  background:var(--bg-panel);
  color:var(--text);
  border:1px solid var(--border);
  border-radius:12px;
  padding:20px;
  box-shadow:0 20px 50px rgba(0,0,0,.4);
}
.approach-box .icon{
  width:44px;height:44px;
  border-radius:8px;
  background:var(--grad);
  margin-bottom:18px;
}
.approach-box h3{ font-size:1.15rem; margin-bottom:10px; color:var(--text); }
.approach-box p{ font-size:.85rem; line-height:1.5; color:var(--text-soft); }
.approach-box.alt{ background:var(--accent2); color:#0A0D12; }
.approach-box.alt p{ color:rgba(10,13,18,.72); }
.approach-box.alt .icon{ background:#0A0D12; }
.approach-box.dark{ background:var(--bg-panel-2); color:var(--text); }
.approach-box.dark p{ color:var(--text-soft); }
.approach-box.dark .icon{ background:var(--grad); }

/* Video jo kisi approach-box ke andar daali gayi ho (jaise "Passion for
   Impact" box) — box ke andar properly fit ho, overflow na kare */
.approach-box video{
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 6px;
  background: #000;
}

/* ── MOBILE / TABLET / SMALL LAPTOP: scattered absolute layout doesn't
   fit these screens, so switch to a simple stacked list — no overlap ── */
@media (max-width: 1100px){
  .approach-wrap{
    height:auto;
    padding:60px 0;
  }
  .approach-pin{
    position:static;
    height:auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:18px;
    padding:0 20px;
  }
  .approach-bg-text{
    position:static;
    display:block;
    font-size:clamp(38px, 12vw, 64px);
    text-align:center;
    margin-bottom:10px;
  }
  .approach-box{
    position:static;
    width:100%;
    max-width:100%;
    opacity:1 !important;
    transform:none !important;
  }
}










/* ==========================================================================
   9. FOOTER
   ========================================================================== */
footer {
  padding: 60px 0 28px;
}

footer .brand {max-width: 70%;}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 780px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.foot-brand p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin-top: 14px;
}

.foot-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-weight: 600;
}

.foot-col a {
  display: block;
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 11px;
  transition: color .2s;
}

.foot-col a:hover {
  color: var(--accent2);
}

.foot-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .foot-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.foot-bottom p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.foot-social {
  display: flex;
  gap: 16px;
}

.foot-social a {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.foot-social a:hover {
  color: var(--accent2);
}

/* ==========================================================================
   RESPONSIVE FIX — Mobile & Tablet
   ========================================================================== */

/* ── Global overflow fix ── */
html, body {
  overflow-x: hidden;
  overflow-x: clip; /* hidden sirf purane browsers ka fallback; clip se sticky sections (Capabilities) sahi chalte hain */
  max-width: 100%;
}

* {
  min-width: 0;
}

/* ── Wrap padding on small screens ── */
.wrap {
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
}

@media (min-width: 900px) {
  .wrap { padding-left: 44px; padding-right: 44px; }
}

/* ── Hero section ── */
.page-hero {
  padding: 110px 0 50px;
}

@media (max-width: 767px) {
  .page-hero {
    padding: 100px 0 40px;
  }
  .page-hero h1 {
    font-size: 2rem;
    line-height: 1.15;
    word-break: break-word;
  }
  .page-hero p.lead {
    font-size: 0.95rem;
  }
}

/* ── Hero grid ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
  }
}

/* ── Hero copy never overflows ── */
.hero-copy {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-copy h1 {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Hero visual on mobile ── */
.hero-visual {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

@media (min-width: 980px) {
  .hero-visual {
    max-width: 360px;
    margin: 0 0 0 auto;
  }
}

/* ── CTA buttons ── */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 400px) {
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Buttons ── */
.btn {
  white-space: nowrap;
  max-width: 100%;
}

/* ── Grid layouts ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── Stat grid ── */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 780px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Cards ── */
.card, .case-card, .stat-card, .service-card,
.industry-card, .award-card, .blog-card {
  width: 100%;
  box-sizing: border-box;
}

/* ── Marquee ── */
.marquee-outer {
  overflow: hidden;
  width: 100%;
}

/* ── Float blocks (hero bg icons) hide on mobile ── */
@media (max-width: 767px) {
  .hero-bg { display: none; }
}

/* ── Navigation ── */
@media (max-width: 959px) {
  .navlinks, .navcta { display: none; }
  .burger { display: flex; }
}

/* ── Mobile menu ── */
#mobileMenu .wrap {
  padding-left: 16px;
  padding-right: 16px;
}

/* ── Footer ── */
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ── Section padding ── */
section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  section { padding: 80px 0; }
}

@media (min-width: 1100px) {
  section { padding: 100px 0; }
}

/* ── kicker / section heading ── */
.kicker {
  max-width: 640px;
  margin-bottom: 40px;
}

.kicker h2 {
  font-size: 1.8rem;
  line-height: 1.2;
  word-break: break-word;
}

@media (min-width: 640px) {
  .kicker h2 { font-size: 2.2rem; }
}

@media (min-width: 980px) {
  .kicker h2 { font-size: 2.6rem; }
}

/* ── Case cards ── */
.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--border);
}

.case-art {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.case-art svg {
  width: 100%;
  height: 100%;
}

.case-body {
  padding: 20px;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

/* ── Awards grid ── */
.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .awards-grid { grid-template-columns: 1fr; }
}

/* ── Motion section ── */
.motion-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .motion-wrap { grid-template-columns: 1fr 1fr; }
}

.motion-canvas-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
}

.motion-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

/* ── CTA banner ── */
.cta-banner {
  text-align: center;
  padding: 60px 0;
}

.cta-banner h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  word-break: break-word;
}

@media (min-width: 640px) {
  .cta-banner h2 { font-size: 2rem; }
}

@media (min-width: 980px) {
  .cta-banner h2 { font-size: 2.6rem; }
}

.cta-banner .hero-cta {
  justify-content: center;
}

/* ── Canvas elements ── */
#sparkCanvas,
#heroBurstCanvas,
#infographicCanvas {
  max-width: 100%;
}

/* ── Images ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Table overflow ── */
table {
  width: 100%;
  overflow-x: auto;
  display: block;
}


/* ==========================================================================
   PORTFOLIO PAGE (portfolio.php) — tabs, cards, modal
   ========================================================================== */
.pf-stats {
  padding: 50px 0 10px;
}
.pf-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 780px) {
  .pf-stat-grid { grid-template-columns: repeat(4, 1fr); }
}
.pf-stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--bg-panel);
  text-align: left;
  transition: border-color .25s ease, transform .25s ease;
}
.pf-stat:hover { border-color: var(--accent1); transform: translateY(-3px); }
.pf-stat b {
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  display: block;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pf-stat span { color: var(--text-soft); font-size: 0.82rem; }

/* ---------- Tab bar ---------- */
.pf-tabs-section { padding: 46px 0 90px; position: relative; }

.pf-tabbar-wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 46px;
}

/* holds the scrolling row + its progress line; min-width:0 lets it shrink so the row scrolls instead of overflowing */
.pf-tabscroller {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

@property --pf-fade-l { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --pf-fade-r { syntax: '<length>'; inherits: false; initial-value: 0px; }

.pf-tabbar {
  --pf-fade-l: 0px;
  --pf-fade-r: 0px;
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 6px 22px 6px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 30px;
  -webkit-overflow-scrolling: touch;
  /* soft fade on whichever side has more tabs, so nothing ever looks hard-cut */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--pf-fade-l), #000 calc(100% - var(--pf-fade-r)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--pf-fade-l), #000 calc(100% - var(--pf-fade-r)), transparent 100%);
  transition: --pf-fade-l .3s ease, --pf-fade-r .3s ease;
}
.pf-tabbar::-webkit-scrollbar { display: none; }
.pf-tabbar-wrap.can-scroll-left  .pf-tabbar { --pf-fade-l: 26px; }
.pf-tabbar-wrap.can-scroll-right .pf-tabbar { --pf-fade-r: 26px; }

.pf-tab { scroll-snap-align: start; }

/* trailing spacer so the last pill can snap fully into view, never half-cut */
.pf-tabbar::after {
  content: "";
  flex: 0 0 1px;
}

/* thin scroll-progress line under the row */
.pf-tabprogress {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.pf-tabbar-wrap.has-overflow .pf-tabprogress { opacity: .9; }
.pf-tabprogress i {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: 2px;
  background: var(--grad);
  will-change: transform;
}

/* ---------- Prev / next arrows ---------- */
.pf-arrow {
  position: relative;
  z-index: 3;
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, opacity .3s ease;
}
.pf-tabbar-wrap.has-overflow .pf-arrow { display: inline-flex; }

.pf-arrow-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .65);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .25s ease, color .25s ease, box-shadow .3s ease;
}
/* gradient fill that blooms outward from the centre on hover */
.pf-arrow-face::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0;
  transform: scale(.35);
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.pf-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pf-arrow:not([aria-disabled="true"]):hover { transform: translateY(-2px); }
.pf-arrow:not([aria-disabled="true"]):hover .pf-arrow-face {
  border-color: transparent;
  color: #0A0D12;
  box-shadow: 0 14px 30px -10px rgba(124, 92, 255, .7), 0 0 0 5px rgba(0, 217, 192, .12);
}
.pf-arrow:not([aria-disabled="true"]):hover .pf-arrow-face::before { opacity: 1; transform: scale(1); }
.pf-arrow:not([aria-disabled="true"]):active { transform: translateY(0) scale(.9); }

/* chevron glides in its direction while hovered */
.pf-arrow-next:not([aria-disabled="true"]):hover svg { animation: pf-arrow-right .85s ease-in-out infinite; }
.pf-arrow-prev:not([aria-disabled="true"]):hover svg { animation: pf-arrow-left  .85s ease-in-out infinite; }
@keyframes pf-arrow-right { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes pf-arrow-left  { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-3px); } }

/* end of the row: dim and inert */
.pf-arrow[aria-disabled="true"] { opacity: .3; cursor: default; }

.pf-arrow:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }

/* attention ring on the "next" arrow until the visitor first scrolls */
.pf-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent2);
  opacity: 0;
  pointer-events: none;
}
.pf-arrow.pf-nudge:not([aria-disabled="true"])::after { animation: pf-arrow-ring 2.2s ease-out infinite; }
@keyframes pf-arrow-ring {
  0%   { transform: scale(1);   opacity: .75; }
  100% { transform: scale(1.75); opacity: 0; }
}

.pf-arrow-face .pf-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transform: scale(0);
  animation: pf-ripple .6s ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 560px) {
  .pf-tabbar-wrap { gap: 8px; }
  .pf-arrow { width: 38px; height: 38px; margin-top: 11px; }
  .pf-arrow svg { width: 16px; height: 16px; }
}

/* ambient glow that follows the cursor across the tab row */
.pf-tab-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 120px;
  background: radial-gradient(circle, rgba(124,92,255,.30), rgba(0,217,192,.08) 55%, transparent 75%);
  filter: blur(18px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.pf-tabbar-wrap:hover .pf-tab-glow { opacity: 1; }

.pf-tab {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px 11px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-soft);
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
  transition: color .25s ease, border-color .25s ease, transform .18s ease, box-shadow .3s ease;
}

.pf-tab svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform .35s ease;
}

.pf-tab .pf-tab-count {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  color: var(--text-dim);
  background: var(--bg-panel-2);
  border-radius: 20px;
  padding: 1px 7px;
  transition: background .25s ease, color .25s ease;
}

.pf-tab:hover {
  color: var(--text);
  border-color: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(0, 217, 192, .45);
}
.pf-tab:hover svg { transform: rotate(-8deg) scale(1.1); }

.pf-tab.active {
  color: #0A0D12;
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 14px 30px -12px rgba(124, 92, 255, .55);
}
.pf-tab.active .pf-tab-count {
  background: rgba(10, 13, 18, .18);
  color: #0A0D12;
}
.pf-tab.active svg { transform: scale(1.08); }

/* click ripple */
.pf-tab .pf-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transform: scale(0);
  animation: pf-ripple .6s ease-out forwards;
  pointer-events: none;
  z-index: -1;
}
.pf-tab.active .pf-ripple { background: rgba(10, 13, 18, .25); }

@keyframes pf-ripple {
  to { transform: scale(3.2); opacity: 0; }
}

/* ---------- Portfolio grid ---------- */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) {
  .pf-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) {
  .pf-grid { grid-template-columns: repeat(3, 1fr); }
}

.pf-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease, opacity .35s ease;
  will-change: transform;
}

.pf-card.pf-hide {
  opacity: 0;
  transform: scale(.92) translateY(10px) !important;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.pf-card:hover {
  border-color: var(--accent1);
  box-shadow: 0 26px 50px -22px rgba(124, 92, 255, .38);
}

.pf-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--bg-panel-2);
  overflow: hidden;
  transform: translateZ(20px);
}
.pf-thumb svg { width: 100%; height: 100%; display: block; }

.pf-thumb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.pf-thumb-icon svg {
  width: 74px;
  height: 74px;
  stroke: rgba(255,255,255,.85);
  fill: none;
}
:root[data-theme="light"] .pf-thumb-icon svg { stroke: rgba(15,18,25,.55); }
.pf-card:hover .pf-thumb-icon { transform: scale(1.14) rotate(-6deg); }

.pf-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10,13,18,0) 40%, rgba(10,13,18,.82) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.pf-card:hover .pf-thumb-overlay { opacity: 1; }

.pf-view-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  transform: translateY(14px);
  transition: transform .35s ease;
}
.pf-card:hover .pf-view-pill { transform: translateY(0); }
.pf-view-pill svg { width: 14px; height: 14px; stroke: #fff; }

.pf-body { padding: 22px 22px 24px; }

.pf-cat {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  color: var(--accent2);
  display: block;
  margin-bottom: 8px;
}

.pf-body h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  transition: color .2s ease;
}
.pf-card:hover .pf-body h3 { color: var(--accent1); }

.pf-body p {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.pf-tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pf-tagrow .tag { font-size: 0.66rem; padding: 4px 10px; }

.pf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.pf-foot span { font-size: 0.74rem; color: var(--text-dim); font-family: 'Outfit', sans-serif; }
.pf-foot .pf-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.pf-foot .pf-arrow svg { width: 14px; height: 14px; stroke: var(--text-soft); transition: stroke .25s ease, transform .25s ease; }
.pf-card:hover .pf-foot .pf-arrow { background: var(--grad); border-color: transparent; transform: translate(2px,-2px); }
.pf-card:hover .pf-foot .pf-arrow svg { stroke: #0A0D12; transform: translate(1px,-1px); }

/* empty state */
.pf-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: none;
}
.pf-empty.show { display: block; }

/* reveal-on-scroll */
.pf-card.pf-reveal { opacity: 0; transform: translateY(24px); }
.pf-card.pf-reveal.pf-in { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }

/* ---------- Modal ---------- */
.pf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, .72);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.pf-modal-backdrop.open { opacity: 1; pointer-events: auto; }

.pf-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  transform: translateY(24px) scale(.97);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.pf-modal-backdrop.open .pf-modal { transform: translateY(0) scale(1); opacity: 1; }

.pf-modal::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--grad);
  border-radius: 14px 14px 0 0;
}

.pf-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-panel-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
  z-index: 2;
}
.pf-modal-close:hover { border-color: var(--accent2); transform: rotate(90deg); background: var(--bg-panel); }
.pf-modal-close svg { width: 16px; height: 16px; stroke: var(--text); }

.pf-modal-art {
  aspect-ratio: 16/9;
  background: var(--bg-panel-2);
  display: flex; align-items: center; justify-content: center;
}
.pf-modal-art svg { width: 84px; height: 84px; stroke: rgba(255,255,255,.85); fill: none; }
:root[data-theme="light"] .pf-modal-art svg { stroke: rgba(15,18,25,.55); }

.pf-modal-body { padding: 30px 32px 34px; }
.pf-modal-body .pf-cat { margin-bottom: 10px; }
.pf-modal-body h3 { font-size: 1.6rem; margin-bottom: 14px; }
.pf-modal-body p { color: var(--text-soft); line-height: 1.7; font-size: 0.96rem; margin-bottom: 20px; }

.pf-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel-2);
}
.pf-modal-meta div span { display: block; font-size: 0.7rem; color: var(--text-dim); font-family: 'Outfit', sans-serif; margin-bottom: 4px; }
.pf-modal-meta div b { font-family: 'Outfit', sans-serif; font-size: 0.98rem; font-weight: 600; }

.pf-modal-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .pf-modal-body { padding: 26px 22px 28px; }
  .pf-modal-meta { grid-template-columns: 1fr 1fr; }
}

body.pf-lock { overflow: hidden; }



/* ================================================
   Promo Band — device mockup + CTA (added section)
   High-level animated version: GSAP/ScrollTrigger
   handles the reveal + parallax (see main.js);
   this CSS only handles the always-on ambient motion
   (rotating glow border, drifting orbs, tilt hover).
   ================================================ */
@property --promo-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.promo-band {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  isolation: isolate;
}

/* organic morphing blob glow — replaces the old rectangle
   card background; no hard edges, no straight corners,
   just a soft colour wash that slowly reshapes itself */
.promo-grid::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  max-width: 130%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(124, 92, 255, .32), rgba(0, 217, 192, .24));
  filter: blur(90px);
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  animation: blobMorph 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; }
  34%      { border-radius: 58% 42% 35% 65% / 55% 65% 35% 45%; }
  67%      { border-radius: 65% 35% 45% 55% / 40% 55% 45% 60%; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-grid::before { animation: none; }
}

.promo-visual, .promo-copy {
  position: relative;
  z-index: 1;
}

.promo-visual {
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.promo-visual-inner {
  width: 100%;
  max-width: 340px;
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(4deg);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
  transition: transform .5s ease;
}

.promo-band:hover .promo-visual-inner {
  transform: rotateY(0deg) rotateX(0deg);
}

.promo-visual-inner svg {
  width: 100%;
  height: auto;
  display: block;
}

.promo-check-ring {
  transform-origin: 270px 150px;
  animation: promoPulse 2.4s ease-in-out infinite;
}

@keyframes promoPulse {
  0%, 100% { transform: scale(1); opacity: .12; }
  50%      { transform: scale(1.18); opacity: .28; }
}

.promo-copy .eyebrow {
  margin-bottom: 14px;
}

.promo-copy h2 {
  font-size: 1.7rem;
  margin: 0 0 16px;
  line-height: 1.25;
}

.promo-copy p {
  color: var(--text-soft);
  margin: 0 0 26px;
}

.promo-copy .hero-cta {
  margin-top: 0;
  flex-wrap: wrap;
}

.promo-copy .btn-call svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (min-width: 860px) {
  .promo-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
  }
  .promo-copy h2 {
    font-size: 2.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-grid::after,
  .promo-orb,
  .promo-check-ring {
    animation: none;
  }
  .promo-visual-inner {
    transform: none;
  }
}

/* ================================================
   Offices worldwide panel — contact page
   (dark photo tile + address columns, theme colors)
   ================================================ */
.offices-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 60px;
}

.offices-photo {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(155deg, var(--bg-panel-2), var(--bg));
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
}

.offices-photo-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.offices-photo-overlay {
  position: relative;
  z-index: 1;
  padding: 26px;
}

.offices-photo-overlay h3 {
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 44px;
}

.offices-talk {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.offices-talk:hover {
  color: var(--accent2);
  border-color: var(--accent2);
}

.offices-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 34px 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.office-col h4 {
  font-size: 1rem;
  color: var(--text);
  display: inline-block;
  border-bottom: 1px solid var(--accent2);
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.office-col p {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.office-phone {
  display: inline-block;
  color: var(--accent2);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--accent2);
  padding-bottom: 1px;
  margin-bottom: 8px;
}

.office-phone:hover {
  color: var(--accent1);
  border-color: var(--accent1);
}

.office-email {
  display: block;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.office-email:hover {
  color: var(--accent2);
}

.contact-form-panel {
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .offices-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .offices-panel {
    grid-template-columns: 260px 1fr;
    align-items: stretch;
  }
  .offices-photo {
    min-height: unset;
  }
  .offices-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ================================================
   "Let's talk" contact hero + form layout
   ================================================ */
.talk-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 10px;
}

.talk-heading {
  font-size: 2.6rem;
  line-height: 1;
  margin: 0;
}

.talk-heading-italic {
  font-style: italic;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.talk-sub {
  color: var(--text-soft);
  max-width: 340px;
  font-size: 0.98rem;
}

@media (min-width: 760px) {
  .talk-hero {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .talk-heading {
    font-size: 4rem;
  }
  .talk-sub {
    text-align: right;
    margin-bottom: 10px;
  }
}

.talk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 860px) {
  .talk-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
  }
}

.talk-side {
  padding-top: 14px;
}

.social-row {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 44px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}

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

.social-item:hover .social-icon {
  border-color: var(--accent2);
  background: var(--bg-panel-2);
}

.social-item:hover .social-icon svg {
  color: var(--accent2);
}

.social-text {
  display: flex;
  flex-direction: column;
}

.social-text b {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
}

.social-text span {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.direct-contact .eyebrow {
  margin-bottom: 10px;
}

.direct-email {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  color: var(--text);
  transition: color .2s;
}

.direct-email:hover {
  color: var(--accent2);
}

/* boxed field style — label + input share one bordered card */
.field-box {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px 12px;
  transition: border-color .2s;
}

.field-box:focus-within {
  border-color: var(--accent1);
}

.field-box label {
  margin-bottom: 4px;
}

.field-box .req {
  color: var(--accent2);
  margin-left: 2px;
}

.field-box input,
.field-box textarea {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.field-box input:focus,
.field-box textarea:focus {
  border-color: transparent;
}

.field-box textarea {
  min-height: 100px;
  margin-top: 2px;
}

.talk-form .field-row {
  gap: 18px;
}

/* ================================================
   Promo Band visual v2 — orbiting rings (replaces
   the old flat laptop-mockup icon with a modern,
   animated "orbit" badge) + feature pill tags.
   Card wrapper / glow / CTA styles are unchanged.
   ================================================ */
.promo-visual-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--border);
}

.orbit-ring-2 {
  inset: 32px;
  border-style: solid;
  border-color: rgba(124, 92, 255, .28);
}

.orbit-core {
  position: absolute;
  inset: 37%;
  z-index: 2;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbitCorePulse 3s ease-in-out infinite;
}

.orbit-core svg {
  width: 32%;
  height: 32%;
  stroke: #0A0D12;
}

@keyframes orbitCorePulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(124, 92, 255, .10), 0 0 34px rgba(124, 92, 255, .40); }
  50%      { box-shadow: 0 0 0 14px rgba(0, 217, 192, .12), 0 0 54px rgba(0, 217, 192, .45); }
}

.orbit-spin {
  position: absolute;
  inset: 0;
}

.orbit-spin-a { animation: orbitSpinA 18s linear infinite; }
.orbit-spin-b { animation: orbitSpinB 18s linear infinite; }
.orbit-spin-c { animation: orbitSpinC 18s linear infinite; }

@keyframes orbitSpinA { from { transform: rotate(0deg);   } to { transform: rotate(360deg); } }
@keyframes orbitSpinB { from { transform: rotate(120deg); } to { transform: rotate(480deg); } }
@keyframes orbitSpinC { from { transform: rotate(240deg); } to { transform: rotate(600deg); } }

.orbit-sat {
  position: absolute;
  top: -21px;
  left: 50%;
  width: 42px;
  height: 42px;
  margin-left: -21px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  animation: orbitCounter 18s linear infinite;
}

@keyframes orbitCounter { to { transform: rotate(-360deg); } }

.orbit-sat svg {
  width: 18px;
  height: 18px;
  color: var(--accent2);
}

@media (prefers-reduced-motion: reduce) {
  .orbit-spin, .orbit-sat, .orbit-core {
    animation: none;
  }
}

.promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 24px;
}

.promo-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  letter-spacing: .02em;
  color: var(--accent2);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  padding: 6px 14px;
  border-radius: 999px;
}
/* =========================================================================
   WORK CAROUSEL — horizontal wheel-scroll gallery + custom circular cursor
   ========================================================================== */
.work-carousel-section{
  padding: 20px 0 90px;
  overflow: hidden;
}
.work-carousel{
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.work-carousel::-webkit-scrollbar{ display: none; }
@media (pointer: fine){
  .work-carousel{ cursor: none; }
}
.work-carousel-track{
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 4px max(20px, calc((100vw - 1200px) / 2));
}
.work-carousel-card{
  position: relative;
  flex: 0 0 340px;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  border: 1px solid var(--border);
}
.wc-icon{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: transform .5s ease, color .3s ease;
}
.wc-icon svg{ width: 96px; height: 96px; }
.work-carousel-card:hover .wc-icon{
  transform: scale(1.08);
  color: rgba(255,255,255,.75);
}
.work-carousel-tag{
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10,13,18,.55);
  backdrop-filter: blur(6px);
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
}
.work-carousel-tag svg{
  width: 26px;
  height: 26px;
  padding: 6px;
  background: rgba(255,255,255,.16);
  border-radius: 50%;
}

/* Custom circular cursor — follows the mouse only while hovering the carousel */
.wc-cursor{
  position: fixed;
  top: 0;
  left: 0;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--grad);
  color: #0A0D12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s ease, transform .25s ease;
}
.wc-cursor.active{
  opacity: 1;
  transform: scale(1);
}
@media (hover: none), (pointer: coarse){
  .wc-cursor{ display: none; }
}
@media (max-width: 640px){
  .work-carousel-card{ flex-basis: 260px; height: 340px; }
  .wc-icon svg{ width: 70px; height: 70px; }
}

/* =========================================================================
   SERVICE PAGE COMPONENTS — sub-service tabs, process steps, pricing
   cards, testimonial cards. Shared across all service pages.
   ========================================================================== */

/* Intro checklist (bullet list with check icon, used in intro sections) */
.svc-check-list{ list-style:none; margin:22px 0 26px; padding:0; display:flex; flex-direction:column; gap:14px; }
.svc-check-list li{ display:flex; align-items:flex-start; gap:12px; color:var(--text-soft); line-height:1.55; }
.svc-check-list li svg{ flex:0 0 22px; width:22px; height:22px; color:var(--accent2); margin-top:2px; }

/* Sub-service tabs: click a pill to switch the visible panel below */
.svc-tabs-nav{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:32px; }
.svc-tab-btn{
  font-family:inherit; font-size:.9rem; font-weight:600; color:var(--text-soft);
  background:var(--bg-panel); border:1px solid var(--border); border-radius:999px;
  padding:10px 20px; cursor:pointer; transition:all .2s ease;
}
.svc-tab-btn:hover{ color:var(--text); border-color:var(--accent1); }
.svc-tab-btn.active{ color:#0A0D12; background:var(--grad); border-color:transparent; }
.svc-tab-panel{ display:none; }
.svc-tab-panel.active{ display:grid; grid-template-columns:1fr; gap:32px; align-items:center; }
@media (min-width:860px){
  .svc-tab-panel.active{ grid-template-columns:1fr 1fr; }
}
.svc-tab-panel h3{ font-size:1.5rem; margin-bottom:14px; }
.svc-tab-panel p{ color:var(--text-soft); line-height:1.7; margin-bottom:20px; }
.svc-tab-media{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.svc-tab-media .svc-tab-art{
  aspect-ratio:1/1; border-radius:14px; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.4);
}
.svc-tab-media .svc-tab-art svg{ width:52px; height:52px; }

/* Process / workflow steps — 4-up card grid */
.process-grid{ display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:700px){ .process-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1060px){ .process-grid{ grid-template-columns:repeat(4,1fr); } }
.process-step{
  position:relative; border:1px solid var(--border); border-radius:var(--radius);
  padding:30px 26px; background:var(--bg-panel);
}
.process-step .process-num{
  font-family:'Outfit', sans-serif; font-size:.8rem; font-weight:700;
  color:var(--accent2); letter-spacing:.05em; margin-bottom:14px; display:block;
}
.process-step h3{ font-size:1.1rem; margin-bottom:10px; }
.process-step p{ color:var(--text-soft); font-size:.92rem; line-height:1.6; }

/* Pricing cards */
.pricing-grid{ display:grid; grid-template-columns:1fr; gap:22px; }
@media (min-width:860px){ .pricing-grid{ grid-template-columns:repeat(3,1fr); } }
.pricing-card{
  position:relative; border:1px solid var(--border); border-radius:var(--radius);
  padding:34px 28px; background:var(--bg-panel); display:flex; flex-direction:column;
}
.pricing-card.featured{
  border-color:var(--accent1);
  background:linear-gradient(180deg, color-mix(in srgb, var(--accent1) 10%, var(--bg-panel)), var(--bg-panel));
}
.pricing-card .pricing-badge{
  position:absolute; top:-13px; left:28px; background:var(--grad); color:#0A0D12;
  font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  padding:5px 14px; border-radius:999px;
}
.pricing-card h3{ font-size:1.2rem; margin-bottom:6px; }
.pricing-card .pricing-price{ margin:14px 0 22px; }
.pricing-card .pricing-price b{ font-family:'Outfit', sans-serif; font-size:2.1rem; }
.pricing-card .pricing-price s{ color:var(--text-dim); font-size:.95rem; margin-left:8px; }
.pricing-card ul{ list-style:none; padding:0; margin:0 0 26px; display:flex; flex-direction:column; gap:11px; flex:1; }
.pricing-card ul li{ display:flex; gap:10px; align-items:flex-start; color:var(--text-soft); font-size:.9rem; line-height:1.5; }
.pricing-card ul li svg{ flex:0 0 22px; width:22px; height:22px; color:var(--accent2); margin-top:2px; }

/* Testimonial cards (used inside a .work-carousel for horizontal scroll) */
.testimonial-card{
  flex:0 0 360px; height:auto; min-height:260px; padding:28px 26px;
  border:1px solid var(--border); border-radius:18px; background:var(--bg-panel);
  display:flex; flex-direction:column; justify-content:space-between; cursor:default;
}
.testimonial-card p{ color:var(--text-soft); line-height:1.65; font-size:.95rem; }
.testimonial-card .testimonial-author{ margin-top:20px; }
.testimonial-card .testimonial-author b{ display:block; font-size:.95rem; }
.testimonial-card .testimonial-author span{ color:var(--text-dim); font-size:.82rem; }


/* ==========================================================================
   HOME — NEW HERO (hero-cx) + ABOUT INTRO (ab-*) + SERVICES RIBBON (rb-*)
   Sab kuch naye class names ke andar scoped hai, baqi pages par koi asar nahi.
   ========================================================================== */

/* ── Hero ── */
.page-hero.hero-cx {
  padding: 150px 0 70px;
  text-align: center;
}
.page-hero.hero-cx .hx-copy {
  max-width: 1000px;
  margin: 0 auto;
  overflow: visible;
}
.page-hero.hero-cx h1 {
  font-size: clamp(2rem, 4.1vw, 3.7rem);
  line-height: 1.18;
  font-weight: 500;
  max-width: none;
  margin: 0 auto;
}
.page-hero.hero-cx p.lead {
  max-width: 660px;
  margin: 24px auto 0;
  font-size: 1.02rem;
}
.page-hero.hero-cx .hero-cta {
  justify-content: center;
  margin-top: 34px;
}
.btn.hx-pill {
  border-radius: 999px;
  padding: 18px 42px;
  font-size: 1rem;
}
@media (max-width: 640px) {
  .hx-br { display: none; }
  .btn.hx-pill { padding: 15px 28px; font-size: .92rem; }
}

/* Squares — competitor jaisi positions, par slow animation ke saath */
.hx-squares {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hx-sq {
  position: absolute;
  width: clamp(46px, 5.7vw, 108px);
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(124, 92, 255, .34), rgba(0, 217, 192, .10));
  border: 1px solid rgba(124, 92, 255, .22);
  animation: hxDrift 11s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hx-sq1 { left: 3.2%;  top: 186px; animation-duration: 12s; animation-delay: -2s; }
.hx-sq2 { left: 19.2%; top: 95px;  animation-duration: 10s; animation-delay: -5s; }
.hx-sq3 { left: 75.2%; top: 95px;  animation-duration: 13s; animation-delay: -1s; }
.hx-sq4 { left: 91.1%; top: 186px; animation-duration: 11s; animation-delay: -7s; }
.hx-sq5 { left: -2.1%; top: 490px; animation-duration: 14s; animation-delay: -3s; }
.hx-sq6 { left: 96.4%; top: 490px; animation-duration: 12s; animation-delay: -6s; }

@keyframes hxDrift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1);       opacity: .55; }
  50%  { transform: translate(6px, -12px) rotate(3deg) scale(1.05); opacity: 1; }
  100% { transform: translate(-6px, 10px) rotate(-3deg) scale(.97); opacity: .6; }
}
@media (max-width: 767px) {
  .hx-sq1 { top: 130px; }
  .hx-sq2 { top: 70px; }
  .hx-sq3 { top: 70px; }
  .hx-sq4 { top: 130px; }
  .hx-sq5, .hx-sq6 { top: 330px; }
}

/* Reviews row */
.hx-reviews {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 80px;
  margin-top: 74px;
}
.hx-review { text-align: left; }
.hx-review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-soft);
}
.hx-stars { display: inline-flex; gap: 3px; }
.hx-stars i {
  width: 14px;
  height: 14px;
  background: var(--text);
  clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 35%);
}
.hx-review-bottom {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}
.hx-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hx-clutch { font-weight: 700; }
.hx-fiverr { font-weight: 700; letter-spacing: -0.05em; }
.hx-upwork { font-weight: 700; }
.hx-review-bottom small {
  font-size: .8rem;
  color: var(--text-soft);
}
@media (max-width: 640px) {
  .hx-reviews { gap: 22px 36px; margin-top: 48px; }
  .hx-brand { font-size: 1.45rem; }
}

/* ── About intro ── */
.ab-section .ab-grid {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr) minmax(0, 270px);
  grid-template-areas:
    "media text pill"
    "stats stats pill";
  gap: 48px 56px;
  align-items: center;
}
.ab-media { grid-area: media; }
.ab-text  { grid-area: text; }
.ab-pill-wrap { grid-area: pill; align-self: start; }
.ab-stats { grid-area: stats; }

.ab-shape {
  position: relative;
  width: 100%;
  background:
    var(--ab-img, none) center / cover no-repeat,
    radial-gradient(circle at 25% 20%, rgba(0, 217, 192, .35), transparent 55%),
    linear-gradient(150deg, rgba(124, 92, 255, .55), #12161F 80%);
}
.ab-shape-arrow {
  aspect-ratio: 430 / 414;
  clip-path: polygon(0 24%, 21% 0, 72% 48%, 72% 6%, 100% 6%, 100% 100%, 5% 100%, 5% 71%, 48% 71%);
}
.ab-shape-pill {
  aspect-ratio: 270 / 567;
  border-radius: 999px;
}
.ab-title {
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.1;
  font-weight: 500;
}
.ab-dim { color: var(--text-dim); }
.ab-lead {
  margin: 28px 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.3;
  color: var(--text);
}
.ab-copy {
  margin: 20px 0 28px;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 560px;
}
.ab-copy b { font-weight: 600; }
.ab-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.ab-stat {
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.ab-stat b {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-stat span {
  display: block;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1rem;
}

.hx-js .hx-rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
.hx-js .hx-rv.hx-in { opacity: 1; transform: none; }
.hx-js .ab-text.hx-rv  { transition-delay: .1s; }
.hx-js .ab-pill-wrap.hx-rv { transition-delay: .2s; }

@media (max-width: 1099px) {
  .ab-section .ab-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
    grid-template-areas:
      "text text"
      "media pill"
      "stats stats";
    gap: 40px 32px;
  }
  .ab-stats { gap: 28px; }
}
@media (max-width: 640px) {
  .ab-section .ab-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 120px);
    gap: 32px 16px;
  }
  .ab-stats { grid-template-columns: 1fr; gap: 22px; }
}

/* ── Services ribbon ── */
.rb-section {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.rb-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 106px 106px;
  opacity: .45;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}
.rb-stage {
  position: relative;
  height: clamp(280px, 23.5vw, 460px);
}
.rb-stage svg {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  overflow: hidden;
}


/* ==========================================================================
   TESTIMONIAL (ribbon section ke andar) — tm-*
   ========================================================================== */
/* ribbon aur testimonial ke beech + neeche space */
.rb-section .rb-stage { margin-bottom: clamp(36px, 4vw, 70px); }
.rb-section .tm-wrap { position: relative; padding: clamp(70px, 8vw, 120px); }
/* grid background ab poore section ke peeche, testimonial tak */
.rb-section .rb-grid-bg {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
}

.tm-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px 40px;
  align-items: center;
}
.tm-visual { display: flex; justify-content: center; }
.tm-emblem {
  width: clamp(150px, 17vw, 240px);
  filter: drop-shadow(0 24px 40px rgba(124, 92, 255, .35));
  animation: tmFloat 7s ease-in-out infinite alternate;
}
@keyframes tmFloat {
  from { transform: translateY(-8px) rotate(-4deg); }
  to   { transform: translateY(10px) rotate(5deg); }
}

.tm-card {
  position: relative;
  padding: clamp(26px, 3.4vw, 46px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: color-mix(in srgb, var(--bg-panel) 72%, transparent);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -40px rgba(124, 92, 255, .45);
  overflow: hidden;
}
.tm-card::before {
  content: "";
  position: absolute;
  top: -120px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(124, 92, 255, .22), transparent 70%);
  pointer-events: none;
}
.tm-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.tm-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
}
.tm-dim { color: var(--text-dim); }
.tm-arrows { display: flex; gap: 12px; flex: 0 0 auto; }
.tm-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.tm-btn svg { width: 20px; height: 20px; }
.tm-btn:hover { border-color: var(--accent2); background: rgba(0, 217, 192, .08); transform: translateY(-2px); }
.tm-btn:focus-visible, .tm-dot:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }

.tm-body {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  transition: opacity .26s ease, transform .26s ease;
}
.tm-body.tm-out { opacity: 0; transform: translateY(10px); }

.tm-avatar {
  width: clamp(84px, 9vw, 128px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 3px;
  background: var(--grad);
  box-shadow: 0 14px 40px -12px rgba(124, 92, 255, .6);
}
.tm-avatar span {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-panel-2);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: .02em;
}
.tm-main { position: relative; min-width: 0; }
.tm-quote-mark {
  position: absolute;
  top: -26px; right: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 7rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  opacity: .22;
  pointer-events: none;
}
.tm-stars { display: inline-flex; gap: 4px; margin-bottom: 14px; }
.tm-stars i {
  width: 16px; height: 16px;
  background: var(--accent2);
  clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 35%);
}
.tm-text {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: var(--text);
  min-height: 8.5em;
}
.tm-person {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.tm-person b {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
}
.tm-person span { display: block; margin-top: 4px; font-size: .9rem; color: var(--text-soft); }

.tm-progress { position: relative; display: flex; gap: 8px; margin-top: 26px; }
.tm-dot {
  width: 28px; height: 4px;
  border: 0; padding: 0;
  border-radius: 4px;
  background: var(--border);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.tm-dot.on { width: 56px; background: var(--grad); }

@media (max-width: 899px) {
  .tm-grid { grid-template-columns: 1fr; }
  .tm-visual { display: none; }
}
@media (max-width: 640px) {
  .tm-body { grid-template-columns: 1fr; gap: 20px; }
  .tm-text { min-height: 0; }
  .tm-quote-mark { top: -18px; font-size: 5rem; }
  .tm-btn { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-emblem { animation: none; }
}


/* ==========================================================================
   RESPONSIVE SAFETY NET — media kabhi screen se bahar na nikle
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, video, iframe { max-width: 100%; }
img, video { height: auto; }


/* ==========================================================================
   FAQ ACCORDION — faq-*  (logo-design page)
   ========================================================================== */
.faq-wrap { max-width: 820px; }
.faq-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 28px;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-panel) 80%, transparent);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.faq-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--border);
  transition: background .25s ease;
}
.faq-item.open {
  background: var(--bg-panel);
  box-shadow: 0 18px 50px -30px rgba(124, 92, 255, .55);
}
.faq-item.open::before { background: var(--grad); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 24px 22px 26px;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  text-align: left;
  cursor: pointer;
}
.faq-q:focus-visible { outline: 2px solid var(--accent2); outline-offset: -2px; }
.faq-chev {
  flex: 0 0 auto;
  color: var(--text-soft);
  transition: transform .3s ease, color .3s ease;
}
.faq-item.open .faq-chev { transform: rotate(180deg); color: var(--accent2); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a p {
  margin: 0;
  padding: 0 28px 26px 68px;
  color: var(--text-soft);
  font-size: .97rem;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .faq-q { gap: 14px; padding: 18px 16px 18px 18px; }
  .faq-a p { padding: 0 18px 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-a, .faq-chev, .faq-item, .faq-item::before { transition: none; }
}






/* ==========================================================================
   BUSINESS DIVISIONS & TICKER SECTION (PERFECT NATURAL WORD SPACING)
   ========================================================================== */
.business-divisions-section {
  width: 100%;
  padding: 60px 0;
  background-color: transparent;
  overflow: hidden;
  box-sizing: border-box;
}

.bd-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 25px;
}

/* Subheading */
.bd-subheading {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 200;
  color: var(--text, #ffffff);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

/* Ticker Outer Wrapper */
.bd-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
  user-select: none;
  padding: 15px 0 25px 0;
  margin: 10px 0;
}

/* Continuous Animation Track */
.bd-marquee-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
}

.bd-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  animation: smoothMarquee 28s linear infinite;
}

@keyframes smoothMarquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Base Marquee Text */
.bd-ticker-text {
  font-family: 'Outfit', sans-serif;
  font-size: 10rem;
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.25;
  padding-right: 50px;
  padding-bottom: 10px;
  display: inline-flex;
  align-items: center;
}

/* Solid White 'skillfully' with Natural Space */
.bd-ticker-text .word-white {
  color: #ffffff;
  font-weight: 200;
  margin-right: 0.12em; /* Perfect natural gap before 'solving' */
  display: inline-block;
}

/* Gradient Highlight for 'solving challenges' */
.bd-ticker-text .highlight {
  background: var(--grad, linear-gradient(135deg, #2b95ff 0%, #3fe8b0 100%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 200;
  display: inline-block;
  padding-bottom: 8px;
}

/* Separator Dash */
.bd-ticker-text .sep {
  color: rgba(255, 255, 255, 0.25);
  margin-left: 40px;
  font-weight: 100;
}

/* Paragraph Description */
.bd-description {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim, rgba(255, 255, 255, 0.6));
  max-width: 620px;
  margin: 0;
}

/* Responsive Rules */
@media (max-width: 1200px) {
  .bd-ticker-text {
    font-size: 7rem;
  }
}

@media (max-width: 768px) {
  .bd-ticker-text {
    font-size: 4.5rem;
  }
  .bd-subheading {
    font-size: 1.6rem;
  }
}


/* ==========================================================================
   CAPABILITIES SECTION — sticky heading + glass boxes (desktop)
                          carousel (mobile / tablet < 900px)
   --------------------------------------------------------------------------
   Reusable: .cap-section ka HTML kisi bhi page par paste karein (index.php ka
   "Capabilities Section" block) — CSS/JS automatically chalenge.
   IMPORTANT: .cap-section ya uske kisi parent par overflow:hidden/auto mat
   lagayein, warna position:sticky kaam karna band kar deta hai.
   Colors sab site ke variables (--bg-panel-2, --text, --accent1/2 ...) se
   aate hain, is liye dark/light dono themes mein apne aap match karta hai.
   ========================================================================== */
.cap-section {
  position: relative;
  padding: clamp(70px, 8vw, 120px) 0 clamp(56px, 6vw, 100px);
  scroll-margin-top: 74px;
}
.cap-inner { position: relative; }               /* sticky ka container */

/* heading + logo (sticky-wrapper) */
.cap-sticky { position: relative; z-index: 1; }
.cap-sticky-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px 40px;
  align-items: start;
}
.cap-section .section-heading h2 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 3.7vw, 4rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* 3D logo (heading ke saamne, testimonial se bada) */
.cap-logo {
  display: flex;
  justify-content: flex-end;
  padding-right: clamp(0px, 3vw, 48px);
}
.cap-emblem {
  width: clamp(300px, 33vw, 480px);
  max-width: none;
  overflow: visible;
  filter: drop-shadow(0 28px 46px rgba(124, 92, 255, .38));
  animation: capFloat 7s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes capFloat {
  from { transform: translateY(-8px) rotate(-3deg); }
  to   { transform: translateY(10px) rotate(4deg); }
}

/* glass box (desktop + mobile dono mein same) */
.cap-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: clamp(24px, 2.6vw, 36px) clamp(24px, 3.2vw, 46px) clamp(26px, 2.8vw, 38px);
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--text) 9%, transparent);
  background: color-mix(in srgb, var(--bg-panel-2) 66%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
          backdrop-filter: blur(18px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--text) 7%, transparent),
    0 22px 44px -28px rgba(0, 0, 0, .5);
  transform: translateY(var(--cap-y, 0px));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .3s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cap-box { background: color-mix(in srgb, var(--bg-panel-2) 94%, transparent); }
}
.cap-box:hover {
  border-color: color-mix(in srgb, var(--accent1) 45%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--text) 9%, transparent),
    0 28px 54px -26px rgba(124, 92, 255, .45);
}
.cap-box-head { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.cap-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.2rem, 4.6vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--text) 13%, transparent);
  flex: none;
}
.cap-title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text);
}
.cap-text {
  margin: 0;
  font-size: clamp(.9rem, 1vw, .98rem);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: .02em;
  color: var(--text-soft);
}
.cap-icon { display: none; }                      /* desktop par sirf number + title (design ke mutabiq) */
.cap-icon svg { width: 100%; height: 100%; }

/* mobile block desktop par band */
.mobile-boxwrp.cap-mobile { display: none; }

/* ── Desktop: sticky heading, boxes upar se overlap ── */
@media (min-width: 900px) {
  .cap-sticky {
    position: sticky;
    top: 108px;                                   /* fixed header (74px) ke neeche */
  }
  .cap-logo { margin-top: -10px; }

  .boxwrp.cap-boxes {
    position: relative;
    z-index: 2;                                   /* boxes heading/logo ke UPAR */
    margin-top: -44px;                            /* col-3 ka pehla box logo ke neeche se overlap */
    padding-bottom: 130px;                        /* col-1 ke stagger ke liye jagah */
  }
  .cap-box-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(275px, 1fr);           /* sab boxes ki height barabar */
    gap: 32px clamp(16px, 1.9vw, 26px);
  }
  /* staggered columns: col1 sab se neeche, col3 sab se upar */
  .cap-box-list .cap-box:nth-child(3n + 1) { --cap-y: 120px; }
  .cap-box-list .cap-box:nth-child(3n + 2) { --cap-y: 60px; }
  .cap-box-list .cap-box:nth-child(3n)     { --cap-y: 0px; }
  .cap-box-list .cap-box:hover { transform: translateY(calc(var(--cap-y, 0px) - 4px)); }
}

/* ── Mobile / tablet: heading + logo upar, neeche smooth carousel ── */
@media (max-width: 899px) {
  .cap-sticky-grid { grid-template-columns: 1fr; gap: 8px; }
  .cap-logo { justify-content: center; padding-right: 0; margin-top: 4px; }
  .cap-emblem { width: clamp(210px, 62vw, 300px); }
  .cap-section .section-heading h2 { font-size: clamp(2rem, 8.4vw, 2.8rem); }

  .boxwrp.cap-boxes { display: none; }
  .mobile-boxwrp.cap-mobile { display: block; margin-top: 18px; }

  .cap-track {
    position: relative;
    display: flex;
    gap: 16px;
    margin: 0 -24px;                              /* screen ke edge tak (wrap padding 24px) */
    padding: 8px 24px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
  }
  .cap-track::-webkit-scrollbar { display: none; }
  .cap-track:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; border-radius: 12px; }
  .cap-track.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }

  .cap-slide {
    flex: 0 0 min(80%, 340px);
    display: flex;                                /* sab slides ki height barabar */
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .cap-slide .cap-box {
    width: 100%;
    gap: 14px;
    transform: scale(.965);
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .3s ease;
  }
  .cap-slide.is-active .cap-box {
    transform: scale(1);
    border-color: color-mix(in srgb, var(--accent1) 40%, transparent);
  }
  .cap-slide .cap-num { font-size: 3.4rem; }
  .cap-slide .cap-icon {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    margin-left: auto;
    border-radius: 12px;
    color: var(--accent1);
    background: color-mix(in srgb, var(--accent1) 12%, transparent);
  }
  .cap-slide .cap-icon svg { width: 22px; height: 22px; }
  .cap-slide .cap-title { font-size: 1.15rem; }

  .cap-controls { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
  .cap-progress {
    position: relative;
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: var(--border);
    overflow: hidden;
  }
  .cap-progress-bar {
    position: absolute; left: 0; top: 0;
    height: 100%;
    width: 30%;
    border-radius: 3px;
    background: var(--grad);
    will-change: transform, width;
  }
  .cap-arrows { display: flex; gap: 10px; }
  .cap-btn {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, opacity .2s ease;
  }
  .cap-btn svg { width: 18px; height: 18px; }
  .cap-btn:hover:not(:disabled) { border-color: var(--accent2); background: rgba(0, 217, 192, .08); }
  .cap-btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
  .cap-btn:disabled { opacity: .35; cursor: default; }
}
@media (prefers-reduced-motion: reduce) {
  .cap-emblem { animation: none; }
  .cap-track { scroll-behavior: auto; }
}


/* ==========================================================================
   MOBILE FIXES — header logo + testimonial side padding
   ========================================================================== */
@media (max-width: 959px) {
  header .brand { max-width: none; }
  header .brand img { height: 46px; width: auto; max-width: none; }
}
/* .tm-wrap ka side padding chhoti screens par card ko dabata tha */
@media (max-width: 1099px) {
  .rb-section .tm-wrap { padding-left: 0; padding-right: 0; }
}

/* ==========================================================================
   INDUSTRIES WE SERVE — ind-*  (services page)
   ========================================================================== */
.ind-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.12; }
.ind-head p { margin-top: 18px; max-width: 860px; color: var(--text-soft); font-size: 1.02rem; line-height: 1.7; }
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.ind-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-panel);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, color .35s ease;
}
.ind-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, var(--accent1), color-mix(in srgb, var(--accent1) 78%, var(--accent2)));
  opacity: 0;
  transition: opacity .35s ease;
}
.ind-icon { position: absolute; top: 24px; left: 24px; color: var(--text); transition: color .35s ease, transform .35s ease; }
.ind-go {
  position: absolute; top: 18px; right: 18px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad);
  color: #0A0D12;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.ind-go svg { transition: transform .35s ease; }
.ind-body { padding-bottom: 14px; border-bottom: 1px solid transparent; transition: border-color .35s ease; }
.ind-card h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.25; margin: 0 0 10px; }
.ind-card p { margin: 0; font-size: .86rem; line-height: 1.6; color: var(--text-soft); transition: color .35s ease; }

.ind-card:hover, .ind-card:focus-visible {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 26px 60px -26px rgba(124, 92, 255, .75);
  color: #fff;
}
.ind-card:hover::before, .ind-card:focus-visible::before { opacity: 1; }
.ind-card:hover .ind-icon, .ind-card:focus-visible .ind-icon { color: #fff; transform: scale(1.06); }
.ind-card:hover .ind-go, .ind-card:focus-visible .ind-go { background: #fff; color: var(--accent1); transform: rotate(0deg) scale(1.05); }
.ind-card:hover .ind-go svg, .ind-card:focus-visible .ind-go svg { transform: rotate(45deg); }
.ind-card:hover .ind-body, .ind-card:focus-visible .ind-body { border-bottom-color: rgba(255, 255, 255, .35); }
.ind-card:hover p, .ind-card:focus-visible p { color: rgba(255, 255, 255, .88); }
.ind-card:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }

@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ind-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .ind-card { min-height: 270px; }
}
@media (prefers-reduced-motion: reduce) { .ind-card, .ind-card * { transition: none; } .ind-card:hover { transform: none; } }

/* ==========================================================================
   SPLIT SECTION (text + image, alternating) — split-*  (home page)
   ========================================================================== */
.split-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}
.split-grid::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--border); pointer-events: none;
}
.split-cell { aspect-ratio: 1 / 1; min-width: 0; }
.split-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4.5vw, 64px); }
.split-text h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; }
.split-text p { margin-top: 22px; color: var(--text-soft); font-size: .96rem; line-height: 1.7; max-width: 390px; }
.split-img {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(0, 217, 192, .35), transparent 55%),
    linear-gradient(150deg, rgba(124, 92, 255, .55), #12161F 80%);
}
.split-img::before {
  content: ""; position: absolute; inset: 0;
  background: var(--split-img, none) center / cover no-repeat;
  transition: transform .9s ease;
}
.split-img:hover::before { transform: scale(1.05); }
.split-t1 { grid-area: 1 / 1; } .split-i1 { grid-area: 1 / 2; }
.split-i2 { grid-area: 2 / 1; } .split-t2 { grid-area: 2 / 2; }

@media (max-width: 767px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-grid::before { display: none; }
  .split-cell { aspect-ratio: auto; }
  .split-img { aspect-ratio: 4 / 3; }
  .split-text { padding: 36px 0 28px; }
  .split-t1 { grid-area: 1 / 1; } .split-i1 { grid-area: 2 / 1; }
  .split-t2 { grid-area: 3 / 1; } .split-i2 { grid-area: 4 / 1; }
}
@media (prefers-reduced-motion: reduce) { .split-img::before { transition: none; } }

