/* Acumen Experts Styles */
.acumen-experts {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  background-color: var(--white, #ffffff) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: 100px 0 !important;
  z-index: 1 !important;
}

.acumen-experts-inner,
.acumen-experts .section-text-content {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  align-items: center !important;
  gap: 50px !important;
  position: relative !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
}

.acumen-experts-inner > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Header */
.acumen-experts .services-headerblock,
.acumen-experts .team-heading-group {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 1120px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  position: relative !important;
  text-align: center !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}

.acumen-experts .services-headerblock > *,
.acumen-experts .team-heading-group > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.acumen-experts .text-wrapper {
  position: relative !important;
  font-family: var(--font-main, "Poppins", sans-serif) !important;
  font-weight: 600 !important;
  color: var(--red, #FF5A5F) !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

.acumen-experts .div {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-main, "Poppins", sans-serif) !important;
  font-weight: 600 !important;
  color: var(--dark, #0A1B2E) !important;
  font-size: 48px !important;
  letter-spacing: -0.5px !important;
  line-height: 1.15 !important;
}

.acumen-experts .p {
  position: relative !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-main, "Poppins", sans-serif) !important;
  font-weight: 400 !important;
  color: var(--text-gray, #475462) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* Cards Carousel */
.acumen-experts .group-container,
.acumen-experts .team-members {
  width: 100% !important;
  overflow: visible !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 30px !important;
  box-sizing: border-box !important;
}

.acumen-experts .group,
.acumen-experts .team-members-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 24px !important;
  width: 100% !important;
  padding: 10px calc(max(40px, (100vw - 1300px) / 2)) 20px !important;
  margin: 0 !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}

.acumen-experts .group::-webkit-scrollbar,
.acumen-experts .team-members-row::-webkit-scrollbar {
  display: none !important;
}

.acumen-experts .expert-card,
.acumen-experts .expert {
  position: relative !important;
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  height: 420px !important;
  scroll-snap-align: start !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  top: 0 !important;
  align-self: flex-start !important;
}

/* Dashed border behind card */
.acumen-experts .expert-card::after,
.acumen-experts .expert::after {
  content: "" !important;
  position: absolute !important;
  width: calc(100% - 18px) !important;
  height: calc(100% - 18px) !important;
  top: 16px !important;
  left: 16px !important;
  border-radius: 20px !important;
  border: 1.5px dashed rgba(255, 90, 95, 0.4) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
}

.acumen-experts .placeholder,
.acumen-experts .img,
.acumen-experts .expert-card figure,
.acumen-experts .expert-card img {
  width: calc(100% - 18px) !important;
  height: calc(100% - 18px) !important;
  object-fit: cover !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  border-radius: 20px !important;
  z-index: 2 !important;
  margin: 0 !important;
  display: block !important;
}

/* Expert Bio Floating Badge */
.acumen-experts .expert-bio,
.acumen-experts .name-role {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  padding: 12px 16px !important;
  position: absolute !important;
  left: 14px !important;
  bottom: 50px !important;
  width: calc(100% - 66px) !important;
  max-width: calc(100% - 46px) !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 3 !important;
  box-shadow: 0 4px 20px rgba(10, 27, 46, 0.08) !important;
  box-sizing: border-box !important;
}

.acumen-experts .expert-bio > *,
.acumen-experts .name-role > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.acumen-experts .name {
  position: relative !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 !important;
}

.acumen-experts .name > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.acumen-experts .sarah-chen {
  position: relative !important;
  font-family: var(--font-main, "Poppins", sans-serif) !important;
  font-weight: 600 !important;
  color: var(--dark, #0A1B2E) !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  flex: 1 !important;
  text-align: left !important;
}

.acumen-experts .linkedin-logo {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 0 auto !important;
  flex-shrink: 0 !important;
  border-radius: 0 !important;
}

.acumen-experts .linkedin-link,
.acumen-experts .linkedin-logo a,
.acumen-experts .sarah-chen a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
  flex-shrink: 0 !important;
}

.acumen-experts .linkedin-link:hover,
.acumen-experts .linkedin-logo a:hover,
.acumen-experts .sarah-chen a:hover {
  transform: scale(1.15) !important;
  opacity: 0.85 !important;
}

.acumen-experts .linkedin-link img,
.acumen-experts .linkedin-logo img,
.acumen-experts .sarah-chen a img,
.acumen-experts .vector {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  display: block !important;
  border-radius: 4px !important;
}

.acumen-experts .business-strategy {
  position: relative !important;
  width: 100% !important;
  font-family: var(--font-main, "Poppins", sans-serif) !important;
  font-weight: 400 !important;
  color: var(--text-gray, #475462) !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  margin: 3px 0 0 0 !important;
}

/* Slider Pagination Dots */
.acumen-experts .slider {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  position: relative !important;
  width: 100% !important;
  max-width: 320px !important;
  margin: 30px auto 0 auto !important;
  padding: 0 !important;
  height: 12px !important;
}

.acumen-experts .slider > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.acumen-experts .slider-dot,
.acumen-experts .background,
.acumen-experts .background-2 {
  position: relative !important;
  width: 20px !important;
  height: 6px !important;
  min-height: 6px !important;
  max-height: 6px !important;
  background-color: rgba(10, 27, 46, 0.15) !important;
  border-radius: 500px !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  flex-shrink: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.acumen-experts .slider-dot.active,
.acumen-experts .background.active {
  width: 50px !important;
  background-color: var(--red, #FF5A5F) !important;
}

/* Tablet Responsive (max-width: 1024px) */
@media (max-width: 1024px) {
  .acumen-experts {
    padding: 70px 0 !important;
  }

  .acumen-experts-inner,
  .acumen-experts .section-text-content {
    gap: 36px !important;
  }

  .acumen-experts .div {
    font-size: 36px !important;
  }

  .acumen-experts .group,
  .acumen-experts .team-members-row {
    padding: 10px 30px 20px 30px !important;
    gap: 18px !important;
  }

  .acumen-experts .expert-card,
  .acumen-experts .expert {
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    height: 360px !important;
  }
}

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
  .acumen-experts {
    padding: 40px 0 !important;
  }

  .acumen-experts-inner,
  .acumen-experts .section-text-content {
    gap: 28px !important;
  }

  .acumen-experts .services-headerblock,
  .acumen-experts .team-heading-group {
    padding: 0 20px !important;
    text-align: left !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .acumen-experts .text-wrapper {
    font-size: 11px !important;
  }

  .acumen-experts .div {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }

  .acumen-experts .p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* 20px padding left from the first photo on mobile! */
  .acumen-experts .group,
  .acumen-experts .team-members-row {
    padding: 5px 20px 15px 20px !important;
    gap: 14px !important;
  }

  .acumen-experts .expert-card,
  .acumen-experts .expert {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    height: 310px !important;
  }

  .acumen-experts .expert-card::after,
  .acumen-experts .expert::after {
    width: calc(100% - 12px) !important;
    height: calc(100% - 12px) !important;
    top: 10px !important;
    left: 10px !important;
    border-radius: 16px !important;
  }

  .acumen-experts .placeholder,
  .acumen-experts .img,
  .acumen-experts .expert-card figure,
  .acumen-experts .expert-card img {
    width: calc(100% - 12px) !important;
    height: calc(100% - 12px) !important;
    border-radius: 16px !important;
  }

  .acumen-experts .expert-bio,
  .acumen-experts .name-role {
    left: 8px !important;
    bottom: 35px !important;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    padding: 10px 12px !important;
  }

  .acumen-experts .sarah-chen {
    font-size: 14px !important;
  }

  .acumen-experts .linkedin-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  .acumen-experts .linkedin-link,
  .acumen-experts .linkedin-logo a,
  .acumen-experts .sarah-chen a {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .acumen-experts .linkedin-link img,
  .acumen-experts .linkedin-logo img,
  .acumen-experts .sarah-chen a img,
  .acumen-experts .vector {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    display: block !important;
  }

  .acumen-experts .business-strategy {
    font-size: 12px !important;
  }

  .acumen-experts .slider {
    gap: 10px !important;
    margin-top: 6px !important;
  }

  .acumen-experts .slider-dot,
  .acumen-experts .background,
  .acumen-experts .background-2 {
    width: 16px !important;
    height: 5px !important;
  }

  .acumen-experts .slider-dot.active,
  .acumen-experts .background.active {
    width: 42px !important;
  }
}
