/* ============================================================
   ARNNIMA SOLUTION — ENTERPRISE CASE STUDIES — PREMIUM 2026
   Palette: navy #082F49 · teal #18B6C9 · white · off-white #F3F2F8
   ============================================================ */

/* ── Section Shell ── */
.pcs-section {
  background: #F3F2F8;
  padding: 100px 0 80px;
}

/* ── Header ── */
.pcs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.pcs-header-left { flex: 1; min-width: 280px; }

.pcs-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #18B6C9;
  margin-bottom: 12px;
}

.pcs-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #082F49;
  margin: 0 0 14px;
  letter-spacing: -.02em;
}
.pcs-heading-accent { color: #18B6C9; }

.pcs-sub {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.65;
  margin: 0;
  max-width: 480px;
}

/* ── Filters ── */
.pcs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pcs-filter {
  background: #fff;
  border: 1.5px solid #e0e4ed;
  border-radius: 100px;
  padding: 8px 18px;
  font-size: .8rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.pcs-filter:hover {
  border-color: #18B6C9;
  color: #18B6C9;
  background: rgba(0,188,212,.06);
}
.pcs-filter.active {
  background: #082F49;
  border-color: #082F49;
  color: #fff;
}

/* ── Cards Grid ── */
.pcs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}

/* ── Individual Card ── */
.pcs-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10,21,63,.07);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}
.pcs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(10,21,63,.14);
}

/* Hidden cards when filtered */
.pcs-card.pcs-hidden {
  display: none;
}

/* ── Card Image ── */
.pcs-card-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e8edf5;
}
.pcs-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.pcs-card:hover .pcs-card-img { transform: scale(1.04); }

/* Badge */
.pcs-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #082F49;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}
.pcs-badge-green  { background: #0d9e6e; }
.pcs-badge-purple { background: #6f42c1; }
.pcs-badge-orange { background: #e07b39; }
.pcs-badge-blue   { background: #026398; }

/* Hover overlay */
.pcs-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,21,63,.70);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .22s ease;
  z-index: 3;
}
.pcs-card:hover .pcs-card-overlay { opacity: 1; }

.pcs-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #082F49;
  font-size: .84rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s;
  transform: translateY(6px);
}
.pcs-card:hover .pcs-overlay-btn { transform: translateY(0); }
.pcs-overlay-btn:hover {
  background: #18B6C9;
  color: #fff;
}

/* ── Card Body ── */
.pcs-card-body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcs-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

/* Category tag */
.pcs-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.pcs-tag-blue   { background: rgba(2,99,152,.10); color: #026398; }
.pcs-tag-green  { background: rgba(13,158,110,.10); color: #0d9e6e; }
.pcs-tag-purple { background: rgba(111,66,193,.10); color: #6f42c1; }
.pcs-tag-orange { background: rgba(224,123,57,.10); color: #e07b39; }

.pcs-client {
  font-size: .75rem;
  font-weight: 600;
  color: #6c757d;
}

.pcs-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #082F49;
  line-height: 1.35;
  margin: 0 0 10px;
}

.pcs-card-desc {
  font-size: .875rem;
  color: #6c757d;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}

/* Impact strip */
.pcs-impact {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EAF4F8;
  border-left: 3px solid #18B6C9;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: .8rem;
  color: #082F49;
  margin-bottom: 18px;
}
.pcs-impact .bi { color: #18B6C9; font-size: .9rem; flex-shrink: 0; }
.pcs-impact strong { font-weight: 700; }

/* Footer row */
.pcs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #F3F2F8;
  padding-top: 16px;
  margin-top: auto;
}

.pcs-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pcs-stack span {
  font-size: .68rem;
  font-weight: 600;
  background: #F3F2F8;
  color: #495057;
  padding: 3px 9px;
  border-radius: 100px;
}

.pcs-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 700;
  color: #18B6C9;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  transition: color .18s;
}
.pcs-link:hover { color: #18B6C9; text-decoration: none; }

/* ── Bottom CTA row ── */
.pcs-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pcs-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #082F49;
  color: #082F49;
  font-size: .9rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.pcs-view-all-btn:hover {
  background: #082F49;
  color: #fff;
  text-decoration: none;
}
.pcs-consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #18B6C9;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,188,212,.30);
  transition: background .2s, transform .2s;
}
.pcs-consult-btn:hover {
  background: #18B6C9;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .pcs-header { flex-direction: column; align-items: flex-start; }
  .pcs-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
}
@media (max-width: 600px) {
  .pcs-section { padding: 72px 0 56px; }
  .pcs-grid { grid-template-columns: 1fr; }
  .pcs-heading { font-size: 1.9rem; }
  .pcs-bottom-cta { flex-direction: column; }
  .pcs-view-all-btn, .pcs-consult-btn { width: 100%; justify-content: center; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .pcs-card, .pcs-card-img, .pcs-overlay-btn, .pcs-view-all-btn, .pcs-consult-btn {
    transition: none;
  }
}
