@media (min-width: 1400px) {
  .city-img-box .about-img img{
      height: 100%;
      object-fit: cover;
      object-position: right;
  }
}

@media (min-width: 768px) and (max-width:991px) {
  .contact-media_title {
    font-size: 24px;
    line-height: 36px;
  }
  .contact-media_subtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .testi-item{padding: 30px 15px;}
  #content_block_6 .content-box .info-list li{flex-direction: column;margin-bottom: 0;}
  #content_block_6 .content-box .info-list li .inner {
    position: relative;
    padding-left: 0;
    width: 100%;
}
.location-search button{min-width: 105px !important;}
#content_block_6 .content-box .info-list li .inner:before, #content_block_6 .content-box .info-list li .inner:after{display: none;}
#content_block_6 .content-box .info-list li .icon-box{text-align: left;}
.residential-service-items .service-read-more a {padding: 10px;}
.gf-popup-content{top: 20% !important; left: 12% !important;}
/* .service-single-sec .hero-details { min-height: 245px; } */ /* Removed to allow full height images */
.separate-containers .site-main { margin: 0; }
}
@media (min-width: 992px) and (max-width:1199px) {
  .service-item_content{height: calc(100% - 170px)}
  .service-item_img img{height: 170px;}
  .enviormental-sec h3.title-header{top: 97px;}
  .clsvideo {max-width: 545px;}
  .video-block-box{gap: 20px;}
  .gf-popup-content{top: 22% !important; left: 22% !important;}
  /* .service-single-sec .hero-details { min-height: 245px; } */ /* Removed to allow full height images */
.separate-containers .site-main { margin: 0; }
}
@media (min-width: 992px) and (max-width:1399px) {
  .img-box3 .img4{top: auto;bottom: 0px;}
  .img-box3{height: 100%;}
}
@media (min-width: 992px){
.navbar-brand{display: none;}
.header-links li:not(:last-child) {margin: 0 30px 0 0;}
.new-nav .header-links{display: none;}
.footer-logo-iah{display: none;}
.navbar-nav .nav-item:first-child .nav-link{padding-left: 0px;}
.hero-map-bg .hero-img{display: block;line-height:0;}
.hero-img{line-height:0;}
.residential-commercial2{position: relative;}
}
@media (min-width: 1401px) and (max-width: 1700px) {.th-hero-bg{left: -320px;}}
@media (min-width: 1200px) and (max-width: 1400px) {
  .header-top .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .navbar-nav .nav-link{font-size: 12px}
  .service-item_content{height: calc(100% - 150px)}
  .service-item_img img{height: 150px;}
  .th-hero-bg{left: -320px;}
  .counter, .counter-box p.counter {font-size: 52px;}
    .gf-popup-content{top: 22% !important; left: 26% !important;}
}

@media (max-width: 1299px) {
  .service-item-2, .service-item-3 {
    padding: 30px 20px;
  }
  .blog-item:nth-child(1) .blog-img {
    max-width: 100%;
    max-height: 100%;
    min-width: 100%;
  }
  .custom-navbar {padding-left: 0px;}
  .img-box4 .img2{left: 0px;}
}

