:root {
    --selected-color: #edaa31;
    --greenish-highlight-color: rgb(0, 171, 79);
    --cursor-color: rgb(51, 219, 169);
    --primary-font: Oswald, "Oswald Fallback", sans-serif;
    --secondary-font: Roboto, "Roboto Fallback", sans-serif;
}

.main-logo {
    width: 200px;
}

body {
    font-family: var(--primary-font), sans-serif;
}

.call.action{
    display: initial;
    color: var(--selected-color);
    font-size: 36px;
    padding-top: 50px;
}

.call.action a{
    text-decoration: none;
    display: initial;
    color: rgb(237, 170, 49);
    font-size: 36px;
}

header div.top{
    display: flex;
    margin: auto;
    width: 500px;
    column-gap: 30px;
}

.top_banner {
    width: 100%;
    background: linear-gradient(
                    rgba(159, 157, 157, 0.7),
                    rgba(0, 0, 0, 0.7)
            ), url("../assets/images/topboxbg.webp");
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 438px;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;  /* Vertically center */
    justify-content: center; /* Optional: horizontally center */
}

.top_banner > div {
    font-size: 64px;
}

.top_banner{
    text-align: center;
}

.top_banner .animated_text {
    font-size: 64px;
    text-decoration: underline;
    color: var(--greenish-highlight-color);
}

.typed-cursor{
  color: var(--cursor-color);;
}

header nav ul{
    display: flex;
    list-style: none;
    column-gap: 30px;
    font-size: 20px;
    font-weight: bold;
    margin: auto;
    width: 500px;
}

header nav ul li.selected a {
    color: var(--selected-color);
}

header nav ul a{
    text-decoration: none;
    color: black;
}

.box_services .selector {
    display: flex;
    column-gap: 10px;
}
.box_services {
    border: 1px solid #ddd;
    font-family: 'Arial', sans-serif;
    margin-top: 20px;
}

.box_services .selector {
    display: flex;
    border-bottom: 2px solid #ddd;
}

.box_services .selector li {
    list-style: none;
    flex: 1;
    text-align: center;
    padding: 16px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #999;
    background-color: #f9f9f9;
    border-right: 1px solid #ddd;
    transition: all 0.2s ease-in-out;
}

.box_services .selector li:last-child {
    border-right: none;
}

.box_services .selector li.active {
    background-color: white;
    color: black;
    font-weight: bold;
}

.box_services .pages > div {
    display: none;
    padding: 24px;
    background: white;
}

.box_services .pages > div.active {
    display: block;
}

.box_services .pages img {
    max-width: 100%;

    border-radius: 5px;
    margin-bottom: 16px;
    height: auto !important;
}

.box_services .pages > div {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.box_services .pages > div > img {
    flex: 1 1 300px;
}

.box_services .pages > div > div.content {
    flex: 2 1 400px;
}

.box_services .pages h4 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 12px;
}

.box_services .pages p,
.box_services .pages ul {
    font-size: 16px;
    margin-bottom: 12px;
}

.box_services .pages ul {
    padding-left: 20px;
}

.box_services .book-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e5a538;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    margin-top: 12px;
    cursor: pointer;
}
.pages [data-page] img {
    width: auto;
    max-width: 300px;
    height: auto;
    aspect-ratio: auto;
    flex-shrink: 0;
    align-self: flex-start;
}

.box_services .pages ol {
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-dark {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-column {
    flex: 1 1 250px;
    text-align: center;
}

.footer-column h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-column p {
    font-size: 18px;
    margin: 6px 0;
}

.footer-column a {
    color: #fff;
    text-decoration: underline;
}

.footer-column img {
    max-width: 100%;
    height: auto;
}
.expert-section {
    background: #f9f9f9;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.7)
    ), url("../assets/images/bugmanbycounter.webp");
    /*background-image: url("../assets/images/bugmanbycounter.webp");*/
    background-position: 50% 6.89964px;
    background-repeat: no-repeat;
}

.expert-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.expert-text {
    flex: 1 1 400px;
}

.expert-text h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.expert-text h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.expert-text ul {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 20px;
}

.expert-logos {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.expert-logos img {
    max-width: 180px;
    height: auto;
}

.expert-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.icon-box {
    text-align: center;
    width: 160px;
}

.icon-box img {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #3fb18a;
    padding: 20px;
    object-fit: contain;
}

.icon-box p {
    margin-top: 12px;
    font-size: 14px;
    font-weight: bold;
}

.pest-icons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 20px;
    text-align: center;
}

.pest-item {
    flex: 0 1 180px;
}

.pest-item img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: contain;
    background: #3fb18a;
    margin-bottom: 12px;
}

