/*!
Theme Name: All National Termite and Pest Control
Author: All National Termite and Pest Control
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: all-national-termite-and-pest-control
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}


/* Global */
@font-face {
    font-family: 'Norwester';
    src: url('fonts/norwester/norwester-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/montserrat-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/montserrat-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/montserrat-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/montserrat-latin-800-normal.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/open-sans/open-sans-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/open-sans/open-sans-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Norwester';
    font-family: 'Montserrat';
}

h1 {
    font-family: "Montserrat";
    font-weight: 700;
}

h2 {
    font-family: 'Norwester';
    font-family: 'Montserrat';
    font-size: 30px;
    font-weight: 400;
    font-weight: 700;
    color: #041c64;
    font-size: clamp(1.375rem, 1.1793rem + 0.5797vw, 1.875rem);
}

h3 {
    font-family: 'Norwester';
    font-family: 'Montserrat';
}

p {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: clamp(1rem, 0.9022rem + 0.2899vw, 1.25rem);
}

a {
    font-family: "Montserrat";
    font-weight: 800;
    text-decoration: unset;
}

.text-justify {
    text-align: justify;
}

.container {
    max-width: 1724px;
}


.header-phone a:before {
    content: '\f095';
    font-family: 'FontAwesome';
    margin-right: 10px;
}

.primary-btn {
    font-size: 19.8px;
    padding: 15px 43px;
    color: #fff;

    /* border: 2px solid #d60005; */
    font-size: clamp(0.875rem, 0.4607rem + 0.6473vw, 1.2375rem);
    background-color: #d60005;
    color: #fff;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(214, 0, 5, 0.25);
}

.primary-btn:hover {
    background: #b00004;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(214, 0, 5, 0.35);
}

.header-phone .primary-btn {
    display: inline-block;
    padding: 15px 37px;
}

section {
    overflow-x: hidden;
}

/* Header */

#masthead {
    background-color: #fff;
    overflow-x: hidden;
}

.sticky {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 0 8px 3px #00000078;
}

.header-right-wrapper {
    max-width: 1380px;
    width: 100%;
}

.payment p {
    font-size: 19.13px;
    font-weight: 700;
    margin-bottom: 13px;
    font-size: clamp(0.875rem, 0.5086rem + 0.5725vw, 1.195625rem);
}

.google-rev a:hover img {
    transform: scale(.95);
}

.google-rev a img {
    transition: .3s ease;
}

.payment-icons img {
    transition: .2s ease;
}

.payment-icons img:hover {
    transform: translateY(-3px);
    cursor: pointer;
}

.header-bottom {
    width: 100%;
    margin-top: 25px;
    max-width: 1200px;
    margin-left: auto;
}

.current_page_item a {
    color: #041c64 !important;
}

#primary-menu {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
    text-align: center;

}

.rmp-menu li:before {
    content: unset;
}

section.image-with-text.reverse-row .row img {
    margin-left: auto;
}


#primary-menu li a {
    font-weight: 700;
    color: #000;
    font-family: 'Norwester';
    font-family: 'Montserrat';
    font-size: 20px;
    transition: .3s ease;
    display: inline-block;
    font-size: clamp(0.8125rem, 0.3839rem + 0.6696vw, 1.1875rem);
    font-size: clamp(0.8125rem, 0.4554rem + 0.558vw, 1.125rem);
}

#primary-menu li a:hover {
    color: #04377b;
}

.header-logo img:hover {
    transform: scale(.95);
}

.header-logo img {
    transition: .3s ease;
}

ul {
    padding-left: 5rem;
    list-style-type: none;
    font-family: 'Montserrat';
}

ul li {
    position: relative;
    font-size: 20px;
    font-weight: 500;
    line-height: 209%;
    text-indent: -2.5em;
}

ul li:before {
    content: '';
    background-image: url(/wp-content/uploads/2025/12/CheckSquare.png);
    width: 18px;
    height: 18px;
    background-size: contain;
    display: inline-block;
    background-repeat: no-repeat;
    margin-right: 25px;
    background-position: center;
}

#primary-menu li:before,
#menu-quick-links li:before {
    content: unset;
}

#menu-quick-links li {
    font-size: 16px;
    line-height: 27px;
    text-indent: unset;
}