@media (max-width: 1199px) {
  .header-button, .header-button .th-btn.style5{padding: 14px !important;}
  .navbar-nav .nav-link {
    font-size: 13px!important;
    margin-right: 8px !important;
  }
  .service-item-2, .service-item-3 {
    gap: 15px;
    padding: 25px 20px 20px;
  }
  .about-con-details {
    display: flex;
    gap: 20px;
  }
  .blog-grid {margin-bottom: 24px;}
  .blog-item .blog-img {
    min-width: 120px;
    max-width: 120px;
    max-height: 100%;
  }
  .blog-item .blog-content {padding: 12px;}
  .blog-item .blog-title {font-size: 20px;}
  .blog-bg-cont, .location-sec, .founder-testi, .counter-sec, .feel-free-sec, .enviormental-sec{
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .signup-sec {margin-bottom: 50px;}
  .testimonial-sec, .why-choose-sec{
      padding-top: 0px;
      padding-bottom: 50px;
  }
  .request-michigan{padding-top: 50px;}
  .about-sec{
      padding-top: 50px;
      padding-bottom: 50px;
  }
  .location-area-sec{padding-bottom: 0px;}
  .pad-60 {padding: 50px 0;}
  .hero-text-box {margin-top: 0;}
  .search-form-container i.fas.fa-play {
    display: inline-block;
}
  .h1, h1{font-size: 60px}
  .industries-bg-cont{padding-top: 0px;padding-bottom: 50px;}
  .th-hero-bg{display: none;}
  section.hero-section{height: auto;}
  .slide-text h2 {
    font-size: 40px;
    line-height: 1.167;
}

.banner-content .th-btn{padding:10px 15px; min-width: auto;}
.footer-recent-post .f-recent-title{font-size:14px;}
.footer-quick-link ul li a{font-size: 14px;}
.footer-contact p span{font-size: 14px;}
.footer .social-icons a{width: 28px;}
.counter, .counter-box p.counter {font-size: 42px;}
.service-item-2 .box-title, .service-item-3 .box-title {
  font-size: 16px;
  line-height: 1.1;
}
footer.footer {margin-top: -75px;}
.blog-bg-cont{padding-bottom: 130px}
.mob-pad-t-60{padding-top: 60px !important}
.mob-pad-b-60{padding-bottom: 60px !important}
.hero-slider2 h1 {font-size: 44px;}
.free-ebook{margin-bottom: 50px;}
}
@media (min-width: 1025px) {
  /* .hero-details{background: none !important;
  } */
}
@media (max-width: 1024px) {
  .hero-img{display: none;}
  .service-single-sec .hero-img{display: block;} /* Keep hero image visible on service pages */
  .service-item-2 .box-title, .service-item-3 .box-title {
    line-height: 1.3;
    margin-bottom: 0 !important;
  }

  .service-item_text {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 0;
    flex-direction: column;
  }
  .service-item .service-item_text a {
      opacity: 1;
  }

  .testi-card-3_text2 {
    font-size: 16px;
  }

  .footer-title {
    font-size: 20px;
  }

  .f-recent-title {
    font-size: 16px;
  }
  .services-heading {
    padding-left: 15px;
  }
}
@media (min-width:993px) and (max-width: 1400px) {
  .social-icons {
    float: right;
    margin-top: -45px;
    margin-right: 0px;
}
}
@media (max-width: 991px) {
  .header-button{display: none;}
  div#navbarSupportedContent {
      background: var(--white);
      margin-top: 6px;
      border-top: solid 1px #ccc;
      padding: 0;
  }
  #navbarSupportedContent .custom-navbar {padding-left: 0px;}
  button.navbar-toggler {margin-right: 0px;}
  .navbar-nav .nav-link {
        font-size: 14px;
        margin-right: 8px;
    }
  .header-logo.new-header-logo {margin-left: 15px;}

  .info-media_wrapp {
      grid-template-columns: repeat(1, 1fr);
      gap: 20px;
  }
  .blog-item-wrap {
    grid-template-areas: "one one one"
      "two two two"
      "three three three";
  }
  .blog-item .blog-content {padding: 30px;}

  .blog-item:nth-child(1) {
    margin-right: 0;
    margin-bottom: 30px;
  }
  .blog-item:nth-child(2) {margin-left: 0;}
  .blog-item:nth-child(3) {margin-left: 0;}
  .blog-sec {
    margin-bottom: 0;
    padding-bottom: 0px !important;
  }
  .service-item .th-btn {min-width: 70px;}
  .about-right-box .title-area {
    margin-top: 20px;
    text-align: left;
  }
  .newsletter-sec .newsletter-wrapper {padding-bottom: 20px;}
  .newsletter-form {justify-content: flex-start;}
  .footer .social-icons a {
    margin-right: 0px;
    margin-left: 4px;
  }
  .counter-box{padding: 10px 0;}
  .footer-main-box {
    padding-top: 120px;
    padding-bottom: 40px;
}
.about-right-box {
    padding-left: 0;
    margin-top:50px;
}
.img-box4 .img2{display: none;}
.counter-sec{padding: 50px 0;}
.enviormental-sec h3.title-header{text-align: center; margin-bottom: 20px;height: auto;}
.box-title{
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 10px !important;
}
.blog-grid_content {padding: 20px;}
p{line-height: 1.5;}
.header-layout{
  display: flex;
  flex-direction: column-reverse;
}
.header-logo2{display: none;}
.navbar-brand {  max-width: 200px;}
.shrink .navbar-brand {  max-width: 130px;}
.top-bar{display: none;}
.enviormental-sec h3.title-header::before{display: none;}
.testi-item .box-title{font-size: 20px}
.contact-media-wrapp{gap: 20px;}
.footer-logo-iah{
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    width: auto;
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
    margin-top: 15px;
    margin-left: 10px;
    height: 70px;
}
.service-img-box {margin-bottom: 20px;}
.service-img-box .service-img {
    max-width: 100%;
    height: 250px;
    border-radius: 10px;
    width: 100%;
    object-fit: cover;
}
.about-img img {
    height: 200px;
    object-fit: cover;
}
.service-item-2, .service-item-3 {height: auto;}
.mobile-sticky-header {
  position: sticky;
  top: 68px;
  width: 101%;
  background: #f5f5f5;
  z-index: 10;
  padding: 5px 0 0 0;
}
.sec-title{font-size: 28px;}
footer.footer {margin-top: -95px;}
.blog-bg-cont{padding-bottom: 130px}
.call-us-sec {margin-bottom: -110px;}
.header-links a{font-size: 26px;}
.modal-content {
    top: 0;
    transform: translateY(0%);
}
.video-block-box{flex-direction: column;}
.clsvideo{max-width: 100%;}
.clsvideo iframe {
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px;
}
.video-block-box{
  gap: 0;
  align-items: flex-start;
}
.state-location{margin-top: 20px}
.clsvideo{margin-bottom: 0px;}
.google-reviews2{margin-top: 40px;}
}
@media (min-width: 768px) {
  .header-links li:not(:last-child) {margin: 0 30px 0 0;}
  .btn-wrap span{display: none;}
  .commercial-service-items .service-item-img, .residential-service-items .service-item-img{display: none;}
  .residential-commercial2 .service-item-img{display: none;}
  .state-page .big-mb-60, .city-page .big-mb-60 , .service-city-content .big-mb-60{margin-bottom: 60px;}
  .service-city-content .pt-60{padding:60px 0 0;}
  .search-form-container i.fas.fa-play { display: none;}
}

