/* ================================================================
   INFOLITH — CASE STUDY DESIGN SYSTEM
   Professional agency-grade styles for portfolio & case study pages
   ================================================================ */

/* ── PORTFOLIO / CASE STUDIES LISTING PAGE ────────────────────── */

.cs-listing-hero {
  background: #fff;
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e9ecef;
}

.cs-listing-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(2, 90, 221, 0.05) 0%, transparent 68%);
  pointer-events: none;
}

.cs-listing-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(13, 43, 83, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Eyebrow label */
.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #025add;
  margin-bottom: 20px;
}

.cs-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #025add;
  border-radius: 2px;
}

/* Listing hero title */
.cs-listing-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  color: #0d2b53;
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 0 0 22px;
}

.cs-listing-sub {
  font-size: 1.08rem;
  color: #6c757d;
  line-height: 1.75;
  max-width: 560px;
  font-weight: 400;
  margin: 0;
}

/* Hero stats */
.cs-listing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid #e9ecef;
}

.cs-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #025add;
  line-height: 1;
  letter-spacing: -1px;
}

.cs-stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ── CATEGORY TAGS ──────────────────────────────────────────────── */

.cs-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #025add;
  background: rgba(2, 90, 221, 0.08);
  border: 1px solid rgba(2, 90, 221, 0.2);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.cs-tag-green {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.25);
}

.cs-tag-orange {
  color: #d97706;
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.25);
}

.cs-tag-purple {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.25);
}

/* ── FEATURED CASE STUDY CARD ───────────────────────────────────── */

.cs-featured-section {
  padding: 72px 0 56px;
}

.cs-section-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e9ecef;
  max-width: 180px;
}

.cs-featured-card {
  display: grid;
  grid-template-columns: 1fr 400px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(0,0,0,0.04);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.cs-featured-card:hover {
  box-shadow: 0 12px 60px rgba(2, 90, 221, 0.12), 0 2px 0 rgba(2,90,221,0.08);
  transform: translateY(-5px);
}

.cs-featured-img {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.cs-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}

.cs-featured-card:hover .cs-featured-img img {
  transform: scale(1.04);
}

.cs-featured-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: #025add;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  z-index: 2;
}

.cs-featured-info {
  padding: 48px 44px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.cs-featured-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0d2b53;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.cs-featured-desc {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.75;
  margin-bottom: 26px;
}

.cs-featured-metrics {
  display: flex;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid #f0f4f8;
  border-bottom: 1px solid #f0f4f8;
  margin-bottom: 24px;
}

.cs-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-metric strong {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #025add;
  line-height: 1;
}

.cs-metric span {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Stack chips */
.cs-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.cs-stack-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 5px 14px;
  transition: all 0.2s ease;
}

.cs-stack-chip:hover {
  border-color: rgba(2, 90, 221, 0.35);
  color: #025add;
  background: #fff;
}

/* CTA arrow link */
.cs-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #025add;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
  width: fit-content;
}

.cs-cta-link:hover {
  color: #0d2b53;
  gap: 14px;
  border-bottom-color: #025add;
}

/* ── CASE STUDY GRID CARDS ─────────────────────────────────────── */

.cs-grid-section {
  padding: 0 0 80px;
}

.cs-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.32s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f4f8;
}

.cs-card:hover {
  box-shadow: 0 10px 44px rgba(2, 90, 221, 0.11);
  transform: translateY(-6px);
  border-color: rgba(2, 90, 221, 0.12);
}

.cs-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
}

.cs-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.cs-card:hover .cs-card-img-wrap img {
  transform: scale(1.06);
}

.cs-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 43, 83, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cs-card:hover .cs-card-overlay {
  opacity: 1;
}

