: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);

  --text: #111;
  --border: #e8e9eb;
  --outer: #bababa;
  --bg: #f5f3f3;
}

@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;
}
@media (min-width: 1200px) {
  .sub_heading {
    letter-spacing: -2.4px;
  }
}

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%;
}
.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;
}

@media (min-width: 1200px) {
  .pl-1 {
    padding-left: 1rem;
  }
}

.contact-us-btn {
  background: #e63024;
  border-radius: 10px;
  font-size: 20px;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  text-wrap: nowrap;
}

.contact-us-btn svg {
  width: 40px;
  margin-left: 20px;
}

.banner_button {
  max-width: fit-content;
}

.banner-btn {
  background: #000;
  border-radius: 10px;
  font-size: 22px;
  padding: 7px 20px;
  display: flex;
  align-items: center;
}

.banner-btn svg {
  width: 40px;
  margin-left: 20px;
}

@media (max-width: 575px) {
  .banner-btn {
    font-size: 13px;
    padding: 8px 14px;
    white-space: nowrap;
  }
  .banner-btn svg {
    width: 16px;
    margin-left: 10px;
  }
}

.small_border {
  position: relative;
  margin-bottom: 30px;
  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: 0; /* 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: 100%;
  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 {
  padding: 24px 0;
}
.title_social_inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.title_social_inner .small_title_top,
.title_social_inner .small_title_top a {
  color: #fff;
  border-bottom: 2px solid #ffffff;
  font-size: 16px;
  line-height: 24px;
  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;
}
/* @media screen and (min-width: 576px) {
    .banner-container {
        min-height: 506px;
    }
} */
/* .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%;
  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 */
}

@media screen and (max-width: 575px) {
  .banner-main-heading {
    bottom: 0;
  }
}
@media screen and (min-width: 576px) {
  .banner-container picture,
.banner-container img {
  min-height: 500px;
} 
 .banner-main-heading {
    bottom: 95px;
  }

  /* .banner-container {
    min-height: 506px;
  } */
  /*

  .banner-container .banner-bg-picture {
    position: absolute;
  }*/
}
/* .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.75rem;
  line-height: 1.2;
  will-change: auto;
  font-weight: black;
  letter-spacing: -1px;
}

.banner-container h3 {
  font-weight: 400;
  position: relative;
  top: 10px;
  font-size: 1.8rem;
  line-height: 1.3;
  padding-top: 2rem;
}

.banner-container h2 {
  font-weight: 400;
  position: relative;
  top: 10px;
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: 0;
  padding-bottom: 1.9rem;
}

.mobile-break {
  display: none;
}

@media screen and (min-width: 3840px) {
  .banner-container h1 {
    font-size: 5.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: 4rem;
  }
  .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.2rem;
    letter-spacing: 0;
    margin-bottom: 10px;
  }
  .banner-container h3 {
    font-size: 1.8rem;
  }
  .banner-container h2 {
    font-size: 1.5rem;
    padding-bottom: 0;
    margin-bottom: 25px;
  }

  .banner-main-heading {
    bottom: 20px !important;
  }

  .banner_button-wrapper .mobile-break {
    display: none;
  }
}

@media (max-width: 575px) {
  .banner_button-wrapper {
    background: #ff2600;
    padding: 15px;
    margin-top: 0;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: -36px;
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {
  .banner-container h1 {
    font-size: 2rem;
    opacity: 1;
    color: #fff !important;
    text-align: center;
  }
  .banner-container h3 {
    padding-top: 0;
    font-size: 1rem;
    color: #fff !important;
  }
  .banner-container h2 {
    padding-top: 0;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 1.125rem;
    color: #fff !important;
    text-align: center;
    margin-bottom: 0;
  }
  .banner_h1 {
    padding-bottom: 0.5rem;
    transform: translateY(-13px);
  }
  .banner_h3 {
    transform: translateY(-28px);
  }
}
/* Media queries with better performance */

/*  media tag from 2k to 4k screen
 */
@media (min-width: 2000px) {
  .banner-container {
    min-height: 600px;
  }
}

@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 {
  background-image: url(../images/icons/terex-tower-luffing-jib-flat-top-hammerhead-cranes-for-sale-quote-left-solid.webp);
  position: absolute;
  top: 0;
  left: 0;
}

.testimonial_list p::before {
  content: "";
  line-height: 35px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
}

.testimonial_list p::after {
  display: inline-block;
  font-size: 45px;
  background-image: url(../images/icons/terex-tower-luffing-jib-flat-top-hammerhead-cranes-for-sale-quote-right.webp);
}

