/* ==========================================================================
   WORK PAGE STYLES - DEDICATED WORKS PAGE
   Reuses existing tokens from main.css:
   Brand Colors: Orange (#FF5A1F / --main-two-600), Black (#09090b), White (#ffffff)
   No green colors. Clean agency layout matching reference.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.work-hero-area {
  padding-top: 80px;
  padding-bottom: 50px;
  position: relative;
  background-color: #09090b;
}

@media (max-width: 991px) {
  .work-hero-area {
    padding-top: 75px;
    padding-bottom: 36px;
  }
}

.work-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 24px;
}

.work-breadcrumb a {
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.work-breadcrumb a:hover {
  color: #FF5A1F;
}

.work-breadcrumb .divider {
  color: #3f3f46;
  font-size: 12px;
}

.work-breadcrumb .active {
  color: #FF5A1F;
}

.work-hero-title {
  font-family: var(--heading-font);
  font-size: clamp(2.25rem, 1.2rem + 3.8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 28px;
}

.work-hero-title .title-accent {
  display: block;
  font-family: var(--heading-font);
  font-style: italic;
  font-weight: 800;
  color: #FF5A1F;
  text-shadow: 0 0 35px rgba(255, 90, 31, 0.25);
}

/* Stats Pill: 80+ PROJECTS DONE */
.work-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  margin-bottom: 32px;
}

.work-stats-icons {
  display: flex;
  align-items: center;
}

.work-stats-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #18181b;
  border: 2px solid #09090b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.work-stats-avatar:first-child {
  margin-left: 0;
}

.work-stats-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-stats-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #f4f4f5;
  text-transform: uppercase;
}

.work-stats-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 90, 31, 0.15);
  color: #FF5A1F;
  font-size: 12px;
  margin-left: 2px;
}

/* Hero Button: Orange Button with sliding circle-dot animation */
.work-hero-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FF5A1F;
  color: #ffffff !important;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  padding: 16px 32px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.25);
  border: none;
}

.work-hero-action-btn:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 90, 31, 0.35);
}

.work-hero-action-btn .btn-arrow-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.work-hero-action-btn:hover .btn-arrow-icon {
  transform: translate(3px, 3px);
}

/* Hero & Sidebar Buttons: Orange button with black circle dot animation matching index.html */
#viewAllProjectsBtn.tw-hover-btn,
.work-sidebar-book-btn.tw-hover-btn {
  background-color: #FF5A1F !important;
  color: #ffffff !important;
  border: 1px solid #FF5A1F;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#viewAllProjectsBtn.tw-hover-btn:hover,
.work-sidebar-book-btn.tw-hover-btn:hover {
  color: #ffffff !important;
  border-color: #FF5A1F;
}

#viewAllProjectsBtn.tw-hover-btn *,
.work-sidebar-book-btn.tw-hover-btn * {
  color: #ffffff !important;
}

#viewAllProjectsBtn .tw-hover-btn-circle-dot,
.work-sidebar-book-btn .tw-hover-btn-circle-dot {
  background-color: #000000 !important;
  z-index: 0 !important;
}

#viewAllProjectsBtn > span:not(.tw-hover-btn-circle-dot),
#viewAllProjectsBtn > i,
.work-sidebar-book-btn > span:not(.tw-hover-btn-circle-dot),
.work-sidebar-book-btn > i {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Slideshow (Hero Right Column)
   -------------------------------------------------------------------------- */
.work-slideshow-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #141416;
}

.work-slideshow-track {
  position: relative;
  width: 100%;
}

.work-slide {
  display: none;
  text-decoration: none;
  color: inherit;
  width: 100%;
  outline: none;
}

.work-slide.is-active {
  display: block;
  animation: slideFadeIn 0.45s ease-out forwards;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.work-slide-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #18181b;
}

.work-slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-slideshow-container:hover .work-slide.is-active img {
  transform: scale(1.03);
}

/* Caption Card attached directly beneath image */
.work-slide-caption {
  background: #ffffff;
  color: #09090b;
  padding: 24px 26px 20px 26px;
  position: relative;
}

.work-slide-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.work-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: #f4f4f5;
  color: #27272a;
  border: 1px solid #e4e4e7;
  transition: all 0.2s ease;
}

.work-pill-accent {
  background: rgba(255, 90, 31, 0.1);
  color: #FF5A1F;
  border-color: rgba(255, 90, 31, 0.25);
}

.work-slide-desc {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #09090b;
  margin-bottom: 20px;
}

/* Segmented Progress Bar */
.work-progress-segments {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-top: 4px;
}

.work-progress-seg {
  flex: 1;
  height: 4px;
  background: #e4e4e7;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: height 0.2s ease, background-color 0.2s ease;
}

.work-progress-seg:hover {
  height: 6px;
}

.work-progress-seg-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #FF5A1F;
  border-radius: 9999px;
  transition: width 0.08s linear;
}