.cs-overlay-btn {
  color: #fff;
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 10px 26px;
  border-radius: 50px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.cs-overlay-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

.cs-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cs-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d2b53;
  margin-bottom: 9px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.cs-card-desc {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.cs-card-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.cs-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #025add;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.22s ease;
  letter-spacing: 0.2px;
}

.cs-card-link:hover {
  gap: 12px;
  color: #0d2b53;
}

/* ── PORTFOLIO PAGE CTA ─────────────────────────────────────────── */

.cs-bottom-cta {
  background: linear-gradient(135deg, #0d2b53 0%, #025add 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cs-bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cs-bottom-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 14px;
  position: relative;
}

.cs-bottom-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 36px;
  position: relative;
}

.cs-bottom-cta .btn-light {
  background: #fff;
  color: #025add;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  border: none;
  transition: all 0.25s ease;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.cs-bottom-cta .btn-light:hover {
  background: #f0f6ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ================================================================
   INDIVIDUAL CASE STUDY PAGE STYLES
   ================================================================ */

/* ── HERO ────────────────────────────────────────────────────────── */

.cs-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.cs-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  transition: transform 8s ease;
}

body:not(.mobile) .cs-hero:hover .cs-hero-bg {
  transform: scale(1);
}

.cs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(8, 28, 60, 0.35) 0%,
    rgba(8, 28, 60, 0.55) 35%,
    rgba(8, 28, 60, 0.85) 72%,
    rgba(8, 28, 60, 0.97) 100%
  );
}

.cs-hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 0;
}

.cs-hero-breadcrumb {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cs-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.cs-hero-breadcrumb a:hover { color: rgba(255, 255, 255, 0.85); }

.cs-hero-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
}

.cs-hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.cs-hero-eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: rgba(255, 255, 255, 0.4);
  display: block;
}

.cs-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 18px;
  max-width: 700px;
}

.cs-hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: 44px;
}

/* Meta bar */
.cs-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0 48px;
}

.cs-meta-item {
  padding-right: 36px;
  margin-right: 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}

.cs-meta-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.cs-meta-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 6px;
  display: block;
}

.cs-meta-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  display: block;
}

/* Status badges in hero */
.cs-status-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 50px;
  padding: 3px 12px;
}

.cs-status-live::before {
  content: '';
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-green 2s ease infinite;
}

.cs-status-maintenance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 50px;
  padding: 3px 12px;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

/* ── CHALLENGE SECTION ─────────────────────────────────────────── */

.cs-challenge {
  padding: 96px 0;
  background: #fff;
}

.cs-section-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #025add;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-section-eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: #025add;
  display: block;
  border-radius: 2px;
  flex-shrink: 0;
}

.cs-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #0d2b53;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
}

.cs-section-text {
  font-size: 1.04rem;
  color: #4a5568;
  line-height: 1.82;
  margin-bottom: 0;
}

/* Pain points list */
.cs-pain-card {
  background: #f8fafc;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 32px;
  height: 100%;
}

.cs-pain-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-pain-card-title i {
  color: #025add;
  font-size: 0.9rem;
}

.cs-pain-list {
  list-style: none;
  padding: 0; margin: 0;
}

.cs-pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f4f8;
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.55;
}

.cs-pain-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cs-pain-list li:first-child { padding-top: 0; }

.cs-pain-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(2, 90, 221, 0.1);
  color: #025add;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── APPROACH SECTION ──────────────────────────────────────────── */

.cs-approach {
  padding: 96px 0;
  background: #f8fafc;
}

.cs-approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.cs-step {
  background: #fff;
  border-radius: 16px;
  padding: 32px 26px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cs-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: #025add;
  border-radius: 0 2px 2px 0;
  transition: height 0.3s ease;
}

.cs-step:hover::before { height: 100%; }

.cs-step:hover {
  border-color: rgba(2, 90, 221, 0.2);
  box-shadow: 0 8px 32px rgba(2, 90, 221, 0.09);
  transform: translateY(-4px);
}

.cs-step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(2, 90, 221, 0.1);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -2px;
}

.cs-step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(2, 90, 221, 0.08);
  color: #025add;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.cs-step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: #0d2b53;
  margin-bottom: 10px;
}

.cs-step-text {
  font-size: 0.86rem;
  color: #6c757d;
  line-height: 1.65;
  margin: 0;
}

/* ── FEATURES SECTION ──────────────────────────────────────────── */

.cs-features {
  padding: 96px 0;
  background: #fff;
}

.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.cs-feature {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  background: #fff;
}

.cs-feature:hover {
  border-color: rgba(2, 90, 221, 0.25);
  box-shadow: 0 4px 24px rgba(2, 90, 221, 0.08);
  transform: translateY(-3px);
}

.cs-feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(2, 90, 221, 0.08);
  color: #025add;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.cs-feature:hover .cs-feature-icon {
  background: #025add;
  color: #fff;
}

.cs-feature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d2b53;
  margin-bottom: 9px;
}

.cs-feature-text {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.65;
  margin: 0;
}

/* ── TECH STACK SECTION ────────────────────────────────────────── */

