/* HERO SECTION */
.hc-services-detail-hero {
  background-color: var(--secondary-color);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.hc-services-detail-hero-content {
  display: flex;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 5.25rem;
}

.hc-services-detail-hero-text {
  flex: 1;
}

.hc-services-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hc-services-detail-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-white);
  line-height: 1.4;
  padding: 5px 10px;
  text-transform: uppercase;
  background-color: #ffffff0d;
  backdrop-filter: blur(4px);
  border: 1px solid #ffffff1a;
}

.hc-services-detail-badges .badge img {
  height: 13px;
  width: auto;
}

.hc-services-detail-hero-title {
  font-size: 2.875rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  margin-bottom: 1.3rem;
}

.hc-services-detail-hero-title span.text-orange {
  color: var(--primary-color);
}

.hc-services-detail-hero-description {
  font-size: 1.125rem;
  font-weight: var(--font-weight-light);
  line-height: 1.6;
  color: #9ca3af;
  margin-bottom: 2.25rem;
  max-width: 550px;
}

.hc-services-detail-hero-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Visual - Pipeline Status Card */
.hc-services-detail-hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.pipeline-card {
  padding: 1.5rem;
  width: 100%;
  border: 1px solid #ffffff1a;
  border-radius: 10px;
  background: linear-gradient(270deg, #f05a281a 0%, rgba(17, 24, 39, 0.4) 100%);
  box-shadow: 0px 25px 50px -12px #00000040;
  backdrop-filter: blur(4px);
}

.pipeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #ffffff0d;
}

.pipeline-status-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-weight: var(--font-weight-bold);
  font-size: 0.875rem;
}

.pulse-icon {
  width: 18px;
  height: 18px;
}

.pipeline-dots {
  display: flex;
  gap: 6px;
}

.pipeline-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot.red {
  background-color: #ef4444;
}

.dot.yellow {
  background-color: #eab308;
}

.dot.green {
  background-color: #22c55e;
}

/* DELIVERY CAPABILITIES SECTION */
.hc-services-detail-capabilities {
  background: #f9fafb;
}

.hc-services-detail-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.31rem;
  margin-top: 3rem;
}

.capability-card {
  padding: 1.31rem;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-e5);
  box-shadow: 0px 1px 2px 0px #0000000d;
  transition: all 0.3s ease;
}

.capability-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.capability-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.31rem;
}

.cap-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-icon-box img {
  width: 21px;
  height: 21px;
}

.bg-blue-light {
  background-color: #eff6ff;
}

.bg-purple-light {
  background-color: #faf5ff;
}

.bg-green-light {
  background-color: #f0fdf4;
}

.bg-orange-light {
  background-color: #fff7ed;
}

.cap-tag {
  font-size: 0.65rem;
  font-weight: var(--font-weight-bold);
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.tag-blue {
  background-color: #eff6ff;
  color: #2563eb;
}

.tag-purple {
  background-color: #faf5ff;
  color: #9333ea;
}

.tag-green {
  background-color: #f0fdf4;
  color: #16a34a;
}

.tag-orange {
  background-color: #fff7ed;
  color: #f05a28;
}

.capability-title {
  font-size: 21px;
  font-weight: var(--font-weight-bold);
  color: #111827;
  line-height: 1.5;
  margin-bottom: 10px;
}

.capability-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: auto;
  padding-bottom: 0.875rem;
}

.capability-link {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  color: #111827;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  transition: gap 0.3s;
}

/* EXECUTION FOCUSED DELIVERY SECTION */
.text-center {
  text-align: center;
}

.hc-services-detail-process .section-subtitle-sm {
  color: var(--text-light);
  margin-top: 0.875rem;
  margin-bottom: 3.5rem;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem;
}

.process-line-bg {
  position: absolute;
  top: 28px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e2e8f0;
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.31rem;
  font-size: 1.15rem;
}

