/**
 * Completed Projects & Case Studies Showcase Stylesheet — Web Techiq Official
 * Developed by MH Badhon Ahmed (Web Techiq)
 */

/* ── 1. Root Variables & Containers ─────────────────────────────────────────── */
.wt-projects-page-wrap {
  width: 100%;
  padding: var(--wt-proj-page-pad-top, 60px) 0 var(--wt-proj-page-pad-bottom, 100px);
  background: transparent;
  box-sizing: border-box;
}

.wt-projects-section {
  position: relative;
  width: 100%;
  padding-top: var(--wt-proj-pad-top, 80px);
  padding-bottom: var(--wt-proj-pad-bottom, 90px);
  background: transparent;
  box-sizing: border-box;
  overflow: hidden;
}

.wt-projects-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ── 2. Section Header (Homepage Showcase) ─────────────────────────────────── */
.wt-projects-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.wt-projects-header-left {
  max-width: 680px;
}

.wt-projects-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
  border: 1px solid rgba(255, 107, 0, 0.25);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.wt-projects-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 12px 0;
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.wt-projects-title .title-highlight {
  color: #ff6b00;
  background: linear-gradient(135deg, #ff6b00 0%, #ff9f00 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline;
}

.wt-projects-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.wt-projects-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
  flex-shrink: 0;
}

.wt-projects-header-btn:hover {
  background: #ff6b00;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.35);
  color: #ffffff;
}

/* ── 3. Dedicated Page Impact Statistics Bar ────────────────────────────────── */
.wt-projects-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: linear-gradient(135deg, #090d16 0%, #131d31 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 34px 28px;
  margin-bottom: 40px;
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.wt-projects-stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b00 0%, #ff9f00 50%, #38bdf8 100%);
}

