/* Fix for service box hover stacking context issue */
.service-one-box {
  z-index: 1;
}

/* Ecosystem Section Styles */
.ecosystem-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.ecosystem-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.03) 0%, transparent 60%);
  z-index: 1;
  animation: rotateBackground 20s linear infinite;
}

@keyframes rotateBackground {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.ecosystem-section .container {
  position: relative;
  z-index: 2;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

@media (max-width: 991px) {
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.player-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.03);
  z-index: 1;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark overlay with softness (not full black) */
  background: linear-gradient(135deg, rgba(13, 20, 40, 0.85) 0%, rgba(4, 10, 22, 0.92) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}


.player-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.player-card:hover::before {
  opacity: 1;
}

.player-icon {
  width: 80px;
  height: 80px;
  background: rgba(26, 86, 219, 0.1);
  color: var(--thm-base, black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
}

.player-card:hover .player-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.1) rotate(10deg);
}

.player-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  transition: color 0.4s ease;
}

.player-card p {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.6;
  transition: color 0.4s ease;
}

.player-card:hover h4,
.player-card:hover p {
  color: #ffffff;
}

/* Add pulsing effect to icons */
@keyframes iconPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.player-card:hover .player-icon {
  animation: iconPulse 1.5s infinite;
}

/* Floating animation for cards on load */
@keyframes floatUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.players-grid .player-card {
  animation: floatUp 0.6s ease forwards;
  opacity: 0;
}

.players-grid .player-card:nth-child(1) {
  animation-delay: 0.1s;
}

.players-grid .player-card:nth-child(2) {
  animation-delay: 0.2s;
}

.players-grid .player-card:nth-child(3) {
  animation-delay: 0.3s;
}

.players-grid .player-card:nth-child(4) {
  animation-delay: 0.4s;
}

.players-grid .player-card:nth-child(5) {
  animation-delay: 0.5s;
}

.players-grid .player-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Diagnosis Section Styles */
.diagnosis-section {
  background-color: #0f172a;
  /* Dark navy background for premium look */
  color: #f8fafc;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.diagnosis-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.diagnosis-wrapper {
  position: relative;
  z-index: 1;
}

.diagnosis-header .heading-subtitle {
  color: #94a3b8;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.diagnosis-header .heading-title {
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
}

/* Modern Score Card */
.score-card-modern {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.score-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.score-header h4 {
  color: #e2e8f0;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

/* Circular Progress Chart */
.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 80%;
  max-height: 250px;
}

.circle-bg {
  fill: none;
  stroke: #334155;
  stroke-width: 2.5;
}

.circle {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: progress 2s ease-out forwards;
}

.circular-chart.red .circle {
  stroke: #ef4444;
}

.percentage {
  fill: #ffffff;
  font-family: sans-serif;
  font-size: 8px;
  font-weight: bold;
  text-anchor: middle;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.risk-badge {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 30px;
  background-color: #dc2626 !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: pulseRisk 2s infinite;
}

@keyframes pulseRisk {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.score-details p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}

/* Metrics Bars */
.metrics-container {
  padding-left: 20px;
}

.metric-item {
  margin-bottom: 25px;
}

.metric-item:last-child {
  margin-bottom: 0;
}

.metric-info .metric-name {
  color: #f1f5f9;
  font-size: 16px;
}

.metric-info .metric-value {
  color: #94a3b8;
  font-weight: 600;
}

.custom-progress {
  height: 12px;
  background-color: #1e293b;
  border-radius: 10px;
  overflow: visible;
}

.custom-progress .progress-bar {
  border-radius: 10px;
  position: relative;
  animation: barFill 1.5s cubic-bezier(0.1, 0.5, 0.1, 1) forwards;
  transform-origin: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@keyframes barFill {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

.custom-bar-red {
  background: linear-gradient(90deg, #f87171, #dc2626);
}

.custom-bar-orange {
  background: linear-gradient(90deg, #fb923c, #ea580c);
}

.custom-bar-yellow {
  background: linear-gradient(90deg, #facc15, #ca8a04);
}

.custom-bar-blue {
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}

/* Root Cause Box */
.root-cause-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  gap: 25px;
  align-items: flex-start;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.root-cause-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.root-cause-content h4 {
  color: #f59e0b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.root-cause-content p {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 15px;
}

.chaos-text {
  color: #ef4444 !important;
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .metrics-container {
    padding-left: 0;
    margin-top: 40px;
  }

  .root-cause-box {
    flex-direction: column;
    gap: 15px;
  }
}



/* Custom styles for The solution  sections */


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #081327;
  font-family: 'DM Sans', sans-serif;
}

/* ─── Section ─── */
.xlr8-solution {
  background: #081327;
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind heading */
.xlr8-solution::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(196, 163, 84, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.sol-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Badge ─── */
.sol-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 163, 84, 0.12);
  border: 1px solid rgba(196, 163, 84, 0.3);
  color: #C4A354;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.sol-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #C4A354;
  border-radius: 50%;
}

/* ─── Heading ─── */
.sol-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 720px;
  /* (no line-clamp - allow natural wrapping) */
}

.sol-title span {
  color: #C4A354;
}

/* Force all title text (including "unified growth infrastructure for SMEs") to white */
.xlr8-solution .sol-title,
.xlr8-solution .sol-title * {
  color: #ffffff !important;
}


.sol-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
  font-weight: 300;
}

/* ─── Tabs ─── */
.sol-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.sol-tab {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'DM Sans', sans-serif;
}

.sol-tab:hover {
  border-color: rgba(196, 163, 84, 0.4);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(196, 163, 84, 0.06);
}

.sol-tab.active {
  background: #C4A354;
  border-color: #C4A354;
  color: #081327;
  font-weight: 600;
}

/* ─── Panels ─── */
.sol-panel {
  display: none;
  animation: fadeUp 0.35s ease forwards;
}

.sol-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Standard Card ─── */
.sol-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}

.sol-card:hover {
  border-color: rgba(196, 163, 84, 0.3);
}

.sol-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(196, 163, 84, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.sol-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.sol-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.65;
}

/* ─── Hero Card (full-width) ─── */
.sol-main-card {
  grid-column: 1 / -1;
  background: rgba(196, 163, 84, 0.06);
  border: 1px solid rgba(196, 163, 84, 0.18);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.sol-main-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: rgba(196, 163, 84, 0.16);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.sol-main-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C4A354;
  margin-bottom: 6px;
}

.sol-main-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.sol-main-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.7;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .sol-panel.active {
    grid-template-columns: 1fr;
  }

  .sol-main-card {
    flex-direction: column;
  }
}


/* business life cycle card styles  */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #081327;
  font-family: 'DM Sans', sans-serif;
}

/* ─── Section wrapper ─── */
.xlr8-framework {
  background: #081327;
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.xlr8-framework::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 163, 84, .06) 0%, transparent 70%);
  pointer-events: none;
}

