.consult-section {
  padding: 100px 172px;
}

.consult-fallback-bg {
  position: relative;
  background-color: #0d0d0d;
  background-image:
    radial-gradient(
      circle at 6% 6%,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0) 9%
    ),
    radial-gradient(
      circle at 3% 42%,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0) 12%
    ),
    radial-gradient(
      circle at 12% 78%,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0) 10%
    ),
    radial-gradient(
      circle at 96% 4%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 11%
    ),
    radial-gradient(
      circle at 90% 55%,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0) 13%
    ),
    radial-gradient(
      circle at 98% 92%,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0) 10%
    );
  background-repeat: no-repeat;
}

/* Section heading */
.consult-section .section-heading {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 50px;
  line-height: normal;
}

/* Cards wrap — base centering rule so any max-width set at any
   breakpoint always stays centered, not just at the smallest one */
.consult-cards-wrap {
  margin-left: auto;
  margin-right: auto;
}

/* Card = global .glass-card-bg + local padding/layout/hover */
.consult-card {
  padding: 44px 30px;
  text-align: center;
  height: 100%;

  cursor: default;
}

.consult-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
}

.consult-card h4 {
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px; /* 118.75% */
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 372px;
  height: 56px;
  padding: 0 32px;
  font-family: var(--worksans);
  font-size: 20px;
  font-weight: 0;
  color: var(--textColor);
}

/* ==========================================================================
   Consult section — carousel nav (arrows + dots)
   ========================================================================== */

.consult-nav-controls {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 30px;
}

/* Arrow buttons — forced row, overriding any inherited flex-direction */
.consult-nav-arrows.owl-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px;
  width: auto;
}

.consult-nav-arrows.owl-nav .owl-prev,
.consult-nav-arrows.owl-nav .owl-next {
  border: 1px solid rgba(255, 255, 255, 0.15);
  outline: none;
  padding: 0;
  margin: 0 !important;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(6px);
  transition:
    background 0.2s ease,
    transform 0.15s ease;
  cursor: pointer;
}

.consult-nav-arrows .owl-prev svg,
.consult-nav-arrows .owl-next svg {
  width: 20px;
  height: 15px;
  display: block;
}

.consult-nav-arrows .owl-prev:hover,
.consult-nav-arrows .owl-next:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.consult-nav-arrows .owl-prev.disabled,
.consult-nav-arrows .owl-next.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Dots — style .owl-dot itself as the circle, hide the inner span.
   Avoids fighting Owl's default span specificity. */
.nav-dots-mobile.owl-dots {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 12px;
}

.nav-dots-mobile .owl-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav-dots-mobile .owl-dot span {
  display: none;
}

.nav-dots-mobile .owl-dot {
  background: rgba(255, 255, 255, 0.35);
}

.nav-dots-mobile .owl-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.nav-dots-mobile .owl-dot.active {
  background: #ffffff;
  transform: scale(1.1);
}

#consultCards.owl-carousel {
  display: block;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
}

#consultCards.owl-carousel .consult-card-col {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#consultCards.owl-carousel .owl-stage {
  display: flex;
}

#consultCards.owl-carousel .owl-stage-outer {
  width: 100%;
  overflow: hidden;
}

#consultCards.owl-carousel .owl-item {
  box-sizing: border-box;
}

#consultCards.owl-carousel .owl-item:last-child {
  margin-right: 0 !important;
}

@media (max-width: 1300px) {
  .consult-card h4 {
    font-size: 21px;
  }

  .consult-section {
    padding: 70px 30px;
    padding-top: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .consult-cards-wrap {
    max-width: 720px;
  }

  .consult-card {
    padding: 56px 32px;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .consult-card__icon {
    width: 60px;
    height: 60px;
  }

  .consult-card h4 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .consult-section {
    padding: 50px 20px;
    padding-top: 0;
  }

  .consult-section .section-heading {
    max-width: 300px;
    font-size: 32px;
    line-height: 1.25;
    margin-left: auto;
    margin-right: auto;
  }

  .consult-cards-wrap {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .consult-card {
    padding: 52px 24px;
    width: 100%;
    max-width: 533px;
    margin-left: auto;
    margin-right: auto;
  }

  .consult-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }

  .consult-card h4 {
    font-size: 21px;
    line-height: 1.3;
  }

  .consult-nav-controls {
    gap: 24px;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .consult-nav-arrows.owl-nav {
    gap: 32px;
  }

  .consult-nav-arrows .owl-prev,
  .consult-nav-arrows .owl-next {
    width: 60px;
    height: 60px;
  }

  .consult-nav-arrows .owl-prev svg,
  .consult-nav-arrows .owl-next svg {
    width: 22px;
    height: 17px;
  }

  .nav-dots-mobile .owl-dot {
    width: 9px;
    height: 9px;
  }

  .nav-dots-mobile.owl-dots {
    gap: 12px;
  }

  .cta-btn {
    width: 100%;
    min-width: 0;
    max-width: 420px;
    height: 60px;
    padding: 0 24px;
    font-size: 18px;
    margin-left: auto;
    margin-right: auto;
  }

  .consult-section .row.text-center.mb-50,
  .consult-section .row:last-child {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
}

@media (max-width: 992px) {
  .consult-nav-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .consult-nav-arrows.js-consult-nav {
    display: flex;
    gap: 30px;
  }

  .nav-dots-mobile.owl-dots,
  .js-consult-dots {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    gap: 10px !important;
  }

  .consult-nav-arrows .owl-prev,
  .consult-nav-arrows .owl-next {
    display: flex !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 100px !important;
    background:
      linear-gradient(
        180deg,
        rgba(102, 102, 102, 0.15) 0%,
        rgba(102, 102, 102, 0) 54.52%
      ),
      linear-gradient(
        180deg,
        rgba(153, 153, 153, 0) 50.1%,
        rgba(153, 153, 153, 0.15) 100%
      ),
      rgba(255, 255, 255, 0.1) !important;
    background-blend-mode: plus-lighter, plus-lighter, normal !important;
    box-shadow:
      0 4px 8px 0 rgba(0, 0, 0, 0.05),
      10px 12px 9px -14px rgba(255, 255, 255, 0.9) inset,
      2px -1px 1px -2px rgba(179, 179, 179, 0.5) inset,
      -2px 1px 1px -2px rgba(179, 179, 179, 0.5) inset,
      -7px -12px 9px -14px rgba(255, 255, 255, 0.9) inset !important;
    backdrop-filter: blur(20px) !important;
    border: none !important;
    margin: 0 !important;
  }

  .consult-nav-arrows .owl-prev svg,
  .consult-nav-arrows .owl-next svg {
    width: 20px !important;
    height: 15px !important;
  }

  .nav-dots-mobile.owl-dots {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .nav-dots-mobile .owl-dot {
    width: 10px !important;
    height: 10px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background: #fff !important;
    opacity: 0.4;
  }

  .nav-dots-mobile .owl-dot.active {
    opacity: 1;
  }
}

@media (min-width: 481px) and (max-width: 600px) {
  .consult-card {
    padding: 52px 24px;
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .consult-section {
    padding: 48px 16px 40px;
  }

  .consult-section .section-heading {
    font-size: 28px;
    max-width: 280px;
  }

  .consult-cards-wrap {
    max-width: 100%;
  }

  .consult-card {
    padding: 40px 20px;
  }

  .cta-btn {
    max-width: 100%;
  }
}