.work-progress-seg.is-past .work-progress-seg-fill {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Trusted-By / Industries Strip (Matching Reference Screenshot 2)
   -------------------------------------------------------------------------- */
.work-trusted-strip-area {
  padding-top: 30px;
  padding-bottom: 80px;
  background-color: #09090b;
}

.work-trusted-intro {
  text-align: center;
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}

.work-trusted-pill-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.work-trusted-item {
  flex: 1 1 130px;
  max-width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-trusted-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.work-trusted-item img {
  max-width: 100%;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .work-trusted-pill-box {
    border-radius: 20px;
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .work-trusted-pill-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .work-trusted-item {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Projects Section (#projects)
   -------------------------------------------------------------------------- */
.work-projects-section {
  padding-top: 30px;
  padding-bottom: 100px;
  position: relative;
  background-color: #09090b;
}

.work-section-header {
  margin-bottom: 48px;
}

.work-section-title {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 1rem + 3vw, 3.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.work-section-title em,
.work-section-title .title-accent {
  font-style: italic;
  color: #FF5A1F !important; /* Orange accent */
}

/* Sticky Filter Sidebar */
.work-sidebar-col {
  position: relative;
  align-self: stretch !important;
  height: auto !important;
}

.work-sidebar-wrap {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 90px !important;
  z-index: 25;
}

@media (max-height: 820px) {
  .work-sidebar-wrap {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .work-sidebar-wrap::-webkit-scrollbar {
    display: none;
  }
}

.work-filter-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #121215;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.work-accordion-group {
  margin-bottom: 16px;
}

.work-accordion-group:last-child {
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.work-accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 6px 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: color 0.2s ease;
}

.work-accordion-trigger:hover,
.work-accordion-trigger:focus-visible {
  color: #FF5A1F;
}

.work-accordion-trigger i {
  font-size: 16px;
  color: #a1a1aa;
  transition: transform 0.3s ease, color 0.2s ease;
}

.work-accordion-trigger[aria-expanded="true"] i {
  transform: rotate(180deg);
  color: #FF5A1F;
}

.work-accordion-content {
  display: none;
  padding-top: 4px;
  padding-bottom: 8px;
}

.work-accordion-content.is-open {
  display: block;
}

.work-chips-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-filter-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: none !important;
}

.work-filter-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Active Filter Chip: Clean White Border, NO green glow */
.work-filter-chip.is-active {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: none !important;
}

.work-filter-chip .chip-count {
  font-size: 11px;
  font-weight: 700;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.work-filter-chip.is-active .chip-count {
  background: #ffffff;
  color: #09090b;
}

/* Sidebar WhatsApp "Book a Call" Button: Orange with slide animation */
.work-sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: #FF5A1F;
  color: #ffffff !important;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  padding: 16px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.25);
  border: none;
}

.work-sidebar-btn:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 90, 31, 0.35);
}

.work-sidebar-btn .sidebar-btn-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.work-sidebar-btn:hover .sidebar-btn-icon {
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   Projects 2-Column Grid (Equal Heights)
   -------------------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 767px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.work-card-wrap {
  display: flex;
  height: 100%;
}

.work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  outline: none;
  position: relative;
}

.work-card:hover,
.work-card:focus {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 31, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 90, 31, 0.15);
  color: #ffffff !important;
  text-decoration: none;
}

.work-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #1a1a1e;
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-card:hover .work-card-media img {
  transform: scale(1.05);
}

.work-card-body {
  padding: 22px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.work-card-title-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.work-card-title {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 0;
  line-height: 1.25;
  transition: color 0.25s ease;
  text-transform: uppercase;
}

/* Card hover title turns ORANGE - Never blue! */
.work-card:hover .work-card-title {
  color: #FF5A1F !important;
}

.work-card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.work-card:hover .work-card-arrow {
  background: #FF5A1F;
  border-color: #FF5A1F;
  color: #ffffff;
  transform: translate(3px, -3px);
}

.work-card-desc {
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.work-card-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.work-card-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
  letter-spacing: 0.2px;
}

.work-card-pill.pill-industry {
  background: rgba(255, 90, 31, 0.12);
  border-color: rgba(255, 90, 31, 0.3);
  color: #FF5A1F;
}

/* Empty State */
.work-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: #141417;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.work-empty-icon {
  font-size: 40px;
  color: #71717a;
  margin-bottom: 16px;
}

.work-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.work-empty-desc {
  font-size: 14px;
  color: #a1a1aa;
  margin-bottom: 20px;
}

.work-empty-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  background: #FF5A1F;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.work-empty-reset-btn:hover {
  background: #e04b16;
}

/* --------------------------------------------------------------------------
   Dedicated CTA Banner Section
   -------------------------------------------------------------------------- */
.work-cta-section {
  position: relative;
  background: linear-gradient(180deg, #09090b 0%, #111114 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 90px 0;
  overflow: hidden;
}

.work-cta-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  padding: 56px 40px;
  text-align: center;
}

@media (max-width: 767px) {
  .work-cta-card {
    padding: 36px 20px;
  }
}

.work-cta-badge {
  display: inline-block;
  color: #FF5A1F;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.work-cta-title {
  font-family: var(--heading-font);
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 16px;
}

.work-cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.work-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Mobile/Tablet Filter Bar
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .work-sidebar-wrap {
    position: static;
    margin-bottom: 32px;
  }

  .work-filter-card {
    padding: 16px;
  }

  .work-chips-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .work-filter-chip {
    width: auto;
    padding: 6px 12px;
    font-size: 12px;
  }
}
