.hero-banner {
    width: 100%;
    height: 520px;
    max-height: 520px;
    position: relative;
    /* margin-top: 9%; */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: top !important;
}

/* .hero-banner picture img {
    position: relative;
    max-height: 520px;
    height: 520px;
    object-fit: cover;
    z-index: -1;
} */

.hero-banner .mob-bg{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 520px;
}

h1.product-type {
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 28.8px;
    letter-spacing: normal;
    text-align: left;
    margin-bottom: 0;
}

.hero-banner .banner-text p.plan-condition {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px !important;
    color: #FFFFFF;
    margin-top: 16px;
}
.hero-banner .banner-text h2 {
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 68px !important;
    font-weight: 500;
    line-height: 74.8px !important;
    letter-spacing: normal;
    text-align: left;
    margin-top: 4px;
    margin-bottom: 16px;
    width: 765px;
}
.hero-banner .banner-text.banner-text-wrap h2 {
    width: 100%;
    max-width: 550px;
}
.hero-banner .banner-text h1.banner-title{

    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 68px !important;
    font-weight: 500;
    line-height: 74.8px !important;
    letter-spacing: normal;
    text-align: left;
    margin-top: 8px;
    margin-bottom: 16px;
    width: 765px;

}
.hero-banner .banner-text.banner-text-wrap p {
    width: 100%;
    max-width: 410px;
}
.hero-banner .banner-text p {
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px !important;
    text-align: left;
    width: 437px;
}

.w-btn {
    width: 263px;
    margin-top: 32px;
}

.hidephone {
    display: block;
}

.plans_and_services .hero-banner .banner-text .default-btn, .new-header .hero-banner .banner-text .default-btn {
    display: block;
}

.plans_and_services .banner-text .default-btn .primary-btn, .new-header .hero-banner .banner-text .default-btn .primary-btn {
    max-width: 100%;
}

@media only screen and (min-width: 767px) and (max-width: 840px) {
    .hero-banner .banner-text h2 {
        width: auto;
    }
    .hero-banner .banner-text.banner-text-wrap h2{
        width: auto;
        max-width: 100%;
    }
}

@media only screen and (min-width: 601px) and (max-width: 767px) {
    .d-md-block {
        display: block !important;
    }

    .hero-banner .banner-text h2 {
        font-size: 42px !important;
        line-height: 44px !important;
        width: auto;
    }

    .hero-banner .banner-text.banner-text-wrap h2{
        width: auto;
        max-width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    #react-compare-plans  .hero-banner{margin-top: 0px !important;}
    .hero-banner{
        background-size: 100% !important;
        background-position: top !important;
        margin-top: 0 !important;
    }
  
    .w-btn {
        margin: 24px auto;
        width: 358px;
    }
    .product-type {
        text-align: center !important;
        font-size: 20px;
        line-height: 24px;
    }

    .hero-banner .banner-text {
        right: 20px;
        width: 358px;
        left: 20px;
        margin: 10% auto 0 auto;
        text-align: center;
        top: 25%;
        position: static;
    }

    .hero-banner .mob-bg {
        background: linear-gradient(to bottom, transparent 0%, #1D2112 50% 100%);
        position: absolute;
        bottom: 0;
        height: auto;
        justify-content: center;
    }

    .hero-banner .banner-text h2 {
        text-align: center !important;
        width: auto;
        letter-spacing: normal;
        margin-bottom: 8px;
        font-size: 42px !important;
        line-height: 44px !important;
    }

    .hero-banner .banner-text p {
        text-align: center !important;
        /* width: 390px; */
        width: 358px;
        font-size: 18px;
        line-height: 21.6px;
        font-weight: 500;
        margin-bottom: 24px;
    }

    .hero-banner .banner-text.banner-text-wrap p{
        width: 358px;
        max-width: 100%;
    }

    .hero-banner .banner-text.banner-text-wrap h2{
        width: auto;
        max-width: 100%;
    }

    .plans_and_services .banner-text .default-btn .primary-btn, .new-header .hero-banner .banner-text .default-btn .primary-btn {
        max-width: 100%;
    }

}
@media screen and (min-width: 767px) {
    .hero-banner .banner-txt-container .explore-link {
        bottom: -3% !important;
    }
}
@media only screen and (max-width: 360px) {
    .hero-banner picture img {
        width: 105% !important;
        object-fit: fill;
    }

    .hero-banner .banner-text {
        width:100%;
        margin: -2% auto 0 auto;
    }
    .hero-banner .banner-text h2 {
        width: auto;
    }

    .hero-banner .banner-text p {
        width: auto;
    }
    .w-btn {
        width: auto;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1024px){
    .hero-banner {
        background-position: right !important;
    }
}
.hero-banner .banner-text p.plan-condition a {
    color: #1EE576;
}
@media only screen and (min-width: 601px) and (max-width: 767px){
    section#block-reactcomparepestplans-2 .hero-banner {
        background-position: -550px center !important;
    }
    section#block-reactcomparepestplans-2 .banner-text {
        margin-left: 30px;
    }
    react-product-service-details#react-product-service-details .banner-text {
        margin-left: 30px;
    }
}
@media only screen and (max-width: 360px) {
    .plans_and_services .hero-banner {
        background-size: 110% !important;
    }
}
@media only screen and (min-width: 1440px) {
    .fire-ant-control .hero-banner, .outdoor-pest-control .hero-banner{
        background-position: top !important;
    }
}
.plans_and_services .hero-banner .banner-text p.hidephone a {
    color: #1EE576;
}