#primary-menu li {
    font-weight: 400;
    line-height: 100%;
    text-indent: unset;
}

/* Footer */
.site-footer {
    background-color: #041c64;
    color: #fff;
}

.footer-left-content {
    max-width: 420px;
    width: 100%;
}

.footer-left-content p {
    font-weight: 400;
    text-align: justify;
}

.footer-right-content {
    width: 100%;
    max-width: 1095px;
    gap: 10px;
}

.site-footer h2 {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.4px;
    color: #fff5d8;
}

.site-footer ul {
    list-style-type: none;
    padding-left: 0;
}

.site-footer a {
    color: #fff;
}

.footer-right-content a {
    color: #FFFFFFB2;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
}

.footer-contact-info a {
    color: #FFFFFFE5;
}

.footer-bottom a,
.footer-bottom p {
    font-size: 14px;
    font-weight: 500;
}

.footer-bottom a:hover,
.site-footer a:hover {
    color: #d60005;
}

.footer-bottom {
    padding: 27px 0;
    border-top: 1px solid #FFFFFF1A;
}

.footer-top {
    padding-top: 42px;
}

.footer-socials {
    padding-bottom: 53px;
    padding-top: 23px;
}

.footer-socials a {
    width: fit-content;
    padding: 4px 8px;
    background-color: #FFFFFF1A;
    border-radius: 2px;
    font-size: 21px;
    transition: .3s ease;
}

.footer-socials a:hover {
    transform: scale(1.15);
}

.footer-socials a i {
    color: #fff5d8;
}

.footer-contact-info,
.footer-contact-info a {
    font-family: "Open Sans";
}

.footer-phone a,
.footer-email a {
    line-height: 24px;
    font-weight: 600;
}

.footer-contact-info span {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #FFFFFF80;
}

.footer-location a {
    font-family: 'Montserrat';
    font-weight: 500;
    line-height: 150%;
}

.footer-services-link {
    display: flex;
    flex-direction: column;
}

img.info-icon {
    object-fit: contain;
    padding: 8px;
    display: block;
    background-color: #9FFFCB33;
    border-radius: 2px;
    margin-right: 12px;
}

.footer-email {
    margin-block: 16px;
}

.footer-contact-info {
    max-width: 315px;
    width: 100%;
}


.banner-section {
    position: relative;
    width: 100%;
    min-height: 820px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

section.banner-section.inner-page-banner {
    min-height: 700px;

}

section.banner-section.inner-page-banner .banner-subtitle {
    font-size: clamp(1.125rem, 1.029rem + 0.5488vw, 1.6875rem);
}

section.banner-img-right {
    background-position: 55% 5%;
    background-size: 108%;
}


.banner-visual-overlay {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    z-index: 1;
}


.banner-content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.banner-text-content {

    max-width: 831px;
}

.banner-title {
    font-size: 58px;
    font-weight: 700;
    color: #041c64;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 45px;
    font-size: clamp(1.6875rem, 1.3567rem + 1.8902vw, 3.625rem);
}

.banner-subtitle {
    font-size: 34.45px;
    font-weight: 500;
    color: #1A202C;
    color: #fff;
    line-height: 150%;
    margin-bottom: 45px;
    text-align: justify;
    letter-spacing: -.05em;
    text-shadow: 0 4px 4px #00000026;
    font-size: clamp(1.125rem, 0.9543rem + 0.9756vw, 2.125rem);
}


.banner-buttons-wrapper {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.banner-buttons-wrapper .primary-btn {
    max-width: 267px;
    width: 100%;
    text-align: center;
    font-size: 22.73px;
    font-size: clamp(0.875rem, 0.7818rem + 0.5323vw, 1.420625rem);
}

.banner-buttons-wrapper .primary-btn:nth-child(even) {
    background-color: #04377B;
    color: #fff;
    box-shadow: unset;
}

.banner-buttons-wrapper .primary-btn:nth-child(even):hover {
    background-color: #04377B;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgb(0 42 214 / 35%);
}


section.google-widgets-section {
    background-color: #1A202C;
    padding-block: 60px;
}

.widget-desc {
    font-weight: 700;
    font-size: 24px;
}

.widget-desc {
    max-width: 512px;
    margin-inline: auto;
}

.wdiget-btn .primary-btn {
    font-size: 16px;
    background-color: #fff;
    color: #04377B;
    font-weight: 700;
    box-shadow: unset;
}

.wdiget-btn .primary-btn:hover {
    background-color: #04377B;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgb(0 42 214 / 35%);
}


section.image-with-text img {
    max-width: 820px;
    width: 100%;
    border-radius: 0px;
}

section.image-with-text.reverse-row .row {
    flex-direction: row-reverse;
}

.primary-btn.cta-btn {
    max-width: 232px;
    width: 100%;
    display: inline-block;
    text-align: center;
    padding-block: 12.5px;
}

.services-section {
    background-color: #041c64 !important;
}

.services-section h2.section-heading {
    color: #fff;
}

.services-section .section-description p {
    color: #fff;
}

.card-body {
    padding: unset;
}


/* Service Card Styling */
.service-card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05) !important;
    border-radius: 0px !important;
    overflow: hidden;
    padding: 30px;
}