.step-title {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: #111827;
  margin-bottom: 0.75rem;
  min-height: 1.31em;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1.31rem;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.step-tags span {
  font-size: 0.75rem;
  color: #475569;
  padding: 4px 8px;
  white-space: nowrap;
  background-color: #f1f5f9;
  border: 1px solid var(--border-e5);
  border-radius: 4px;
}

.hc-services-detail-engagement {
  background: #f9fafb;
  border-width: 1px 0px 1px 0px;
  border-style: solid;
  border-color: #e5e7eb;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.engagement-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 1.875rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-e5);
  box-shadow: 0px 1px 2px 0px #0000000d;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.engagement-card.highlight {
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.engagement-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.engagement-icon {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.engagement-icon img {
  width: 21px;
  height: 21px;
}

.engagement-title {
  font-size: 1.14rem;
  font-weight: var(--font-weight-bold);
  color: #111827;
  margin-bottom: 7px;
}

.engagement-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.31rem;
}

.engagement-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-e5);
  padding-top: 1.5rem;
  width: 100%;
}

.eng-label {
  display: block;
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  color: #94a3b8;
  text-transform: uppercase;
}

.eng-val {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: #111827;
}

/* ENGINEERING STACK SECTION */
.hc-services-detail-stack {
  background-color: var(--secondary-color);
  color: var(--text-white);
}

.hc-services-detail-stack .section-title {
  margin-bottom: 7px;
}

.text-white {
  color: var(--text-white);
}

.text-gray {
  color: #9ca3af;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  background-color: #131b2d80;
}

.stack-col {
  padding: 1.31rem;
  border-right: 1px solid #ffffff1a;
}

.stack-col:last-child {
  border-right: none;
}

.stack-header {
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

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

.stack-list li {
  font-size: 12px;
  color: #d1d5db;
  margin-bottom: 7px;
  font-weight: var(--font-weight-medium);
}

.stack-list li:last-child {
  margin-bottom: 0;
}

/* CTA SECTION */
.hc-services-detail-cta {
  background-color: var(--bg-more-dark);
}

.hc-services-detail-cta-container {
  text-align: center;
  border-top: none;
}

.hc-services-detail-cta-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: white;
  margin-bottom: 1.875rem;
}

/* .cta-actions .btn-primary-square {
  box-shadow: 0px 8px 10px -6px #F05A2833;
  box-shadow: 0px 20px 25px -5px #F05A2833;
} */

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .hc-services-detail-badges {
    justify-content: start;
    width: fit-content;
  }

  .hc-services-detail-hero-content {
    flex-direction: column;
    gap: 3rem;
    align-items: start;
  }

  .hc-services-detail-hero-text {
    text-align: left;
    width: 100%;
  }

  .hc-services-detail-hero-visual {
    width: 100%;
  }

  .hc-services-detail-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-col {
    border-right: 1px solid #ffffff1a;
    border-bottom: 1px solid #ffffff1a;
  }

  .stack-col:nth-child(2n) {
    border-right: none;
  }

  .stack-col:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-line-bg {
    display: none;
  }

  .process-step {
    padding-left: 1rem;
    border-left: 2px solid #e2e8f0;
    margin-left: 1.5rem;
  }

  .step-circle {
    font-size: 1rem;
    position: absolute;
    height: 48px;
    width: 48px;
    left: 0;
    top: 0;
    margin-bottom: 0;
    transform: translateX(-50%);
    background-color: white;
  }

  .step-title,
  .step-desc,
  .step-tags {
    margin-left: 1.5rem;
  }

  .step-tags {
    margin-bottom: 2rem;
  }

  .step-tags {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .engagement-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .hc-services-detail-hero-title {
    font-size: 2.5rem;
  }

  .hc-services-detail-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .stack-grid {
    grid-template-columns: 1fr;
  }

  .stack-col {
    border-right: none !important;
    border-bottom: 1px solid #ffffff1a !important;
    padding: 2rem;
  }

  .stack-col:last-child {
    border-bottom: none !important;
  }

  .engagement-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }

  .hc-services-detail-cta-title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
  }
}