.pest-item h3 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
    color: #222;
}

@media (max-width: 768px) {
    .pest-item {
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .pest-item {
        flex: 1 1 100%;
    }
}

.about-section {
    background-color: #256d6b;
    color: white;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
}

.about-content {
    max-width: 800px;
    margin: auto;
    text-align: left;
}

.about-content h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

.about-content p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.green-bg {
    top: auto !important;
    max-width: none !important;
    padding: 93px 0 !important;
    min-width: 0 !important;
    height: auto !important;
    background-attachment: scroll !important;
    margin: 0 auto !important;
    background-image: url(/images/Row06-1900x1000-1920w.webp) !important;
    background-repeat: no-repeat !important;
    background-size: auto !important;
    background-position: center center !important;
    background-color: #1e6262 !important;
}

.testimonials-carousel {
    background-color: #3ea89e;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    position: relative;
}

.testimonials-carousel h2 {
    font-size: 32px;
    font-weight: bold;
    padding: 30px 0 10px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.testimonial {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.testimonial.active {
    opacity: 1;
    z-index: 1;
}

.testimonial blockquote {
    max-width: 700px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
}

.testimonial cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: bold;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav.prev { left: 20px; }
.nav.next { right: 20px; }

.stars {
    font-size: 32px;
    padding: 20px;
    color: gold;
}

.testimonial-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1;
}

.testimonial.active {
    opacity: 1;
    z-index: 2;
}

.testimonial blockquote {
    color: white;
    font-size: 18px;
    max-width: 700px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
}

.testimonial cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: bold;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: white;
    background: rgba(0,0,0,0.3);
    border: none;
    padding: 10px 14px;
    z-index: 3;
    cursor: pointer;
    user-select: none;
}

.nav.prev { left: 10px; }
.nav.next { right: 10px; }

.nav:hover {
    background: rgba(0,0,0,0.6);
}

.stars {
    font-size: 64px;
    color: gold;
    padding: 20px 0;
}.testimonial-slider {
     position: relative;
     height: 400px;
     overflow: hidden;
 }

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1;
}

.testimonial.active {
    opacity: 1;
    z-index: 2;
}

.testimonial blockquote {
    color: white;
    font-size: 18px;
    max-width: 700px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
}

.testimonial cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: bold;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: white;
    background: rgba(0,0,0,0.3);
    border: none;
    padding: 10px 14px;
    z-index: 3;
    cursor: pointer;
    user-select: none;
}

.nav.prev { left: 10px; }
.nav.next { right: 10px; }

.nav:hover {
    background: rgba(0,0,0,0.6);
}

.stars {
    font-size: 64px;
    color: gold;
    padding: 20px 0;
}

.quote-form-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    padding-top: 0;
    font-family: 'Oswald', sans-serif;
    text-align: center;
}

.quote-form-section h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 18px;
    margin-bottom: 6px;
    color: #222;
}

.form-group input,
.form-group textarea {
    background-color: #daf0eb;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.full-width {
    width: 100%;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
}

.form-submit button {
    padding: 14px 36px;
    background-color: #e5a538;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.form-submit button:hover {
    background-color: #d4962c;
}

aside.messages {
    margin: 1em auto;
    max-width: 600px;
    padding: 0 1em;
    font-family: Arial, sans-serif;
}

.box {
    border-radius: 8px;
    padding: 1em 1.5em;
    margin-bottom: 1em;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 6px solid;
    transition: all 0.3s ease-in-out;
}

/* Success box */
.success.box {
    background-color: #e6f9ec;
    color: #2e7d32;
    border-color: #34c759;
}

/* Error box */
.error.box {
    background-color: #fdecea;
    color: #c62828;
    border-color: #ff3b30;
}