.testimonial_list p::after {
  content: "";
  display: inline-block;
  font-size: 45px;
  line-height: 35px;
  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: 30px;
  margin-left: 16px;
}
.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: 0 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: 22px;
  font-weight: 700;
  position: relative;
  margin-bottom: 5px;
}

.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: 5px;
}
.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 {
  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 h2 {
  font-size: 2.5rem;
  margin: 0;
  line-height: 1.1;
}
.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;
  max-height: 65px;
}
.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;
  height: auto;
}
.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;
}

.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 */
  }
  .truck-form .truck-form-wrapper h2 {
    padding: 0 0 20px 0;
  }
  .footer-heading .desktop-break {
    display: none;
  }
}

@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 .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);
  }
  .truck-team .team-profile {
    width: 85px !important;
    height: 85px !important;
  }
}

@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;
    bottom: -7px;
  }
  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 .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;
}

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-banner-gray {
  background-color: #acacac;
  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: 180px;
}

@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;
}

.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;
}

@media (min-width: 992px) {
  .footer-inner {
    padding-right: 5rem;
  }
}

@media (max-width: 540px) {
  .cta-banner-cropac-red {
    padding: 2rem 0;
  }
  .desktop-break {
    display: none;
  }
  .mobile-break {
    display: inline;
  }
  .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;
  }
  .banner-main-heading {
    bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    margin: 1rem 0;
  }
}

@media (min-width: 1025px) and (max-width: 1500px) {
  .banner-btn {
    font-size: 14px;
    padding: 2px 20px;
  }

  .banner-container h2 {
    font-size: 1.2rem;
    padding-bottom: 1rem;
  }

  .banner-container h1 {
    font-size: 2rem;
    margin-bottom: 0;
  }
  .bottom-0 {
    bottom: 44px !important;
  }
}

@media (min-width: 1501px) and (max-width: 1800px) {
  .banner-container h2 {
    font-size: 1.6rem;
    padding-bottom: 1rem;
  }

  .banner-container h1 {
    font-size: 3rem;
    margin-bottom: 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;
}

.footer-heading {
  font-size: 1.7rem;
  line-height: 1.3;
  font-weight: 700;
}

.our-team-container {
  border: 1.5px solid #e63024;
  padding: 1.4rem;

  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.cta-action-btn {
  background-color: #000;
  color: #fff;
  border: none;
  font-size: 1.1rem;
  padding: 1rem 3rem;
  font-weight: 700;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.learn-more-bx h2 {
  font-size: 2rem;
  font-weight: 700;
  align-items: center;
}

.banner-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}

@media screen and (max-width: 576px) {
  .banner-title {
    font-size: 1.5rem;
  }

  .learn-more-bx h2 {
    font-size: 1.2rem;
    font-weight: 700;
  }

  .footer-head {
    font-size: 20px;
  }

  .cta-main-text {
    font-size: 1.5rem;
  }

  .footer-heading {
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 700;
  }
}

/********** Baterry Section ******************/

.crane-section {
  width: 100%;
  /*padding: 4px 0 40px;*/
}

.crane-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 55px 55px;
}

.crane-card {
  width: 100%;
  border: 2px solid #e5e5e5;
  border-radius: 5px;
  padding: 18px;

  display: flex;
  flex-direction: column;

  background: #fff;
  overflow: hidden;
}

.crane-image {
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 20px;
}

.crane-image img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center;
}

.crane-card h4 {
  margin: 0 5px 14px;

  font-size: 22px;
  line-height: 26px;
  font-weight: 700;

  text-transform: uppercase;
  color: #080808;
}

.description {
  margin: 0 5px 14px;
  min-height: 78px;
  color: #000;
}

.specifications {
  border-top: 1px solid #eeeeee;
  padding: 15px 4px 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.spec-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 17px;
  font-size: 16px;
  /* line-height: 30px; */
}

.spec-icon {
  color: #ef2d25;
  font-size: 17px;
  font-weight: 400;
  text-align: center;
  width: 24px;
  display: flex;
}

.spec-label {
  padding-left: 10px;
  color: #111;
}

.spec-value {
  white-space: nowrap;
  color: #222;
}

.card-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}

.card-buttons .btn {
  font-weight: 800;
  /*letter-spacing: -0.96px;*/
  font-size: 16px;
  padding: 0.75rem;
}

.btn-primary {
  color: #fff;
  background: #ed2d25;
}

