#distributors {
  padding: 100px 0;
  background: url("../img/distributors/distributors-bg.jpg") no-repeat center
    center;
  background-size: cover; /* Ensure the first image covers the container */
  position: relative; /* Needed for the ::after pseudo-element to position correctly */
}

#distributors::after {
  content: "";
  position: absolute;
  left: 7vw;
  top: 100px;
  background: url("../img/distributors/distributor-left-bg.png") no-repeat;
  background-size: contain;
  width: 200px; /* Adjust the width based on the natural size of the second image */
  height: 200px; /* Adjust the height based on the natural size of the second image */
}

#distributors h6.sub-heading {
  text-transform: none !important;
  font-weight: 300;
}

/* Distributor Nav Tabs */
.distributor-nav-tabs .distributor-nav-link {
  border: 1px solid #d60000;
  color: #d60000;
  border-radius: 50px;
  padding: 5px 15px;
  margin: 5px;
}

.distributor-nav-tabs .distributor-nav-link.active {
  background-color: #d60000;
  color: #fff;
}

/* Swiper-Specific Styling */
.distributor-country-card {
  box-sizing: border-box;
  padding: 100px;
  background: #ffffff;
  border-radius: 50px;
}

#distributors .nav-tabs {
  border: 0 !important;
}

#distributors .tab-pane {
  padding-top: 55px;
}

#distributors .swiper-button-next:after,
#distributors .swiper-button-prev:after {
  display: none !important;
}

#distributors .distributor-swiper-container {
  overflow: hidden;
}

#distributors .distributor-country-card h3 {
  font-family: "Rheem Sans Light";
  font-style: normal;
  font-weight: 300;
  font-size: 30px;
  line-height: 36px;
  text-transform: none;

  color: #cd1222;
}

#distributors .distributor-country-card a {
  color: var(--primary-red);
}

#distributors .distributor-country-card p {
  font-family: "Rheem Sans Light";
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  color: #000000;
  margin-top: 26px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .distributor-nav-tabs {
    flex-wrap: wrap;
  }
  .distributor-nav-tabs .distributor-nav-link {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* Responsive Design */
@media (max-width: 1439px) {
  #distributors::after {
    display: none;
  }
}