.service-card-image-wrapper {
    width: 100%;
    height: 239px;
    overflow: hidden;
}

.service-card-image-wrapper .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0px;
}



/* Card Body Content */
.service-card .card-title {
    color: #041c64;
    font-size: 25px;
    min-height: 30px;
    font-size: clamp(1.0625rem, 0.528rem + 0.8621vw, 1.5625rem);
}

.service-card .card-text {
    overflow: hidden;
    min-height: 75px;
}

.card-footer {
    background-color: unset;
}

.card .card-footer a {
    background-color: #041c64;
    box-shadow: unset;
}

.primary-btn.btn-service-learn {
    font-size: 19.8px;
    line-height: 30.79px;
    padding-block: 11.1px;
    font-size: clamp(0.9375rem, 0.8201rem + 0.3478vw, 1.2375rem);
}

.view-all-services {
    font-size: 19.8px;
    font-weight: 700;
    line-height: 30.79px;
    padding: 14px;
    color: #686565;
}

.view-all-services .view-all-link {
    font-weight: 800;
    color: #041c64;
    text-decoration: underline;
}

.view-all-link:hover {
    color: #1A202C;
}

.card .card-footer a:hover {
    background: #b00004;
    transform: unset;
}

/* Plan Card Styling */
.plan-card {
    border: 1px solid var(--plan-border-color) !important;
    border-radius: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.plan-card:hover {
    transform: translateY(-5px);
}

/* Image Wrapper: Controls the size of the icon/image */
.plan-card-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-card-icon {
    max-width: 135px;
    max-height: 125px;
    height: auto;
    padding: 28px;
    background-color: #9FFFCB38;
    background-color: #041c6426;
    border-radius: 0px;
}

/* Card Title */
.plan-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Montserrat';
}

.bottom-content p {
    font-weight: 600;
    line-height: 1.5;
}

.bottom-content p strong {
    color: #041c64;
}

.stat-section {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.stat-section .container {
    position: relative;
    z-index: 10;
}

/* Header Text Styling */
.stat-main-heading {
    color: #fff;
}

.stat-sub-heading {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
}

/* Stat Item Styling */
.stat-number-wrapper {
    height: 100px;
}

.stat-number {
    font-size: 73.57px;
    line-height: 1;
    font-weight: 800;
    font-size: clamp(3.125rem, 2.5486rem + 1.708vw, 4.598125rem);
}

.stat-prefix {
    font-size: 30.65px;
    line-height: 1.5;
    font-size: clamp(1.25rem, 0.9895rem + 0.7717vw, 1.915625rem);

}

.stat-suffix {
    font-size: 73.57px;
    line-height: 1;
    font-family: 'Norwester';
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: clamp(3.125rem, 2.5486rem + 1.708vw, 4.598125rem);
}

.stat-description {
    font-size: 30.65px;
    line-height: 150%;
    font-size: clamp(1.25rem, 0.9895rem + 0.7717vw, 1.915625rem);
}

.stat-row {
    max-width: 1300px;
    margin-inline: auto;
}

section.services-section .card.service-card {
    transition: .3s ease;
}

section.services-section .card.service-card:hover {
    /* background: #1A202C; */
    cursor: pointer;
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(4, 28, 100, 0.12) !important;
}



/* Vertical Divider Styling */
.stat-divider {
    height: 45%;
    margin: 65px 10px 0;
    border-left: 2px solid rgb(255 255 255) !important;
}

/* Bottom Content Styling */
.stat-bottom-content {
    line-height: 1.5;
    font-size: 20px;
}


section.text-with-map h2 {
    font-size: 50px;
    font-size: clamp(2.3125rem, 1.9946rem + 0.942vw, 3.125rem);
}

section.text-with-map p {
    font-size: 25px;
    line-height: 150%;
    font-size: clamp(1.1875rem, 1.0408rem + 0.4348vw, 1.5625rem);
}

.map-wrapper p {
    position: relative;
    padding-bottom: 64.7%;
}

.map-wrapper p iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0px;
}