.btn-primary:hover,
.btn-primary:active {
  background: #c9211b !important;
  border-color: #c9211b !important;
}

.btn:active {
  transform: scale(0.99);
}

/* =========================
   TABLET
========================= */

@media (max-width: 991px) {
  .crane-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 0 18px;
  }

  .description {
    min-height: auto;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .crane-section {
    padding: 10px 0 30px;
  }

  .crane-grid {
    grid-template-columns: 1fr;
    gap: 18px;

    padding: 0 12px;
  }

  .crane-card {
    padding: 8px 9px 12px;
  }

  .crane-card h2 {
    font-size: 17px;
    line-height: 19px;
  }

  .description {
    font-size: 13px;
    line-height: 18px;
    min-height: auto;
  }

  .spec-row {
    font-size: 14px;
  }

  .btn {
    min-height: 38px;
    font-size: 13px;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px) {
  .crane-grid {
    padding: 0 10px;
  }

  .crane-card h2 {
    font-size: 16px;
  }

  .description {
    font-size: 12px;
    line-height: 17px;
  }
}

/******* Estimer Card ************/

.estimator-card-wrapper {
  padding: 80px 0;
  background-color: #e8e4e480;
}

.estimator-card {
  margin: auto;
  background: #fff;
  border: 2px solid var(--outer);
  border-radius: 11px;
  padding: 41px;
}
.estimator-card h2 {
  margin: 0 0 10px;
  color: var(--brand-red);
  font-size: clamp(30px, 3.1vw, 45px);
  line-height: 1.05;
  font-weight: 800;
}

@media (min-width: 1200px) {
  .estimator-card h2 {
    letter-spacing: -1.5px;
  }
}

/*.intro,
.section-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}
.intro {
  max-width: 1040px;
  margin-bottom: 16px;
}*/
.rental-panel {
  padding: 20px 21px 23px;
  border: 2px solid #e1e1e1;
  border-radius: 7px;
}
.estimator-card h3 {
  margin: 0 0 11px;
  color: var(--brand-red);
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.8px;
}
.section-intro {
  margin-bottom: 27px;
}
.form-grid {
  display: grid;
  gap: 20px;
}
.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field,
.field-group {
  margin-bottom: 40px;
}
.field label,
.field-group > label {
  display: block;
  margin: 0 0 9px 3px;
  /*font-size: 13px;
  line-height: 1.2;*/
  font-weight: 700;
}
label span {
  color: var(--brand-red);
}
label small {
  font-size: 12px;
  font-weight: 400;
}
input,
textarea {
  display: block;
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}
input {
  height: 51px;
  padding: 0 14px;
}
textarea {
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #9b9b9b;
  opacity: 1;
}
input:focus,
textarea:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 2px rgba(239, 43, 35, 0.08);
}
input[type="date"] {
  font-weight: 600;
  color: #151515;
}
.small-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 650px;
  margin-top: 13px;
}
.project-field {
  margin-bottom: 15px;
}
button {
  width: 270px;
  height: 49px;
  border: 0;
  border-radius: 6px;
  background: var(--brand-red);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}
button:hover {
  background: #d9231c;
}
button:active {
  transform: translateY(1px);
}
@media (max-width: 768px) {
  .page {
    padding: 14px;
  }
  .estimator-card {
    padding: 22px 18px 24px;
    border-width: 1.5px;
  }
  .rental-panel {
    padding: 18px 16px 20px;
  }
  .two-columns,
  .small-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
  }
  .field,
  .field-group {
    margin-bottom: 18px;
  }
  button {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .page {
    padding: 8px;
  }
  .estimator-card {
    border-radius: 8px;
    padding: 18px 12px;
  }
  .rental-panel {
    padding: 16px 12px 18px;
  }
  h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  h2 {
    font-size: 25px;
  }
  .intro,
  .section-intro {
    font-size: 14px;
    line-height: 1.5;
  }
  .section-intro {
    margin-bottom: 22px;
  }
  input {
    height: 48px;
  }
}

/************* Date Field ************/
.date-input-wrapper {
  position: relative;
}

.start-date-picker,
.end-date-picker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.calendar-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

#rental-price,
#contact-form {
  scroll-margin-top: 100px;
}

/************* Select Dropdown ************/
select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
      margin-bottom: 40px;

}

select:hover {
  border-color: var(--brand-red);
}

select:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(230, 48, 36, 0.1);
}

select:required:invalid {
  color: #999;
}

option {
  color: var(--text);
  background-color: #fff;
}

 .spec-value1 {
    text-align: right;
    padding-top: 3px;
}