@font-face {
  font-family: "janna_lt_regular";
  src: url("../fonts/janna_lt_regular.ttf") format("truetype");
  /* font-weight: bold; */
  font-style: normal;
  font-display: swap;
}

html[lang="ar"] {
  font-family: "janna_lt_regular", serif;
  direction: rtl;
}
html[lang="en"] {
  font-family: "Poppins", sans-serif;
  direction: ltr;
}

.language-sensitive {
  font-family: "Poppins", sans-serif;
  direction: ltr;
}

/* Arabic language styles */
html[lang="ar"] .language-sensitive {
  font-family: "janna_lt_bold", serif;
  direction: rtl;
}

/* English language styles (optional, since default covers it) */
html[lang="en"] .language-sensitive {
  font-family: "Poppins", sans-serif;
  direction: rtl;
}
.active-language {
  font-weight: 500;
  cursor: default;
}

.language-btn {
  transition: all 0.2s ease;
}

.swiper-wrapper {
  width: 100%;
  height: max-content !important;
  /* padding-bottom: 64px !important; */
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
  position: relative;
  /* width: 110px !important; */
}
.swiper-pagination-bullet {
  background: #4f46e5;
}
/* .swiper-slide{

        } */
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: "next";
  display: none;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: "prev";
  display: none;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center;
}

/* Custom styles for Heavy Equipment Sale section */
.hero-equipment-section {
  background-color: #fffaf3;
  position: relative;
  overflow: hidden;
}
.hero-equipment-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./images/construction_sketch.jpg") no-repeat center center; /* Replace with actual sketch image path if available */
  background-size: cover;
  opacity: 0.1; /* Subtle overlay effect */
  z-index: 0;
}
.hero-equipment-content {
  position: relative;
  z-index: 1;
}

/* .hero-image-container img {
            max-width: 100%;
            height: auto;
            display: block;
        } */

.hero-image-container {
  position: relative;
  display: inline-block; /* Adjusts to the image size */
}

.hero-image-container2 {
  position: relative;
  display: inline-block; /* Adjusts to the image size */
}

/* Background div styling */
.background-div {
  position: absolute;
  top: -13px;
  left: 10px;
  right: -11px;
  bottom: -1px;
  background-color: #feecce;
  border-radius: 17px;
  z-index: 1;
}

.background-div2 {
  position: absolute;
  top: -9px;
  left: 1px;
  right: -15px;
  bottom: 4px;
  background-color: #feecce;
  border-radius: 50px;
  z-index: 1;
  border: 0.92px solid #fcb034;
}
.background-div3 {
  position: absolute;
  top: -9px;
  right: 1px;
  left: -15px;
  bottom: 4px;
  background-color: #feecce;
  border-radius: 50px;
  z-index: 1;
  border: 0.92px solid #fcb034;
}

/* Image styling */
.hero-image-container img {
  position: relative;
  z-index: 2; /* In front of the background div */
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* Optional: rounded corners for the image */
}

.hero-image-container2 img {
  position: relative;
  z-index: 2; /* In front of the background div */
  max-width: 100%;
  height: auto;
}

.background-div4 {
  position: absolute;
  top: -9px;
  right: -1px;
  left: -15px;
  bottom: 4px;
  background-color: #feecce;
  border-radius: 30px;
  z-index: 1;
  border: 0.92px solid #fcb034;
}

.background-div5 {
  position: absolute;
  top: 0;
  right: -1px;
  left: 5px;
  bottom: 0;
  background-color: #feecce;
  border-radius: 10px;
  z-index: 1;
  height: 100%;
  /* margin-top: 30px; */
}

/* Optional: Wrapper styling to match your layout */
.wrapper {
  width: 100%;
  max-width: 550px; /* Adjust based on your layout */
  padding: 0 20px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .hero-equipment-content {
    flex-direction: column;
  }
  .hero-equipment-content > div {
    width: 100% !important;
  }
}

/* .mySwiper .swiper {
          width: 80%;
          height: 100%;
        }

        .mySwiper .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 400px;
      }

      .mySwiper .swiper-slide img {
        display: block;
        width: 100%;
      }

      .mySwiper .swiper-pagination {
          position: relative;
          margin-top: 20px;
        }
        .mySwiper .swiper-pagination-bullet {
          background: #4e4e4e;
          opacity: 0.5;
        }
        .mySwiper .swiper-pagination-bullet-active {
          background: #FCB034;
          opacity: 1;
        } */

@media (max-width: 400px) {
  td {
    word-break: break-word; /* Break long words to prevent overflow */
    hyphens: auto; /* Add hyphenation for long words */
  }

  .swiper-button-prev-categories,
  .swiper-button-next-categories {
    top: 70% !important; /* Move arrows further down (from 66.67% to 80%) */
  }

  .swiper-button-prev-cities,
  .swiper-button-next-cities {
    top: 72% !important;
  }

  .swiper-button-prev-equipment-sale,
  .swiper-button-next-equipment-sale {
    top: 83.5% !important;
  }

  .swiper-button-prev-equipment-rental,
  .swiper-button-next-equipment-rental {
    top: 83.7% !important;
  }
}

/* Style for disabled navigation buttons */
.swiper-button-disabled {
  opacity: 0.5; /* Reduce opacity to indicate disabled state */
  cursor: not-allowed; /* Change cursor to show it's not clickable */
  pointer-events: none; /* Prevent interaction when disabled */
}

/* Ensure the transition applies to opacity for smooth effect */
.swiper-button-prev-categories,
.swiper-button-next-categories {
  transition: opacity 0.3s ease;
}

.playstore {
  margin-right: 10px !important;
}
