@charset "UTF-8";
/* ==========================================================================
   Services (مسارات الخدمات)
   ========================================================================== */

.services {
  position: relative;
  margin-top: var(--section-gap);
  min-height: 660px;
  padding: 56px 24px 55px;
  overflow: hidden;
  color: var(--c-white);
  background: linear-gradient(-90deg, var(--c-primary) 0%, var(--c-supportive-02) 137.78%);
}

.services__corner {
  position: absolute;
  top: 78px;
  left: calc(50% - 720px + 98px);
  width: 52px;
  height: 52px;
}

/* Component 714:8965 — 1233.8 x 548.7, text column on the left, diagram on the right */
.services__inner {
  position: relative;
  direction: ltr;
  width: 1234px;
  max-width: 100%;
  height: 549px;
  margin-inline: auto;
}

/* ---------- Text column ---------- */
.services__text {
  position: absolute;
  top: 44px;
  left: 0;
  width: 606px;
  direction: rtl;
  display: grid;
}

/* Panels share one grid cell; the old one fades out while the new one fades in */
.panel {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* RTL: right edge */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}
.panel.is-shown {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-in-out, visibility 0s;
}

.services__title {
  font-size: 31px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 40px;
}

.services__subtitle {
  font-size: var(--fs-sub1);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.services__intro {
  font-size: var(--fs-sub2);
  line-height: 1.4;
  margin-bottom: 28px;
}

.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: var(--fs-sub2);
  line-height: 1.4;
}
.services__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.services__list--tracks {
  gap: 28px;
}

.bullet {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.services__track-link {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-align: right;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.services__track-link:hover, .services__track-link:focus-visible {
  border-bottom-color: var(--c-secondary-light);
}

.services__back {
  margin-top: 28px;
  font-size: 14px;
  color: var(--c-secondary-light);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.services__back:hover {
  color: var(--c-white);
}

/* ---------- Diagram ---------- */
.diagram {
  position: absolute;
  top: 0;
  left: 731px;
  width: 503px;
  height: 549px;
}

.diagram__canvas {
  position: relative;
  width: 503px;
  height: 549px;
  transform-origin: top left;
}

.diagram__canvas > *,
.d-track > * {
  position: absolute;
}

.d-track {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.d-track > * {
  pointer-events: auto;
}
.d-track.is-dimmed {
  opacity: 0.25;
}

/* Hand icon (Figma "mouse 1": 66 x 66 at 682,241 in the 1234 x 549 component) */
.d-hint {
  left: -49px;
  top: 241px;
  width: 66px;
  height: 66px;
  pointer-events: none;
}
.d-hint svg {
  display: block;
  width: 66px;
  height: 66px;
}

.dim-soft {
  transition: opacity 0.4s ease;
}

.diagram.has-active .dim-soft {
  opacity: 0.3;
}

.d-ring {
  left: 56px;
  top: 102px;
  width: 383px;
  height: 383px;
  max-width: none;
}

.d-shape {
  max-width: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.d-shape--consulting-fill {
  left: 109.4px;
  top: 12.4px;
  width: 255px;
  height: 202px;
  cursor: pointer;
}
.d-shape--consulting-outline {
  left: 97px;
  top: 0;
  width: 279px;
  height: 222px;
  pointer-events: none;
}
.d-shape--events-fill {
  left: 315.2px;
  top: 301.5px;
  width: 180px;
  height: 201px;
  cursor: pointer;
}
.d-shape--events-outline {
  left: 308.6px;
  top: 293px;
  width: 195px;
  height: 218px;
  pointer-events: none;
}
.d-shape--digital-fill {
  left: 5.1px;
  top: 321.1px;
  width: 165px;
  height: 185px;
  cursor: pointer;
}
.d-shape--digital-outline {
  left: 0;
  top: 316px;
  width: 174px;
  height: 195px;
  pointer-events: none;
}

.d-track:hover .d-shape,
.d-track.is-active .d-shape {
  transform: scale(1.04);
}

/* Track names (rotated as in Figma) */
.d-name {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sub1);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: var(--c-primary-light);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.d-name:focus-visible {
  outline: 2px dashed var(--c-white);
  outline-offset: 4px;
}
.d-name--consulting {
  left: 170.6px;
  top: 86.5px;
  width: 126px;
  height: 64px;
}
.d-name--events {
  left: 347.05px;
  top: 390.2px;
  width: 118px;
  height: 64px;
  transform: rotate(-43.94deg);
}
.d-name--digital {
  left: 40.85px;
  top: 394.8px;
  width: 89px;
  height: 64px;
  transform: rotate(53.23deg);
}

.d-center {
  left: 168px;
  top: 264px;
  width: 157px;
  height: 94px;
  padding: 10px;
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-primary-light);
  text-align: center;
  white-space: nowrap;
}

.d-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: var(--fs-sub2);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-primary-light);
  white-space: nowrap;
}
.d-label--execute {
  left: 397.4px;
  top: 174.5px;
  width: 82px;
  height: 44px;
  transform: rotate(62.7deg);
}
.d-label--transform {
  left: -1.5px;
  top: 183.1px;
  width: 81px;
  height: 44px;
  transform: rotate(-68.99deg);
}
.d-label--operate {
  left: 188.95px;
  top: 502.35px;
  width: 99px;
  height: 44px;
  transform: rotate(2.77deg);
}

/* Entrance */
.services .services__text,
.services .diagram {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.services .services__text {
  transform: translateX(-40px);
}

.services .diagram {
  transform: scale(0.9);
}

.services.is-visible .services__text,
.services.is-visible .diagram {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  .services__inner {
    width: 100%;
  }
  .services__text {
    width: calc(100% - 540px);
  }
  .diagram {
    left: auto;
    right: 0;
  }
  .services__corner {
    left: 24px;
  }
}
@media (max-width: 992px) {
  .services {
    padding-block: 64px;
  }
  .services__inner {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .services__text,
  .diagram {
    position: relative;
    inset: auto;
  }
  .services__text {
    width: 100%;
  }
  .services__corner {
    top: 24px;
  }
}
@media (max-width: 576px) {
  .diagram {
    width: 342px;
    height: 373px;
  }
  .diagram__canvas {
    transform: scale(0.68);
  }
  .services__list li {
    align-items: flex-start;
  }
  .bullet {
    margin-top: 6px;
  }
}
@media (max-width: 576px) {
  .services__corner {
    display: none;
  }
}
