
:root {
  --pink:       #e6007e;
  --blue:       #009fe3;
  --teal:       #27cfc3;
  --grad:       linear-gradient(135deg, #e6007e 0%, #009fe3 100%);
  --dark:       #0d0d0d;
  --dark-600:   #1a1a1a;
  --dark-400:   #2e2e2e;
  --grey-500:   #676767;
  --grey-400:   #888888;
  --grey-100:   #e0e0e0;
  --white:      #ffffff;

  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-serif:   'EB Garamond', Georgia, serif;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Poppins', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --grid-max:    2000px;
  --grid-margin: clamp(24px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--grey-100);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════
   NEON BLUR ORBS
   ═══════════════════════════════════════════════════════════ */

.neon-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

.neon-orb--1 {
  width: clamp(350px, 45vw, 800px);
  height: clamp(350px, 45vw, 800px);
  background: radial-gradient(circle, rgba(230,0,126,0.35) 0%, rgba(230,0,126,0.12) 40%, transparent 70%);
  animation: orbDrift1 14s ease-in-out infinite;
}

.neon-orb--2 {
  width: clamp(250px, 30vw, 500px);
  height: clamp(250px, 30vw, 500px);
  background: radial-gradient(circle, rgba(0,159,227,0.3) 0%, rgba(0,159,227,0.1) 40%, transparent 70%);
  animation: orbDrift2 18s ease-in-out infinite;
}

@keyframes orbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(60px, -80px) scale(1.15); }
  50%  { transform: translate(-40px, 40px) scale(0.9); }
  75%  { transform: translate(80px, 20px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-50px, 60px) scale(1.1); }
  50%  { transform: translate(70px, -30px) scale(0.95); }
  75%  { transform: translate(-30px, -50px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   CASE STUDIES SECTION
   ═══════════════════════════════════════════════════════════ */

.case-studies {
  position: relative;
  width: 100%;
  overflow: clip;
  padding: clamp(80px, 10vw, 140px) 0;
}

.case-studies-inner {
  position: relative;
  z-index: 1;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

/* ─── SECTION HEADER ──────────────────────────────────── */

.cs-header {
  margin-bottom: 48px;
}

.cs-eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--grad);
  flex-shrink: 0;
}

.cs-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
  color: var(--white);
}

/* ─── CAROUSEL WRAPPER ────────────────────────────────── */

.cs-carousel-wrap {
  position: relative;
}

.cs-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  cursor: grab;
}

.cs-track:active { cursor: grabbing; }
.cs-track::-webkit-scrollbar { display: none; }

/* ─── CARD ────────────────────────────────────────────── */

.cs-card {
  position: relative;
  flex: 0 0 75%;
  min-height: 480px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.cs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Card background layers */
.cs-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.cs-card-bg--gradient {
  background: linear-gradient(135deg, var(--dark-600) 0%, var(--dark-400) 60%, #1a2a3a 100%);
}

/* Dark overlay (bottom-up) */
.cs-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(7,8,12,0.92) 0%,
    rgba(7,8,12,0.6) 40%,
    rgba(7,8,12,0.25) 70%,
    rgba(7,8,12,0.15) 100%
  );
  transition: background 0.4s ease;
}

.cs-card:hover .cs-card-overlay {
  background: linear-gradient(
    to top,
    rgba(7,8,12,0.88) 0%,
    rgba(7,8,12,0.5) 40%,
    rgba(7,8,12,0.18) 70%,
    rgba(7,8,12,0.08) 100%
  );
}

/* Card content */
.cs-card-content {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Service badge */
.cs-badge {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  left: clamp(16px, 2vw, 24px);
  z-index: 3;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Metric headline — the dominant text */
.cs-metric {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 4px;
}

/* Client name */
.cs-client {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--grey-100);
}

/* Sector + location */
.cs-sector {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--grey-500);
}

/* CTA link */
.cs-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-400);
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.cs-cta-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.cs-card:hover .cs-cta {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-card:hover .cs-cta-arrow {
  transform: translateX(4px);
}

/* ─── NAVIGATION ARROWS ──────────────────────────────── */

.cs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.cs-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.cs-arrow:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(230,0,126,0.3);
}

.cs-arrow:active {
  transform: scale(0.95);
}

.cs-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.cs-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── DOT INDICATORS ─────────────────────────────────── */

.cs-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--dark-400);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s var(--ease-out), width 0.3s var(--ease-out);
}

.cs-dot.active {
  background: var(--pink);
  width: 24px;
  border-radius: 100px;
}

.cs-dot:hover:not(.active) {
  background: var(--grey-500);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ═══════════════════════════════════════════════════════════
   BREAKPOINTS
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1800px) {
  :root { --grid-margin: clamp(24px, 4.5vw, 72px); }
}

@media (max-width: 1600px) {
  .cs-card { flex: 0 0 78%; }
}

@media (max-width: 1400px) {
  .cs-card { flex: 0 0 80%; }
  .cs-metric { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
}

@media (max-width: 1200px) {
  :root { --grid-margin: clamp(20px, 4vw, 56px); }
  .cs-card { flex: 0 0 82%; min-height: 440px; }
  .cs-client { font-size: 16px; }
}

@media (max-width: 1000px) {
  :root { --grid-margin: clamp(20px, 3.5vw, 40px); }
  .cs-card { flex: 0 0 85%; min-height: 420px; }
  .cs-track { gap: 16px; }
}

@media (max-width: 800px) {
  :root { --grid-margin: 24px; }
  .cs-card { flex: 0 0 88%; min-height: 400px; }
  .cs-headline { font-size: clamp(2rem, 7vw, 3rem); }
  .cs-metric { font-size: clamp(1.8rem, 5vw, 2.8rem); }
}

@media (max-width: 600px) {
  :root { --grid-margin: 20px; }
  .cs-card {
    flex: 0 0 calc(100% - 8px);
    min-height: 380px;
  }
  .cs-track { gap: 12px; }
  .cs-headline { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .cs-client { font-size: 15px; }
  .cs-arrow { width: 42px; height: 42px; }
  .cs-arrow svg { width: 18px; height: 18px; }
  .cs-nav { margin-top: 28px; gap: 12px; }
}

@media (max-width: 400px) {
  :root { --grid-margin: 16px; }
  .cs-card {
    flex: 0 0 100%;
    min-height: 340px;
  }
  .cs-card-content { padding: 20px; }
  .cs-badge { top: 12px; left: 12px; font-size: 10px; padding: 5px 10px; }
  .cs-metric { font-size: 1.75rem; }
  .cs-client { font-size: 14px; }
  .cs-sector { font-size: 13px; }
}