.cta-feature-section {
    position: relative;
    min-height: 700px;
    background-size: 110%;
    background-position: -130% 25%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.cta-feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(178deg, #9FFFCB4D 50%, #9FFFCB 100%);
    background: linear-gradient(178deg, #041c6445 50%, #041c64 100%);
    z-index: 0;
}


.cta-content-box {
    background-color: #1A202C;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    padding: 87px 81px;
}


.cta-heading {
    font-size: 60px;
    line-height: 102%;
    color: #fff;
}

.cta-subheading p {
    font-size: 30px;
    line-height: 150%;
    font-weight: 500;
    font-size: clamp(1.1875rem, 0.9185rem + 0.7971vw, 1.875rem);
}


section.inner-banner-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

section.inner-banner-section .banner-subtitle {
    text-shadow: 3px 3px 9px #ffffff;
    color: #000;

}

section.inner-banner-section h1.banner-title {
    /* text-shadow: 4px 4px 14px #ffffff; */
    background-color: #ffffff96;
    padding: 20px;
    border-radius: 3px;
    color: #041c64;
}

section.inner-banner-section .banner-text-content {
    max-width: 100%;
}

section.inner-banner-section .banner-content-container {
    align-items: center;
    text-align: center;
}

section.one-column-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 339px;
    background-position: center -35%;
    background-attachment: fixed;
    padding-block: 80px;
}

.text-cyan {
    color: #9FFFCB;
    color: #fff5d8;
}

.quick-links-wrapper .current_page_item a {
    color: #d60005 !important;
}

.one-col-desc {
    font-size: 20px;
    max-width: 1315px;
    margin-inline: auto;
}

.one-col-desc strong {
    color: #fef5da;
}

h2.one-col-heading {
    margin-bottom: 24px;
}

section.cards-section {
    background-color: #041c64;
    padding-top: 90px;
    padding-bottom: 123px;
}

section.cards-section h2.section-heading {
    color: #fff;
}

section.cards-section .section-description p {
    color: #fff;
}

.card-bottom-row {
    background-color: #fff;
    padding: 28px 29px;
    border-radius: 0px;
}

.card-bottom-row img {
    border-radius: 0px;
    min-height: 239px;
    width: 100%;
    object-fit: cover;
}

.bottom-text-wrapper {
    max-width: 655px;
    margin-inline: auto;
}

.bottom-text-wrapper h3.bottom-heading {
    color: #04377B;
    font-size: 30px;
}

.bottom-text-wrapper a.link-text {
    color: #04377B;
    line-height: 30.79px;
    font-size: 19.8px;
    text-decoration: underline;
}

.one-col-cards-wrapper {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    max-width: 1726px;
    margin-inline: 20px;
    margin-top: 57px;
}

.one-col-cards-wrapper .card-item {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 41px 23px;
    border-radius: 0px;
    gap: 33px;
    max-width: 332.3px;
    width: 100%;
}

.one-col-card-desc p {
    font-size: 19px;
    font-weight: 600;
    font-size: clamp(0.9375rem, 0.8948rem + 0.2439vw, 1.1875rem);
}

.py-6 {
    padding-block: 4rem !important;
}

.card-3-col .one-col-cards-wrapper {
    gap: 26.91px;
    margin-top: 32px;
}

.card-3-col .one-col-cards-wrapper .card-item {
    max-width: 33.33%;
    padding: 27px 31px 38px;
    border: 1px solid #625F5F4F;
    border-radius: 0px;
    gap: 26px;
}

.card-3-col .one-col-cards-wrapper .card-item img {
    border-radius: 0px;
    height: 227px;
    object-fit: cover;
    width: 471px;
}

.card-3-col .one-col-cards-wrapper .card-item h3.one-col-card_title {
    color: #041c64;
    font-weight: 700;
    font-size: 21px;
    font-size: clamp(0.875rem, 0.794rem + 0.4321vw, 1.3125rem);
    display: flex;
    height: -webkit-fill-available;
    align-items: center;
}

.one-col-additional_content p {
    font-size: 20px;
}

/* ----------------------------
   Gravity Forms
----------------------------- */

.gform_heading {
    text-align: center;
    margin-bottom: 30px;
}

.gform_heading h2 {
    color: #fff;
}

.gform_footer.before {
    justify-content: center;
}

/* Form wrapper */
.gform_wrapper {
    font-family: inherit;
}


/* Inputs & Textareas */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper textarea,
.gform_wrapper select {
    width: 100%;
    padding: 14px 16px !important;
    font-size: 15px !important;
    border-radius: 5.5px;
    border: 1px solid #ddd;
    background-color: #fff;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #000000cf;
}

/* Focus state */
.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    border-color: #111;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

/* Field spacing */
.gform_wrapper .gfield {
    margin-bottom: 20px;
}

/* Textarea height */
.gform_wrapper textarea {
    min-height: 140px;
    resize: vertical;
}

/* Placeholder */
.gform_wrapper ::placeholder {
    color: #999;
    font-size: 14px;
}

/* Checkbox & radio spacing */
.gform_wrapper .gfield_checkbox li,
.gform_wrapper .gfield_radio li {
    margin-bottom: 8px;
}

/* Submit button */
.gform_wrapper .gform_footer input[type="submit"] {
    background-color: #04377B;
    color: #fff;
    border: 2px solid #04377B;
    padding: 15px 60px;
    border-radius: 5.5px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Button hover */
.gform_wrapper .gform_footer input[type="submit"]:hover {
    background-color: #fff;
    transform: translateY(-1px);
    color: #04377B;
}

/* Validation errors */
.gform_wrapper .validation_message {
    font-size: 13px;
    color: #d63638;
    margin-top: 6px;
}

/* Success message */
.gform_wrapper .gform_confirmation_message {
    padding: 20px;
    border-radius: 10px;
    background: #f5f5f5;
    font-size: 15px;
}



.service-hero {
    padding: 60px 0;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    background-color: #1A202C;
}

/* --- Main Content Typography --- */
.service-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A202C;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 1.5rem;
}

.service-body ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.service-body ul li {
    margin-bottom: 0.5rem;
    color: #000000;
}

/* --- Sidebar Service Cards (The key feature) --- */
.service-sidebar .sidebar-title {
    letter-spacing: 1px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.service-sidebar .service-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0px;
    padding: 12px;
    transition: all 0.3s ease;
}

.service-sidebar .service-card:hover {
    border-color: #04377B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-sidebar .service-card-img {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 0px;
    flex-shrink: 0;
}

.service-sidebar .service-card-info h5 {
    font-size: 0.95rem;
    line-height: 1.2;
    transition: color 0.3s;
}

.service-sidebar .service-card:hover .service-card-info h5 {
    color: #1A202C !important;
}

.service-sidebar .service-card-icon {
    font-size: 1.2rem;
    padding-right: 5px;
    transition: transform 0.3s;
}

.service-sidebar .service-card:hover .service-card-icon {
    transform: translateX(5px);
    /* Move arrow slightly right on hover */
    color: #1A202C !important;
}

section.single-cta-banner {
    background-color: #EAF1EF;
}

.new-bg-dark {
    background-color: #1a202c;
}


section.services-archive-section {
    background-color: #EAF1EF;
}

.services-archive-banner {
    padding: 60px 0;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    background-color: #1A202C;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

section.text-with-map {
    background: #EAF1EF;
}

section.inner-banner-section .banner-buttons-wrapper {
    justify-content: center;
}

section.sliding-google-revs {
    min-height: 339px;
    padding-block: 60px 50px;
}

.yellow-bg {
    background-color: #fff5d8;
}

.footer-gmb {
    position: relative;
    padding-bottom: 60.7%;
    width: 100%;
}

.footer-gmb iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0px;
    left: 0;
}

.header-phone-tablet {
    display: none;
}

p.header-mobile-text {
    display: none;
}

.banner-title span {
    font-size: clamp(1rem, 0.8635rem + 0.5825vw, 1.5625rem);
}

.widgets-wrapper {
    flex-wrap: wrap;
}

.cards-section .col .card {
    transition: .3s ease;
}

.cards-section .col .card:hover {
    cursor: pointer;
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(4, 28, 100, 0.12) !important;
}




.one-col-cards-wrapper .card-item:hover {
    transform: translateY(-10px);
    cursor: pointer;
}

.one-col-cards-wrapper .card-item {
    transition: .3s ease;
}

.header-logo img {
    max-width: 175px;
}

.wdi:hover {
    transform: scale(.95);
}

.wdi {
    max-width: 120px;
    text-align: center;
    margin-bottom: -45px;
    transition: .3s ease;
}

.wdi a {
    color: #000;
    font-size: 13px;
}

.wdi img {
    max-width: 55px;
    margin-inline: auto;
}

section.banner-img-right-adj {
    background-position: 65% center;
}

a.d-block.footer-loc {
    max-width: 186px;
}

.footer-left-content img {
    max-width: 355px;
    margin-inline: auto;
    margin-bottom: 1rem;
    transition: .3s ease;
}

.footer-left-content img:hover {
    transform: scale(.97);
}

section.error-404.not-found {
    background-color: #d40107;
    padding: 120px 15px;
    margin-top: 45px;
}

section.error-404.not-found h1 {
    font-size: clamp(7.5rem, 5.0457rem + 14.0244vw, 21.875rem);
}

/* Responsiveness */

@media (max-width: 1440px) {

    .wdi {
        margin-bottom: -26px;
        display: block;
        line-height: 1;
    }

    .wdi a {
        font-size: 10px;
    }

    .banner-text-content {
        max-width: 50%;
    }

    section .container {
        padding-inline: 25px;
    }

    .header-right-wrapper {
        max-width: 85%;
    }

    .header-bottom {
        max-width: 97%;
    }

    .payment p {
        margin-bottom: 7px;
    }

    .header-logo {
        max-width: 200px;
    }

    .google-rev {
        max-width: 205px;
    }

    .service-logo {
        max-width: 65px;
    }

    .payment-icons img {
        max-width: 50px;
        max-height: 30px;
        object-fit: contain;
    }

    .footer-left-content {
        margin-right: 50px;
    }

}

@media (max-width: 1110px) {

    .header-phone .primary-btn {
        padding: 15px 25px;
    }

}

@media (max-width: 1099px) {

    section.one-column-section {
        min-height: 300px;
        padding-block: 50px;
    }

    .one-col-desc,
    .one-col-additional_content p {
        font-size: 18px;
    }

    .card-3-col .one-col-cards-wrapper {
        flex-wrap: nowrap;
        gap: 22.91px;
    }

    .card-3-col .one-col-cards-wrapper .card-item {
        padding: 27px 20px 38px;
    }

    .one-col-cards-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-logo {
        max-width: 150px;
    }

    .header-right-wrapper {
        max-width: 78%;
    }

    .header-phone .primary-btn {
        padding: 12px 25px;
        display: block;
        width: 178px;
        margin-left: 10px;
    }

    .primary-btn.btn-service-learn {
        padding-inline: 10px;
    }

    .service-card {
        padding: 15px;
    }

}

@media (max-width: 1024px) {


    .footer-top .col .d-flex {
        flex-wrap: wrap;
    }

    .footer-left-content p {
        max-width: 500px;
        width: 100%;
        margin-left: 15px;
    }

    .footer-left-content {
        margin-bottom: 10px;
    }

    .footer-right-content {
        padding-inline: 15px;
    }

    .footer-location {
        flex-wrap: nowrap !important;
    }

    .banner-buttons-wrapper .primary-btn {
        max-width: 230px;
    }



}

@media (max-width: 1023px) {

    .primary-btn.btn-service-learn {
        padding-block: 6.1px;
    }

    section.banner-img-right {
        background-position: center;
        background-size: 100%;
        background-size: cover;
    }

    .wdi {
        margin-bottom: 0;
    }

    .header-logo img {
        max-width: 125px;
    }

    .header-phone {
        display: none;
    }

    .header-logo-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .header-phone-tablet a.button.primary-btn {
        display: block;
        width: 195px;
    }

    .header-phone-tablet {
        display: block;
        margin-right: 9%;
    }

    #masthead .container>.d-flex.justify-content-between {
        flex-direction: column-reverse;
    }

    .header-right-wrapper {
        max-width: 100%;
        border-bottom: 1px solid #00000059;
        padding: 15px;
    }

    #rmp_menu_trigger-170 {
        display: block;
        top: 134px;
        right: 3%;
    }

    .header-bottom {
        display: none;
    }

    #rmp-menu-title-170 .rmp-menu-title-image {
        width: 150px !important;
    }

    #rmp-menu-wrap-170 .rmp-menu-item {
        text-indent: unset;
    }

    .header-logo {
        max-width: 120px;
        padding: 5px 0;
        margin-left: 10px;
    }

    .header-right-wrapper {
        max-width: 100%;
        /* margin-right: 65px; */
    }

    /* .google-rev {
        display: none;
    }

    .service-logo {
        display: none;
    }

    .payment {
        display: none;
    } */

    html,
    body {
        overflow-x: hidden;
    }

    .sticky {
        position: fixed;
    }


}

