/* ==========================================================================
   B2B Partners Page
   ========================================================================== */

.b2b_banner_bg {
  background-image: url('../images/shapes/bg_pattern_4.svg');
}

.b2b_partners_section .b2b_carousel_wrapper {
  position: relative;
  padding: 0 68px 70px;
}
.b2b_partners_section .b2b_partners_carousel {
  padding: 14px 10px;
}
.b2b_partners_section .swiper-slide {
  height: auto;
}
.b2b_card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 20, 43, 0.05);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.b2b_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(245, 110, 44, 0.15);
  border-color: transparent;
}
.b2b_card_media {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: #f7f7f9;
  border-bottom: 1px solid #f0f0f0;
}
.b2b_card_media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.b2b_card_body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 26px 24px 28px;
}
.b2b_card_badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--bs-primary);
  background: var(--bs-primary-bg-subtle);
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.b2b_card_title {
  font-size: 21px;
  margin-bottom: 10px;
  color: #14142b;
}
.b2b_card_text {
  font-size: 14.5px;
  line-height: 1.7;
  color: #6d6d6d;
  margin-bottom: 22px;
}
.b2b_card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.b2b_partners_section .swiper_btn {
  position: absolute;
  top: 42%;
  z-index: 5;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--bs-primary);
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all .3s ease;
}
.b2b_partners_section .swiper_btn:hover {
  background: var(--bs-primary);
  color: #fff;
}
.b2b_partners_section .b2b-swiper-button-prev { left: 6px; }
.b2b_partners_section .b2b-swiper-button-next { right: 6px; }
.b2b_partners_section .swiper_btn.swiper-button-disabled {
  opacity: .4;
  cursor: default;
}
.b2b_partners_section .b2b-swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
}
.b2b_partners_section .b2b-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #c9c9c9;
  opacity: 1;
  transition: all .3s ease;
}
.b2b_partners_section .b2b-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--bs-primary);
  width: 26px;
  border-radius: 6px;
}
@media (max-width: 991px) {
  .b2b_partners_section .b2b_carousel_wrapper { padding: 0 56px 70px; }
}
@media (max-width: 575px) {
  /* Wider card: remove side gutters, pull past container padding, controls below */
  .b2b_partners_section .b2b_carousel_wrapper { margin: 0 -14px; padding: 0 0 104px; }
  .b2b_partners_section .b2b_partners_carousel { padding: 14px 4px; }
  .b2b_partners_section .b2b_card_media { height: 150px; }
  .b2b_partners_section .swiper_btn {
    top: auto;
    bottom: 8px;
    transform: none;
    width: 44px;
    height: 44px;
    font-size: 14px;
  }
  .b2b_partners_section .b2b-swiper-button-prev { left: calc(50% - 54px); right: auto; }
  .b2b_partners_section .b2b-swiper-button-next { right: calc(50% - 54px); left: auto; }
  .b2b_partners_section .b2b-swiper-pagination { bottom: 66px; }
}