.cs-techstack {
  padding: 60px 0;
  background: #f8fafc;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.cs-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cs-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  transition: all 0.22s ease;
  text-decoration: none;
}

.cs-tech-badge:hover {
  border-color: #025add;
  color: #025add;
  background: rgba(2, 90, 221, 0.03);
  transform: translateY(-2px);
}

.cs-tech-badge i { font-size: 1.05rem; }
.cs-tech-badge.laravel i   { color: #f9322c; }
.cs-tech-badge.html i      { color: #e44d26; }
.cs-tech-badge.css i       { color: #264de4; }
.cs-tech-badge.js i        { color: #f7df1e; -webkit-text-stroke: 0.5px #ccc; }
.cs-tech-badge.php i       { color: #777bb4; }
.cs-tech-badge.mysql i     { color: #00618a; }
.cs-tech-badge.bootstrap i { color: #7952b3; }
.cs-tech-badge.ajax i      { color: #138496; }
.cs-tech-badge.ga i        { color: #e37400; }
.cs-tech-badge.server i    { color: #4c1d95; }

/* ── IMPACT METRICS (dark band) ─────────────────────────────────── */

.cs-impact {
  background: #0a1628;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.cs-impact::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 90, 221, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.cs-impact::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 90, 221, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cs-impact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.cs-impact-label::before {
  content: '';
  width: 20px; height: 1px;
  background: rgba(255, 255, 255, 0.25);
  display: block;
}

.cs-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.cs-metric-item {
  padding: 0 48px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-metric-item:last-child {
  border-right: none;
  padding-right: 0;
}

.cs-metric-item:not(:first-child) { padding-left: 48px; }

.cs-metric-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.cs-metric-value .unit {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -1px;
}

.cs-metric-desc {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.45;
}

/* ── GALLERY SECTION ────────────────────────────────────────────── */

.cs-gallery {
  padding: 88px 0;
  background: #fff;
}

.cs-gallery .swiper-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.cs-gallery .swiper-slide {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-gallery .slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.cs-gallery .slide-img:hover {
  transform: scale(1.02);
}

/* Swiper arrows */
.cs-gallery .swiper-button-next,
.cs-gallery .swiper-button-prev {
  color: #0d2b53 !important;
  background: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid #e9ecef;
  transition: all 0.25s cubic-bezier(0.4, 2, 0.6, 1);
}

.cs-gallery .swiper-button-next:hover {
  background: #025add;
  color: #fff !important;
  border-color: #025add;
  transform: scale(1.12) translateX(5px);
  box-shadow: 0 4px 20px rgba(2, 90, 221, 0.3);
}

.cs-gallery .swiper-button-prev:hover {
  background: #025add;
  color: #fff !important;
  border-color: #025add;
  transform: scale(1.12) translateX(-5px);
  box-shadow: 0 4px 20px rgba(2, 90, 221, 0.3);
}

.cs-gallery .swiper-button-next::after,
.cs-gallery .swiper-button-prev::after {
  font-size: 1.05rem;
  font-weight: 900;
}

.cs-gallery .swiper-pagination-bullet {
  background: #0d2b53;
  opacity: 0.25;
  width: 8px; height: 8px;
  transition: all 0.2s;
}

.cs-gallery .swiper-pagination-bullet-active {
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}

/* ── PROJECT NAVIGATION ─────────────────────────────────────────── */

.cs-project-nav {
  padding: 52px 0;
  background: #f8fafc;
  border-top: 1px solid #e9ecef;
}

.cs-nav-prev, .cs-nav-next {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #0d2b53;
  font-weight: 600;
  transition: all 0.25s ease;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  background: #fff;
}

.cs-nav-prev:hover, .cs-nav-next:hover {
  color: #025add;
  border-color: rgba(2, 90, 221, 0.25);
  box-shadow: 0 4px 20px rgba(2, 90, 221, 0.09);
  transform: translateX(-4px);
}

.cs-nav-next:hover { transform: translateX(4px); }

.cs-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
  display: block;
  margin-bottom: 4px;
}

.cs-nav-project-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: inherit;
  display: block;
}

.cs-nav-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
  background: #fff;
  color: #6c757d;
}

.cs-nav-prev:hover .cs-nav-icon,
.cs-nav-next:hover .cs-nav-icon {
  border-color: #025add;
  background: #025add;
  color: #fff;
}

/* ── INDIVIDUAL PAGE CTA ──────────────────────────────────────── */

.cs-case-cta {
  padding: 88px 0;
  background: linear-gradient(135deg, #025add 0%, #0a1628 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cs-case-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cs-case-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 14px;
  position: relative;
}

.cs-case-cta p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 36px;
  position: relative;
}

.cs-case-cta .btn-white {
  background: #fff;
  color: #025add;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 50px;
  font-size: 0.95rem;
  border: none;
  transition: all 0.25s ease;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.cs-case-cta .btn-white:hover {
  background: #f0f6ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .cs-featured-card {
    grid-template-columns: 1fr 360px;
  }
  .cs-approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 0;
  }
  .cs-metric-item {
    border-right: none;
    padding: 0;
  }
  .cs-metric-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.06);
    padding-right: 40px;
  }
  .cs-metric-item:nth-child(even) {
    padding-left: 40px;
  }
}

@media (max-width: 991px) {
  .cs-featured-card {
    grid-template-columns: 1fr;
  }
  .cs-featured-img {
    min-height: 280px;
  }
  .cs-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-hero-meta {
    flex-wrap: wrap;
    gap: 20px 0;
  }
  .cs-meta-item {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    width: 50%;
  }
}

@media (max-width: 767px) {
  .cs-listing-title { letter-spacing: -1px; }
  .cs-listing-stats { gap: 24px; flex-wrap: wrap; }
  .cs-stat-num { font-size: 1.8rem; }
  .cs-featured-info { padding: 32px 22px; }
  .cs-featured-title { font-size: 1.4rem; }
  .cs-featured-metrics { gap: 16px; }
  .cs-approach-grid { grid-template-columns: 1fr; }
  .cs-features-grid { grid-template-columns: 1fr; }
  .cs-metrics-grid { grid-template-columns: 1fr; gap: 32px; }
  .cs-metric-item { border-right: none !important; padding: 0 !important; }
  .cs-metric-item:nth-child(odd) { border-right: none !important; padding-right: 0 !important; }
  .cs-metric-item:nth-child(even) { padding-left: 0 !important; }
  .cs-hero-title { letter-spacing: -1px; }
  .cs-hero-meta { flex-direction: column; gap: 16px; }
  .cs-meta-item { width: 100%; border: none; }
  .cs-gallery .swiper-slide { height: 240px; }
  .cs-challenge, .cs-approach, .cs-features { padding: 60px 0; }
  .cs-impact { padding: 60px 0; }
  .cs-impact-label { margin-bottom: 36px; }
  .cs-case-cta, .cs-bottom-cta { padding: 60px 0; }
  .cs-project-nav { padding: 36px 0; }
}

/* ── LIGHTBOX ────────────────────────────────────────────────────── */

.cs-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 35, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: lbFadeIn 0.22s ease;
}

.cs-lightbox-overlay.active { display: flex; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cs-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 50%;
  width: 42px; height: 42px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10001;
}

.cs-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.1);
}

.cs-lightbox-inner {
  width: 94vw;
  max-width: 1100px;
}

.cs-lightbox-swiper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.cs-lightbox-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  background: transparent;
}

.cs-lightbox-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.cs-lightbox-swiper .swiper-button-next,
.cs-lightbox-swiper .swiper-button-prev {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s;
}

.cs-lightbox-swiper .swiper-button-next:hover,
.cs-lightbox-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cs-lightbox-swiper .swiper-button-next::after,
.cs-lightbox-swiper .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 900;
}

.cs-lightbox-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.4; }
.cs-lightbox-swiper .swiper-pagination-bullet-active { opacity: 1; }

