/* ==========================================================================
   Service Details Page Styles - Acarya Global (IT Consulting & Services)
   Distinct Enterprise Layout with Rich Scroll Transitions & Animations
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Inner Page Banner (Matches About Us hero with moving Ken Burns effect)
   -------------------------------------------------------------------------- */
@keyframes heroBgPanZoom {
  0% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
  100% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
}

.page-title-area {
  position: relative;
  background-color: #000000;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  z-index: 1;
}

.page-title-bg {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-image: url('../../assets/images/hero/page-title-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #000000;
  animation: heroBgPanZoom 18s ease-in-out infinite alternate;
  will-change: transform;
  z-index: 1;
}

.page-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
  pointer-events: none;
}

.page-title-content {
  text-align: center;
  position: relative;
  z-index: 3;
}

/* Hero Content Entrance Animations */
@keyframes heroCategoryDrop {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroHeadingSlideUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroSubheadingFadeIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.page-title-content .page-category {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--dt-pri-color, #00a0e8);
  margin-bottom: 0.75rem;
  animation: heroCategoryDrop 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.page-title-content .page-main-heading {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-white, #ffffff);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  animation: heroHeadingSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.page-title-content .page-subheading {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  animation: heroSubheadingFadeIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

/* --------------------------------------------------------------------------
   1. Main Service Details Hub (Asymmetrical Two-Column Layout)
   -------------------------------------------------------------------------- */
.service-details-hub {
  padding: 5rem 0;
  background-color: #ffffff;
  position: relative;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* --- Left Column: Service Sidebar --- */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  position: sticky;
  top: 110px;
}

/* Widget: Services Navigation Menu */
.sidebar-widget {
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.sidebar-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: var(--dt-pri-color, #00a0e8);
  border-radius: 2px;
  transition: width 0.35s ease;
}

.sidebar-widget:hover .sidebar-widget-title::after {
  width: 65px;
}

.service-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-nav-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.15rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-nav-list li a .nav-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-nav-list li a .nav-text i {
  color: var(--dt-pri-color, #00a0e8);
  font-size: 1rem;
  width: 18px;
  text-align: center;
  transition: transform 0.28s ease, color 0.28s ease;
}

.service-nav-list li a .nav-arrow {
  font-size: 0.8125rem;
  color: #94a3b8;
  transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.28s ease;
}

.service-nav-list li a:hover {
  background: #00a0e8;
  color: #ffffff;
  border-color: #00a0e8;
  transform: translateX(6px);
  box-shadow: 0 4px 15px rgba(0, 160, 232, 0.2);
}

.service-nav-list li a:hover .nav-text i,
.service-nav-list li a:hover .nav-arrow {
  color: #ffffff;
}

.service-nav-list li a:hover .nav-arrow {
  transform: translateX(3px);
}

.service-nav-list li.active a {
  background: #0f2b48;
  color: #ffffff;
  border-color: #0f2b48;
  box-shadow: 0 4px 14px rgba(15, 43, 72, 0.15);
}

.service-nav-list li.active a .nav-text i {
  color: var(--dt-pri-color, #00a0e8);
}

.service-nav-list li.active a .nav-arrow {
  color: #00a0e8;
  transform: translateX(3px);
}

/* Staggered Navigation Items Glide-In on Scroll Entrance */
@keyframes navItemGlideIn {
  0% {
    opacity: 0;
    transform: translate3d(-24px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.service-details-hub.is-in-view .service-nav-list li:nth-child(1) {
  animation: navItemGlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.service-details-hub.is-in-view .service-nav-list li:nth-child(2) {
  animation: navItemGlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}
.service-details-hub.is-in-view .service-nav-list li:nth-child(3) {
  animation: navItemGlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both;
}
.service-details-hub.is-in-view .service-nav-list li:nth-child(4) {
  animation: navItemGlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
}
.service-details-hub.is-in-view .service-nav-list li:nth-child(5) {
  animation: navItemGlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}
.service-details-hub.is-in-view .service-nav-list li:nth-child(6) {
  animation: navItemGlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.50s both;
}
.service-details-hub.is-in-view .service-nav-list li:nth-child(7) {
  animation: navItemGlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both;
}

/* Widget: Consulting Capabilities Card */
.sidebar-capability-card {
  background: linear-gradient(145deg, #0f2b48 0%, #0a1c30 100%);
  border-radius: 12px;
  padding: 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 43, 72, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sidebar-capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 43, 72, 0.22);
}

.sidebar-capability-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 160, 232, 0.3) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 0.5s ease;
}

.sidebar-capability-card:hover::before {
  transform: scale(1.3);
}

.capability-card-badge {
  display: inline-block;
  background: rgba(0, 160, 232, 0.2);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.capability-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.capability-card-desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.capability-card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

.capability-metric-item .metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00a0e8;
  display: block;
}

.capability-metric-item .metric-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sidebar Spring Entrance */
@keyframes cardSpringIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.service-details-hub.is-in-view .sidebar-capability-card {
  animation: cardSpringIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.service-details-hub.is-in-view .sidebar-advisory-box {
  animation: cardSpringIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* Widget: Quick Direct Consultation Box */
.sidebar-advisory-box {
  background: #f1f5f9;
  border-radius: 12px;
  border-left: 4px solid var(--dt-pri-color, #00a0e8);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, border-left-color 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-advisory-box:hover {
  transform: translateY(-3px);
  border-left-color: #0284c7;
  box-shadow: 0 8px 24px rgba(0, 160, 232, 0.09);
}

.advisory-box-heading {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.advisory-box-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.advisory-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dt-pri-color, #00a0e8);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.advisory-contact-link:hover {
  color: #0284c7;
  transform: translateX(4px);
}

.advisory-contact-link i {
  transition: transform 0.25s ease;
}

.advisory-contact-link:hover i {
  transform: translateX(3px);
}

/* --- Right Column: Main Service Content --- */
.service-main-content {
  color: #334155;
}

/* Featured Media Showcase */
@keyframes mediaFrameReveal {
  0% {
    opacity: 0;
    transform: scale(0.96) translate3d(0, 25px, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

.service-featured-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 2.5rem;
  background-color: #0f2b48;
}

.service-featured-media.animated,
.service-details-hub.is-in-view .service-featured-media {
  animation: mediaFrameReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.service-featured-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-featured-media:hover img {
  transform: scale(1.03);
}

/* Floating Media Overlay Badge Bouncy Spring */
@keyframes badgePopSpring {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.75);
  }
  65% {
    opacity: 1;
    transform: translate3d(0, -6px, 0) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.service-media-overlay-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 43, 72, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 160, 232, 0.35);
  border-radius: 10px;
  padding: 0.85rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-featured-media.animated .service-media-overlay-badge,
.service-details-hub.is-in-view .service-media-overlay-badge {
  animation: badgePopSpring 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.35s both;
}

.service-featured-media:hover .service-media-overlay-badge {
  transform: translateY(-3px);
  border-color: rgba(0, 160, 232, 0.65);
}

.media-badge-icon {
  width: 42px;
  height: 42px;
  background: var(--dt-pri-color, #00a0e8);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-featured-media:hover .media-badge-icon {
  transform: rotate(10deg) scale(1.08);
}

.media-badge-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}

.media-badge-text span {
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* Executive Content & Typography */
.service-content-intro {
  margin-bottom: 2.25rem;
}

.service-content-intro .service-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dt-pri-color, #00a0e8);
  margin-bottom: 0.5rem;
}

.service-content-intro .service-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.28;
  margin-bottom: 1.25rem;
}

.service-lead-paragraph {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.service-body-paragraph {
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1.25rem;
}

/* High-Impact Strategic Highlight Callout */
@keyframes quoteBoxUnfold {
  0% {
    opacity: 0;
    transform: translate3d(0, 25px, 0) scale(0.97);
    border-left-color: transparent;
  }
  50% {
    border-left-color: var(--dt-pri-color, #00a0e8);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    border-left-color: var(--dt-pri-color, #00a0e8);
  }
}

.service-quote-callout {
  position: relative;
  background: #f8fafc;
  border-left: 4px solid var(--dt-pri-color, #00a0e8);
  border-radius: 0 12px 12px 0;
  padding: 1.75rem 2rem;
  margin: 2.25rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-quote-callout.animated,
.service-details-hub.is-in-view .service-quote-callout {
  animation: quoteBoxUnfold 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.service-quote-callout:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(0, 160, 232, 0.08);
}

.service-quote-callout p {
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.65;
  margin: 0;
}

/* Value Delivery Matrix (2x2 Distinct Layout) */
.service-delivery-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.delivery-matrix-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.delivery-matrix-card:hover {
  transform: translateY(-6px);
  border-color: var(--dt-pri-color, #00a0e8);
  box-shadow: 0 12px 30px rgba(0, 160, 232, 0.12);
}

.matrix-card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.matrix-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 160, 232, 0.1);
  color: var(--dt-pri-color, #00a0e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              background 0.3s ease,
              color 0.3s ease;
}

.delivery-matrix-card:hover .matrix-card-icon {
  transform: scale(1.15) rotate(8deg);
  background: var(--dt-pri-color, #00a0e8);
  color: #ffffff;
}

.matrix-card-header h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.delivery-matrix-card p {
  font-size: 0.90625rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. Engagement Lifecycle Section (Horizontal Process Pipeline)
   -------------------------------------------------------------------------- */
.consulting-lifecycle-section {
  padding: 5.5rem 0 6.5rem;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.section-heading-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dt-pri-color, #00a0e8);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.375rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}

/* Timeline Layout with Drawing Horizontal Connector */
.lifecycle-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 1rem;
}

.lifecycle-timeline::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 60px;
  width: 0;
  max-width: calc(100% - 120px);
  height: 3px;
  background: linear-gradient(90deg, #0f2b48 0%, #00a0e8 50%, #38bdf8 100%);
  opacity: 0;
  z-index: 1;
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 0.4s ease 0.3s;
}

.consulting-lifecycle-section.is-in-view .lifecycle-timeline::before {
  width: calc(100% - 120px);
  opacity: 1;
}

.lifecycle-step {
  position: relative;
  z-index: 2;
  text-align: center;
  transition: transform 0.3s ease;
}

.step-node {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0f2b48;
  color: #0f2b48;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 6px #f8fafc;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered Spring Pop on Step Nodes */
@keyframes stepNodeSpringPop {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-30deg);
  }
  65% {
    opacity: 1;
    transform: scale(1.18) rotate(6deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes stepCardSlideUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 35px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.consulting-lifecycle-section.is-in-view .lifecycle-step:nth-child(1) .step-node {
  animation: stepNodeSpringPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.15s both;
}
.consulting-lifecycle-section.is-in-view .lifecycle-step:nth-child(1) .step-content {
  animation: stepCardSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.consulting-lifecycle-section.is-in-view .lifecycle-step:nth-child(2) .step-node {
  animation: stepNodeSpringPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.35s both;
}
.consulting-lifecycle-section.is-in-view .lifecycle-step:nth-child(2) .step-content {
  animation: stepCardSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.consulting-lifecycle-section.is-in-view .lifecycle-step:nth-child(3) .step-node {
  animation: stepNodeSpringPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.55s both;
}
.consulting-lifecycle-section.is-in-view .lifecycle-step:nth-child(3) .step-content {
  animation: stepCardSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.consulting-lifecycle-section.is-in-view .lifecycle-step:nth-child(4) .step-node {
  animation: stepNodeSpringPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.75s both;
}
.consulting-lifecycle-section.is-in-view .lifecycle-step:nth-child(4) .step-content {
  animation: stepCardSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
}

/* Interactive Hover Feedback on Stepper */
.lifecycle-step:hover .step-node {
  transform: scale(1.15);
  background: var(--dt-pri-color, #00a0e8);
  border-color: var(--dt-pri-color, #00a0e8);
  color: #ffffff;
  box-shadow: 0 0 0 8px rgba(0, 160, 232, 0.22);
}

.lifecycle-step:hover .step-content {
  transform: translateY(-6px);
  border-color: var(--dt-pri-color, #00a0e8);
  box-shadow: 0 12px 30px rgba(15, 43, 72, 0.09);
}

.step-content .step-phase {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dt-pri-color, #00a0e8);
  margin-bottom: 0.35rem;
}

.step-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.625rem;
}

.step-content p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive Adaptations for Service Details
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .service-hub-grid {
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
  }

  .service-featured-media img {
    height: 380px;
  }
}

@media (max-width: 991px) {
  .service-hub-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
    order: 2;
  }

  .service-main-content {
    order: 1;
  }

  .lifecycle-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .lifecycle-timeline::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .page-title-content .page-main-heading {
    font-size: 2.125rem;
  }

  /* Seamless, attached media badge footer on mobile */
  .service-featured-media {
    border-radius: 14px;
    background-color: #0b1e33;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(11, 30, 51, 0.14);
    display: flex;
    flex-direction: column;
  }

  .service-featured-media img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .service-media-overlay-badge {
    position: static;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, #0f2742 0%, #0a1b2e 100%);
    border: none;
    border-top: 1px solid rgba(0, 160, 232, 0.3);
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .media-badge-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  .media-badge-text {
    flex: 1;
    min-width: 0;
  }

  .media-badge-text strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    text-wrap: balance;
  }

  .media-badge-text span {
    display: block;
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.45;
    text-wrap: balance;
    word-break: normal;
  }

  .service-delivery-matrix {
    grid-template-columns: 1fr;
  }

  .lifecycle-timeline {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.875rem;
  }
}

@media (max-width: 480px) {
  .service-featured-media img {
    height: 200px;
  }

  .service-media-overlay-badge {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .media-badge-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.95rem;
    border-radius: 7px;
  }

  .media-badge-text strong {
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .media-badge-text span {
    font-size: 0.775rem;
    line-height: 1.4;
  }
}

/* Reduced Motion Override for Accessibility */
@media (prefers-reduced-motion: reduce) {
  .page-title-bg,
  .page-title-content .page-category,
  .page-title-content .page-main-heading,
  .page-title-content .page-subheading,
  .service-featured-media,
  .service-media-overlay-badge,
  .service-nav-list li,
  .sidebar-capability-card,
  .sidebar-advisory-box,
  .service-quote-callout,
  .lifecycle-timeline::before,
  .step-node,
  .step-content {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: auto !important;
  }
}