@media (max-width: 767px) {
  .enviormental-sec { background-color: #f9f7f5 !important; }
  .contact-media-wrapp{grid-template-columns: 1fr;}
  .hero-text-box .text-white {font-size: 30px;}
  .hero-text-box .her-sub-txt{font-size: 18px;}
  .footer-title { font-size: 20px; margin-top: 30px; }
  .about-right-box {
    padding-left: 0;
    padding-right: 0;
    margin-top: 0px;
    text-align: center;
  }
  .service-item {height:auto;}
  .service-item_content{height: calc(100% - 140px); padding: 15px;}
  .service-item_img img{height: 140px;}
  .newsletter-sec{padding: 30px;}
  .header-logo2{width: 100%; text-align: center;}
  .header-affiliations, .header-phone{width: 50%;}
  .header-affiliations{order: 1}
  .header-phone{order: 2; text-align: right;}
  .header-links {max-width: 160px;}
  .logo {margin: auto;margin-bottom: 10px;}
  .about-con-details{border-bottom: none;}
  .btn-group.mt-40{margin-top: 0}
  .list-items{  grid-template-columns: 1fr 1fr;}
  .list-items-row{gap: 4px 24px;}
  .free-book .newsletter-sec::before, .free-book .newsletter-sec::after{display: none;}
  .free-book .newsletter-form {padding: 30px;}
  .free-book .newsletter-form input {max-width: 100%; width: 100%;}
  .free-book .newsletter-sec .newsletter-wrapper{padding-bottom: 0; text-align: center;padding-top: 20px;}
  .header-links a{font-size: 20px;}
  .img-box3 .img4{display: none;}
  .service-item-2 .service-item-2_details, .service-item-3 .service-item-3_details{display:none;}
  .service-item-2 .service-item-2_details .service-read-more, .service-item-3 .service-item-3_details .service-read-more{opacity: 1!important;}
  .counter-box p{font-size: 16px;}
  .counter-icon img {max-width: 50px;}
  .counter-box p.counter {font-size: 30px;}
  .counter-sec .container .col-4 {
    padding: 0 3px;
  }
  .btn-wrap{
    width: 150px;
    top: 70px;
    left: 0;
    right: 0;
    margin: auto;
  }
  .btn-wrap span{
    font-size: 14px;
    top: -8px;
    position: relative;
  }
  .google-reviews-sec .btn-wrap{top: -16px;}
  .btn-wrap .prev-btn, .btn-wrap .next-btn {display: none; }
  .service-item_text{display:none;}
  .sec-title {text-align: center;}
  .footer-main-box{padding-top: 90px;}
  .footer-logo-iah{ margin: 20px auto 0;}
  .f-address span{font-size: 14px;}
  .service-item-2, .service-item-3 {
      gap: 10px;
      padding: 15px;
      height: auto;
  }
  .service-item-2 .box-title, .service-item-3 .box-title{
    font-size: 15px;
    margin-top: -0.2rem;
  }
  .contact-media_title{font-size: 22px;}
  .contact-box{padding: 40px 20px;}
  footer.footer {margin-top: 50px;}
  .blog-bg-cont{padding-bottom: 50px}
  .call-us-sec {margin-bottom: -100px;}
  .contact-box{justify-content: space-around;}
  .about-sec .sec-title{font-size: 24px;}
  .services-img img {height: 180px !important; object-fit: cover; width: 100%;}
  .ebook-left-one, .ebook-right-img {width: 100%;}
  .ebook-right-img {margin-right: 0;display: none;}
  .residential-block .row .col-4{padding-right: 0;}
  .residential-block .row.flex-row-reverse .col-4{padding-left: 0; padding-right: calc(var(--bs-gutter-x) * .5);}
  .accordion-body{padding-left: 0; padding-right: 0;}
  .img-box3 {
      position: relative;
      display: none;
  }
  .about-right-box .title-area{margin-top: 0;}
  .video-block {padding-top: 0;}
  .top-states .slick-dots{display: none !important;}
  .top-states .slick-next, .top-states .slick-prev{
    top: -40px;
    font-size: 14px !important;
    color: #D8DDE1;
    display: flex;
    align-items: center;
    width: auto;
    height: 40px;
  }
  .top-states .slick-next:before, .top-states .slick-prev:before{  color: #D8DDE1; font-weight: bold;font-family: "Font Awesome 6 Free"; font-size: 35px}
  .top-states .slick-prev:before{content: "\f104";}
  .top-states .slick-next:before{content: "\f105";}
  .top-states .slick-prev {
      left: 50%;
      transform: translateX(calc(-100% - 10px));
  }
  .top-states .slick-next {
      right: 50%;
      transform: translateX(calc(100% + 10px));
      flex-direction: row-reverse;
  }
  .top-states .slick-slider{margin-top: 45px;}
  .slick-next.slick-disabled:before, .slick-prev.slick-disabled:before {opacity: .75;}
  .pad-b-140 {padding-bottom: 420px !important;}
  .hero-map-bg .hero-details{ padding: 20px 0;}
  .location-left-details{
      gap: 30px;
      margin-bottom: 30px;
  }
  .location-right-details {padding-left: 0px;}
  .provide-services span{display: block;margin-bottom: 20px;}
  .contact-sec{margin-bottom: 290px;}
  .form-inner{padding: 20px; padding-top: 43px;}
  .content-box h2 br{display: none;}
  /* .google-reviews-sec{padding-bottom: 0px} */
  .commercial-service-items .service-item-2 .service-item-2_details, .residential-service-items .service-item-3 .service-item-3_details{display: block !important;}
  .commercial-service-items .service-item-img img, .residential-service-items .service-item-img img{
    border-radius: 10px;
    margin-bottom: 15px;
    width: 100%;
    height: 160px;
    object-fit: cover;
    }
  .commercial-service-items .service-item-2 .box-title, .residential-service-items .service-item-3 .box-title{
    font-size: 18px;
    margin-top: 0;
    text-decoration: none;
  }
  .commercial-service-items .service-read-more, .residential-service-items .service-read-more{margin-top: 10px;}
  .commercial-service-items .service-read-more a, .residential-service-items .service-read-more a{
    border:solid 1px var(--primary-color);
    border-radius: 30px;
    padding: 5px 15px;
    /* display: block; */
    text-align: center;
  }
  .commercial-service-items .service-item-2, .residential-service-items .service-item-3{padding-bottom: 20px; height: 100%; gap:0;}
  .commercial-service-items .service-item-2 .service-item-2_details .service-read-more span:first-child, .residential-service-items .service-item-3 .service-item-3_details .service-read-more span:first-child{display: none}
  .residential-commercial2 img{
    max-width: 100%;
    max-height: 80px;
    border-radius: 6px;
    width: 100%;
    object-fit: cover;
  }
  .residential-commercial2 .service-item-3{ border-radius: 10px;padding: 10px;}
  .enviormental-sec h3.title-header, .enviormental-sec h2.title-header{top: 69px;}
  .state-page .testimonial-sec, .city-page .testimonial-sec{padding-bottom: 0px!important;}
  .service-city-content .pt-60{padding:50px 0 0;}
  .location-search button span {
    font-size: 0;
    display: none;
  }
  .location-search button {
    height: 60px;
    font-size: 36px;
    font-weight: 600;
    padding: 11px 20px;
    width: 65px;
    min-width: 65px;
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
  }
  .gf-popup-content {
    padding: 0px;
    width: 95%;
    top: 8%;
    left: 0%;
    transform: translateY(-30px);
    margin-left: 8px;
  }
  .gf-popup-content .form-inner {
    padding: 30px;
    padding-top: 40px;
  }
  .gform-theme--foundation .gfield {
    grid-column: 1 / -1;
    min-inline-size: 0;
}
/* .service-single-sec .hero-details { min-height: 245px; } */ /* Removed to allow full height images */
.separate-containers .site-main { margin: 0; }
.service-single-sec .service-content ul.wp-block-list {
    padding-left: 15px;
}

/* Service+City Page Mobile Layout Fix */
.enviormental-sec.residential-block .row .col-4,
.enviormental-sec.residential-block .row .col-sm-3 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.enviormental-sec.residential-block .row .col-8,
.enviormental-sec.residential-block .row .col-sm-9 {
    flex: 0 0 100%;
    max-width: 100%;
}

.enviormental-sec.residential-block .services-img img {
    height: 180px !important;
    width: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}

}
@media (min-width: 576px) and (max-width:767px) {
  .c-rating-img .c-rate2{
    flex-direction: column;
    gap: 0;
  }
  .residential-service-items .service-read-more a{padding: 10px;}
  .social-icons {
    float: right;
    margin-top: -45px;
    margin-right: 140px;
}
}
/* Extra small devices */
@media (min-width: 400px) and (max-width:575px) {
      .social-icons {
      margin-right: 80px !important;
  }
}
@media (max-width: 575px) {
    .social-icons {
   float: right;
        margin-top: -45px;
        margin-right: 50px;
        position: absolute;
        left: 51%;
}
  .blog-item {
    --space: 15px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .blog-item .blog-img {
    height: 100%;
    min-width: 100%;
  }

  .blog-item .blog-content {
    -webkit-align-self: flex-start;
    -ms-flex-item-align: start;
    align-self: flex-start;
  }

  .blog-item:nth-child(1) .blog-title {
    font-size: 24px;
  }

  .blog-item:nth-child(1) .blog-meta a:last-child {
    display: none;
  }

  .blog-item:nth-child(1) .blog-meta a:nth-child(2) {
    border-right: none;
  }

  .blog-item:nth-child(1) .blog-img {
    height: 350px;
  }

  .blog-item:nth-child(1) .blog-content {
    right: 0;
  }
  .about-con-details{flex-direction: column;}
  .contact-media_title{font-size: 21px;}
  .contact-media_icon{display: none;}
  .newsletter-form {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
  .service-item .box-title{font-size: 14px;}
  .modal-title{padding-left: 40px !important;}
  .header-links a{font-size: 16px;}
  .service-item_content{padding: 10px; height: calc(100% - 100px)}
  .service-item .th-btn{
    padding: 8px 15px;
    font-weight: normal;
  }
  .service-item_text {
      font-size: 13px;
      line-height: 18px;
      overflow: hidden;
      margin-bottom: 0;
  }
  .hero-text-box .text-white {
      font-size: 30px;
  }
  .hero-text-box .her-sub-txt {
      color: var(--white-color);
      font-size: 14px;
      max-width: 700px;
      margin-bottom: 20px;
  }
  .service-item_img img{height: 100px;}

  .blog-grid .blog-wrapper{
    transform: scale(0.8);
    left: -15px;
  }
  .sub-new-btn{margin:auto;}
  .newsletter-form input{max-width: 100%;}
  .location-search input{
      width: calc(100% - 50px);
      margin: 0;
      height: 50px;
      padding-right: 0;
      font-size: 19px;
    }
  .list-items{  grid-template-columns: 1fr;}
  .navbar-brand {
      max-width: 150px;
      margin-right: 0;
  }
  .header-links {max-width: 110px;}
  .counter-box p{font-size: 16px;}
  .counter-icon img {max-width: 50px;}
  .services-img img {
      height: 180px !important;
      width: 100%;
      object-fit: cover;
      margin-bottom: 20px;
  }
  .free-ebook-main{padding:20px}
  .heading-ebook{padding: 20px 0}
  .heading-ebook h2{
    font-size: 24px;
  line-height: 34px;
  }
  .heading-ebook p {
      font-size: 16px;
      line-height: 24px;
  }
  .testi-item{margin: 10px 0 0;}
  .slick-slider{
    width: 100%;
    margin-left: 0px;
  }
  .location-search button{
    height: 55px;
    width: 65px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 36px;
    color: var(--primary-color);
    min-width: auto;
  }
  .location-search i{display: inline-block;}
  .location-search form{gap:10px;}
  .location-search button span{font-size: 0;}
  .location-search .th-btn.styles{background-color: var(--primary-color) !important; color:#fff !important; border-radius: 10px;}
  .location-search #location-search-input{height: 50px;}
  .google-reviews2{flex-direction: column;}
  .c-review-item{margin: 0; height: 100%;}
  .hero-map-bg{
    background-position: 86% center;
  }
}
