/* HOME BANENR  */
.banner-overlay {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.sec_hmbanner {
  line-height: 0;
}

.banner-heading {
  font-family: var(--body-font-family);
  /* font-size: clamp(
    34px,
    34px + (60 - 34) * ((100vw - 375px) / (1920 - 375)),
    60px
  );*/
  font-size: clamp(
    34px,
    calc(34px + (60 - 34) * ((100vw - 375px) / (1920 - 375))),
    60px
  );
  font-weight: 800;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.banner-heading span {
  color: var(--themecolor);
}

.banner-overlay p {
  font-size: 18px;
  font-style: italic;
}

.banner-overlay .container {
  width: 100%;
}

.banner-content {
  max-width: 750px;
  margin: 0 0 50px 0;
  padding-bottom: 55px;
}

.js_hmbanner {
  line-height: 0;

  & .slick-next {
    right: 25px;
  }

  & .slick-prev {
    left: 25px;
    z-index: 1;
  }
}

.js_hmbanner .baner-item > .img-wrap {
  width: 100%;

  & > img {
    width: 100%;
  }
}

/*  machinery top content */
.top-content {
  max-width: 1068px;
  margin: 0 auto 50px;
}

.mch-listing {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.mch-listing::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
}

.machine-list {
  padding: 50px;
  width: 25%;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.machine-list:nth-of-type(4n) {
  border-right: 0;
}

.machine-list .heading-18 {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .mob_banner {
    display: none !important;
  }
}

/* Super Large devices (large desktops, less than 1600px) */

@media (max-width: 1599.98px) {
  /* ------------------- machinery top content ------------------- */
  .machine-list {
    padding: 35px;
    width: 25%;
  }
}

/* Extra Large devices (large desktops, less than 1440px) */

@media (max-width: 1439.98px) {
  .banner-content {
    max-width: 750px;
    margin: 0 0 0 0;
    padding-bottom: 0;
  }

  /* ------------------- machinery top content ------------------- */
  .machine-list .heading-18 {
    margin-top: 20px;
    font-size: 16px;
    margin-bottom: 0;
  }

  .top-content {
    margin: 0 auto 30px;
  }
}

/* Large devices (desktops, less than 1200px) */

@media (max-width: 1199.98px) {
  /* ------------------- machinery top content ------------------- */
  .machine-list {
    padding: 20px;
  }

  .machine-list .heading-18 {
    margin-top: 10px;
    font-size: 14px;
  }

  .js_hmbanner {
    & .slick-prev {
      left: calc(50% - 45px);
      top: unset;
      bottom: 0;
    }

    & .slick-next {
      right: calc(50% - 45px);
      top: unset;
      bottom: 0;
    }
  }
}

/* Medium devices (tablets, less than 992px) */

@media (max-width: 991.98px) {
  /* Home Banner */
  .baner-item > .img-wrap > img {
    min-height: 500px;
  }

  /* ------------------- machinery top content ------------------- */
  .machine-list {
    width: 33.33%;
    border-right: none;
  }

  .mch-listing::after {
    content: none;
  }

  .machine-list:nth-of-type(4n) {
    border-right: unset;
  }
}

/* Small devices (landscape phones, less than 768px) */

@media (max-width: 767.98px) {
  .desk_banner {
    display: none !important;
  }

  /* Home Banner */
  .banner-content {
    text-align: center;
  }

  .banner-overlay .btnlist {
    justify-content: center;
  }

  .baner-item > .img-wrap > img {
    min-height: 550px;
  }

  /* ------------------- machinery top content ------------------- */
  .machine-list {
    width: 50%;
    padding: 10px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
  .banner-heading {
    line-height: 1;
  }

  .banner-overlay p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  /* ------------------- machinery top content ------------------- */
  /* .machine-list {
    width: 100%;
  } */
}
