/* Dhaka Solution team orbit — isolated from the legacy grid styles. */
.ds-team-orbit-section {
  --ds-orbit-blue: #0877b5;
  --ds-orbit-cyan: #15bfea;
  --ds-orbit-navy: #061426;
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(21, 191, 234, 0.16), transparent 31%),
    radial-gradient(circle at 8% 18%, rgba(8, 119, 181, 0.12), transparent 25%),
    linear-gradient(145deg, #f7fcff 0%, #ffffff 48%, #eff9ff 100%);
}

.ds-team-orbit-section::before,
.ds-team-orbit-section::after {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
  opacity: 0.38;
  pointer-events: none;
}

.ds-team-orbit-section::before {
  top: -260px;
  left: -170px;
  background: radial-gradient(circle, rgba(21, 191, 234, 0.34), transparent 68%);
}

.ds-team-orbit-section::after {
  right: -210px;
  bottom: -250px;
  background: radial-gradient(circle, rgba(8, 119, 181, 0.28), transparent 68%);
}

.ds-team-orbit-heading {
  position: relative;
  z-index: 4;
  max-width: 760px;
  margin: 0 auto 22px;
}

.ds-team-orbit-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  align-items: center;
  gap: 9px;
  color: var(--ds-orbit-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ds-team-orbit-kicker::before {
  width: 26px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ds-orbit-cyan), var(--ds-orbit-blue));
  content: "";
}

.ds-team-orbit-heading h2 {
  margin: 0;
  color: var(--ds-orbit-navy);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.ds-team-orbit-heading p {
  max-width: 650px;
  margin: 18px auto 0;
  color: #48677f;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.75;
}

.ds-team-orbit-shell {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin: 0 auto;
}

.ds-team-orbit-stage {
  --orbit-radius: 345px;
  position: relative;
  width: min(900px, 100%);
  height: 900px;
  margin: -2px auto 0;
  border-radius: 50%;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.ds-team-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(8, 119, 181, 0.2);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.ds-team-orbit-ring--outer {
  width: 690px;
  height: 690px;
  border-style: dashed;
  box-shadow: 0 0 0 34px rgba(21, 191, 234, 0.025), inset 0 0 70px rgba(21, 191, 234, 0.06);
  animation: ds-team-ring-drift 28s linear infinite reverse;
}

.ds-team-orbit-ring--inner {
  width: 330px;
  height: 330px;
  border-color: rgba(21, 191, 234, 0.3);
  box-shadow: 0 0 46px rgba(21, 191, 234, 0.12);
}

.ds-team-center-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 12;
  width: 270px;
  min-height: 318px;
  padding: 26px 22px 22px;
  border: 1px solid rgba(8, 119, 181, 0.18);
  border-radius: 34px;
  color: var(--ds-orbit-navy);
  text-align: center;
  background: #ffffff;
  box-shadow: 0 34px 70px -28px rgba(4, 56, 93, 0.42), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translate(-50%, -50%) translateZ(46px);
  transform-style: preserve-3d;
}

.ds-team-center-card::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(8, 119, 181, 0.1);
  border-radius: 26px;
  content: "";
  pointer-events: none;
}

.ds-team-orbit-photo {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 10px;
  border: 4px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(4, 57, 94, 0.2);
}

.ds-team-orbit-photo--lead {
  width: 132px;
  height: 132px;
  margin-bottom: 15px;
  border-width: 5px;
  box-shadow: 0 20px 38px rgba(1, 34, 59, 0.35);
  transform: translateZ(34px);
}

.ds-team-orbit-photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center top;
  background: #ffffff;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 220ms ease, filter 220ms ease, transform 220ms ease;
}

.ds-team-orbit-photo img:hover {
  filter: saturate(1.04) contrast(1.02);
}

.ds-team-orbit-photo img:focus-visible {
  outline: 3px solid var(--ds-orbit-cyan);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px rgba(21, 191, 234, 0.18);
}

.ds-team-orbit-shell[data-orbit-paused="true"] .ds-team-orbit-photo img {
  filter: saturate(0.94);
}

.ds-team-leadership-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(8, 119, 181, 0.16);
  border-radius: 999px;
  color: #075d91;
  background: #eef9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ds-team-center-card h3,
.ds-team-orbit-card h3 {
  margin: 0;
  font-family: inherit;
  font-weight: 800;
}

.ds-team-center-card h3 {
  color: var(--ds-orbit-navy);
  font-size: 24px;
  line-height: 1.2;
}

.ds-team-center-card > p {
  margin: 7px 0 14px;
  color: #48677f;
  font-size: 13px;
  line-height: 1.45;
}

.ds-team-orbit-track {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  width: 0;
  height: 0;
  transform-origin: center;
  animation: ds-team-orbit-spin 38s linear infinite;
}

.ds-team-orbit-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  transform: rotate(var(--orbit-angle)) translateX(var(--orbit-radius));
  transform-origin: 0 0;
}

.ds-team-orbit-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 170px;
  min-height: 198px;
  padding: 15px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  color: var(--ds-orbit-navy);
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(240, 250, 255, 0.78));
  box-shadow: 0 18px 42px -20px rgba(5, 69, 110, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translate(-50%, -50%) rotate(var(--counter-angle));
  transform-style: preserve-3d;
  animation: ds-team-orbit-counter-spin 38s linear infinite;
  transition: border-color 320ms ease, box-shadow 320ms ease;
}