@media (max-width: 992px) {

    .footer-socials {
        justify-content: center;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .card-3-col .one-col-cards-wrapper .card-item {
        max-width: 320px;
    }

    .card-3-col .one-col-cards-wrapper {
        flex-wrap: wrap;
    }

    .footer-left-content {
        margin-inline: auto;
    }

    .footer-left-content img {
        margin-inline: auto;
    }

    .footer-left-content p {
        margin-left: auto;
        margin-right: auto;
    }

    section.image-with-text img {
        margin-inline: auto;
    }

    .banner-section {
        min-height: 400px;
        background-position: 70% center;
    }

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

    .banner-text-content {
        max-width: 80%;
    }
}


@media (max-width: 991.98px) {
    .cta-feature-section {
        min-height: 400px;
    }

    .cta-heading {
        font-size: 2rem;
    }

    .stat-row .stat-column {

        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .stat-row .stat-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .widgets-wrapper {
        margin-top: 2.5rem;
    }

    .map-wrapper {
        margin-top: 50px;
    }

    .quick-links-wrapper,
    .footer-services,
    .footer-contact-info {
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-contact-info {
        max-width: 100%;
    }

    .footer-right-content {
        gap: 20px;
    }

    .footer-bottom>div {
        flex-direction: column !important;
        text-align: center;
    }

    .footer-gmb {
        padding-bottom: 320px;
        width: 100%;
        max-width: 555px;
    }

    .header-phone-tablet {
        margin-right: 11%;
    }
}


@media (max-width: 768px) {


    .footer-left-content {
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin-inline: 0 !important;
    }


    .footer-left-content p {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .banner-title {
        margin-bottom: 15px;
    }

    .banner-subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .banner-buttons-wrapper {
        flex-direction: column;
        /* Stack buttons vertically on small phones */
        gap: 10px;
    }

    .banner-button {
        width: 100%;
        /* Full width buttons on mobile */
    }

    .widget-desc p {
        font-size: 19px;
    }

    .pest-plans-section .card-body {
        padding-top: 0 !important;
    }

    section.image-with-text.reverse-row .row img {
        max-width: 500px;
    }
}

@media (max-width: 659px) {

    #rmp_menu_trigger-170 {
        top: 150px;

    }


}

@media (max-width: 540px) {

    section.error-404.not-found {
        margin-top: 15px;
    }

    .card-bottom-row {
        margin-inline: 15px;
    }

    .bottom-text-wrapper h3.bottom-heading {
        text-align: center;
        font-size: 23px;
    }

    .footer-socials {
        padding-bottom: 5px !important;
    }

    .wdi {
        display: none;
    }

    section.stat-section {
        padding-top: 0px !important;
        padding-bottom: 15px !important;
    }

    .pest-plans-section {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    section.image-with-text {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    section.services-section {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .primary-btn.cta-btn {
        margin-inline: auto;
        display: block;
    }

    p {
        text-align: center;
    }

    .info-heading {
        text-align: center;
    }

    .banner-text-content {
        max-width: 100%;
    }

    .banner-content-container {
        text-align: center;
    }

    .banner-subtitle {
        text-align: center;
    }

    .banner-buttons-wrapper {
        justify-content: center;
    }

    .footer-bottom a,
    .footer-bottom p {
        font-size: 10px;
    }

    .footer-left-content img {
        max-width: 220px;
    }

    .cta-heading {
        text-align: center;
    }

    .view-all-services {
        font-size: 15.8px;
    }

    .view-all-services a.view-all-link {
        display: inline-block;
    }

    .widget-desc p {
        font-size: 14px;
    }

    .google-rev {
        order: 2;
    }

    .service-logo {
        order: 3;
    }

    p.header-mobile-text {
        display: block;
        text-align: center;
        font-size: 11px;
    }

    .footer-right-content a {
        font-size: 14px;
    }

    .one-col-additional_content p {
        font-size: 16px;
    }

    section .container {
        padding-inline: 15px;
    }

    .one-col-cards-wrapper .card-item {
        max-width: 255.3px;
    }

    section.text-with-map p {
        font-size: 19px;
    }

    section.text-with-map h2 {
        font-size: 37px;
    }

    .cta-subheading p {
        font-size: 18px;
    }

    .stat-number-wrapper {
        height: 70px;
    }

    .stat-prefix,
    .stat-description {
        font-size: 20px;
    }

    .stat-description {
        margin-top: 0 !important;
    }

    .service-card {
        padding: 20px;
        max-width: 300px !important;
        margin-inline: auto;
    }

    ul li {
        font-size: 15px;
    }

    .stat-suffix {
        font-size: 40px;
    }

    .stat-number {
        font-size: 40px;
    }

    .plan-card .card-title {
        font-size: 14px;
    }

    .primary-btn.btn-service-learn {
        font-size: 15px;
        line-height: 1.5;
    }

    .service-card .card-title {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }

    .service-card .card-text {
        font-size: 15px;
    }

    .widget-desc {
        font-size: 17px;
    }

    h2 {
        font-size: 22px;
    }

    .wdiget-btn .primary-btn {
        font-size: 12px;
    }

    .cta-feature-section {
        min-height: auto;
        padding: 60px 0;
    }

    .cta-content-box {
        padding: 2rem !important;
    }

    .cta-heading {
        font-size: 1.75rem;
    }

    .header-top .primary-btn {
        padding: 13px 28px;
        font-size: clamp(0.625rem, 0.4688rem + 0.8333vw, 0.75rem);
        margin-inline: auto;
    }

    .header-right-wrapper {
        padding-bottom: 5px;
        padding-top: 5px;
    }

    .plan-card-icon {
        padding: 20px;
    }

    #rmp_menu_trigger-170 {
        width: 40px;
        height: 40px;
        top: 200px;
    }

    #back-to-top {
        right: 15px;
    }

    .header-phone-tablet {
        display: none;
    }

    .header-top {
        flex-wrap: wrap;
        justify-content: space-evenly !important;
        row-gap: 5px;
    }

    .header-phone {
        display: inline-block;
        width: 100%;
        text-align: center;
        order: 1;
        margin-top: 10px;
    }

    .payment {
        display: none;
    }
}


/*Back to Top */

#back-to-top {
    display: inline-block;
    background-color: #1a202c;
    width: 45px;
    height: 45px;
    text-align: center;
    position: fixed;
    bottom: 20px;
    right: 40px;
    -webkit-transition: background-color .3s, opacity .5s, visibility .5s;
    -o-transition: background-color .3s, opacity .5s, visibility .5s;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border: 2px solid #fff;
}

#back-to-top::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 10px;
    line-height: 40px;
    color: #fff;
    -webkit-text-stroke: 1px #fff;
}

#back-to-top:hover {
    cursor: pointer;
    background-color: #04377b;
}

#back-to-top:active {
    background-color: #555;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* End back to top */