:root {
  --brand-red: #e63024;
  --table-head: #1d1f23;
  --table-head-text: #fff;
  --brand-red-pressed: #e63024;
  --field-border: #e6e6e6;
  --modal-radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

@font-face {
  font-family: "Roboto";
  src: url("../../fonts/roboto-regular-webfont.woff2") format("woff2"),
    url("../../fonts/roboto-regular-webfont.woff") format("woff"),
    url("../../fonts/roboto-regular-webfont.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../../fonts/roboto-medium-webfont.woff2") format("woff2"),
    url("../../fonts/roboto-medium-webfont.woff") format("woff"),
    url("../../fonts/roboto-medium-webfont.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../../fonts/roboto-bold-webfont.woff2") format("woff2"),
    url("../../fonts/roboto-bold-webfont.woff") format("woff"),
    url("../../fonts/roboto-bold-webfont.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../../fonts/roboto-black-webfont.woff2") format("woff2"),
    url("../../fonts/roboto-black-webfont.woff") format("woff"),
    url("../../fonts/roboto-black-webfont.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
}

.primary_bg-color {
  background-color: #e63024;
}
.primary-text-color {
  color: #e63024;
}

.secondary_grey_bg {
  background-color: #e5e5e5;
}
a {
  color: #000;
  text-decoration: underline;
}
h1 {
  font-size: 5.2rem;
  font-weight: 900;
}
h2 {
  font-size: 3rem;
  font-weight: 700;
}
h3 {
  font-size: 1.625rem;
  font-weight: 700;
}
h4 {
  font-size: 2rem;
  font-weight: 700;
}
h5 {
  font-size: 1.7rem;
  font-weight: 700;
}
h6 {
  font-size: 1.5rem;
  font-weight: 700;
}
.color_white {
  color: #fff;
}
.color_black {
  color: #000;
}
p,
ul {
  font-size: 1.1rem;
}
ul {
  padding-left: 20px;
}
img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.btn1 {
  color: #000;
  background-color: #fff;
  cursor: pointer;
  display: inline-block;
  padding: 6px 20px;
  border-radius: 8px;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  text-decoration: none;
}
.btn1:hover {
  color: #fff;
  background-color: #000;
  text-decoration: none;
}
.btn2:hover {
  color: #fff;
  background-color: #000;
  text-decoration: none;
}
.small_border {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 15px;
}
.small_border::after {
  position: absolute;
  content: "";
  width: min(120px, 20%); /* More consistent sizing across devices */
  height: 6px; /* Slightly thinner for better proportion */
  background: #e63024;
  bottom: -15px; /* Align directly with element bottom */
  left: 2px;
  border-radius: 2px; /* Subtle rounding for modern look */
}

@media (max-width: 576px) {
  .small_border::after {
    left: 0;
  }
}

.yt-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
}

.vid-placeholder {
  background-image: url("https://img.youtube.com/vi/2b0Dl9PLTBw/hqdefault.jpg");
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

header {
  position: relative;
  position: sticky;
  top: 0;
  z-index: 9;
  background-color: #fff;
}
header strong {
  font-weight: 500;
}
.mobile-screen {
  position: fixed;
  top: 84px;
  right: -100%;
  max-width: 500px;
  height: 100vh;
  z-index: 99999;
  background-color: #e63024;
  display: none;
  width: 100%;
  transition: all 0.5s linear;
  padding: 20px;
}
.top_web_info {
  position: relative;
  word-break: break-word;
}
.top_phone .phone_grid:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top_web_info.top_phone:after {
  display: none;
}
.top_web_info:after {
  position: absolute;
  content: "";
  width: 5px;
  background: #e63024;
  height: 80%;
  top: 10%;
  right: 0;
}
.top_web_info .header-icon {
  width: 30px;
  height: 30px;
  margin-inline-end: 10px;
}
.top_web_info .header-icon svg {
  width: 100%;
  height: 100%;
}
.top_web_info p {
  margin: 0;
  font-size: 13px;
  color: #000000;
  text-align: left;
}
.top_web_info p a {
  color: #000000;
  text-decoration: none;
}
.top_phone {
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.top_hours {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.grey,
.grey a {
  color: rgba(0, 0, 0, 0.64);
}
.title_social_inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.title_social_inner .small_title_top a {
  color: #fff;
  border-bottom: 2px solid #ffffff;
  font-size: 18px;
  padding-bottom: 2px;
  display: inline-block;
  text-decoration: none;
}
.title_social_inner .top_order_social {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.social_media_wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social_media_wrapper a {
  margin: 0 4px;
  font-size: 20px;
  position: relative;
  display: inline-block;
}
.social_media_wrapper > div {
  padding: 0 4px;
}
.social_media_wrapper a:hover {
  color: #000;
}
/* .banner-container {background-size:cover; background-repeat:no-repeat; background-position:center; background-color:#000; background-image: url('../images/terberg-shunt-trucks-for-sale-banner.webp');} */
.banner-container {
  position: relative;
  width: 100%;
  min-height: 660px;
  background-color: transparent; /* Fallback color */
  contain: layout style paint; /* CSS containment for better performance */
}

/* .banner-container picture,
.banner-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform; 
} */

.banner-container .container {
  position: relative;
  z-index: 2;
  contain: layout style; /* Isolate reflows */
}
/* .banner-container h1 {
    font-size: 3rem;
  line-height: 1.2;
  will-change: auto;
}

.banner-container h3 {
  font-weight: 400;
  position: relative;
  top: 10px;
} */

.banner-container h1 {
  font-size: 3.4rem;
  line-height: 1.2;
  will-change: auto;
  font-weight: black;
  letter-spacing: -1px;
  margin-top: 20px;
}

.banner-container h3 {
  font-weight: 400;
  position: relative;
  top: 10px;
  font-size: 1.4rem;
  line-height: 1.3;
  padding-top: 2rem;
}

.banner-container h2 {
  font-weight: 400;
  position: relative;
  top: 10px;
  font-size: 1.4rem;
  line-height: 1.3;
  padding-top: 2rem;
}
.banner_h1 {
  padding-bottom: 1.5rem;
}

@media screen and (min-width: 3840px) {
  .banner-container h1 {
    font-size: 4.2rem;
    padding-top: 2rem;
  }
  .banner-container h3 {
    font-size: 2rem;
    padding-top: 3.5rem;
  }
  .banner-container h2 {
   font-size: 2rem;
    padding-top: 3.5rem;
  }

  .banner_h1 {
    padding-bottom: 4.5rem;
  }
}

@media (min-width: 2048px) and (max-width: 3839px) {
  .banner-container h1 {
    font-size: 4.8rem;
  }
  .banner-container h3 {
    font-size: 2rem;
    padding-top: 1rem;
  }
   .banner-container h2 {
    font-size: 2rem;
    padding-top: 1rem;
  }
  .banner_h1 {
    padding-bottom: 2.5rem;
  }
  .sub_heading ul li {
    font-size: 1.8rem !important;
  }
}

@media screen and (max-width: 768px) {
  .banner-container h1 {
    font-size: 3.5rem;
  }
  .banner-container h3 {
    font-size: 1.8rem;
  }
   .banner-container h2 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 576px) {
  .banner-container h1 {
    font-size: 1.5rem;
    opacity: 1;
    color: #fff !important;
  }
  .banner-container h3 {
    padding-top: 0;
    font-size: 1rem;
    color: #fff !important;
  }
    .banner-container h2 {
    padding-top: 0;
    font-size: 1rem;
    color: #fff !important;
  }
}
/* Media queries with better performance */

/*  media tag from 2k to 4k screen
 */
@media (min-width: 2000px) {
  .banner-container {
    min-height: 850px;
  }
}

@media (min-width: 2570px) {
  .banner-container {
    /* height should be 100% */
    min-height: 1200px;
  }
}

/* @media (min-width: 768px) {
  .banner-container {
    min-height: 400px;
  }
  .banner-container h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .banner-container {
    min-height: 440px;
  }
  .banner-container h1 {
    font-size: 3.2rem;
  }
} */

/* Remove expensive operations from mobile */
@media (max-width: 576px) {
  .banner-container {
    background-color: #000; /* Fallback color */
  }
  .banner-container::before {
    content: "";

    width: 100%;
    position: absolute;
    height: 80%;
    bottom: 0;
    z-index: 1;
    will-change: transform;
  }

  .banner-container picture,
  .banner-container img {
    opacity: 0.9;
  }
}
.middle_locations ul,
.sub_heading ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}
.sub_heading ul li {
  text-transform: capitalize;
  float: left;
  padding-right: 15px;
  margin-right: 15px;
  font-size: 22px;
  font-weight: 700;
  position: relative;
}
.sub_heading ul li:not(:last-child):after {
  position: absolute;
  content: "";
  width: 7px;
  height: 7px;
  right: -5px;
  top: calc(50% - 3.5px);
  background: #fff;
  border-radius: 50%;
}
.testimonial_container {
  background-color: #000;
  padding: 45px 0;
}
.testimonial_author {
  margin-bottom: 0;
  font-size: 23px;
  font-weight: 900;
  color: #fff;
}
.testimonial_star {
  margin-bottom: 0px;
  font-size: 14px;
  color: #fff;
}
.testimonial_list {
  position: relative;
}
.testimonial_list p::before {
  content: "";
  line-height: 35px;
  background-image: url("../images/terex-tower-cranes-for-sale-quote-left-solid.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
}
.testimonial_list p::after {
  content: "";
  display: inline-block;
  font-size: 45px;
  line-height: 35px;
  background-image: url("../images/terex-tower-cranes-for-sale-quote-right.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 30px;
  height: 30px;
}
.fa-quote-right {
  font-weight: 700;
  color: #97bf26;
  left: 0;
  font-size: 45px;
}
.testimonial_list p {
  margin: 10px 0px;
  text-align: left;
  padding-left: 40px;
  position: relative;
  color: #fff;
}
.gallery_img_fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.faq_colmn ul li {
  margin-bottom: 20px;
}
.faq_colmn {
  border: 1px solid #707070;
  padding: 20px;
  height: 100%;
}
.discover-performance li {
  margin-bottom: 40px;
}
.discover-performance li:last-child {
  margin-bottom: 0;
}
.guarantee-img {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 450px;
  margin: auto;
}
.mag-1 {
  margin-bottom: 8rem;
}
@media screen and (max-width: 576px) {
  .mag-1 {
    margin-bottom: 1rem;
  }
}

.underlin-txt {
  font-size: 22px;
  margin-bottom: 5px;
  display: block;
  text-decoration: underline;
}

.firewood_faq {
  /* padding: 87px 0 63px; */
  padding: 2rem 0 5rem 0;
}
.firewood_faq img {
  max-width: 340px;
  width: 100%;
  margin: auto;
  display: block;
}
.truck-team .wrap {
  display: flex;
  gap: 15px;
  align-items: center;
}
.truck-team .wrap h5 {
  font-size: 26px;
  font-weight: 700;
  position: relative;
}
.truck-team .wrap p {
  font-size: 26px;
  font-weight: 700;
  position: relative;
}


.truck-team .wrap h5::after {
  display: block;
  content: "";
  background-color: #e63024;
  max-width: 179px;
  width: 100%;
  height: 5px;
}

.truck-team .wrap p::after {
  display: block;
  content: "";
  background-color: #e63024;
  max-width: 179px;
  width: 100%;
  height: 5px;
}
.truck-team span {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.truck-team small {
  display: block;
}
.truck-team .connection-link {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 8px;
}
.truck-team .connection-link a {
  color: #fa251e;
  font-size: 17px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}
.truck-team .connection-link a svg {
  width: 20px;
  height: 20px;
}
.truck-team .team-profile {
  width: 130px;
  height: 130px;
  overflow: hidden;
  border-radius: 100%;
}
.truck-team .team-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.truck-team .truck-team-container {
  margin: 0px 0 60px;
  padding: 10px;
}

.truck-form .truck-form-wrapper {
  background-color: #e63024;
  padding: 26px;
  margin-block-end: 60px;
  border-radius: 8px;
}
.truck-form .truck-form-wrapper h2,
.truck-form .truck-form-wrapper p {
  color: #fff;
}
.truck-form .truck-form-wrapper input,
.truck-form .truck-form-wrapper textarea {
  padding: 16px;
  width: 100%;
  outline: none;
  border: 1px solid #fff;
  color: #000;
  margin-block-end: 20px;
  font-size: 18px;
  border-radius: 8px;
}
.truck-form .truck-form-wrapper textarea {
  margin-block-end: 0px;
  height: 100%;
}
.truck-form .truck-form-wrapper textarea:focus {
  box-shadow: none;
  border: 1px solid #ffd102;
  outline: 1px solid #ffd102;
}
.truck-form .truck-form-wrapper input:focus {
  box-shadow: none;
  border: 1px solid #ffd102;
  outline: 1px solid #ffd102;
}
.truck-form .truck-form-wrapper textarea::placeholder {
  font-size: 18px;
}
.truck-form .truck-form-wrapper button {
  width: 100%;
  padding: 16px;
  color: #000;
  background-color: #fff;
  border: 1px solid #fff;
  outline: none;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
}
.truck-form .truck-form-wrapper button:hover {
  background-color: #000;
  border: 1px solid #fa251e;
  color: #fff;
}
.learn-more-bx.primary_bg-color {
  background: #000;
}

.contact-cropac {
  background-color: #000;
  color: #fff;
  padding: 30px 0;
  margin-bottom: 60px;
}
.contact-cropac h4 {
  font-size: 34px;
  text-align: center;
  color: #fff;
  font-weight: 400;
}
footer .footer-logo {
  max-width: 310px;
  margin-bottom: 30px;
}
footer p {
  text-align: left;
}
footer h6 {
  text-align: left;
  font-size: 27px;
}
footer ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer ul li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: calc((100% / 5) - 16px);
}
footer ul li img {
  max-width: 110px;
  height: auto;
}
footer ul li svg {
  min-width: 22px;
}
footer ul li i {
  font-size: 28px;
}
footer li p {
  text-align: left;
  font-size: 15px;
  margin-bottom: 10px;
}
footer li b {
  font-size: 16px;
}
footer .bottom-line {
  height: 72px;
  width: 100%;
  background-color: #222e36;
  margin-top: 50px;
}
.burger {
  position: relative;
  width: 20px;
  height: 16px;
  background: transparent;
  cursor: pointer;
  display: block;
}
.burger input {
  display: none;
}
.burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: black;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}
.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}
.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}
.burger span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}
header.active .burger span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 0px;
}
header.active .burger span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}
header.active .burger span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 14px;
  left: 0px;
}
.mobile-nav-wrap {
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav-btn {
  width: auto;
  display: none;
}
.success-icon {
  height: 60px;
  width: 60px;
}
.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* FAQ Start */

ul.faq-list-2 {
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  margin-left: 1rem;
}
ul.faq-list-2 li span {
  display: block;
  margin-block-end: 10px;
  font-weight: 600;
}
.faq_colmn {
  border: 1px solid #707070;
  padding: 20px;
  height: 100%;
}
.faq_colmn-image {
  height: auto;
  width: 100%;
}
.faq_colmn-image img {
  height: auto;
  width: 100%;
  object-fit: contain;
}
.faq_colmn-image.cover img {
  object-fit: cover;
}
.faq_colmn-image table {
  width: 100%;
}
.faq_colmn-image table td {
  border: 1px solid #000;
  padding: 5px;
}
.faq_colmn-image table th {
  border: 1px solid #000;
  background-color: #000;
  color: #fff;
  padding: 5px;
}
.faq_colmn p {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  /* Adjust breakpoint as needed */
  .faq_colmn p {
    margin-bottom: 1.5rem;
  }
}

ul.faq-list {
  margin-left: 1rem;
  list-style: disc;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-list li {
  margin-bottom: 0 !important;
}

/* FAQ End */

/* Gallery Start */

/* Gallery List/Grid Styles */
.unmatched-performance ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 25px;
  margin-block: 30px 45px;
  padding: 0;
  justify-content: center;
}

.unmatched-performance ul li {
  width: calc(
    (100% - 100px) / 5
  ); /* Default for 5 items per row with 25px gap */
}

/* Individual Gallery Image/Thumbnail Styles */
/* Fix gallery images */
.gallery_image {
  border-radius: 5px;
  overflow: hidden;
  height: 125px;
  width: 100%;
  aspect-ratio: 238/132; /* Based on your image dimensions */
}

.gallery_image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.gallery_image.big {
  height: 290px;
}

.gallery_image.big + p {
  /* Caption for big gallery images */
  text-align: center;
  font-size: 18px;
  margin-block-start: 10px;
  font-weight: 600;
}

.gallery_image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.unmatched-performance {
  margin-top: 1rem;
}

/* Popup Action (usually on the image/thumbnail) */
.unmatched-performance .popup_action {
  cursor: pointer;
  border-radius: 5px;
}

.main-product-image {
  border-radius: 5px;
}

/* Popup Modal Styles */
.unmatched-performance .popup-modal {
  display: none; /* Controlled by JS */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px;
}

.unmatched-performance .popup-image {
  /* Container for the large image and close button */
  position: absolute;
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.unmatched-performance .popup-image img {
  /* The large image itself */
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
  border: #fff solid 10px;
  border-radius: 8px;
  background-color: #fff;
  /* border-radius: 10px; /* Duplicate, can be removed */
}

.unmatched-performance .popup-text {
  /* Caption/text for the image in the modal */
  padding: 10px;
  color: #fff;
  text-align: center; /* Added for better default text display */
}

.unmatched-performance .close-btn {
  margin-left: auto;
  font-size: 15px; /* This might be small, consider increasing */
  cursor: pointer;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px; /* This is for the 'X' text, if using an icon, adjust */
  color: #000;
  height: 25px;
  border-radius: 100%;
  position: absolute;
  right: -30px; /* Adjust as needed for positioning */
  top: -30px; /* Adjust as needed for positioning */
  /* Ensure it's visually clear, e.g., by adding content: '×'; */
}

/* Responsive adjustments for gallery items */
@media (max-width: 1200px) {
  .unmatched-performance ul li {
    width: calc((100% - 75px) / 4); /* 4 items per row */
  }
}

@media (max-width: 992px) {
  .unmatched-performance ul li {
    width: calc((100% - 50px) / 3); /* 3 items per row */
  }
}

@media (max-width: 576px) {
  .unmatched-performance ul li {
    width: calc((100% - 25px) / 2); /* 2 items per row */
  }
  .gallery_image.big {
    height: auto; /* Adjust for smaller screens */
  }
}

/* Responsive adjustments for popup image */
@media (max-width: 767px) {
  .unmatched-performance .popup-image {
    max-width: 90%; /* Allow more width on smaller screens */
    max-height: 90%;
  }
  .unmatched-performance .close-btn {
    right: 5px; /* Bring close button more into view */
    top: 5px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}

.gallery_img_fill img {
  /* If you use a container with class gallery_img_fill */
  width: 100%;
  height: 100%;
  object-fit: cover; /* 'cover' vs 'contain' depends on desired effect */
}

.unmatched-performance .gallery_img_fill {
  /* When used within .unmatched-performance */
  margin-bottom: 30px; /* Or 90px depending on context */
  align-items: center; /* If it's a flex container */
}

.unmatched-performance .popup-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px;
}
.unmatched-performance .popup-text {
  padding: 10px;
  color: #fff;
}
.unmatched-performance .popup-image img {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
  border: #fff solid 10px;
  border-radius: 8px;
  background-color: #fff;
  border-radius: 10px;
}
.unmatched-performance .popup-image {
  position: absolute;
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.unmatched-performance .close-btn {
  margin-left: auto;
  font-size: 15px;
  cursor: pointer;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  color: #000;
  height: 25px;
  border-radius: 100%;
  position: absolute;
  right: -30px;
  top: -30px;
}

/* Responsive adjustments from this file */
@media (max-width: 767px) {
  .unmatched-performance .popup-image {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .unmatched-performance .gallery_img_fill {
    /* If using this class */
    margin-bottom: 30px;
  }
}

/* Gallery End  */
/* Custom */

.footer-address-icon {
  width: 20px;
  height: 25px;
}
.footer-address-icon svg {
  width: 100%;
  height: 100%;
}

.b-r-2 {
  border-radius: 3px;
}
/* ...existing code... */
.video-responsive {
  position: relative;
  padding-bottom: 62.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 5px;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ...existing code... */
@media (max-width: 1200px) {
  .truck-team .team-profile {
    width: 85px;
    height: 85px;
  }
  .truck-team .wrap h5 {
    font-size: 20px;
  }
  .truck-team .wrap p {
    font-size: 20px;
  }
}
.text-left {
  text-align: left !important;
}

@media (max-width: 992px) {
  .mobile-nav-btn {
    display: block;
  }
  header.active .mobile-screen {
    right: 0%;
  }
  header {
    box-shadow: rgba(0, 0, 0, 0.25) 0 0 30px;
  }

  footer ul li {
    width: calc((100% / 3) - 14px);
  }
  .top_web_info:after {
    display: none;
  }
  .mobile-hide {
    display: none;
  }
  .mobile-screen {
    display: block;
  }
  .top_hours,
  .top_phone {
    padding-left: 0;
    margin-bottom: 20px;
  }
  .top_web_info p {
    text-align: left;
  }
  .title_social_inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
  }
  .top_web_info p {
    color: #fff;
  }
  header .top_web_info p.grey,
  .top_web_info p a {
    color: #fff;
  }
  .top_phone .phone_grid:first-child {
    padding-left: 0;
  }
  .logo_container {
    width: 150px;
    height: auto;
  }

  .logo_container img {
    max-width: 150px;
    height: auto;
  }
  footer .footer-logo img {
    max-width: 180px;
  }
  .top_hours {
    padding-left: 0;
  }
}

@media (min-width: 768px) {
  .top_hours {
    padding-right: 27px;
  }
  .top_phone {
    display: flex;
  }
  .footer_logo {
    max-width: 360px;
  }
  .testimonial_list p {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .video-responsive {
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.125rem;
  }
  .social_media_wrapper {
    min-width: 78px;
  }
  .testimonial_list p {
    font-size: 24px;
  }
  .middle_locations ul li {
    font-size: 27px;
  }
  .gallery_secondary_col {
    padding-top: 24px;
  }
  footer ul li {
    width: calc((100% / 2) - 10px);
  }
}

@media (max-width: 576px) {
  .top_web_info .header-icon {
    width: 30px;
    height: 30px;
    margin-inline-end: 10px;
  }
  .small_border {
    margin-bottom: 20px;
    padding-bottom: 0;
  }
  .small_border::after {
    width: min(80px, 25%);
    height: 4px;
  }
  p,
  ul {
    font-size: 0.875rem;
  }
  ul li strong {
    font-size: 1.125rem;
  }
  .footer-address-icon {
    width: 15px;
    height: 20px;
  }
  .truck-team .wrap h5 {
    font-size: 18px;
  }

    .truck-team .wrap p {
    font-size: 18px;
  }
  .truck-team .connection-link {
    margin-top: 10px;
  }
  .truck-team .wrap h5::after {
    max-width: 119px;
  }
  .truck-team .connection-link a {
    font-size: 14px;
  }

  .testimonial_author,
  .testimonial_star {
    text-align: center;
  }
  .testimonial_list p {
    font-size: 16px;
    color: #fff;
  }
  .testimonial_list p::before,
  .testimonial_list p::after {
    width: 12px;
    height: 12px;
  }
  .testimonial_list p {
    padding-left: 20px;
  }
  h2,
  h4,
  .contact-cropac h4 {
    font-size: 1.375rem;
  }
  h1 {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  .banner-container h3.color_white {
    font-size: 16px;
  }
  .sub_heading ul li {
    font-size: 16px;
  }

  .firewood_faq {
    padding: 20px 0;
  }
  .mobile-screen {
    top: 83px;
  }

  /* background-image: url('../images/terberg-shunt-trucks-for-sale-mobile-banner.webp'); */
  .banner-container {
    position: relative;
    min-height: 280px; /* Adjust for mobile */
  }
  .mobile-screen svg,
  .mobile-screen path {
    fill: #fff;
    width: 24px;
  }
  .banner-container::before {
    content: "";
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    width: 100%;
    position: absolute;
    height: 80%;
    bottom: 0;
    z-index: 1;
  }
  .banner-container .container {
    position: relative;
    z-index: 2;
  }

  .discover-performance li {
    margin-bottom: 20px;
  }
  .testimonial_container,
  .truck-team .truck-team-container {
    padding: 20px;
    margin-bottom: 20px;
  }
  footer h6 {
    font-size: 18px;
    line-height: 1.5;
  }

  .cr-mt-sm-1 {
    margin-top: 1rem;
  }

  .cr-mt-sm-2 {
    margin-top: 2rem;
  }
}

.magini-telehandler-img {
  position: absolute;
  min-height: 500px;
  max-width: 400px;
  bottom: 100px;
}

.c-footer {
  font-weight: 800;
}

footer .bottom-line {
  background-color: #222e36;
  color: #ccc;
  height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border-bottom: 5px solid var(--brand-red);
  font-size: 0.9rem;
  text-align: center;
  padding: 0 10px;
  margin-top: 30px;
}

footer .bottom-line a {
  color: #ccc;
  text-decoration: none;
}
footer .bottom-line span {
  margin: 5px 20px;
  white-space: nowrap;
}

footer .copyright-line {
  background-color: #222e36;
  color: #ccc;
  height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border-bottom: 5px solid var(--brand-red);
  font-size: 0.9rem;
  text-align: center;
  padding: 0 10px;
}
.copyright-bar {
  background-color: #fff;
  color: #000;
  font-size: 0.85rem;

  padding: 20px 20px;
  border-top: 1px solid #ccc;
}
.copyright-bar .links a {
  color: #000;
  text-decoration: none;
  margin: 0 8px;
}
.copyright-bar .links a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  footer .bottom-line {
    height: 102px;
  }

  .copyright-bar {
    padding: 5px 5px;
  }
}

.truck-team .team-profile {
  width: 130px;
  height: 130px;
  overflow: hidden;
  border-radius: 100%;
}
.truck-team .team-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.truck-team .team-profile .img1 {
  transform: scale(1) translate(0, 2px);
}
.truck-team .team-profile .img2 {
  transform: scale(1) translate(0, -1px);
}
.truck-team .team-profile .img3 {
  transform: scale(1) translate(0, 1px);
}

/* Animation to slide truck image from right to left */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Apply animation */
.truck-slide {
  animation: slideIn 2s ease-out forwards;
  position: absolute;
  top: 95px;
  right: 22%;
  max-width: 35%;
}

@media (min-width: 2000px) {
  .truck-slide {
    max-width: 29%;
  }
}

@media (max-width: 768px) {
  .truck-slide {
    max-width: 80%;
    right: 0;
    top: 120px;
  }
}

@media (max-width: 1200px) {
  .truck-slide {
    max-width: 55%;
    right: 5%;
    top: 80px;
  }
}

@media (max-width: 480px) {
  .truck-slide {
    display: none;
  }
}

/* CTA Banner Red Component */
.cta-banner-red {
  background-color: #888888;
  padding: 1rem 0;
  color: #ffffff;
}

.cta-banner-cropac-red {
  background-color: #e63225;
  padding: 1rem 0;
  color: #ffffff;
}

.cta-banner-black {
  background-color: #000000;
  padding: 1rem 0;
  color: #ffffff;
}

.cta-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 110px;
}

.cta-image {
  height: auto;
  width: auto;
  max-height: 230px;
  flex-shrink: 0;
  position: relative;
  bottom: 42px;
}

@media (max-width: 480px) {
 
.cta-image {

  bottom: 0;
}
}

.cta-text {
  flex-grow: 1;
  text-align: center;
}

.cta-text h2 {
  margin: 0 0 0.25rem 0;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-text p {
  margin: 0;
  font-size: 1.2rem;
}

.cta-text p span {
  font-weight: 800;
  font-size: 1.5rem;
}

.cta-button {
  background-color: var(--brand-red);
  color: #ffffff;
  padding: 1rem 3rem;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  border-radius: 10px;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--brand-red);
  color: #ffffff;
  text-decoration: none;
}

.main-product-img {
  padding: 3rem;
}

.footer-inner {
  padding-right: 5rem;
}

@media (max-width: 540px) {
  .cta-banner-cropac-red {
    padding: 2rem 0;
  }
  .desktop-break {
    display: none;
  }
  .main-product-img {
    padding: 0 !important ;
  }

  .footer-inner {
    padding-right: 0 !important ;
  }
}
/* Responsive Design */
@media screen and (max-width: 1024px) {
  .cta-container {
    flex-direction: column;
    height: auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    margin: 1rem 0;
  }
}

.product-info {
  margin-bottom: 3rem;
}
@media (max-width: 540px) {
  .cta-container {
    padding: 0 1rem;
    gap: 0;
    height: auto;
  }

  .cta-button {
    width: 100%;
    box-sizing: border-box;
  }
}

.product-description {
  margin-bottom: 2rem;
  margin-top: 2rem;
}

@media screen and (min-width: 2000px) {
  .product-description {
    margin-bottom: 3rem !important;
    margin-top: 3rem !important;
  }
}

.button-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.button-wrapper a.action-btn {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  background-color: #e63225;
  color: #fff;
  border: none;
  padding: 1.3rem 1.5rem;
  font-weight: 700;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.req-action-btn {
  width: 100%;
  text-align: center;
  background-color: #e63225;
  color: #fff;
  border: none;
  padding: 1.3rem 1rem;
  font-weight: 700;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-size: 1.4rem;
  display: inline-block;
}

@media screen and (max-width: 576px) {
 .faq-button-wrapper a.action-btn {
 
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
}
  
}
.pdf-download a.pdf-btn {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  background-color: var(--brand-red);
  color: #fff;
  border: none;
  padding: 1rem 3.8rem;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.main-img-fluid {
  height: 410px;
  object-fit: cover;
}

@media screen and (max-width: 576px) {
  .pdf-download a.pdf-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .main-img-fluid {
    height: auto;
  
  } 
}

.button-wrapper a.action-btn:hover {
  background-color: #c23030;
  color: #fff;
}

@media (max-width: 576px) {
  .button-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }

  .button-wrapper a.action-btn {
    width: 100%;
  }
  .product-description {
    margin-top: 1rem !important;
  }
  .c-mt-0 {
    margin-top: 0rem !important;
  }

  .c-mt-1 {
    margin-top: 1rem !important;
  }
  .c-mt-2 {
    margin-top: 2rem !important;
  }
  .c-mt-3 {
    margin-top: 3rem !important;
  }
  .c-mt-4 {
    margin-top: 4rem !important;
  }

  .c-mt-5 {
    margin-top: 5rem !important;
  }
  .c-mt-6 {
    margin-top: 6rem !important;
  }
  .c-mb-0 {
    margin-bottom: 0rem !important;
  }
  .c-mb-1 {
    margin-bottom: 1rem !important;
  }
  .c-mb-2 {
    margin-bottom: 2rem !important;
  }
  .c-mb-3 {
    margin-bottom: 3rem !important;
  }
  .c-mb-4 {
    margin-bottom: 4rem !important;
  }
  .c-mb-5 {
    margin-bottom: 5rem !important;
  }
  .c-mb-6 {
    margin-bottom: 6rem !important;
  }
}

/* Add to your CSS file */
.error-icon svg circle {
  stroke: #dc3545;
}

.error-icon svg polyline {
  stroke: #dc3545;
}

.success-icon svg circle {
  stroke: #198754;
}

.success-icon svg polyline {
  stroke: #198754;
}

.btn.bg-black.color_white:hover {
  background-color: #000 !important;
  color: #fff !important;
  text-decoration: none !important;
}


.cta-main-text{
      font-size: 2rem;
      font-weight: 800;
}
.footer-head {
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 15px;
}

@media screen and (max-width: 576px) {
  .footer-head {
    font-size: 20px;
  }

  .cta-main-text {
font-size: 1.5rem ;
  }

}