/* ================================================================
   PORTFOLIO & PROJECT PAGE ENHANCEMENTS v2
   Professional colors, animations, testimonials, improved layouts
   ================================================================ */

/* ── PORTFOLIO HERO: ANIMATED BLOB BACKGROUND ────────────────── */
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(18px, -22px) scale(1.06); }
  66%       { transform: translate(-12px, 12px) scale(0.96); }
}

.cs-listing-hero {
  background: linear-gradient(170deg, #fafbff 0%, #fff 60%, #f8f0ff 100%);
  border-bottom: none;
}

.cs-listing-hero::before {
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(2,90,221,0.08) 0%, transparent 65%);
  animation: blobFloat 12s ease-in-out infinite;
}

.cs-listing-hero::after {
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.07) 0%, transparent 68%);
  animation: blobFloat 16s ease-in-out infinite reverse;
}

/* ── ANIMATED PORTFOLIO BADGE ────────────────────────────────── */
.cs-portfolio-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  background: rgba(2,90,221,0.06);
  border: 1px solid rgba(2,90,221,0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #025add;
  margin-bottom: 24px;
}

.cs-portfolio-badge-dot {
  width: 7px; height: 7px;
  background: #025add;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseBadge 2.5s ease infinite;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2,90,221,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(2,90,221,0); }
}