.wt-proj-stat-box {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.wt-proj-stat-box:last-child {
  border-right: none;
}

.wt-proj-stat-num {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wt-proj-stat-num.highlight {
  background: linear-gradient(135deg, #ff6b00 0%, #ffb800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wt-proj-stat-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── 4. Modern 2-Tier Control Toolbar ──────────────────────────────────────── */
.wt-projects-toolbar-panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 107, 0, 0.12);
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 36px;
  box-shadow: 0 4px 24px rgba(255, 107, 0, 0.06), 0 1px 0 rgba(255,255,255,0.9) inset;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wt-toolbar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.wt-toolbar-left-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wt-toolbar-badge {
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
  border: 1px solid rgba(255, 107, 0, 0.25);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.wt-toolbar-count-text {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}

.wt-toolbar-count-text strong {
  color: #0f172a;
  font-weight: 800;
}

.wt-toolbar-right-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wt-proj-search-wrap {
  position: relative;
  min-width: 260px;
}

.wt-proj-search-input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border-radius: 99px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13.5px;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.25s ease;
  color: #0f172a;
}

.wt-proj-search-input:focus {
  border-color: #ff6b00;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.wt-proj-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  font-size: 13px;
}

.wt-proj-view-switch {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.wt-view-btn {
  background: transparent;
  border: none;
  padding: 7px 12px;
  border-radius: 8px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
}

.wt-view-btn.active {
  background: #ffffff;
  color: #ff6b00;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── 4. Category Filter Slideable Dock & Navigation ──────────────────────── */
.wt-proj-filter-wrap {
  margin-top: var(--wt-proj-tab-margin-top, 0px);
  margin-bottom: var(--wt-proj-tab-margin-bottom, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  gap: 12px;
  box-sizing: border-box;
  z-index: 5;
}

.wt-proj-filter-wrap-page {
  margin-top: 0;
  margin-bottom: 0;
  justify-content: flex-start;
  gap: 8px;
}

/* Scroll Container (Snug Apple-style segmented pill dock) */
.wt-proj-filter-scroll {
  display: inline-flex;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 9999px;
  padding: 5px 6px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 100%;
  width: auto;
  cursor: grab;
  box-sizing: border-box;
}

.wt-proj-filter-wrap-page .wt-proj-filter-scroll {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.wt-proj-filter-scroll::-webkit-scrollbar {
  display: none;
}

.wt-proj-filter-scroll.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.wt-proj-filter-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

/* Filter Tab Pill Button */
.wt-proj-cat-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: var(--wt-body-font-family, 'Inter', sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  outline: none;
  user-select: none;
  line-height: 1.2;
  box-shadow: none;
  margin: 0;
  height: auto;
  text-decoration: none;
  overflow: hidden;
}

.wt-proj-cat-tab:hover:not(.active):not(.is-active) {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.wt-proj-cat-tab.active,
.wt-proj-cat-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.38);
  font-weight: 700;
  border-color: transparent;
}

/* Tab Text */
.wt-proj-cat-tab .wt-tab-text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  flex-wrap: nowrap;
}

/* Parent category breadcrumb prefix inside sub-tabs */
.wt-tab-parent-prefix {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.65;
  letter-spacing: 0;
  text-transform: none;
  flex-shrink: 0;
}

/* Sub-category tab: slightly indented & smaller dot */
.wt-proj-cat-tab.is-sub-tab {
  font-size: 13px;
  padding-left: 14px;
}

/* Category Tab Dot & Icon */
.wt-proj-cat-tab .wt-proj-filter-icon {
  font-size: 12px;
  color: inherit;
  position: relative;
  z-index: 2;
}

.wt-proj-cat-tab .wt-proj-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b00;
  display: inline-block;
  flex-shrink: 0;
  transition: background 0.25s ease;
  position: relative;
  z-index: 2;
}

/* Sub-category dot: smaller + different accent color */
.wt-proj-cat-tab .wt-proj-dot.is-sub-dot {
  width: 5px;
  height: 5px;
  background: #7c3aed;
  opacity: 0.85;
}

.wt-proj-cat-tab.active .wt-proj-dot,
.wt-proj-cat-tab.is-active .wt-proj-dot {
  background: #ffffff;
  opacity: 1;
}

/* Count Pills */
.wt-proj-count-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7.5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
  line-height: 1;
  display: inline-block;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

.wt-proj-cat-tab.active .wt-proj-count-pill,
.wt-proj-cat-tab.is-active .wt-proj-count-pill {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* Auto-Switch Live Progress Indicator */
.wt-tab-progress-track {
  position: absolute;
  bottom: 1.5px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 99px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.wt-proj-cat-tab.active .wt-tab-progress-track,
.wt-proj-cat-tab.is-active .wt-tab-progress-track {
  opacity: 1;
}

.wt-tab-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: #ffffff;
  border-radius: 99px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

/* Navigation Arrow Buttons */
.wt-proj-cat-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  z-index: 2;
  user-select: none;
  outline: none;
  padding: 0;
}

@media (min-width: 769px) {
  .wt-proj-cat-nav-btn {
    display: inline-flex;
  }
}

.wt-proj-cat-nav-btn:hover {
  background: #ff6b00;
  color: #ffffff;
  border-color: #ff6b00;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
}

/* Backwards-compatible aliases */
.wt-projects-toolbar {
  margin-top: var(--wt-proj-tab-margin-top, 0px);
  margin-bottom: var(--wt-proj-tab-margin-bottom, 44px);
}

.wt-home-projects-toolbar {
  margin-top: var(--wt-proj-tab-margin-top, 0px);
  margin-bottom: var(--wt-proj-tab-margin-bottom, 44px);
}

.wt-projects-filter-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.wt-projects-filter-dock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 6px 8px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 25px -5px rgba(15, 23, 42, 0.08);
}

.wt-proj-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #475569;
  border: none;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
}

.wt-proj-filter-btn .count-chip {
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 99px;
  transition: all 0.25s ease;
}

.wt-proj-filter-btn:hover:not(.active) {
  background: #f1f5f9;
  color: #0f172a;
}

.wt-proj-filter-btn.active {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
  font-weight: 700;
}

.wt-proj-filter-btn.active .count-chip {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* ── 5. Project Showcase Grid & Cards ───────────────────────────────────────── */
.wt-projects-grid {
  display: grid;
  grid-template-columns: repeat(var(--wt-proj-cols, 3), 1fr);
  gap: var(--wt-proj-card-gap, 30px);
  transition: all 0.3s ease;
}

.wt-projects-page-wrap .wt-projects-grid {
  gap: var(--wt-proj-page-card-gap, var(--wt-proj-card-gap, 30px));
}

.wt-project-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  position: relative;
}

.wt-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 24px rgba(255, 107, 0, 0.12);
  border-color: #ffd8b3;
}

/* Thumbnail Area */
.wt-proj-thumb-wrap {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #090d16;
  border-radius: 18px 18px 0 0;
}

/* ── Modern Executive Browser Device Frame with Auto-Scrolling Long Screenshot ── */
.wt-case-featured-img-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 34px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  background: #090d16;
}

.wt-proj-browser-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  overflow: hidden;
  box-sizing: border-box;
}

