.bonyan-services-swiper {
  --bss-navy: #010D29;
  --bss-blue: #259ADD;
  --bss-blue-deep: #1a66bd;
  --bss-blue-bright: #259add;
  --bss-muted: #7F8491;
  --bss-radius: 28px;
  --bss-card-pad: 1.75rem;
  --bss-gap: 24px;
  --bss-desktop: 2.5;
  --bss-tablet: 1.7;
  --bss-mobile: 1.15;
  --content-width: 1200px;
  position: relative;
  width: 100%;
  align-items: start;
  max-width: none;
  margin: 0;
  min-width: 0;
  color: var(--bss-navy);
  direction: inherit;
  padding: 80px 0 80px max(
      16px,
      calc((100vw - 1200px) / 2)
  );
  margin-top: -250px;
  z-index: 2;
}

.bonyan-services-swiper,
.bonyan-services-swiper *,
.bonyan-services-swiper *::before,
.bonyan-services-swiper *::after {
  box-sizing: border-box;
}

.bonyan-services-swiper__viewport {
  direction: ltr;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  padding: 48px 0 ;
  touch-action: pan-y;
}

.bonyan-services-swiper[dir="rtl"] .bonyan-services-swiper__card {
  direction: rtl;
}

.bonyan-services-swiper:not(.is-ready) .swiper-wrapper {
  display: flex;
  align-items: stretch;
  gap: var(--bss-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.bonyan-services-swiper:not(.is-ready) .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.bonyan-services-swiper:not(.is-ready) .swiper-slide {
  flex: 0 0 calc((100% - (var(--bss-mobile) - 1) * var(--bss-gap)) / var(--bss-mobile));
  scroll-snap-align: start;
  height: auto;
}

.bonyan-services-swiper.is-ready .swiper-wrapper {
  align-items: stretch;
  /* The frame loop writes translate directly. A CSS transition would ease
     between those updates and read as a pause. */
  transition: none;
}

/* .bonyan-services-swiper.is-ready .swiper-slide {
  width: var(--bss-slide, 32%);
  min-width: 0;
  flex-shrink: 0;
  height: auto;
  display: flex;
  transition: width 0.4s linear;
}

.bonyan-services-swiper.is-ready .swiper-slide.is-active {
  width: var(--bss-slide-active, 46%);
} */
.bonyan-services-swiper.is-ready .swiper-slide {
  width: var(--bss-slide, 32%);
  min-width: 0;
  flex-shrink: 0;
  height: auto;
  display: flex;
  transition: none;
}
.bonyan-services-swiper.is-instant .swiper-slide {
  transition: none;
}

.bonyan-services-swiper__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  flex: 1 1 auto;
  width: 100%;
  min-height: 22.5rem;
  height: 100%;
  padding: 24px 24px 0;

  background: linear-gradient( -160deg, #FFF 0%, rgba(168, 223, 255, 0) 100% );

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 35px;

    box-shadow: 0 15px 50px rgba(1, 13, 41, 0.1);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bonyan-services-swiper__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(36, 92, 150, 0.16);
}

.bonyan-services-swiper__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
  margin: 0 0 1.65rem;
  padding: 0;
  list-style: none;
}

.bonyan-services-swiper__pill {
  max-width: 100%;
  min-width: 0;
  color: var(--bss-blue);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.bonyan-services-swiper__pill a,
.bonyan-services-swiper__pill span {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bss-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.bonyan-services-swiper__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: auto;
  margin: 0 0 16px;
  overflow: hidden;
}

.bonyan-services-swiper__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bonyan-services-swiper__title {
  margin: 0 0 8px;
  color: var(--bss-navy);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
}

.bonyan-services-swiper__excerpt {
  margin: 0 0 24px;
  color: var(--bss-muted);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.55;
}

.bonyan-services-swiper__link {
 background-color: transparent;
 font-family: Inter, "Plus Jakarta Sans", "Segoe UI", sans-serif;
 font-size: 16px;
 font-weight: 500;
 text-transform: capitalize;
 color: var(--bss-blue);
 border-style: solid;
 border-width: 0 0 1px;
 border-color: var(--bss-blue);
 border-radius: 0;
 padding: 11px;
 display: flex;
 align-items: center;
 margin-top: auto;
}

.bonyan-services-swiper__link svg{
  transition: transform 0.2s ease;
}
.bonyan-services-swiper__link:hover svg{
  transform: translateX(6px);
}

.bonyan-services-swiper__chevron {
  display: block;
  flex: none;
  transition: transform 0.2s ease;
}

.bonyan-services-swiper__link:hover .bonyan-services-swiper__chevron {
  transform: translateX(3px);
}

.bonyan-services-swiper[dir="rtl"] .bonyan-services-swiper__link .bonyan-services-swiper__chevron {
  transform: rotate(180deg);
}

.bonyan-services-swiper[dir="rtl"] .bonyan-services-swiper__link:hover .bonyan-services-swiper__chevron {
  transform: rotate(180deg) translateX(3px);
}

.bonyan-services-swiper__controls {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.35rem;
  direction: ltr;
}

.bonyan-services-swiper__nav {
  position: relative;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  background: transparent;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.bonyan-services-swiper__nav:focus{
background: transparent;
}

.bonyan-services-swiper__nav:hover:not(:disabled) {
  transform: translateY(-2px);
  background: transparent;
  color: var(--bss-blue);
}

.bonyan-services-swiper__prev .bonyan-services-swiper__chevron {
  transform: rotate(180deg);
}

.bonyan-services-swiper__nav:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.bonyan-services-swiper .bonyan-services-swiper__pagination.swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
  margin-top: 1.25rem;
}

.bonyan-services-swiper .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0;
  background: rgba(26, 102, 189, 0.28);
  opacity: 1;
}

.bonyan-services-swiper .swiper-pagination-bullet-active {
  background: var(--bss-blue-bright);
}

.bonyan-services-swiper__link:focus-visible,
.bonyan-services-swiper__pill a:focus-visible,
.bonyan-services-swiper__nav:focus-visible,
.bonyan-services-swiper .swiper-pagination-bullet:focus-visible {
  outline: 2px solid var(--bss-blue);
  outline-offset: 3px;
}

.bonyan-services-swiper__empty {
  margin: 0;
  color: var(--bss-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .bonyan-services-swiper:not(.is-ready) .swiper-slide {
    flex-basis: calc((100% - (var(--bss-tablet) - 1) * var(--bss-gap)) / var(--bss-tablet));
  }
}

@media (min-width: 1024px) {
  .bonyan-services-swiper:not(.is-ready) .swiper-slide {
    flex-basis: calc((100% - (var(--bss-desktop) - 1) * var(--bss-gap)) / var(--bss-desktop));
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .bonyan-services-swiper {
    margin-top: -96px;
    padding: 2.75rem 0 2.5rem 1.5rem;
    overflow-x: clip;
  }

  .bonyan-services-swiper__viewport {
    padding: 40px 0 40px;
  }

  .bonyan-services-swiper__card {
    min-height: 19rem;
    padding: 20px 20px 16px;
    border-radius: 28px;
  }

  .bonyan-services-swiper__icon {
    width: 92px;
    margin-bottom: 12px;
  }

  .bonyan-services-swiper__icon img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .bonyan-services-swiper__title {
    font-size: 1.35rem;
    line-height: 1.3;
    overflow-wrap: break-word;
  }

  .bonyan-services-swiper__excerpt {
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .bonyan-services-swiper__link {
    max-width: 100%;
    margin-top: auto;
  }

  .bonyan-services-swiper__controls {
    margin-top: 0.5rem;
  }

  .bonyan-services-swiper__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (max-width: 767px) {
  .bonyan-services-swiper {
    --bss-radius: 22px;
    --bss-card-pad: 1.35rem;
    margin-top: auto;
    padding: 16px 0 16px 0;
    overflow-x: clip;
  }

  .bonyan-services-swiper__viewport {
    padding: 40px 0 40px;
  }

  .bonyan-services-swiper__card {
    min-height: 17.5rem;
    padding: 16px 16px 12px;
    border-radius: 22px;
  }

  .bonyan-services-swiper__pills {
    gap: 4px;
    margin-bottom: 4px;
  }
  .bonyan-services-swiper__pill {
    background-color: #fff;
    color: var(--bss-blue);
  }

  .bonyan-services-swiper__pill a,
  .bonyan-services-swiper__pill span {
    padding: 0.28rem 0.6rem;
    font-size: 0.75rem;
    white-space: normal;
    text-overflow: clip;
  }

  .bonyan-services-swiper__icon {
    width: 48px;
    margin-bottom: 10px;
  }

  .bonyan-services-swiper__icon img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .bonyan-services-swiper__title {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.3;
    overflow-wrap: break-word;
  }

  .bonyan-services-swiper__excerpt {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .bonyan-services-swiper__link {
    max-width: 100%;
    margin-top: auto;
    font-size: 14px;
    padding: 8px;
  }
  .bonyan-services-swiper__link svg {
    width: 30px;
    height: 30px;
  }

  .bonyan-services-swiper__controls {
    display: none;
  }

  .bonyan-services-swiper__nav {
    display: none;
  }

  .bonyan-services-swiper .bonyan-services-swiper__pagination.swiper-pagination {
    margin-top: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bonyan-services-swiper__card,
  .bonyan-services-swiper__chevron,
  .bonyan-services-swiper__nav,
  .bonyan-services-swiper.is-ready .swiper-slide {
    transition: none;
  }

  .bonyan-services-swiper__card:hover {
    transform: none;
  }

  .bonyan-services-swiper__link:hover .bonyan-services-swiper__chevron {
    transform: none;
  }

  .bonyan-services-swiper[dir="rtl"] .bonyan-services-swiper__link:hover .bonyan-services-swiper__chevron {
    transform: rotate(180deg);
  }
}