/* ── TITLE GRADIENT ACCENT ───────────────────────────────────── */
.cs-title-accent {
  background: linear-gradient(135deg, #025add 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── STATS — CARD GRID LAYOUT ────────────────────────────────── */
.cs-listing-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  flex-wrap: unset;
  gap: 0;
  margin-top: 52px;
  padding-top: 0;
  border-top: none;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,0,0,0.05);
}

.cs-stat-item {
  padding: 26px 22px;
  border-right: 1px solid #f0f4f8;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: background 0.25s ease;
}

.cs-stat-item:last-child { border-right: none; }
.cs-stat-item:hover { background: #f8faff; }

.cs-stat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(2,90,221,0.07);
  color: #025add;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: all 0.25s ease;
}

.cs-stat-item:hover .cs-stat-icon {
  background: #025add;
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

/* ── FEATURED CARD: RAINBOW TOP ACCENT ──────────────────────── */
.cs-featured-card {
  position: relative;
}

.cs-featured-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #025add, #059669);
  z-index: 3;
  pointer-events: none;
}

/* ── GRID CARD: BOTTOM COLOR SWEEP ANIMATION ─────────────────── */
.cs-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.35s ease;
  border-radius: 0 0 16px 16px;
  pointer-events: none;
}

.cs-card:hover::after { transform: scaleX(1); }

.cs-card.cat-legal::after    { background: linear-gradient(90deg, #025add, #3b82f6); }
.cs-card.cat-food::after     { background: linear-gradient(90deg, #d97706, #f59e0b); }
.cs-card.cat-fashion::after  { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.cs-card.cat-spiritual::after{ background: linear-gradient(90deg, #059669, #10b981); }

/* ── TESTIMONIALS STRIP (portfolio listing page) ─────────────── */
.cs-tmn-strip {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d2b53 0%, #025add 100%);
  position: relative;
  overflow: hidden;
}

.cs-tmn-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 90%, rgba(124,58,237,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cs-tmn-strip-head {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
}

.cs-tmn-strip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.cs-tmn-strip-eyebrow::before,
.cs-tmn-strip-eyebrow::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: rgba(255,255,255,0.22);
}

.cs-tmn-strip-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0;
}

.cs-tmn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cs-tmn-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cs-tmn-card::before {
  content: '\201C';
  position: absolute;
  top: -16px; right: 18px;
  font-size: 8rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
}

.cs-tmn-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.25);
}

.cs-tmn-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.cs-tmn-quote {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.72;
  margin-bottom: 22px;
  font-style: italic;
}

.cs-tmn-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cs-tmn-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.cs-tmn-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.88rem;
  display: block;
}

.cs-tmn-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  display: block;
}

/* ── PROJECT PAGE: CLIENT TESTIMONIAL SPOTLIGHT ─────────────── */
.cs-client-testimonial {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a1628 0%, #025add 100%);
  position: relative;
  overflow: hidden;
}

.cs-client-testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(124,58,237,0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 0%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cs-clt-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cs-clt-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cs-clt-eyebrow::before,
.cs-clt-eyebrow::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: rgba(255,255,255,0.2);
}

.cs-clt-stars {
  color: #fbbf24;
  font-size: 1.15rem;
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 28px;
}

.cs-clt-quote {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.78;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 36px;
}

.cs-clt-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50px;
  padding: 10px 22px 10px 10px;
}

.cs-clt-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.cs-clt-author-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  display: block;
}

.cs-clt-author-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.52);
  display: block;
  margin-top: 2px;
}

/* ── RESPONSIVE ADDITIONS ────────────────────────────────────── */
@media (max-width: 991px) {
  .cs-listing-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .cs-stat-item:nth-child(2) { border-right: none; }
  .cs-stat-item:nth-child(1),
  .cs-stat-item:nth-child(2) { border-bottom: 1px solid #f0f4f8; }
  .cs-tmn-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .cs-listing-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .cs-stat-item { padding: 20px 16px; }
  .cs-tmn-grid { grid-template-columns: 1fr; }
  .cs-tmn-strip { padding: 52px 0; }
  .cs-client-testimonial { padding: 56px 0; }
  .cs-clt-quote { font-size: 1rem; }
}

/* ================================================================
   PROJECT NAV v2: FULL-BLEED PREVIEW CARDS
   ================================================================ */

.cs-proj-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e9ecef;
  background: #fff;
}