.wt-proj-browser-frame.is-single-frame {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 520px;
}

.wt-mockup-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 8px;
  flex-shrink: 0;
  z-index: 5;
  user-select: none;
}

.wt-mockup-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wt-mockup-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.wt-mockup-dots .dot-red { background: #ef4444; }
.wt-mockup-dots .dot-yellow { background: #f59e0b; }
.wt-mockup-dots .dot-green { background: #10b981; }

.wt-mockup-url-pill {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  padding: 3px 12px;
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  font-family: monospace, sans-serif;
}

.wt-mockup-url-pill .url-lock {
  font-size: 10px;
  opacity: 0.8;
}

.wt-mockup-scroll-cue {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #ff6b00;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.wt-mockup-viewport {
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  background: #090d16;
  cursor: pointer;
}

.wt-mockup-viewport-single {
  height: calc(520px - 44px);
  min-height: 476px;
}

/* ── Yo-Yo Smooth Auto-Scroll Keyframes (Top to Bottom, Bottom to Top) ── */
@keyframes wt-auto-scroll-yoyo-single {
  0%, 7% {
    transform: translateY(0%);
  }
  45%, 55% {
    transform: translateY(var(--wt-scroll-target, calc(-100% + 476px)));
  }
  93%, 100% {
    transform: translateY(0%);
  }
}

@keyframes wt-auto-scroll-yoyo-card {
  0%, 7% {
    transform: translateY(0%);
  }
  45%, 55% {
    transform: translateY(var(--wt-scroll-target, calc(-100% + 226px)));
  }
  93%, 100% {
    transform: translateY(0%);
  }
}

.wt-proj-long-img {
  width: 100%;
  height: auto;
  min-height: 100%;
  display: block;
  transform: translateY(0%);
  will-change: transform;
}

/* Single Case Study: Continuous Smooth Auto-Scroll Loop */
.is-single-frame .wt-proj-long-img {
  animation: wt-auto-scroll-yoyo-single 18s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Card Mockup: Smooth Auto-Scroll Loop */
.wt-project-card .wt-proj-long-img {
  animation: wt-auto-scroll-yoyo-card 14s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Hover to pause auto-scroll so user can inspect any part */
.wt-project-card:hover .wt-proj-long-img,
.wt-case-featured-img-wrap:hover .wt-proj-long-img,
.wt-mockup-viewport:hover .wt-proj-long-img {
  animation-play-state: paused;
}

/* Responsive Viewport Height */
@media (max-width: 991px) {
  .wt-case-featured-img-wrap,
  .wt-proj-browser-frame.is-single-frame {
    height: 440px;
    min-height: 440px;
  }
  .wt-mockup-viewport-single {
    height: calc(440px - 44px);
    min-height: 396px;
  }
}

@media (max-width: 640px) {
  .wt-case-featured-img-wrap,
  .wt-proj-browser-frame.is-single-frame {
    height: 340px;
    min-height: 340px;
  }
  .wt-mockup-viewport-single {
    height: calc(340px - 44px);
    min-height: 296px;
  }
}

@media (max-width: 480px) {
  .wt-mockup-window-bar {
    padding: 6px 10px;
    gap: 6px;
  }
  .wt-mockup-url-pill {
    max-width: 130px;
    font-size: 9.5px;
    padding: 2px 7px;
  }
  .wt-mockup-scroll-cue .cue-text {
    display: none;
  }
  .wt-case-featured-img-wrap,
  .wt-proj-browser-frame.is-single-frame {
    height: 290px;
    min-height: 290px;
  }
  .wt-mockup-viewport-single {
    height: calc(290px - 36px);
    min-height: 254px;
  }
}

/* Brand Placeholder Canvas when no screenshot is uploaded yet */
.wt-mockup-placeholder-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #1e293b 0%, #090d16 100%);
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.wt-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wt-placeholder-icon {
  font-size: 28px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.3);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.wt-placeholder-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  font-family: 'Outfit', 'Inter', sans-serif;
}

.wt-placeholder-sub {
  margin: 0;
  font-size: 11px;
  color: #94a3b8;
}

.wt-placeholder-domain {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  margin-top: 4px;
}

/* Floating Badges on Image */
.wt-proj-badges-top {
  position: absolute;
  top: 52px;         /* browser bar ~38px + 14px breathing gap */
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  z-index: 6;
  pointer-events: none;
}

/* Left-side stacked category group (primary + sub) */
.wt-proj-cats-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

/* Primary category badge — dark glass */
.wt-proj-cat-badge {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-block;
}

/* Sub-category badge — purple accent glass */
.wt-proj-subcat-badge {
  background: rgba(124, 58, 237, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wt-proj-subcat-badge::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.wt-proj-ribbon-badge {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
  align-self: flex-start;
}

.wt-proj-metric-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 6;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Card Body Content
   Cascade: page-specific var → section var → hardcoded fallback
   This ensures card padding works on both the homepage section and the dedicated projects page. */
.wt-proj-body {
  padding: var(--wt-proj-card-pad-v, 22px) var(--wt-proj-card-pad-h, 24px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
}

/* Projects Page-specific card padding override */
.wt-projects-page-wrap .wt-proj-body {
  padding: var(--wt-proj-page-card-pad-v, var(--wt-proj-card-pad-v, 22px))
           var(--wt-proj-page-card-pad-h, var(--wt-proj-card-pad-h, 24px));
}

.wt-proj-client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  margin-bottom: 8px;
}

.wt-proj-client-name {
  color: #64748b;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wt-proj-country-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
  color: #334155;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}

.wt-proj-country-flag .wt-country-flag-img {
  width: 17px;
  height: 12.5px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.wt-proj-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 8px 0;
  font-family: 'Outfit', 'Inter', sans-serif;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wt-proj-card-title a {
  color: inherit;
  text-decoration: none;
}

.wt-proj-card-title a:hover {
  color: #ff6b00;
}

.wt-proj-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

/* Tech Stack Badges */
.wt-proj-tech-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 18px;
}

.wt-proj-tech-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.wt-proj-tech-pill.extra-count {
  background: #e2e8f0;
  color: #64748b;
  border: none;
}

.wt-project-card:hover .wt-proj-tech-pill {
  border-color: #cbd5e1;
  background: #ffffff;
}

/* Action Buttons Footer */
.wt-proj-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.wt-proj-btn-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ff6b00;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.wt-proj-btn-live:hover {
  background: #e05e00;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.4);
  color: #ffffff;
}

.wt-proj-btn-case {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.wt-proj-btn-case:hover {
  color: #ff6b00;
  transform: translateX(3px);
}

/* ── 6. Detailed List View Layout (on /projects/ page) ───────────────────────── */
.wt-projects-grid.view-list {
  grid-template-columns: 1fr !important;
  gap: 24px;
}

.wt-projects-grid.view-list .wt-project-card {
  flex-direction: row;
}

.wt-projects-grid.view-list .wt-proj-thumb-wrap {
  width: 36%;
  height: auto;
  min-height: 240px;
  flex-shrink: 0;
}

.wt-projects-grid.view-list .wt-proj-body {
  width: 64%;
  padding: 26px 30px;
}

.wt-projects-grid.view-list .wt-proj-card-title {
  font-size: 22px;
  -webkit-line-clamp: 2;
}

.wt-projects-grid.view-list .wt-proj-excerpt {
  -webkit-line-clamp: 3;
}

/* Empty State / None Card */
.wt-proj-empty-msg,
.wt-projects-none-card {
  text-align: center;
  padding: 60px 24px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  margin-top: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.wt-proj-empty-msg .empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.wt-proj-empty-msg .empty-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  font-family: 'Outfit', sans-serif;
}

.wt-proj-empty-msg .empty-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* Pagination */
.wt-projects-pagination {
  text-align: center;
  margin-top: 50px;
}

.wt-projects-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wt-projects-pagination .page-numbers.current {
  background: #ff6b00;
  border-color: #ff6b00;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}

.wt-projects-pagination .page-numbers:hover:not(.current) {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* ── 7. Bottom High-Converting Action CTA Card ─────────────────────────────── */
.wt-projects-cta-card {
  margin-top: 70px;
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 50px 36px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.wt-projects-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.wt-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.wt-cta-pill {
  display: inline-block;
  background: rgba(255, 107, 0, 0.2);
  color: #ff9f00;
  border: 1px solid rgba(255, 107, 0, 0.35);
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.wt-cta-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 14px 0;
  line-height: 1.2;
  font-family: 'Outfit', sans-serif;
}

.wt-cta-desc {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 28px 0;
}

.wt-cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wt-btn-glow {
  background: #ff6b00;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
  transition: all 0.25s ease;
}

.wt-btn-glow:hover {
  background: #e05e00;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.5);
  color: #ffffff;
}

.wt-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.25s ease;
}

.wt-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

/* ── 8. Single Case Study Page ────────────────────────────────────────────── */
.wt-single-case-study {
  position: relative;
}

.wt-case-hero-banner {
  background: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #1e1b4b 100%);
  color: #ffffff;
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wt-case-hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.22) 0%, rgba(124, 58, 237, 0.12) 40%, transparent 70%);
  pointer-events: none;
}

.wt-case-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.wt-case-hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.wt-case-cat-pill {
  background: rgba(255, 107, 0, 0.15);
  color: #ff9f00;
  border: 1px solid rgba(255, 107, 0, 0.4);
  padding: 5px 16px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.wt-case-subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 58, 237, 0.18);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.35);
  padding: 5px 16px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.wt-case-subcat-pill .subcat-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.wt-case-featured-pill {
  background: linear-gradient(135deg, #ff6b00, #ff8800);
  color: #ffffff;
  padding: 5px 16px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wt-case-title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 900;
  line-height: 1.18;
  color: #ffffff;
  margin: 0 0 18px 0;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.wt-case-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.wt-case-meta-chip {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.wt-case-meta-chip i {
  color: #ff6b00;
  font-size: 13px;
}

.wt-case-meta-chip--impact {
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

.wt-case-meta-chip--impact i {
  color: #38bdf8;
}

.wt-case-hero-btn-wrap {
  margin-top: 4px;
}

.wt-case-hero-cta {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%) !important;
  color: #ffffff !important;
  padding: 12px 30px !important;
  border-radius: 99px !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.wt-case-hero-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.55) !important;
  color: #ffffff !important;
}

/* ── Case Study Layout Container ── */
.wt-case-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  box-sizing: border-box;
}

.wt-case-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: var(--wt-single-proj-col-gap, 30px);
  margin-top: 0;
  align-items: start;
}

/* ── Main Case Study Narrative (Left Column) ── */
.wt-case-main-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  padding: var(--wt-single-proj-main-pad-v, 32px) var(--wt-single-proj-main-pad-h, 34px);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.04);
}

.wt-case-featured-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  min-height: 280px;
  background: #090d16;
  margin-bottom: 28px;
}

.wt-case-structured-narrative {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wt-case-narrative-block {
  border-radius: 18px;
  padding: 24px 26px;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.wt-case-narrative-block.is-overview {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}

.wt-case-narrative-block.is-challenge {
  background: linear-gradient(135deg, #fffbf5 0%, #fff7ed 100%);
  border: 1.5px solid #fed7aa;
  border-left: 5px solid #f97316;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.04);
}

.wt-case-narrative-block.is-solution {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #bbf7d0;
  border-left: 5px solid #16a34a;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.04);
}

.wt-narrative-heading {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.is-challenge .wt-narrative-heading {
  color: #9a3412;
}

.is-solution .wt-narrative-heading {
  color: #14532d;
}

.wt-narrative-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.12);
  color: #ff6b00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.wt-narrative-icon.is-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.wt-narrative-icon.is-success {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.wt-narrative-body {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

.is-challenge .wt-narrative-body {
  color: #7c2d12;
}

.is-solution .wt-narrative-body {
  color: #166534;
}

.wt-narrative-body p:last-child {
  margin-bottom: 0;
}

/* ── Screenshot Gallery ── */
.wt-case-gallery-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1.5px solid #e2e8f0;
}

.wt-gallery-section-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wt-gallery-section-title i {
  color: #ff6b00;
}

.wt-proj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.wt-gallery-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wt-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.wt-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* ── Next / Prev Navigation ── */
.wt-case-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1.5px solid #e2e8f0;
}

.wt-case-nav-item.is-prev {
  text-align: left;
}

.wt-case-nav-item.is-next {
  text-align: right;
}

.wt-case-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 18px;
  border-radius: 14px;
  color: #0f172a;
  transition: all 0.25s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.wt-case-nav-link:hover {
  background: #ffffff;
  border-color: #ff6b00;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.1);
  transform: translateY(-2px);
}

.wt-case-nav-dir {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ff6b00;
  letter-spacing: 0.06em;
  display: block;
}

.wt-case-nav-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* ── Sidebar Column (Right Column) ── */
.wt-case-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: var(--wt-single-proj-sidebar-gap, 18px);
  position: sticky;
  top: 110px;
  z-index: 10;
}

.wt-case-sidebox {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: var(--wt-single-proj-sidebox-pad-v, 22px) var(--wt-single-proj-sidebox-pad-h, 24px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}

.wt-case-sidebox-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff6b00;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Specs Table Inside Sidebar ── */
.wt-specs-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wt-specs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 13.5px;
}

.wt-specs-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wt-specs-label {
  color: #64748b;
  font-weight: 600;
}

.wt-specs-val {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.wt-specs-cat-name {
  color: #ff6b00;
  font-weight: 800;
  font-size: 13px;
  display: block;
}

.wt-specs-subcat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 3px;
}

.wt-specs-subcat-badge .subcat-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.wt-specs-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #16a34a;
  font-weight: 800;
  font-size: 12px;
  background: rgba(22, 163, 74, 0.1);
  padding: 4px 11px;
  border-radius: 99px;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ── Technologies Used Section ── */
.wt-case-tech-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1.5px solid #f1f5f9;
}

.wt-case-tech-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wt-case-tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wt-case-tech-grid .wt-proj-tech-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.wt-case-tech-grid .wt-proj-tech-pill i {
  color: #ff6b00;
  font-size: 11px;
}

.wt-case-tech-grid .wt-proj-tech-pill:hover {
  background: #fff7ed;
  border-color: #ff6b00;
  color: #ff6b00;
  transform: translateY(-1px);
}

.wt-case-sidebar-cta {
  margin-top: 18px;
}

.wt-case-live-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wt-case-live-btn:hover {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
}

/* ── Deliverables Checklist Inside Sidebar ── */
.wt-case-deliv-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wt-case-deliv-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #334155;
  font-weight: 600;
}

.wt-deliv-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.14);
  color: #16a34a;
  font-size: 9.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Client Testimonial Card ── */
.wt-case-quote-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: var(--wt-single-proj-sidebox-pad-v, 24px) var(--wt-single-proj-sidebox-pad-h, 24px) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2) !important;
}