html {
    scroll-behavior: smooth;
}

.payment-section {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1rem;
    padding-top: 0;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.payment-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #333;
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.payment-box {
    flex: 1 1 300px;
    max-width: 400px;
    padding: 2rem;
    border-radius: 10px;
    background: #f9f9f9;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.payment-box img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.payment-box a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #f2a735;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
}

.payment-box a:hover {
    background-color: #d58b20;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    text-align: left;
}

.contact-info {
    flex: 1 1 300px;
    font-size: 20px;
    line-height: 1.8;
}

.contact-info a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
}

.contact-info strong {
    font-size: 22px;
}

.quote-form {
    flex: 2 1 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .quote-form {
        width: 100%;
    }
}

.contact-layout {
    max-width: 1000px;
    margin: 0 auto;
}

.hp {
    display: none;
}
@media (max-width: 570px) {
    header div.top {
        flex-direction: column;
        align-items: center;
        width: 100%; /* Prevent fixed width from breaking layout */
        padding: 10px;
        gap: 10px;
        text-align: center;
    }

    .call.action,
    .call.action a {
        font-size: 28px; /* Slightly smaller for mobile */
        padding-top: 10px;
        display: block;
        width: 100%;
    }

    .main-logo {
        width: 150px; /* Scale logo down a bit for smaller screens */
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
        gap: 10px; /* Optional spacing */
    }

    nav ul li {
        flex: 0 0 45%;
        box-sizing: border-box;
        text-align: center;
        list-style: none;
        padding: 10px 0;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 18px;
    }



    nav .navItemText {
        display: inline-block;
    }

    .box_services .selector {
        display: flex;
        flex-direction: column;
        border-bottom: none;
        padding: 10px;
        gap: 10px;
    }

    .box_services .selector li {
        list-style: none;
        padding: 12px;
        background-color: #f9f9f9;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .box_services .selector li.active {
        background-color: #fff;
        border: 2px solid var(--selected-color);
    }

    .box_services .pages > div {
        flex-direction: column;
        padding: 16px;
    }

    .box_services .pages > div img {
        max-width: 100%;
        height: auto;
    }

    .box_services .pages > div .content {
        padding-top: 10px;
    }

    .box_services .book-button {
        font-size: 16px;
        padding: 10px 20px;
        margin-top: 16px;
    }

    .stars {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        padding: 20px 10px;
        overflow-x: hidden; /* Prevent scrollbars */
    }

    .stars img {
        max-width: 400px;
        width: 100%;
        height: auto;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
}


.serving_cities {
    font-size: 0.8em;
}

.serving_locations {
    margin-top: 15px;
}


.img-left {
    float: left;
    margin: 0 20px 20px 0;
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.img-right {
    float: right;
    margin: 0 0 20px 20px;
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .img-left, .img-right {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        width: 100%;
    }
}

a.cities-str:visited,
a.cities-str,
a.cities-str:hover{
    color: #FFF;
}

/** chatgpt newspaper **/
.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.content-columns img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.content-columns p {
    font-size: 1.1em;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .content-columns {
        grid-template-columns: 1fr;
    }
}
/** end chatgpt newspaper **/

/** start gpt option 2 hero message **/
.hero-message {
    background-color: #e8f5e9;
    padding: 30px;
    font-size: 1.3em;
    border-left: 6px solid #4caf50;
    margin: 30px 0;
    border-radius: 5px;
}

.info-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.info-card img {
    flex: 1 1 300px;
    max-width: 45%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-card .text {
    flex: 1 1 300px;
    font-size: 1.1em;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .info-card {
        flex-direction: column;
    }
    .info-card img, .info-card .text {
        max-width: 100%;
    }
}
/** end gpt option 2 hero message **/

/** original on cities **/
.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* Set the default for .serving-image */
.serving-image {
    max-width: 35%;
}

/* Reset it when inside .gallery */
.gallery .serving-image {
    max-width: 100%;
}

.gallery img,img.serving-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.message {
    font-size: 1.2em;
    background-color: #e8f5e9;
    padding: 15px;
    border-left: 5px solid #4caf50;
    margin-top: 20px;
    border-radius: 5px;
}
/** end original on cities **/