.ds-team-orbit-card::before {
  position: absolute;
  inset: 7px;
  z-index: -1;
  border: 1px solid rgba(8, 119, 181, 0.08);
  border-radius: 18px;
  content: "";
}

.ds-team-orbit-card h3 {
  overflow: hidden;
  min-height: 36px;
  color: var(--ds-orbit-navy);
  font-size: 14px;
  line-height: 1.28;
}

.ds-team-orbit-card > p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 31px;
  margin: 5px 0 9px;
  color: #557085;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ds-team-socials {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.ds-team-socials a {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 119, 181, 0.16);
  border-radius: 9px;
  color: var(--ds-orbit-blue);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 12px rgba(7, 72, 113, 0.08);
  font-size: 11px;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.ds-team-center-card .ds-team-socials a {
  border-color: rgba(8, 119, 181, 0.16);
  color: var(--ds-orbit-blue);
  background: #f2faff;
}

.ds-team-socials a:hover,
.ds-team-socials a:focus-visible {
  color: #ffffff;
  outline: none;
  background: var(--ds-orbit-blue);
  transform: translateY(-2px);
}

.ds-team-center-card .ds-team-socials a:hover,
.ds-team-center-card .ds-team-socials a:focus-visible {
  color: #ffffff;
  background: var(--ds-orbit-blue);
}

.ds-team-orbit-shell[data-orbit-paused="true"] .ds-team-orbit-track,
.ds-team-orbit-shell[data-orbit-paused="true"] .ds-team-orbit-card,
.ds-team-orbit-shell[data-orbit-paused="true"] .ds-team-orbit-ring--outer {
  animation-play-state: paused;
}

.ds-team-orbit-card:hover,
.ds-team-orbit-card:focus-within {
  border-color: rgba(21, 191, 234, 0.52);
  box-shadow: 0 28px 52px -20px rgba(5, 69, 110, 0.55), inset 0 1px 0 #ffffff;
}

@keyframes ds-team-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ds-team-orbit-counter-spin {
  from { transform: translate(-50%, -50%) rotate(var(--counter-angle)); }
  to { transform: translate(-50%, -50%) rotate(calc(var(--counter-angle) - 360deg)); }
}

@keyframes ds-team-ring-drift {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 991px) and (min-width: 768px) {
  .ds-team-orbit-stage {
    --orbit-radius: 280px;
    width: 740px;
    height: 740px;
    max-width: 100%;
  }

  .ds-team-orbit-ring--outer {
    width: 560px;
    height: 560px;
  }

  .ds-team-orbit-ring--inner {
    width: 280px;
    height: 280px;
  }

  .ds-team-center-card {
    width: 224px;
    min-height: 278px;
    padding: 21px 17px 18px;
    border-radius: 28px;
  }

  .ds-team-orbit-photo--lead {
    width: 108px;
    height: 108px;
  }

  .ds-team-center-card h3 {
    font-size: 21px;
  }

  .ds-team-orbit-card {
    width: 146px;
    min-height: 180px;
    padding: 13px 9px 10px;
  }

  .ds-team-orbit-photo {
    width: 68px;
    height: 68px;
  }

  .ds-team-orbit-card h3 {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .ds-team-orbit-section {
    padding: 64px 0;
  }

  .ds-team-orbit-heading {
    margin-bottom: 28px;
  }

  .ds-team-orbit-ring {
    display: none;
  }

  .ds-team-orbit-stage {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 22px;
    border-radius: 0;
    perspective: none;
  }

  .ds-team-center-card {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 360px);
    min-height: 0;
    margin: 0 auto;
    transform: none;
  }

  .ds-team-orbit-track {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    width: 100%;
    height: auto;
    gap: 14px;
    padding: 8px 5px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    animation: none;
  }

  .ds-team-orbit-track::-webkit-scrollbar {
    display: none;
  }

  .ds-team-orbit-item {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 min(78vw, 280px);
    width: min(78vw, 280px);
    height: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: none;
  }

  .ds-team-orbit-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    min-height: 226px;
    padding: 18px 12px 14px;
    animation: none;
    transform: none;
  }

  .ds-team-orbit-photo {
    width: 92px;
    height: 92px;
  }

  .ds-team-orbit-card h3 {
    min-height: auto;
    font-size: 14px;
  }

  .ds-team-orbit-card > p {
    display: block;
    min-height: 44px;
    font-size: 11px;
    -webkit-line-clamp: initial;
  }
}

@media (max-width: 479px) {
  .ds-team-orbit-heading h2 {
    font-size: 31px;
  }

  .ds-team-orbit-card {
    width: 100%;
    min-height: 0;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-team-orbit-track,
  .ds-team-orbit-card,
  .ds-team-orbit-ring--outer {
    animation: none !important;
  }

}

body[data-motion="reduced"] .ds-team-orbit-track,
body[data-motion="reduced"] .ds-team-orbit-card,
body[data-motion="reduced"] .ds-team-orbit-ring--outer {
  animation: none !important;
}