.wt-quote-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wt-quote-stars {
  color: #fbbf24;
  font-size: 13px;
  letter-spacing: 2px;
}

.wt-quote-icon {
  font-size: 20px;
  color: rgba(255, 107, 0, 0.6);
}

.wt-case-quote-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e8f0;
  font-style: italic;
  margin: 0 0 14px 0;
}

.wt-case-quote-author {
  font-size: 12px;
  font-weight: 800;
  color: #ff9f00;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wt-quote-avatar-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 159, 0, 0.18);
  color: #ff9f00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* ── CTA Card ── */
.wt-case-cta-box {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%) !important;
  color: #ffffff !important;
  text-align: center !important;
  border-radius: 20px !important;
  padding: var(--wt-single-proj-sidebox-pad-v, 26px) var(--wt-single-proj-sidebox-pad-h, 24px) !important;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.35) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
}

.wt-case-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.wt-cta-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}

.wt-single-proj-cta-heading {
  font-size: 17px !important;
  font-weight: 900 !important;
  margin: 0 0 6px !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
}

.wt-single-proj-cta-desc {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 0 0 16px !important;
}

.wt-single-proj-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  color: #ff6b00 !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.wt-single-proj-cta-btn:hover {
  background: #0f172a !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25) !important;
}

.wt-single-proj-cta-btn i {
  transition: transform 0.2s ease;
}