.fw-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Badge ─── */
.fw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 163, 84, .11);
  border: 1px solid rgba(196, 163, 84, .3);
  color: #C4A354;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.fw-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #C4A354;
  border-radius: 50%;
}

/* ─── Heading ─── */
.fw-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #fff;
}

.fw-title span {
  color: #C4A354;
}

.fw-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.65;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 520px;
}

/* ─── Journey Flow Pills ─── */
.fw-journey {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 52px;
}

.fw-journey-label {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-right: 8px;
}

.fw-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(196, 163, 84, .25);
  background: rgba(196, 163, 84, .07);
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #C4A354;
}

.fw-arrow {
  color: rgba(196, 163, 84, .4);
  font-size: 16px;
  padding: 0 2px;
}

/* ─── Timeline ─── */
.fw-timeline-wrap {
  position: relative;
  margin-bottom: 0;
}

/* Horizontal connecting line through the dots */
.fw-line {
  position: absolute;
  top: 23px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      rgba(196, 163, 84, .05),
      rgba(196, 163, 84, .35) 30%,
      rgba(196, 163, 84, .35) 70%,
      rgba(196, 163, 84, .05));
  pointer-events: none;
  z-index: 0;
}

.fw-stages {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}

.fw-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

/* Dot on the timeline line */
.fw-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 163, 84, .4);
  background: #081327;
  margin-bottom: 12px;
  flex-shrink: 0;
  transition: all .25s ease;
  position: relative;
  z-index: 2;
}

.fw-stage:hover .fw-dot,
.fw-stage.active .fw-dot {
  background: #C4A354;
  border-color: #C4A354;
  box-shadow: 0 0 0 4px rgba(196, 163, 84, .15);
}

/* Stage card */
.fw-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  width: 100%;
  transition: background .25s, border-color .25s;
}

.fw-stage:hover .fw-card,
.fw-stage.active .fw-card {
  background: rgba(196, 163, 84, .09);
  border-color: rgba(196, 163, 84, .3);
}

.fw-snum {
  font-size: 9px;
  color: rgba(255, 255, 255, .28);
  letter-spacing: .08em;
  margin-bottom: 5px;
}

.fw-sname {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  line-height: 1.3;
  margin-bottom: 6px;
}

.fw-scode {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #C4A354;
}

/* ─── Phase Brackets ─── */
.fw-phases {
  display: grid;
  grid-template-columns: 1fr 3fr 4fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.fw-phase {
  text-align: center;
}

.fw-phase-bar {
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .08);
  margin-bottom: 7px;
  position: relative;
  overflow: hidden;
}

.fw-phase-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #C4A354;
  opacity: .45;
  border-radius: 2px;
}

.fw-phase-label {
  font-size: 9px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ─── Detail Panel ─── */
.fw-detail {
  display: none;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 24px;
  gap: 20px;
  align-items: flex-start;
  animation: fadeUp .28s ease forwards;
}

.fw-detail.show {
  display: flex;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fw-detail-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(196, 163, 84, .12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #C4A354;
}

.fw-detail-num {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .08em;
  margin-bottom: 3px;
}

.fw-detail-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.fw-detail-code {
  font-size: 12px;
  font-weight: 500;
  color: #C4A354;
  margin-bottom: 10px;
}

.fw-detail-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .52);
  line-height: 1.7;
}

/* ─── Responsive ─── */
@media (max-width: 720px) {
  .fw-stages {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .fw-line {
    display: none;
  }
}

/* Process One Section - 3 items per row */
.process-item-one {
  flex-wrap: wrap;
}

.process-one-box {
  width: calc((100% - 80px) / 3);
  min-width: unset;
}

@media (max-width: 991px) {
  .process-item-one {
    justify-content: center;
  }

  .process-one-box {
    width: calc((100% - 40px) / 2);
  }
}

@media (max-width: 767px) {
  .process-one-box {
    width: 100%;
  }
  
}