.cs-proj-nav-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 48px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cs-proj-nav-card:hover {
  background: #f8fafc;
}

.cs-proj-nav-bg,
.cs-proj-nav-overlay {
  display: none;
}

.cs-proj-nav-card--left {
  border-right: 1px solid #e9ecef;
}

.cs-proj-nav-body {
  position: static;
  padding: 0;
  width: 100%;
}

.cs-proj-nav-dir {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.cs-proj-nav-card:hover .cs-proj-nav-dir {
  color: #025add;
}

.cs-proj-nav-cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: #9ca3af;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
  border: none;
  background: none;
  padding: 0;
  border-radius: 0;
  width: auto;
  text-transform: none;
}

.cs-proj-nav-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1a2332;
  margin: 0;
  line-height: 1.3;
  transition: color 0.2s;
}

.cs-proj-nav-card:hover .cs-proj-nav-title {
  color: #025add;
}

.cs-proj-nav-cta {
  display: none;
}

.cs-proj-nav-card--right .cs-proj-nav-body {
  text-align: right;
  display: block;
}

.cs-proj-nav-card--right .cs-proj-nav-dir {
  flex-direction: row-reverse;
}

/* ================================================================
   PROJECT CTA SECTION v2 (replaces cs-case-cta)
   ================================================================ */

.cs-project-cta {
  background: #060e1a;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Glow accent line at top */
.cs-project-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(2,90,221,0.7) 30%,
    rgba(124,58,237,0.7) 70%,
    transparent 100%);
}

/* Ghost word in background */
.cs-project-cta::after {
  content: 'BUILD';
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-size: 22vw;
  font-weight: 900;
  color: rgba(255,255,255,0.018);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: -6px;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 0;
}

.cs-cta-blob-1 {
  position: absolute;
  top: -120px; right: -100px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2,90,221,0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.cs-cta-blob-2 {
  position: absolute;
  bottom: -100px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.cs-project-cta-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cs-project-cta-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3b82f6;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.cs-project-cta-eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: #3b82f6;
  display: block;
  border-radius: 2px;
  flex-shrink: 0;
}

.cs-project-cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1.06;
  margin: 0 0 20px;
}

.cs-project-cta-title .cta-accent {
  background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-project-cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.46);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 400px;
}

.cs-project-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.cs-cta-btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #025add, #3b82f6);
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
}

.cs-cta-btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(2,90,221,0.42);
  color: #fff;
}

.cs-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.18);
  transition: all 0.25s ease;
}

.cs-cta-btn-outline:hover {
  border-color: rgba(255,255,255,0.42);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.cs-project-cta-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.cs-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.36);
}

.cs-cta-trust-item i { color: #4ade80; font-size: 0.72rem; }

/* Right panel: stat cards grid */
.cs-project-cta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cs-cta-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cs-cta-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, #025add, #7c3aed);
  border-radius: 0 0 3px 3px;
  transition: height 0.35s ease;
}

.cs-cta-stat-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(2,90,221,0.25);
  transform: translateY(-3px);
}

.cs-cta-stat-card:hover::before { height: 100%; }

.cs-cta-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.cs-cta-stat-num .unit {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.42);
  font-weight: 600;
}

.cs-cta-stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.36);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.45;
}

/* Responsive for new sections */
@media (max-width: 991px) {
  .cs-project-cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cs-project-cta { padding: 72px 0; }
  .cs-proj-nav-card { padding: 24px 32px; }
}

@media (max-width: 767px) {
  .cs-proj-nav {
    grid-template-columns: 1fr;
  }
  .cs-proj-nav-card { padding: 22px 24px; }
  .cs-proj-nav-card--left {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
  }
  .cs-project-cta { padding: 60px 0; }
  .cs-project-cta-title { font-size: 2rem; letter-spacing: -1px; }
  .cs-cta-btn-blue, .cs-cta-btn-outline { padding: 12px 22px; font-size: 0.86rem; }
  .cs-project-cta-trust { gap: 14px; }
  .cs-cta-trust-item { font-size: 0.74rem; }
}