.wt-single-proj-cta-btn:hover i {
  transform: translateX(4px);
}

/* ── Related Projects Section ── */
.wt-case-related-section {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1.5px solid #e2e8f0;
}

.wt-case-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.wt-single-proj-related-tagline {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ff6b00;
  letter-spacing: 0.08em;
  display: block;
}

.wt-single-proj-related-heading {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0 0;
  font-family: 'Outfit', sans-serif;
}

.wt-case-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f172a;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.wt-case-view-all-btn:hover {
  color: #ff6b00;
  transform: translateX(3px);
}

/* ── 9. Responsive Media Queries ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .wt-projects-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
  .wt-case-container {
    padding: 30px 20px 60px !important;
  }
  .wt-case-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .wt-case-sidebar-col {
    position: static !important;
    top: auto !important;
    width: 100%;
  }
  .wt-case-sidebar-col .wt-case-sidebox {
    width: 100%;
    box-sizing: border-box;
  }
  .wt-projects-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .wt-proj-stat-box:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .wt-case-hero-banner {
    padding: 36px 16px 30px !important;
  }
  .wt-case-hero-banner .wt-case-title {
    font-size: clamp(22px, 5.5vw, 32px) !important;
  }
  .wt-case-container {
    padding: 20px 16px 50px !important;
  }
  .wt-case-main-content {
    padding: 22px 18px !important;
    border-radius: 18px !important;
  }
  .wt-case-narrative-block {
    padding: 18px 18px !important;
  }
  .wt-case-nav-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .wt-case-nav-item.is-next {
    text-align: left !important;
  }
  .wt-case-nav-link {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .wt-proj-filter-wrap {
    justify-content: flex-start;
    padding: 0 4px;
  }
  .wt-proj-filter-scroll {
    max-width: 100%;
    width: 100%;
  }
  .wt-proj-cat-tab {
    padding: 7px 14px;
    font-size: 12.5px;
    gap: 6px;
  }
  .wt-projects-grid {
    grid-template-columns: 1fr !important;
  }
  .wt-projects-grid.view-list .wt-project-card {
    flex-direction: column;
  }
  .wt-projects-grid.view-list .wt-proj-thumb-wrap {
    width: 100%;
    height: 220px;
  }
  .wt-projects-grid.view-list .wt-proj-body {
    width: 100%;
    padding: 20px;
  }
  .wt-projects-header-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .wt-toolbar-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .wt-toolbar-right-tools {
    width: 100%;
    justify-content: space-between;
  }
  .wt-proj-search-wrap {
    flex-grow: 1;
    min-width: 0;
  }
  .wt-projects-stats-bar {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .wt-proj-stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  .wt-proj-stat-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .wt-projects-container,
  .wt-case-container {
    padding: 16px 12px 40px !important;
  }
  .wt-case-main-content {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
  .wt-case-sidebox {
    padding: 16px 14px !important;
  }
  .wt-proj-cat-tab {
    padding: 6.5px 12px;
    font-size: 12px;
  }
  .wt-proj-body {
    padding: 18px;
  }
  .wt-proj-card-title {
    font-size: 17px;
  }
  .wt-projects-toolbar-panel {
    padding: 16px;
  }
}

/* ── 10. Fullscreen Image Lightbox Modal ────────────────────────────────────── */
.wt-lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 30px;
  box-sizing: border-box;
}

.wt-lightbox-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wt-lightbox-box {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wt-lightbox-backdrop.active .wt-lightbox-box {
  transform: scale(1);
}

.wt-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 107, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wt-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.wt-lightbox-close:hover {
  background: #ff6b00;
  border-color: #ff6b00;
  transform: rotate(90deg) scale(1.1);
}

.wt-lightbox-caption {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
  margin-top: 14px;
  text-align: center;
}
